Re: [Rpm-maint] [rpm-software-management/rpm] Prevent automatic garbage collection in git based %autosetup macros (#1336)

2020-08-20 Thread Miro Hrončok
Right? It happened here BTW 
https://koschei.fedoraproject.org/package/pypy3?collection=f33

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1336#issuecomment-677433082___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Prevent automatic garbage collection in git based %autosetup macros (#1336)

2020-08-19 Thread Panu Matilainen
Funny/strange case.

Anyway, thanks for the patch!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1336#issuecomment-677272176___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Prevent automatic garbage collection in git based %autosetup macros (#1336)

2020-08-19 Thread Panu Matilainen
Merged #1336 into master.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1336#event-3673689476___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Prevent automatic garbage collection in git based %autosetup macros (#1336)

2020-08-19 Thread ニール・ゴンパ
@Conan-Kudo approved this pull request.





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1336#pullrequestreview-471049794___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Prevent automatic garbage collection in git based %autosetup macros (#1336)

2020-08-19 Thread Miro Hrončok
The garbage collection happens in background, based on heuristic.
This means that sometimes, when subsequent commands run,
some files might disappear in the middle of an action.

For example, when a find is used in %prep:

+ /usr/bin/git commit -m ... --author 'rpm-build '
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
...
+ find ...
find: './.git/objects/47': No such file or directory
find: './.git/objects/46': No such file or directory
find: './.git/objects/49': No such file or directory
find: './.git/objects/4d': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.xx (%prep)
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1336

-- Commit Summary --

  * Prevent automatic garbage collection in git based %autosetup macros

-- File Changes --

M macros.in (1)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1336.patch
https://github.com/rpm-software-management/rpm/pull/1336.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1336
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint