Open melezhik opened 11 years ago
I like this a lot. In fact, I've been thinking that Pinto should be more distro-oriented anyway (@schwern suggested this also). In practice, the real unit of data in Pinto is the distribution, not the package. When you specify a package, it is really just sugar for specifying a distribution.
Good, so would you include it in to do list?
This seems closely related the new --diff-style
option. Since we have concise
and detailed
diff styles, I wonder if it would make sense to set it up in the same way:
pinto list --list-style=concise # Would probably be the new default
pinto list --list-style=detailed # If you want the old format
export PINTO_LIST_STYLE=detailed # Sets global default
Yes, that's fine. I'd that pinto less would use concise format by default
I've been talking with @hartzell about a related matter. He needs to see all the distributions in the repository, irrespective of any stack. My first thought was to wedge this into the list
command, but it doesn't quite fit.
So I'm thinking of renaming the list
command as show
, and then creating a new list
command that simply lists all the distributions in the repository. Eventually, I think the show
command will evolve into something like git show
which can be used to display all sorts of things. In our case, it could be stacks, revisions, or distributions.
What do you think of that @melezhik?
I think list of all distributions archives irrespective of stacks will be useful, as well as list of distributions for given stacks. I'd leave list command both for both:
pinto show to " all sorts of things" ...
it may make a sense but I cannot see many use case for this right now ...
PS Anyway if you want to "move" 'pinto list -s' into 'pinto show' - it's okay;
Let's say I want list only distros, not packages names, I'd like to say something:
or may be
Then output would contain only unique distro names and statuses:
it'd be helpful when one want focus on distro context, not packages