From Fedora Project Wiki

< FWN‎ | Beats

No edit summary
m (minor grammatical fix)
 
(14 intermediate revisions by 3 users not shown)
Line 6: Line 6:
http://fedoraproject.org/wiki/AskFedora
http://fedoraproject.org/wiki/AskFedora


Contributing Writer: RahulSundaram
Writers: [[User:Pfrields| Paul W Frields]], [[User:Sundaram|Rahul Sundaram]]


=== Local Fedora Repository Management Best Practices? ===
=== What is the official Fedora policy on Mono? ===


Arthur Pemberton asked: "Fedora traditionally holds fairly strict guidelines for inclusion of software, and the pursuit of Free Software. As such I consider their decisions on such things to be quite important. With that in mind, I would like to ask: what is the official Fedora policy on Mono? Specifically in terms to its FOSS nature and legality."


Erik Turk <erikt@bbn.ca>
Paul W Frields, Fedora Project Leader responds:


Hello to  Ask Fedora Team. I am just starting to maintain my own Fedora 8 repositories for my local use. I think that these questions are about best practices for maintaining a Fedora repository. I have found many articles about how to create your own fedora repository
Until certain ambiguities such as those concerning Mono's patent licensing and redistribution are resolved, there is no formal policy
 
that I'm aware of.  We have concerns which are being researched, and any official policy would likely come through Fedora Legal and the Fedora Engineering Steering Committee. The substitution of Gnote for Tomboy on the Desktop Live image and in the default installation for Fedora 12 reduces package load in the standard Fedora Desktop Live image, but for now Mono remains in the Fedora repositories.
1. How can I determine the intersection of the i386 and x86_64 repositories, both for updates and base?
 
I have noticed that there are several ( I don't know how many ) packages that exist in both the i386 and the x86_64 arch folders.
These are i386 packages that exist in the x86_64 updates folder such as:
 
adminutil-1.1.5-1.fc8.i386.rpm
adminutil-1.1.5-1.fc8.x86_64.rpm
 
Also, there are noarch packages which appear in both i386 and x86_64 repositories.
 
Is there any way that I can download the .i386 package once and have it linked (to save local disk space as well as the download bandwidth) to the x86_64 directory for packages that appear in both?
 
What are the implications of downloading the updates first for i386, then copying all the i386 update packages to the x86_64 update folder, then rsync'ing the x86_64 update folder? Will this download only the x86_64 packages
 
How can this work with the rsync command that many of the "create your own repository" articles use? I recognize that this is only important for people who maintain both repositories locally.
 
2. (5 of the top 20 update packages by size, as of April 16,2008 ) and (12 of the top 20 base packages by size in the Everything Folder) are games.
 
In the Everything base folder, these 12 packages are over 1GB of data, close to 10% of the total of the directory.
 
Is there any way to identify these as a group in the repository so that they are not downloaded as part of an rsync run, other than excluding them individually?
 
3. With the upcoming release of Fedora 9, How can I save bandwidth by "converting" my Fedora 8 repositories into Fedora 9 repositories, without re-downloading the entire Everything folder? Is there a process that can be followed by local repositories at each new Fedora release?
 
I know that many packages will have new fc9 files, but some will still be fc8 in the f9 repo. How can I determine which ones to copy vs which ones to download?
 
---
 
Matt Domsch answers:
 
 
> >    Hello to  Ask Fedora Team. I am just starting to maintain my own Fedora 8
> >    repositories for my local use. I think that these questions are about best
> >    practices for maintaining a Fedora repository. I have found many articles
> >    about how to create your own fedora repository
 
Most of these articles are outdatedInstead, see
http://fedoraproject.org/wiki/Infrastructure/Mirroring.
 
> >    1. How can I determine the intersection of the i386 and x86_64
> >    repositories, both for updates and base?
> >
> >    I have noticed that there are several ( I don't know how many ) packages
> >    that exist in both the i386 and the x86_64 arch folders.
> >    These are i386 packages that exist in the x86_64 updates folder such as:
> >
> >  adminutil-1.1.5-1.fc8.i386.rpm
> >  adminutil-1.1.5-1.fc8.x86_64.rpm
> >
> >    Also, there are noarch packages which appear in both i386 and x86_64
> >    repositories.
> >
> >    Is there any way that I can download the .i386 package once and have it
> >    linked (to save local disk space as well as the download bandwidth) to the
> >    x86_64 directory for packages that appear in both?
 
Yes, rsync -H (as described at the above URL) will preserve hardlinks,
and these files are hardlinked on the mirrors.
 
> >    What are the implications of downloading the updates first for i386, then
> >    copying all the i386 update packages to the x86_64 update folder, then
> >    rsync'ing the x86_64 update folder? Will this download only the x86_64
> >    packages
 
Just use rsync -H and this will happen automagically.
> >    How can this work with the rsync command that many of the "create your own
> >    repository" articles use? I recognize that this is only important for
> >    people who maintain both repositories locally.
> >
> >    2. (5 of the top 20 update packages by size, as of April 16,2008 ) and (12
> >    of the top 20 base packages by size in the Everything Folder) are games.
> >
> >    In the Everything base folder, these 12 packages are over 1GB of data,
> >    close to 10% of the total of the directory.
> >
> >    Is there any way to identify these as a group in the repository so that
> >    they are not downloaded as part of an rsync run, other than excluding them
> >    individually?
 
No.
> >    3. With the upcoming release of Fedora 9, How can I save bandwidth by
> >    "converting" my Fedora 8 repositories into Fedora 9 repositories, without
> >    re-downloading the entire Everything folder? Is there a process that can
> >    be followed by local repositories at each new Fedora release?
> >
> >    I know that many packages will have new fc9 files, but some will still be
> >    fc8 in the f9 repo. How can I determine which ones to copy vs which ones
> >    to download?
 
There are very few, and again, the whole tree on the mirrors is
hardlinked, so any packages that haven't been  updated won't be
downloaded again, just hardlinked.
 
Thanks,
Matt
Fedora Mirror Wrangler

Latest revision as of 18:49, 15 June 2009

Ask Fedora

In this section, we answer general questions from Fedora community. Send your questions to askfedora AT fedoraproject.org and Fedora News Team will bring you answers from the Fedora Developers and Contributors to selected number of questions every week as part of our weekly news report. Please indicate if you do not wish your name and/or email address to be published.

http://fedoraproject.org/wiki/AskFedora

Writers: Paul W Frields, Rahul Sundaram

What is the official Fedora policy on Mono?

Arthur Pemberton asked: "Fedora traditionally holds fairly strict guidelines for inclusion of software, and the pursuit of Free Software. As such I consider their decisions on such things to be quite important. With that in mind, I would like to ask: what is the official Fedora policy on Mono? Specifically in terms to its FOSS nature and legality."

Paul W Frields, Fedora Project Leader responds:

Until certain ambiguities such as those concerning Mono's patent licensing and redistribution are resolved, there is no formal policy that I'm aware of. We have concerns which are being researched, and any official policy would likely come through Fedora Legal and the Fedora Engineering Steering Committee. The substitution of Gnote for Tomboy on the Desktop Live image and in the default installation for Fedora 12 reduces package load in the standard Fedora Desktop Live image, but for now Mono remains in the Fedora repositories.