Difference between revisions of "Automatic ExclusiveArch Addition/Removal"

From CDOT Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 2 users not shown)
Line 17: Line 17:
  
 
== Project Details ==
 
== Project Details ==
Script will be written in Python.Input can include a csv file or command line arguements.
+
* Script will be written in Python.
There will be a config file.
+
* 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 29: Line 30:
 
[[User:Chris Tyler|ctyler]]
 
[[User:Chris Tyler|ctyler]]
 
[[User:Paul.W|PaulW]]
 
[[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 Have a rough working script (May not include automatic download of packages)
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.2 Add extra features, get automatic download of packages working, debug
+
* 0.3 Write documentation, polish off program
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 ===

Latest revision as of 10:08, 7 April 2011

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.

Key contacts: ctyler PaulW

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

Communication

Mailing Lists

Upsteam Wiki and Web

Links/Bugs/Tracking

Source Code Control

Blogs

http://www.tuori.tk

Seneca Particpants

Non-Seneca Participants

Planets

Project News