Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113465 - New option to prevent removal of portage snapshot files at the end of gnap_make
Summary: New option to prevent removal of portage snapshot files at the end of gnap_make
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: GNAP (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Network Appliance Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-24 06:06 UTC by Steve Johnson
Modified: 2006-04-15 03:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Johnson 2005-11-24 06:06:48 UTC
It would be a nice addition an option would be added to gnap_make in order to  
prevent the removal of the portage snapshot temporary files used by gnap make, 
since it can consist in a very big amount of time of the whole process. This 
would be especially useful when testing new changes, as the gnap_make process 
might need to be rerun many times, and saving the time to create the portage  
snapshot. 

Reproducible: Always
Steps to Reproduce:
1.Use gnap_make 
2. 
3.
Comment 1 Thierry Carrez (RETIRED) gentoo-dev 2005-12-28 05:52:21 UTC
Hello Steve,

You mean the time needed at the "Preparing portage snapshot" step when you use the "-o" option ? If you don't use the "-o" option it should be very quick.

If I get you right, there is an easy workaround : use the portage snapshot that was created the last time... Example :

First run :
gnap_make -t all -o myportageoverlay -v 20051228A

This will take time, and leave a /var/tmp/catalyst/snapshots/portage-20051228A.tar.bz2 file behind.

Second run :
gnap_make -t all -p /var/tmp/catalyst/snapshots/portage-20051228A.tar.bz2 -v 20051228B

This will reuse the already-built snapshot file...

Let me know if that solves it for you.
Comment 2 Thierry Carrez (RETIRED) gentoo-dev 2006-04-15 03:31:27 UTC
Closing as WONTFIX, feel free to reopen if comment #1 doesn't solve it for you