question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Breaking change in readme file format?

See original GitHub issue

Describe the bug On MacOS, I was trying to generate a Python SDK. The README files for Python tend to use the variable python-sdks-folder and explicitly ask you to set that when generating.

However, when I supply this, autorest ignores it and generated my code in the ./generated folder instead of what I specified.

If I use --version:3.0.6337 then autorest picks up the value and generates the code in the correct location.

Expected behavior I would expect this argument to be picked up by autorest and honored.

Additional Context Versions

   Loading AutoRest core      '/Users/travisprescott/.autorest/@autorest_core@3.0.6337/node_modules/@autorest/core/dist' (3.0.6337)
   Loading AutoRest extension '@microsoft.azure/autorest.python' (~3.0.56->3.0.62)
   Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.44->2.3.44)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
timotheeguerincommented, Mar 2, 2021

@tjprescott This was a regression between the integration of m4 and the python generator since version 5.0.0-preview.4

Made a PR on the python repo to fix it for new versions https://github.com/Azure/autorest.python/pull/897

I kept this issue open so we can see if we can have a better solution than this. I think the best solution is to load all nested configs that are part of the plugin name splitted by /

so for plugin python/m2r it would try to load nested config under

  • python
  • python/m2r(Don’t really see anybody ever using that)
0reactions
tjprescottcommented, Mar 2, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

New lines inside paragraph in README.md - Stack Overflow
Fortunately, you can do it manually. The easiest way is to ensure that each line ends with two spaces. So, change a b...
Read more >
README File – Everything you Need to Know - Great Learning
The default readme file contains the repository name and some basic instructions. The file format is 'md', which stands for Markdown documentation.
Read more >
Basic writing and formatting syntax - GitHub Docs
Create sophisticated formatting for your prose and code on GitHub with simple syntax.
Read more >
Github Readme Cheatsheet - Level Up Coding
To create a heading in a Readme we need to use # . The size of headings can be changed by adding multiple...
Read more >
Make a README
While READMEs can be written in any text file format, the most common one that is used nowadays is Markdown. It allows you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found