summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Put tag-request in the bash completion fileJesse Keating2010-09-201-1/+4
|
* Don't use short options in bash completionJesse Keating2010-09-201-2/+2
|
* Add a tag request function (Xavier Lamien)Jesse Keating2010-09-202-3/+78
| | | | | This patch is manually applied and then adjusted by me. Adds the basic tag request functionality.
* Merge branch 'jochen' into bashJesse Keating2010-09-203-52/+234
|\ | | | | | | | | Conflicts: src/fedpkg.bash
| * Fix up the diff changes from jochenJesse Keating2010-09-202-2/+2
| |
| * Minor fixes for lint -i changesJesse Keating2010-09-202-2/+2
| |
| * Remove unused variableJesse Keating2010-09-201-1/+0
| |
| * Fix up commit with tag changesJesse Keating2010-09-201-4/+2
| | | | | | | | Don't use getnvr, and use existing reference to clog file
| * Include path to clogJesse Keating2010-09-201-1/+1
| |
| * No short options in commit completionJesse Keating2010-09-201-1/+1
| |
| * Handle paths with push/pullJesse Keating2010-09-202-8/+12
| |
| * expand on pull help outputJesse Keating2010-09-201-1/+1
| |
| * Fix up tag commandsJesse Keating2010-09-202-13/+11
| | | | | | | | Minor clean ups from jochen's submission
| * Fix up some contributed docstringsJesse Keating2010-09-201-5/+17
| |
| * Don't use the unnecessary getnvr()Jesse Keating2010-09-201-1/+1
| |
| * Only list long options in bash completion for tagJesse Keating2010-09-201-1/+1
| |
| * Whitespace fixJesse Keating2010-09-201-1/+1
| |
| * Move diff function out of the PackageModule classJochen Schmitt2010-09-202-31/+29
| | | | | | | | | | | | | | | | | | | | | | hello Jesse, because you have wrote, that you want a minimum set of functions in the PackageModule clase, I have move the diff function out of their. Best Regards: Jochen Schmitt
| * Distlinguish between new empty repositories and retiered packagesJochen Schmitt2010-09-201-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | Hello Jesse, I have add an test to distlinguish a new package in which a package should been imported form a package which is retired. Best Regards: Jochen Schmitt
| * Add -i (info) switch to the lint commandJochen Schmitt2010-09-203-3/+13
| | | | | | | | | | | | | | | | | | | | | | Hello Jesse, this patch add a -i (info) tag for the fedpkg lint command. Best Regards: Jochen Schmitt
| * Add a -t (tag) switch for the commit commandJochen Schmitt2010-09-202-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Hello Jesse, this patch implenents a -t (tag) switch for the commit command. Because you have wrote, that you don't like to see additional function in the PackageModule class, I have refactor this patch to fullfill your requirements. Best Regards: Jochen Schmitt
| * Add a -c (clog) switch to the commit commandJochen Schmitt2010-09-202-1/+13
| | | | | | | | | | | | | | | | | | | | Hello Jesse, this patch add a -c (clong) switch for the commit commant. Best Regards: Jochen Schmitt
| * Move pull and push function out of PackageModuleJochen Schmitt2010-09-202-18/+16
| | | | | | | | | | | | | | | | | | | | | | Hello Jesse, I have move the pull() and push() function in the __init__.py module out of the PackageModule class. Best Regards: Jochen Schmitt
| * Implementation of a pull commandJochen Schmitt2010-09-203-1/+22
| | | | | | | | | | | | | | | | | | | | Hello Jesse, this patch implemts a pull command for fedpkg. Best Regards: Jochen Schmitt
| * Implenentation of a tag commandJochen Schmitt2010-09-203-5/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | Hello Jesse, this patch contains a tag command for fedpkg. I have divede the tag function in __init__.py into three functions for add, delete and list tags. All this functions lives outside of the PackageModule class. Best Regards: Jochen Schmitt
* | fedpkg: Don't mix options and commands, drop redundant short optionsTodd Zullinger2010-09-201-12/+22
|/ | | | | | | | | Completing options along with command and values is not generally done by completion scripts and tends to garble up the output needlessly. Only complete options when the -<TAB> is typed. It's also unnecessary to complete both the long and short versions of an option, (e.g. -h and --help).
* Remove stream keyword in logging.StreamHandlerJochen Schmitt2010-09-191-1/+1
| | | | | | | | | | | Hello Jesse, using the stream keyword caused an error on python 2.6. So I have remove this keyword. Best Regards: Jochen Schmitt
* Don't use log.error from within the libraryJesse Keating2010-09-101-6/+2
| | | | Just raise it, let the caller figure out what to do.
* fedpkg: Complete --srpm for the build commandTodd Zullinger2010-09-101-1/+2
|
* fedpkg: Use git plumbing to complete branch namesTodd Zullinger2010-09-101-3/+4
| | | | | The output of 'git branch' is not guaranteed to remain constant. Using the for-each-ref plumbing command should work reliably for longer.
* fedpkg: Remove filenames option from completionTodd Zullinger2010-09-101-1/+1
| | | | | | | | | | | | | | | The bash completion 'filenames' option prevents proper completion of local refs like tmz/f13. On systems with bash-completion >= 1.2, this should have little effect because the _filedir command sets the option as needed (or emulates it on older bash releases that lack compopt). On systems with older bash-completion (like EL-5 currently), there is a minor downside in that filename completion won't append trailing slashes to directories without the 'filenames' option. Ideally, bash-completion will be updated on EL-5 and this minor inconvenience will vanish sometime soon.
* fedpkg: Use _filedir for path completionTodd Zullinger2010-09-101-11/+16
| | | | | The _filedir function is a bit more robust than using compgen directly. A wrapper function is used to filter out .git directories from results.
* Fix up the logger for what goes whereJesse Keating2010-09-101-5/+22
| | | | | | Make sure that WARN, ERROR, and CRITICAL go to stderr, and that DEBUG and INFO go to stdout. This involves more configuration than it aught to, but that's python logging for ya.
* Make our logger print to stdoutJesse Keating2010-09-101-1/+2
| | | | | | It's of my opinion that only errors should go to stderr. For that reason I'll have all logger stuff to go stdout and any errors I'll use print() on.
* Also redirect stderr over to stdout on non-termsJesse Keating2010-09-101-1/+2
| | | | Again this is just because rpmbuild does some stupid things.
* Name the process variables right (#632097)Jesse Keating2010-09-101-2/+2
|
* Minor whitespace fixJesse Keating2010-09-081-1/+1
|
* Remove errornous dots at the end of the help messages of the commitJesse Keating2010-09-081-2/+2
| | | | | | command From Jochen@herr-schmitt.de
* Fefactoring: Use getuser to determinate fas useridJochen Schmitt2010-09-081-25/+23
| | | | | | | | | | | Hello Jesse, because I don't like duplicate code, I have create a getuser() function which determinate the userid of the fas account. Best Regards: Jochen Schmitt
* bash-completion < 1.2 compatibility (tmz@pobox.com)Jesse Keating2010-09-081-1/+8
| | | | | | | | The _get_comp_words_by_ref is provided by bash-completion >= 1.2, which EL-5 lacks. Attempting to use fedpkg completion on EL-5 results in errors: $ fedpkg <TAB>-bash: _get_comp_words_by_ref: command not found Fall back to using ${COMP_WORDS[COMP_CWORD]}.
* fedpkg: Try not to add redundant gitignore entriesTodd Zullinger2010-09-081-1/+11
| | | | | | | | | | | If there is a entry which matches the filename we're about to add already in the gitignore file, we don't need to bother adding another entry. This adds a match() method to GitIgnore which uses fnmatch. Under the hood, this is what git uses. It doesn't catch some of the special cases git has, but it should simply fail to match in those cases and will add a potentially redundant entry -- no different than previously.
* fedpkg: better bash completionJan Vcelak2010-09-081-117/+222
| | | | | - completes koji targets, sytem architectures, git branches, filenames and SRPM names after specific options
* Prep for releaseJesse Keating2010-08-242-2/+6
|
* Fix setting push.default when cloning with dirsJesse Keating2010-08-241-2/+4
|
* Remove build --test option in bash completionJesse Keating2010-08-231-1/+1
|
* Prepare for releaseJesse Keating2010-08-232-2/+16
|
* Install the bash completion script in the packageJesse Keating2010-08-231-0/+1
|
* Split fedpkg into its own subpackageJesse Keating2010-08-231-7/+27
| | | | Also sync up some other spec file changes from the pkg repo
* Error check the update call. #625679Jesse Keating2010-08-231-1/+5
|
* Use the correct remote when listing revsJeroen van Meeuwen (Ergo Project)2010-08-231-2/+5
|