| 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.
|
| |
|
|
|
|
|
| |
When the local branch doesn't have a merge point, catch people trying to
build from a remote url.
|
| |
|
|
|
|
|
| |
This reverts commit 6734b0afba8cc8361392fd40b5b46a11ce0bce09.
Fixing a bad commit message
|
| |
|
| |
|
|
|
|
|
|
| |
This allows developers to force fedpkg into not discovering the
distribution based on branch name, and instead just take what the
developer says it is.
|
| |
|
| |
|
|
|
|
|
| |
This looks to see what tag 'dist-rawhide' will build into, which will
tell us good info about the dist values.
|
|
|
|
| |
This will be useful to query koji without bothering to log in
|
|
|
|
|
|
|
| |
Compare the modification times of the spec and the srpm if it exists and
see if we need to re-generate due to a spec change. Most of this code
comes from Gianluca Sforna <giallu@gmail.com> with modifications from
me.
|
| |
|
|
|
|
|
| |
We can't trust the name of the specfile to match, so get the name as
defined within the specfile.
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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.
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
This patch is manually applied and then adjusted by me. Adds the basic
tag request functionality.
|
| |
|
| |
|
|
|
|
| |
Minor clean ups from jochen's submission
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Hello Jesse,
this patch add a -i (info) tag for the fedpkg lint
command.
Best Regards:
Jochen Schmitt
|
|
|
|
|
|
|
|
|
|
|
| |
Hello Jesse,
I have move the pull() and push() function in the __init__.py
module out of the PackageModule class.
Best Regards:
Jochen Schmitt
|
|
|
|
|
|
|
|
|
|
| |
Hello Jesse,
this patch implemts a pull command for fedpkg.
Best Regards:
Jochen Schmitt
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Just raise it, let the caller figure out what to do.
|
|
|
|
| |
Again this is just because rpmbuild does some stupid things.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
I don't like doing this, but I'm failing at coming up with a clever way
to only do it in cases we know we want it, such as rpmbuild calls.
Since that's the only thing we're piping right now, call it good, but I
still don't like it.
|
|
|
|
| |
One of these times I'll get it right.
|