Automatic ExclusiveArch Addition/Removal

From CDOT Wiki
Jump to: navigation, search

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