View previous topic :: View next topic |
Author |
Message |
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sun Feb 10, 2019 2:56 pm Post subject: [SOLVED] Why download every time? |
|
|
This overlay ebuild for palemoon-28.3.1 fetches the source with git every time it runs.
This is a waste of bandwidth. How can I change it to download in /usr/portage/distfiles and not download if it already exists?
There are two issues here. It is a big package and how can I be sure I'm getting the same code every time?
https://data.gpo.zugaina.org/palemoon/www-client/palemoon/palemoon-28.3.1.ebuild
Last edited by Tony0945 on Sun Feb 10, 2019 8:08 pm; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sun Feb 10, 2019 6:03 pm Post subject: |
|
|
Interesting. It seems to be pulling down every time, at least when running "ebuild palemoon-28.3.1.ebuild configure" cycling with "clean". |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Sun Feb 10, 2019 6:38 pm Post subject: |
|
|
As Jaglover says you shouldn't be downloading it every time. You should just be pulling any changes. I haven't downloaded since 28.1 so when I do update it will pull all changes from 28.1 to 28.3 or whatever version. If they're doing ongoing work at the remote end and are saving their changes then you'll pick those up, even if they're as simple as comment changes.
When you run the ebuild it will go and see if there are any changes, but it shouldn't download (delta's) unless there are changes on the remote end.
As far as just using the source that you have downloaded, you'd have to modify the ebuild for the SRC area. (No, I'm not sure how to do it off the top of my head). _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sun Feb 10, 2019 8:08 pm Post subject: |
|
|
Ah! So the lag I see when it says "downloading" is not necessarily downloading but checking for changes. |
|
Back to top |
|
|
|