Open main menu

CDOT Wiki β

Changes

Automatic ExclusiveArch Addition/Removal

1,412 bytes added, 10:08, 7 April 2011
no edit summary
= Automatic ExclusiveArch Addition/Removal =
<!-- Replace "Project Name" with the actual name of the project in the line above. -->
== Project Description ==
The aim purpose of this project is to write a script that will automatically loop through a given list of packages and automatically download the packagesthem. It will then change the Arch lines that a line specified by the user indicated he or she wanted changed.
<!-- Description should be no longer than a paragraph. Include links to any relevant on-line resources. For example, [http://fedoraproject.org/wiki] or [http://developer.mozilla.org MDC]. -->
== Project Details ==
* Script will be written in Python.Line added/removed will be set in config file.Can * Input can include switch to pull package names from a CSV csv file or to just take command line arguementarguements.* There will be a config file.
<!-- Provides more depth than the Project Description. This is the place for technical discussions, project specs, or other details. If this gets very long, you might consider breaking this part into multiple pages and linking to them. -->
Key contacts:
[[User:ctyler Chris Tyler|ctyler]][[User:Paul.W|PaulW Paulw]] On the #fedora-devel and #seneca Jesse Keating -- Oxf13 Dennis Gilmore -- dgilmore
<!-- Add links to any mentors or key participants in the community. -->
* 0.2 Add extra features, get automatic download of packages working, debug
* 0.3 Write documentation, polish off program
== 0.1 Release Update ==
Download Link:?<Br> http://www.tuori.tk/sbr/autoarch01.py?<Br>
 
 
What is the goal of the project?<Br>
-Working batch package editor for addition and removal of ExcludeArch arm line in spec files<Br>
 
 
What did the 0.1 release accomplish?<Br>
-Familiarized myself with Python (API, syntax, structure) <Br>
-Basic working script that works on a single spec file with filename entered by user<Br>
 
Goals for 0.2?<Br>
-Conf file<Br>
-Logging<Br>
-Looping<Br>
 
Goals for 0.3?<Br>
-Git<Br>
-Polish<Br>
 
== 0.2 Release Update ==
Download Link:<Br> http://www.tuori.tk/sbr/autoarch02.py<Br>
 
 
What is the goal of the project?<Br>
-Working batch package editor for addition and removal of ExcludeArch arm line in spec files that works with repository<Br>
 
 
What did the 0.1 release accomplish?<Br>
-Greatly improve script with new config file<Br>
-Ability to add/remove entries from multiple spec files at a time<Br>
-Works on Local Filesystem<Br>
 
Conf File?<Br>
#AutoArch Config File (Do not change comments)
#Set Line to Modify:
ExcludeArch:
#Set Architecture to Modify:
Arm
#Add or Remove Above Settings From Spec (A/R)
A
#Subdirectory for Output
test_output
#Add above this line when not found
BuildRequires:
#PACKAGES TO MODIFY (Enter each on its own line below this line)
test.spec
test2.spec
 
Goals for 0.3?<Br>
-Fix removal function<Br>
-Logging<Br>
-Get working with git and repsoitory<Br>
-Polish
== Communication ==
 
=== Mailing Lists ===
<!-- Add any appropriate mailing lists to which you are subscribed (e.g., see http://lists.fedoraproject.org -->
users@lists.fedoraproject.org
=== Upsteam Wiki and Web ===
=== Blogs ===
http://www.tuori.tk <!-- Links to the blogs of people involved, both inside and outside Seneca -->[http://www.tuori.tk Matt's blog]
==== Seneca Particpants ====
1
edit