Thanks
That fixed it...
Right now I need to add the following to
/usr/lib/python2.7/site-packages/pyrpkg/__init__.py:
@@ -2381,6 +2381,9 @@
replace=replace)
gitignore = GitIgnore(os.path.join(self.path, '.gitignore'))
+ oldpath = os.getcwd()
+ os.chdir(self.path)
+
for f in files:
# TODO: Skip empty file needed?
file_hash = self.lookasidecache.hash_file(f)
Else the commit process fails...
Do you know if this is reported??
/Martin
----- Original meddelelse -----
Fra: "Michal Novotny" <clime(a)redhat.com>
Til: "copr-devel" <copr-devel(a)lists.fedorahosted.org>
Sendt: mandag, 23. januar 2017 13:09:33
Emne: Re: dist-git not pushing to lookaside cache?
On Mon, Jan 23, 2017 at 11:12 AM, Martin Juhl < mj(a)casalogic.dk > wrote:
Ahh...
That might explain it:
"Old" RHEL system that works:
[root@copr02 conf.d]# rpm -aq pyrpkg
pyrpkg-1.46-5.el7.noarch
[root@copr02 conf.d]# rpm -aq copr-dist-git
copr-dist-git-0.15-1.el7.noarch
New system that doesn't :(...
[root@copr03 dist-git]# rpm -aq pyrpkg
pyrpkg-1.47-7.el7.noarch
[root@copr03 dist-git]# rpm -aq copr-dist-git
copr-dist-git-0.22-1.git.37.3ccf04d.el7.centos.noarch
Any ideas???
You need to install a newer copr-dist-git package that contains commit 3e9d3bb.
BQ_BEGIN
----- Original meddelelse -----
Fra: "Michal Novotny" < clime(a)redhat.com >
Til: "copr-devel" < copr-devel(a)lists.fedorahosted.org >
Sendt: mandag, 23. januar 2017 11:07:07
Emne: Re: dist-git not pushing to lookaside cache?
On Mon, Jan 23, 2017 at 10:54 AM, Martin Juhl < mj(a)casalogic.dk > wrote:
Hi Guys
I'm trying to clean up my installation instructions for the RHEL/CentOS installation..
I have a COPR server running on RHEL7, which can build packages...
BUT, in the process of documenting, I'm doing a new clean install, but I can't get
dist-git to push to the lookaside cache??
The repository in git is getting the source, but the packages are not being published to
/var/lib/dist-git/cache/lookaside/pkgs/
I think that I have checked all permissions, and I can't find any errors..
Anyone have any ideas???
What version of copr-dist-git and pyrpkg do you use? There was a change in the logic
recently that puts the package into the lookaside cache (
https://pagure.io/copr/copr/c/3e9d3bb1b9ddc0dc38458031f8cc6099a829117d?br... ) .
Please, see if that might be related and let us know.
BQ_BEGIN
Regards
Martin
_______________________________________________
copr-devel mailing list -- copr-devel(a)lists.fedorahosted.org
To unsubscribe send an email to copr-devel-leave(a)lists.fedorahosted.org
BQ_END
_______________________________________________
copr-devel mailing list -- copr-devel(a)lists.fedorahosted.org
To unsubscribe send an email to copr-devel-leave(a)lists.fedorahosted.org
_______________________________________________
copr-devel mailing list -- copr-devel(a)lists.fedorahosted.org
To unsubscribe send an email to copr-devel-leave(a)lists.fedorahosted.org
BQ_END
_______________________________________________
copr-devel mailing list -- copr-devel(a)lists.fedorahosted.org
To unsubscribe send an email to copr-devel-leave(a)lists.fedorahosted.org