| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This avoids unnecessary lookup of non-existing users and
the resulting error messages in mock builds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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.
|
|
|
|
|
|
| |
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.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |/
| |
| |
| | |
Add man page generator to generate a man page at build time.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|/
|
|
| |
https://fedorahosted.org/fedora-packager/ticket/64
|
|
|
|
|
| |
Patch from Toshio
https://bugzilla.redhat.com/show_bug.cgi?id=667433#c7
|
|
|
|
|
| |
patch from Toshio
https://bugzilla.redhat.com/show_bug.cgi?id=667433#c6
|
|
|
|
| |
This can also prevent auth errors (#634946)
|
| |
|
| |
|
| |
|
|
|
|
| |
This fixes a potential traceback on ^c
|
|
|
|
|
| |
Looks like argparse doesn't like a % in help. Odd. Also fix a logic
error for non-tty usage.
|
|\
| |
| |
| |
| | |
Conflicts:
src/pyfedpkg/__init__.py
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \ |
|
| |/
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
used for setting up yubikeys for fedora
|
|\
| |
| |
| |
| | |
Conflicts:
src/fedpkg.bash
|
| |
| |
| |
| |
| | |
- add missing 'options_dir' and 'options_srpm' into 'all_options_values'
- newly added commands were indented using tabs instead of spaces
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
This patch is manually applied and then adjusted by me. Adds the basic
tag request functionality.
|
|\
| |
| |
| |
| | |
Conflicts:
src/fedpkg.bash
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Don't use getnvr, and use existing reference to clog file
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Minor clean ups from jochen's submission
|