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

Configs sourced even if not used #23

Closed
ianmiell opened this issue May 13, 2014 · 2 comments
Closed

Configs sourced even if not used #23

ianmiell opened this issue May 13, 2014 · 2 comments

Comments

@ianmiell
Copy link
Owner

If generic module paths used then configs are apparently sourced even if they are not part of the build.

How I discovered this was running:

set -e
python ../../../../shutit/shutit_main.py --shutit_module_path ..:../../../../shutit/library

in KS.

@zwischenzugs
Copy link
Contributor

Hmmm is this actually a feature and not a bug?

I wonder if output should be more verbose on what's being sourced.

On 13 May 2014 16:43, Ian Miell notifications@github.com wrote:

If generic module paths used then configs are apparently sourced even if
they are not part of the build.

How I discovered this was running:

set -e
python ../../../../shutit/shutit_main.py --shutit_module_path
..:../../../../shutit/library

in KS.


Reply to this email directly or view it on GitHubhttps://github.com//issues/23
.

http://www.openbet.com/ Ian MiellHead of DevOps T:+44 208 742 1600 +44
208 987 1129M: +44 793 150 7458E: ian.miell@openbet.com
W:www.openbet.com OpenBet
LtdChiswick Park Building 9566 Chiswick High Rd LondonW4 5XT
http://twitter.com/OpenBet_Ltd
http://www.linkedin.com/company/165331/
http://www.facebook.com/OpenBet Winner
of Sports Betting Supplier of the Year at the EGR B2B Awards 2010, 2011 &
2012 This message is confidential and intended only for the addressee. If
you have received this message in error, please immediately notify the
postmaster@openbet.com and delete it from your system as well as any
copies. The content of e-mails as well as traffic data may be monitored by
OpenBet for employment and security purposes. To protect the environment
please do not print this e-mail unless necessary. OpenBet Ltd. Registered
Office: Chiswick Park Building 9, 566 Chiswick High Road, London, W4 5XT,
United Kingdom. A company registered in England and Wales. Registered no.
3134634. VAT no. GB927523612

@ianmiell
Copy link
Owner Author

This was bad config in the end.

What should have been in build.cnf was in defaults (which should refer only to those py files in the module itself). I've moved them.

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

2 participants