Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Why download every time?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Feb 10, 2019 2:56 pm    Post subject: [SOLVED] Why download every time? Reply with quote

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
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Feb 10, 2019 4:34 pm    Post subject: Reply with quote

It is supposed to download into $DISTDIR/git3-src/. Subsequent runs pull only changes, not the whole source.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Feb 10, 2019 6:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sun Feb 10, 2019 6:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Feb 10, 2019 8:08 pm    Post subject: Reply with quote

Ah! So the lag I see when it says "downloading" is not necessarily downloading but checking for changes.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum