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

Add info about active scmOverrides #99

Closed
jkloetzke opened this issue Jan 16, 2017 · 4 comments
Closed

Add info about active scmOverrides #99

jkloetzke opened this issue Jan 16, 2017 · 4 comments

Comments

@jkloetzke
Copy link
Member

Currently there is no way to tell if an 'scmOverride' matched and what has been changed. Maybe extend "bob query-scm"?

@rhubert
Copy link
Contributor

rhubert commented Jan 16, 2017

I think extending 'bob query-scm' is basically a good idea, but maybe it's not used without a hint that scmOverrides are active. What about a build-summary?

Build result is in dev/dist/root/1/workspace
- Build time: 1d 2h 3m 4s
- packages build: 42 downloaded: 123
- active scmOverrides for packages: a,b,c,d

After #100 is implemented the shared packages could also be shown.

@jkloetzke
Copy link
Member Author

I really like the idea of the summary. 👍 I was also thinking about an "info" command that tells you either some general information about the project or detailed information about a package (how much variants, active overrides, you name it...).

@rhubert
Copy link
Contributor

rhubert commented Jan 18, 2017

The info command sounds interesting. Maybe in the future recipes have a optional 'info:' section where you can add some human readable info's about the package,... But I think you may need a lot of arguments for the info command. Otherwise you'll possibly get to much informations on large projects?

Maybe the scmOverrides-info can also be added to the status command?

@rhubert
Copy link
Contributor

rhubert commented Feb 1, 2017

I started working on this (see #109) and added some statistics as well as informations on overridden scm.

Example Output:

bob dev ...
Build result is in ....
checkoutSteps: 2
buildSteps:    2
packageSteps:  2
scms: 2
 -> overridden: 1
   -> packages: ['root']
bob status root
>> root
scm's Overridden by override:
match: {'url': 'file:///tmp/test/'}
matched to:
{'url': 'file:///tmp/test/', 'dir': 'test', 'scm': 'git', 'recipe': 'recipes/root.yaml#0'}

Now I'm thinking about adding a 'name' property to scmOverride to increase readability of status output.... 🤔

jkloetzke added a commit that referenced this issue Mar 15, 2017
Show status for active scmOverrides.

Fixes #99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants