Difference between revisions of "Automatic ExclusiveArch Addition/Removal"
(Created page with ' = Project Name = <!-- Replace "Project Name" with the actual name of the project in the line above. --> == Project Description == <!-- Description should be no longer than a …') |
|||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | = Automatic ExclusiveArch Addition/Removal = | |
− | |||
− | = | ||
<!-- Replace "Project Name" with the actual name of the project in the line above. --> | <!-- Replace "Project Name" with the actual name of the project in the line above. --> | ||
== Project Description == | == Project Description == | ||
− | + | The purpose of this project is to write a script that will automatically loop through a given list of packages and automatically download them. It will then change a line specified by the user. | |
<!-- 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]. --> | <!-- 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 Leader(s) == | == Project Leader(s) == | ||
− | + | Matthew Tuori | |
<!-- Name(s) of primary people working on the project. If you want to join a project as leader, discuss with other leaders first. Include links to personal pages within wiki and to blog sites. --> | <!-- Name(s) of primary people working on the project. If you want to join a project as leader, discuss with other leaders first. Include links to personal pages within wiki and to blog sites. --> | ||
Line 19: | Line 17: | ||
== Project Details == | == Project Details == | ||
− | + | * Script will be written in Python. | |
+ | * Input can include a csv file or command line arguements. | ||
+ | * 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. --> | <!-- 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. --> | ||
Line 25: | Line 25: | ||
Tracking mechanism (bugzilla, trac, github, ...): | Tracking mechanism (bugzilla, trac, github, ...): | ||
+ | To be determined - Still have to look at the available options to determine the solution that is best for this project. | ||
Key contacts: | Key contacts: | ||
+ | [[User:Chris Tyler|ctyler]] | ||
+ | [[User:Paul.W|PaulW]] | ||
+ | |||
+ | On the #fedora-devel and #seneca | ||
+ | |||
+ | Jesse Keating -- Oxf13 | ||
+ | |||
+ | Dennis Gilmore -- dgilmore | ||
<!-- Add links to any mentors or key participants in the community. --> | <!-- Add links to any mentors or key participants in the community. --> | ||
Goals for each release and plans for reaching those goals: | Goals for each release and plans for reaching those goals: | ||
<!-- Note: each contributor is expected to have unique goals. These goals may be ''related'' to other students' work, but must be ''distinct'' and ''attainable'' regardless of the state of the other students' work. For example, under the umbrella of one project title, one student may work on packaging a piece of software and another may work on documentation, or one may work on solving one bug and another on solving another bug, but two students must not work on the same bug or depend on the other students' work in order to be able to complete their own project. --> | <!-- Note: each contributor is expected to have unique goals. These goals may be ''related'' to other students' work, but must be ''distinct'' and ''attainable'' regardless of the state of the other students' work. For example, under the umbrella of one project title, one student may work on packaging a piece of software and another may work on documentation, or one may work on solving one bug and another on solving another bug, but two students must not work on the same bug or depend on the other students' work in order to be able to complete their own project. --> | ||
− | * 0.1 | + | * 0.1 Have a rough working script (May not include automatic download of packages) |
− | * 0.2 | + | * 0.2 Add extra features, get automatic download of packages working, debug |
− | * 0.3 | + | * 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 == | == Communication == | ||
+ | |||
=== Mailing Lists === | === Mailing Lists === | ||
Line 50: | Line 115: | ||
=== Blogs === | === Blogs === | ||
− | <!-- Links to the blogs of people involved, both inside and outside Seneca --> | + | http://www.tuori.tk <!-- Links to the blogs of people involved, both inside and outside Seneca --> |
==== Seneca Particpants ==== | ==== Seneca Particpants ==== |
Latest revision as of 09:08, 7 April 2011
Contents
Automatic ExclusiveArch Addition/Removal
Project Description
The purpose of this project is to write a script that will automatically loop through a given list of packages and automatically download them. It will then change a line specified by the user.
Project Leader(s)
Matthew Tuori
Project Contributor(s)
Project Details
- Script will be written in Python.
- Input can include a csv file or command line arguements.
- There will be a config file.
Project Plan
Tracking mechanism (bugzilla, trac, github, ...): To be determined - Still have to look at the available options to determine the solution that is best for this project.
On the #fedora-devel and #seneca
Jesse Keating -- Oxf13
Dennis Gilmore -- dgilmore
Goals for each release and plans for reaching those goals:
- 0.1 Have a rough working script (May not include automatic download of packages)
- 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:?
http://www.tuori.tk/sbr/autoarch01.py?
What is the goal of the project?
-Working batch package editor for addition and removal of ExcludeArch arm line in spec files
What did the 0.1 release accomplish?
-Familiarized myself with Python (API, syntax, structure)
-Basic working script that works on a single spec file with filename entered by user
Goals for 0.2?
-Conf file
-Logging
-Looping
Goals for 0.3?
-Git
-Polish
0.2 Release Update
Download Link:
http://www.tuori.tk/sbr/autoarch02.py
What is the goal of the project?
-Working batch package editor for addition and removal of ExcludeArch arm line in spec files that works with repository
What did the 0.1 release accomplish?
-Greatly improve script with new config file
-Ability to add/remove entries from multiple spec files at a time
-Works on Local Filesystem
Conf File?
#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?
-Fix removal function
-Logging
-Get working with git and repsoitory
-Polish