Coder Social home page Coder Social logo

Comments (4)

rhubert avatar rhubert commented on July 17, 2024

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.

from bob.

jkloetzke avatar jkloetzke commented on July 17, 2024

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...).

from bob.

rhubert avatar rhubert commented on July 17, 2024

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?

from bob.

rhubert avatar rhubert commented on July 17, 2024

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.... 🤔

from bob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.