Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 345043

Summary: Developer Documentation: Please add node for replacement of distfiles
Product: Gentoo Linux Reporter: Thomas Kahle (RETIRED) <tomka>
Component: [OLD] DevelopmentAssignee: Gentoo Quality Assurance Team <qa>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for devmanual
new patch

Description Thomas Kahle (RETIRED) gentoo-dev 2010-11-11 10:32:58 UTC
Hi,

in bug #344979 we found that upstream had changed one if its files without renaming it.  The new file had to be pushed to mirrors and a new manifest uploaded.  Even after a longer search I could not find a documentation on how to do this.

After suggestions by more experienced devs I did the following: 

-) Put a copy of the new tarball in dev.gentoo.org/space/distfiles-local
-) upload the new manifest to CVS
-) wait a few hours for the bots to fetch the new copy from distfiles-local
-) remove the copy from distfiles-local

I wonder if this is the proper way, or if there is some easier way?  Somebody suggested that if I chmod 664 the tarball on distfiles-local then it would be removed automatically.  This turns out to be not true, the script will just adjust permissions to 644. 

In any case, I suggest to document this here:
http://devmanual.gentoo.org/general-concepts/mirrors/index.html

I volunteer to write the documentation, once I know the 'proper' way to do it.

Reproducible: Always
Comment 1 nm (RETIRED) gentoo-dev 2010-11-11 11:23:51 UTC
The GDP has nothing whatsoever to do with the devmanual. As the devmanual's front page states:

"If you have any corrections, suggestions or improvements please file a bug at bugs.gentoo.org and assign it to qa@gentoo.org."

Reassigning.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-11-11 12:15:12 UTC
You can git clone the devmanual repo and prepare a git formated patch so we can apply it instantly.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-11-15 02:24:03 UTC
(In reply to comment #0)

> After suggestions by more experienced devs I did the following: 
> 
> -) Put a copy of the new tarball in dev.gentoo.org/space/distfiles-local
> -) upload the new manifest to CVS
> -) wait a few hours for the bots to fetch the new copy from distfiles-local
> -) remove the copy from distfiles-local

That is correct. Skip the last step though - it is done automatically after 2 weeks, approx.
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2010-11-15 19:11:10 UTC
Created attachment 254431 [details, diff]
patch for devmanual

My first git-format patch.  Please see if you can use it.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2010-11-24 16:18:08 UTC
Looks good to me
Comment 6 Thomas Kahle (RETIRED) gentoo-dev 2010-11-26 09:34:56 UTC
(In reply to comment #5)
> Looks good to me

What is the next step here? Should I commit it myself or will QA do that?

P.S. Meeeh.... these science upstreams do that all the time.  Had another instance today with sci-math/singular. 
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2010-11-26 13:15:23 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Looks good to me
> 
> What is the next step here? Should I commit it myself or will QA do that?
> 
> P.S. Meeeh.... these science upstreams do that all the time.  Had another
> instance today with sci-math/singular. 
> 
The next step is for me to find some time and apply your patch :)
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2010-11-28 12:23:45 UTC
Ah this patch does not apply correctly because the text in eclass-writting has changed during time. Thomas, can you please prepare a new one so you can get all the credits for your work? Thank you
Comment 9 Thomas Kahle (RETIRED) gentoo-dev 2010-12-01 08:31:09 UTC
Created attachment 256019 [details, diff]
new patch

I don't understand what you mean.  Anyway, I have rebased the patch against the HEAD of 10 minutes ago.  (And also changed to my gentoo identity)
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2010-12-01 09:21:07 UTC
Now it is ok.

Fixed