Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment Variable to not rewrite sources (or read config file) #206

Open
frisi opened this issue Jun 15, 2021 · 0 comments
Open

Environment Variable to not rewrite sources (or read config file) #206

frisi opened this issue Jun 15, 2021 · 0 comments

Comments

@frisi
Copy link

frisi commented Jun 15, 2021

would be great to have an option to tell mr.developer to not rewrite urls or ignore the config file in ~ or ~/.buildout

usecase:

  • enabled rewrites for github using .buildout/mr.developer.cfg
[rewrites]
github =
  url ~ ^https://github.com/
  [email protected]:
  kind = git
  • using mr.developer in the buildout of a package too
auto-checkout =  wm.sampledata
[sources]
wm.sampledata                       = git https://github.com/collective/wm.sampledata branch=python3
  • building the package using tox (bobtemplates.plone generated package)
    -> asks me for my ssh key passphrase

eventually an environment variable could do the trick similar to this pr
eg MRDEVELOPER_DISABLEREWRITES is set, ignore rewrite settings of config file.

@frisi frisi changed the title Environment Variable to not read global config file Environment Variable to not rewrite sources (or read config file) Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant