summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement rpmbuild options: --define --with --withoutrpmbuild-option-passthroughHans Ulrich Niedermann2011-03-212-0/+22
| | | | | | | | | | | Implement the following global fedpkg options for passing on to rpmbuild, regardless of whether fedpkg is directly calling rpmbuild or calling it indirectly via mock: -D 'MACRO EXPR', --define 'MACRO EXPR' define an rpm macro for rpmbuild and mock --with RPMWITH enable configure option for rpmbuild and mock --without RPMWITHOUT disable configure option for rpmbuild and mock
* Fix source code indentationHans Ulrich Niedermann2011-03-211-1/+1
|
* Pass complete "args" to PackageModule.__init__()Hans Ulrich Niedermann2011-03-212-36/+34
| | | | | | | | | | It doesn't make sense to explicitly pass the very same set of multiple args.foo variables like PackageModule(foo = args.foo, ...) to PackageModule.__init__(), so we just pass the complete args object.
* Release 0.5.7.0Jesse Keating2011-03-043-2/+21
|
* If chain has sets, handle them right (#679126)Jesse Keating2011-03-031-3/+9
| | | | | Handle the case where the last set is inclusive of the last build or not.
* Add code to handle chain builds with sets better.Jesse Keating2011-03-031-2/+11
| | | | | | | | | | | | | | When doing chain builds, the last package can be treated one of two ways. 1) It can be added to the end of the list to be built serially, it would be the last build. 2) It can be added to the last set in the chain to be built in parallel with the last set. Which way depends on if sets are used or not. This code should handle both correctly.
* Document the arches argument to the build functionJesse Keating2011-03-031-0/+2
| | | | This was added a while ago but I forgot to document it.
* Fix "fedpkg help" command (make it work again) (#681242)Hans Ulrich Niedermann2011-03-031-2/+2
| | | | | | | | | | | This changes the parser_help command to a lambda which passes the parser variable to the usage() function as a second parameter. We forgot to give the usage() function its "parser" parameter, and after we moved the definition of the parser variable out of the main module, the usage() function did not see the parser variable any more.
* Always generate a new srpm (#681359)Jesse Keating2011-03-031-6/+2
| | | | | Turns out there could be multiple reasons for wanting to make a new srpm even if the spec file hasn't changed, so just do it.
* Fix up uses of path (ticket #96)Jesse Keating2011-02-241-2/+2
|
* Clean up hardcoded "origin" (ticket #95)Jesse Keating2011-02-241-5/+11
| | | | | This will be handy when we start dealing with multiple remotes. Not perfect but a good start.
* Fix obvious error in definition of curl commandPaul Bolle2011-02-241-1/+1
| | | | Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
* Fix fedpkg.1 target dependenciesmanpage-target-dep-fixHans Ulrich Niedermann2011-02-241-5/+5
| | | | | | | | | | Make sure that the fedpkg.1 man page file is rebuilt when any of the files it may pull information from have been changed. This will even cause the `fedpkg.1` rebuild (and later 'make install' the rebuilt man page) in case of an old and outdated fedpkg.1 lying around in $(srcdir) when doing an out of source tree build (e.g. $(top_srcdir) != $(top_builddir)).
* Prep for release of 0.5.6.0Jesse Keating2011-02-233-2/+24
|
* Fix improper use of strip()Jesse Keating2011-02-221-2/+2
| | | | | | | Strip doesn't do what I thought it did, it will remove any of the individual chars from the string, rather than just removing the substring from the string. replace('substring', '') needs to be used instead.
* Improve the way we detect branch dataJesse Keating2011-02-181-6/+11
| | | | | | Not only does this now work with old/new style branches, but it also fixed up some improper regex use that could have caught too much. It can be simplified once the branch renames are done.
* Leave a hint about things to remove laterJesse Keating2011-02-181-0/+2
|
* Fix clone to work with old/new branch stylesJesse Keating2011-02-181-10/+8
| | | | | | This makes use of switch_branch to clone to a specific branch. This might have the side effect of "fixing" el5 where clone --branch is not supported by git.
* Add new and old support to switch_branchesJesse Keating2011-02-181-3/+7
| | | | | This also removes a hardcoded reference to "origin", as this can be named differently.
* Update the regexes used for finding branchesJesse Keating2011-02-181-4/+30
| | | | | These new regexes are used to catch both styles of branching. The old branchfilter is no longer used.
* Clarify and make more exact the branch regexJesse Keating2011-02-171-3/+4
| | | | | This also catches only top level Fedora branches, without the trailing /master
* Don't use temporary editor files for spec (#677121)Jesse Keating2011-02-141-1/+1
|
* fedpkg requires rpm-build (#676973)Jesse Keating2011-02-131-1/+1
|
* Don't error out just from stderr from rpmJesse Keating2011-02-111-1/+9
| | | | | Rpm can be bitchy, but also return 0, so handle that. Also try to do something meaningful / useful with the error output.
* Release 0.5.5.0Jesse Keating2011-02-093-2/+14
|
* rearrnage import and drop hints about whyJesse Keating2011-02-091-4/+8
|
* Move some module imports to command runtimeHans Ulrich Niedermann2011-02-091-3/+5
| | | | | | | | | Move module imports of the fedora_cert, koji, and pyfedpkg modules to the actual command runtime. This gets rid of the requirement to have them (and their respective imported modules) installed at build time for generating the man page.
* Move actual man page generation callHans Ulrich Niedermann2011-02-092-1/+6
| | | | | Move actual man page generation call from Makefile.am to the src/fedpkg_man_page.py __main__ section.
* Move location/name of man_page moduleHans Ulrich Niedermann2011-02-093-8/+4
| | | | | | Move location/name of man_page module (out of the pyfedpkg module/namespace) in order to avoid importing pyfedpkg for man page generation.
* Re-add 'lint' command hookup into argparse magicHans Ulrich Niedermann2011-02-101-0/+1
| | | | This apparently disappeared in commit 582c0e69.
* Catch errors parsing spec to get name. (#676383)HEADmasterJesse Keating2011-02-091-0/+2
|
* Release 0.5.4.0Jesse Keating2011-02-093-4/+46
|
* Add changes from dist-gitJesse Keating2011-02-091-7/+29
|
* Re-arrange verify-files and slight fixupsJesse Keating2011-02-092-27/+29
|
* Add "fedpkg verify-files" commandHans Ulrich Niedermann2011-02-093-1/+28
| | | | | | | | usage: fedpkg verify-files [-h] Locally run 'rpmbuild -bl' to verify the spec file's %files sections. This is useful after a successful run of 'fedpkg install' or after a 'fedpkg local' run which failed due to %files list inaccuracies.
* Provide feedback about new-ticket. (ticket 91)Jesse Keating2011-02-091-1/+2
|
* Remove wrong comment.Jesse Keating2011-02-091-2/+0
|
* Add the new pull options to bash completionJesse Keating2011-02-091-0/+3
|
* Add a --rebase and --no-rebase option to pullJesse Keating2011-02-092-4/+29
| | | | I decided to emulate git here and not default to a rebase.
* Whitespace fixesJesse Keating2011-02-091-2/+2
|
* Update the documentation for a lot of commandsJesse Keating2011-02-091-50/+205
| | | | | | | | This feeds both command --help and the man page. Formatting is a little odd. The help = on the parser itself cannot span multiple lines with \. It'll look fine in --help but not in the man page. Multiple strings need to be used instead. The description argument can span multiple lines with \ just fine though.
* Handle working from a non-existent path (#675398)Jesse Keating2011-02-081-1/+8
|
* Fix an traceback when failing to watch a build.Jesse Keating2011-02-081-1/+2
|
* Handle arches argument for scratch builds (#675285)Jesse Keating2011-02-082-2/+11
|
* Trim the "- " out of clogs. (#675892)Jesse Keating2011-02-081-1/+1
|
* Exit with an error when appropriateJesse Keating2011-02-081-0/+3
| | | | | | When dealing with the pipe stuff, we need to catch if the first command exits with an error, because that error won't carry through to the piped command. Fixes RHBZ:634888
* Kill the Commands section.Jesse Keating2011-02-041-30/+14
| | | | Want to use the COMMAND OVERVIEW option instead.
* Add build time man page generator5/man-pageHans Ulrich Niedermann2011-02-053-3/+192
| | | | Add man page generator to generate a man page at build time.
* Add help text for global --user option5/basicHans Ulrich Niedermann2011-02-051-1/+2
|
* Comment typo fixHans Ulrich Niedermann2011-02-011-1/+1
|