[Spacewalk-list] question about repo's

John Hodrien J.H.Hodrien at leeds.ac.uk
Mon Jan 12 17:22:15 UTC 2009


On Mon, 12 Jan 2009, Michael ORourke wrote:

> If you delete the locally synced data after pushing into spacewalk, then do a 
> reposync, you will effectively be downloading all the packages again. Which 
> doesn't sound like you will gain anything.  I guess if you just did the 
> reposync on the base packages, then you could safely delete them after 
> pushing into spacewalk, but with 'updates' or any other repos that are not 
> static, you would have the same issue.
> Here's a thought, maybe you could zero out the packages after pushing into 
> spacewalk.  Which would require a custom script.  And you will need to do a 
> filelist before and after you synchronize so that you could take the diff and 
> only push the new files into spacewalk, then zero them out after the push. 
> That would save you from keeping duplicates of all the packages and a lot of 
> disk space.  However reposync doesn't have that functionality, so a custom 
> script would need to be written.

There'd be nothing stopping you hardlinking identical packages from your repo
directory with those in the satellite directory that I can think of...

That wouldn't confuse reposync.

jh

-- 
"It's not the bullet with my name on it that worries me.  It's the one that
  says 'To whom it may concern'."
                                                 -- Belfast Resident (16/10/91)




More information about the Spacewalk-list mailing list