-
Notifications
You must be signed in to change notification settings - Fork 13
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
Branch support #106
Comments
Why filtering only |
Makes sense. |
I'd love to see a format for the command-line options to specify filters in general. We could extend this to add support for repos with changes etc. Can you come up with something? |
I would go for a classic:
|
We can have short-hands like this (though we are running out of single-character options quickly), but I would also like something more flexible, something like:
|
Wow, such verbosity! Is pride already using any single char switches? Help does not display anything. If #101 will allow to create shortcut for filters, both options looks ok to me. |
Erm... Did you check... See 'pride help <command>' for more information on a specific command. |
Example: $ pride help do
NAME
pride do - Execute a command on a set of modules
SYNOPSIS
pride do [(-b | --bare)] [--exclude <module>...]
[--gradle-home <directory>] [--gradle-version <version>]
[(-I <module> | --include <module>)...]
[(-p <directory> | --pride-directory <directory>)] [(-q | --quiet)]
[(-v | --verbose)] [--] <commandLine>...
OPTIONS
-b, --bare
Only print the result of the executed commands
--exclude <module>
Do not execute command on module (can be specified multiple times)
--gradle-home <directory>
Use specified Gradle home
--gradle-version <version>
Use specified Gradle version (can be a version number, a URL of a
distribution, or a location of an installation)
-I <module>, --include <module>
Execute the command on module (can be specified multiple times)
-p <directory>, --pride-directory <directory>
Initializes the pride in the given directory instead of the current
directory
-q, --quiet
Quite mode
-v, --verbose
Verbose mode
--
This option can be used to separate command-line options from the
list of argument, (useful when arguments might be mistaken for
command-line options
<commandLine>
The command to execute |
awww such help |
Please test with 0.9.7-rc1. |
You can add stuff from a branch. This will check out the "boxfish-geometry" repo (from behind your repo.base.url) on the “select" branch:
You can switch repos to another branch. Here’s how to switch boxfish-geometry to “master”:
You can filter repositories in This will use a regular expression to hide all repositories that start with “pdom-“:
This will show repos with uncommitted changes:
This will remove all repos that are on branch “master”:
You can do nifty things like switch everything on branch “lajos” to “lajos-2.0”, like so:
For a full list of filters, see the help of one of the commands that can do filtering, such as:
If you give your ~/.pride/config file to someone, they can create a pride on the same branches as you are on via:
(Creating the same pride this way was possible previously, the addition is that now you also get to the same branches in each repo.) |
\o/ |
💛 to superbranches nao!!1! |
This involves several things:
pride do
?)pride do
to run only on repos that are on a certain branchThe text was updated successfully, but these errors were encountered: