Difference between revisions of "Automatic ExclusiveArch Addition/Removal"

From CDOT Wiki
Jump to: navigation, search
(0.1 Release Update)
Line 63: Line 63:
 
-Git<Br>
 
-Git<Br>
 
-Polish<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)<Br>
 +
#Set Line to Modify:<Br>
 +
ExcludeArch:<Br>
 +
#Set Architecture to Modify:<Br>
 +
Arm<Br>
 +
#Add or Remove Above Settings From Spec (A/R)<Br>
 +
A<Br>
 +
#Subdirectory for Output<Br>
 +
test_output<Br>
 +
#Add above this line when not found<Br>
 +
BuildRequires:<Br>
 +
#PACKAGES TO MODIFY (Enter each on its own line below this line)<Br>
 +
test.spec<Br>
 +
test2.spec<Br>
 +
 +
Goals for 0.3?<Br>
 +
-Fix removal function<Br>
 +
-Logging<Br>
 +
-Get working with git and repsoitory<Br>
 +
-Polish
  
 
== Communication ==
 
== Communication ==

Revision as of 10:05, 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?

  1. AutoArch Config File (Do not change comments)
  2. Set Line to Modify:

ExcludeArch:

  1. Set Architecture to Modify:

Arm

  1. Add or Remove Above Settings From Spec (A/R)

A

  1. Subdirectory for Output

test_output

  1. Add above this line when not found

BuildRequires:

  1. 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