summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Have PackageModule require a path4/ndim-miscHans Ulrich Niedermann2011-01-221-3/+3
| | | | | | | | | | The definition of the --path argument to fedpkg in parse_cmdline() already makes os.getcwd() the default value for args.path. Thus, we can get rid of the code providing the very same default for the path in PackageModule.__init__(). Also, make sure the path actually exists and is a directory.
* Run SRPM rpmbuild via fakerootHans Ulrich Niedermann2011-01-211-1/+1
| | | | | This avoids unnecessary lookup of non-existing users and the resulting error messages in mock builds.
* Fix permission of files to be put into SRPMHans Ulrich Niedermann2011-01-212-1/+9
| | | | | | | | | | | | | | | Add an option '--fix-permissions' to the 'fedpkg srpm' call. If the '--fix-permissions' option is not given, the behaviour of 'fedpkg srpm' does not change at all. If the '--fix-permissions' option is given, fedpkg runs git ls-files -z | xargs -0 chmod a+r before running the normal rpmbuild command. This makes sure that all 0600 files the filesystem are changed to the usual 0644 before including them in .src.rpm file.
* Unify --md5 parameter handlingHans Ulrich Niedermann2011-01-212-13/+14
| | | | | | | | | | | Unify handling of the --md5 parameter between the two targets using it: 'fedpkg local' and 'fedpkg srpm'. If no --md5 parameter is given, then the default hashtype is used, as determined in PackageModule.__init__() ('md5' for el5 and el6, and 'sha256' for everything else). If an --md5 parameter is given, then use the 'md5' hashtype.
* Fix 'fedpkg lint' to use a defined variableHans Ulrich Niedermann2011-01-211-1/+1
| | | | | | Use the defined 'args.info' variable instead of the undefined 'info' variable and 'fedpkg lint' does its job instead of just failing with a NameError.
* Merge branch '4/initial-merge' into 4/ALL4/ALLHans Ulrich Niedermann2011-01-214-5/+265
|\
| * Add "fedpkg clone --initial-merge" argument4/initial-mergeHans Ulrich Niedermann2011-01-214-6/+27
| |
| * Add "fedpkg initial-merge" commandHans Ulrich Niedermann2011-01-214-1/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usage: fedpkg.py initial-merge [-h] [-n] [repo-path [repo-path ...]] Performs a 'git merge' of all git branches with the same content (i.e. with the same package spec files, patch files, etc.), regardless of their history. This is useful after Fedora's dist-cvs to dist-git migration, as often different branches have different histories but the same content on the filesystem. After these initial merges of identical trees, future merges between the branches will be a lot easier: Easier to follow in the dependency graph, and easier to perform without conflicts. positional arguments: repo-path Path to a repo to initial-merge optional arguments: -h, --help show this help message and exit -n, --dry-run Whether to run without actually merging
* | Merge branch '4/man-page' into 4/ALLHans Ulrich Niedermann2011-01-213-3/+164
|\ \
| * | Add build time man page generator4/man-pageHans Ulrich Niedermann2011-01-213-3/+164
| |/ | | | | | | Add man page generator to generate a man page at build time.
* | Merge branch '4/basic' into 4/ALLHans Ulrich Niedermann2011-01-211-3/+10
|\|
| * Move argparse setup into parse_cmdline function4/basicHans Ulrich Niedermann2011-01-211-3/+10
| | | | | | | | | | | | | | | | Move the argparse setup and the actual argument parsing into a separate parse_cmdline function. This makes the actual main program more clear, and allows reusing of the argparse setup for man page generation later.
| * Comment typo fixHans Ulrich Niedermann2011-01-201-1/+1
| |
* | Document that "fedpkg local" logs to file4/document-local-targetHans Ulrich Niedermann2011-01-211-1/+8
|/ | | | https://fedorahosted.org/fedora-packager/ticket/64
* 0.5.2.0 releaseDennis Gilmore2011-01-053-3/+74
|
* switch away from list2cmdline()Dennis Gilmore2011-01-051-11/+9
| | | | | Patch from Toshio https://bugzilla.redhat.com/show_bug.cgi?id=667433#c7
* Import subprocess from stdlib when possibleDennis Gilmore2011-01-051-3/+4
| | | | | patch from Toshio https://bugzilla.redhat.com/show_bug.cgi?id=667433#c6
* Logout before watching tasksJesse Keating2010-12-031-0/+1
| | | | This can also prevent auth errors (#634946)
* Add a tool to generate the rpm changelogJesse Keating2010-12-021-0/+111
| | | | This comes from Brian Lane, ./git-changelog -v <tag>
* Handle having no sources file (#656897)Jesse Keating2010-12-021-2/+5
|
* Add a dash of error checking to update (#655576)Jesse Keating2010-12-021-1/+5
|
* Fix a traceback on expried credentials (#634946)Jesse Keating2010-12-021-1/+6
|
* Backport a bugfix from koji upstream to fix 628504Jesse Keating2010-12-021-0/+4
| | | | This fixes a potential traceback on ^c
* Fix up the commit commandJesse Keating2010-12-012-2/+2
| | | | | Looks like argparse doesn't like a % in help. Odd. Also fix a logic error for non-tty usage.
* Merge branch 'sources'Jesse Keating2010-12-011-0/+1
|\ | | | | | | | | Conflicts: src/pyfedpkg/__init__.py
| * print filename of downloaded sourceDan HorĂ¡k2010-12-011-0/+1
| | | | | | | | | | | | When the "sources" target is run, then curl prints some statistics during the download of the missing file, but it doesn't print the filename that gets downloaded.
* | Merge branch 'spaces'Jesse Keating2010-12-011-6/+10
|\ \
| * | Handle source files with spaces in them. Trac #85Jesse Keating2010-12-011-6/+10
| |/ | | | | | | | | Source files with spaces mean we have to be careful how we parse the sources file, and how we hand URLs off to curl. Good times.
* | Remove parenthesises on mymodule.nvrJochen Schmitt2010-11-302-5/+1
| |
* | Fix error in clone by renaming self.join.join to os.path.joinJochen Schmitt2010-11-301-1/+1
| |
* | Fix error to call the diff functionen in import_srpmJochen Schmitt2010-11-301-1/+1
|/
* add author and copyright info for fedora-burn-yubikeyDennis Gilmore2010-09-241-0/+9
|
* install fedora-burn-yubikey into sbindirDennis Gilmore2010-09-241-1/+9
|
* add fedora-burn-yubikey scriptDennis Gilmore2010-09-241-0/+76
| | | | used for setting up yubikeys for fedora
* Merge branch 'bashfixes' into jochenJesse Keating2010-09-231-4/+4
|\ | | | | | | | | Conflicts: src/fedpkg.bash
| * bash completion changes cleanupJan Vcelak2010-09-231-16/+16
| | | | | | | | | | - add missing 'options_dir' and 'options_srpm' into 'all_options_values' - newly added commands were indented using tabs instead of spaces
* | Whitespace fixesJesse Keating2010-09-231-16/+16
| |
* | Reorder options in fedpkg.bash alphabeticlyJochen Schmitt2010-09-231-11/+11
| |
* | Fixups in the retire functionJesse Keating2010-09-231-6/+10
| |
* | Implementing a retire commandJochen Schmitt2010-09-233-2/+49
|/
* 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
| |