Andrew Elwell White Areas, October 2009

Slides:



Advertisements
Similar presentations
JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
Advertisements

Welcome to eDMR This PowerPoint presentation is designed to show eDMR users how to login and begin using the eDMR system.
SharePoint List Custom Actions Feature Product Overview Nimrod Geva Product Group Manager, KWizCom
Welcome to WebCRD.
Login to the Woodland Hills Home Page Choose a course.
Version Control System (Sub)Version Control (SVN).
1 Unit & District Tools Phase 1. 2 To access the new Unit and District Tools, you will need to click on the link embedded in the MyScouting Flash page.
Gallery YOUR PHOTOS ON YOUR WEBSITE Sourceforge Advisory Council Bharat Mediratta March 9 th, 2006.
Feature requests for Case Manager By Spar Nord Bank A/S IBM Insight 2014 Spar Nord Bank A/S1.
CLEW Basics Lorie Stolarchuk Learning Technology Trainer Centre for Teaching and Learning 1.
New School Websites Teacher Pages. Visit the SCUSD Website for videos tutorials: For more information.
NITAAC Customer Support Phone: Website: NITAAC.nih.gov Customer Guide for using the electronic Government.
Inti Online Login Page (Lecturer/Student/Administrator View)
Lab Assignment 7 | Web Forms and Manipulating Strings Interactive Features Added In this assignment you will continue the design and implementation of.
1 Topics for this Lecture Software maintenance in general Source control systems (intro to svn)
Tracking The Problem  By Aaron Jackson. What’s a Problem?  A suspicious or unwanted behavior in a program  Not all problems are errors as some perceived.
Time Saving Tips & Tricks Enable System Administrator Access to All User Logins In the past, in order for Salesforce.com System Administrators to be able.
6.0 Code Release New ICOTS Features. Features Added – Alert to warn/confirm that a user is about to withdraw a case or compact activities – Back Functionality.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
To access our web services, go to……. Click on Customer Login.
CLEW Basics Lorie Stolarchuk Learning Technology Trainer Centre for Teaching and Learning 1.
How to Convert to a Managed Package Winter `07 Ralph Eddy January 4, 2007.
Mtivity Client Support System Quick start guide. Mtivity Client Support System We are very pleased to announce the launch of a new Client Support System.
NYS Division of Homeland Security And Emergency Services (DHSES) E-Grants Tutorial Creating an Application for the EOC RFP To access DHSES E-Grants you.
Workflow Demo: Upload, Review and Approve. Cpay : Users & Functionalities Customer AdministratorCustomer AuthorizerUploaderReviewerApproverInterceptor.
– Intermediate Perl 1/6/ Intermediate Perl - POD, parameters and configuration Intermediate Perl – Session 7 · POD –
Using Workflow With Dataforms Tim Borntreger, Director of Client Services.
Working with the interface and interacting with the iPad app.
Introduction to Bugzilla. May 12, 2011 What is Bugzilla? Bugzilla is a defect- or issue-tracking system Allows individual or groups of developers effectively.
SITS/MAP EXPERTS My Aston Portal (MAP) Content Creation ISA Aiming for Excellence.
Lindsey Velez, Director of Instructional Technology Single Sign-On One Click.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Towards an Information System Product Team.
Guidelines for submission of accepted manuscripts Frontiers in Bioscience.
Architecture Review 10/11/2004
ePerformance Management System
Summit 2006: Knowledge is Power Steve Heister Helen Robie
Core LIMS Training: Project Management
Journal of Mountain Science (JMS)
Development Environment
Training Documentation – Replacing GSPR with RFQ 2.0
What’s New in Conference Host Led by Michael Fogarty & Dennis Le Yat
Student SOLE Page – Living Page
A&AI Component Diagram
CARA 3.10 Major New Features
Global Grid Forum GridForge
Arrays: Checkboxes and Textareas
To the OASIS Royalty Reporting Online Training Course
Work report Xianghu Zhao Nov 11, 2014.
USAJOBS – Application Manager
SITS EXPERTS MAP Content Creation
Metadata Editor Introduction
Software Testing With Testopia
Section 10.1 YOU WILL LEARN TO… Define scripting
Adding Assignments and Learning Units to Your TSS Course
Cookies BIS1523 – Lecture 23.
New Functionality in ARIN Online
Welcome to the LMS Quick Manager Guide.
How to use PSCEZPRINT Web site address: prairiestate.edu/ezprint
ePAR - Job Attribute Change
GDSS – Digital Signature
Dealing with images in a resume form.
Managing Rosters Screener Training Module Module 5
Creating User Defined Fields (NDF)
Agile testing for web API with Postman
To the OASIS Royalty Reporting Online Training Course
Welcome to the LMS Quick Manager Guide.
LiveWire Log in page TIPS
Welcome to WebCRD.
Project Iterations.
Presentation transcript:

Andrew Elwell <Andrew.Elwell@cern.ch> White Areas, October 2009 The Savannah CLI Andrew Elwell <Andrew.Elwell@cern.ch> White Areas, October 2009

Background Savannah chosen as patch/bug/task manager It doesn't have an API The ease of adding new projects (groups) means that field names vary. Produces 'pretty' HTML rather than 'parsable' PHP / MySQL Mothballed development Although esr did a svn checkin on 15 Oct. “Typo fix, test commit” 4 checkins to trunk since Dec 2007 White Areas - Savannah CLI

Automated savannah access How? Duplicating patches Closing old bugs Checking validity of patch metadata .... etc White Areas - Savannah CLI

… Choice. The problem is choice. White Areas - Savannah CLI

CLI Mk 1.x … before my time (don't blame me) https://twiki.cern.ch/twiki/bin/view/EGEE/SavannahCommandLineInterface http://tinyurl.com/savannahcli Still in CVS as legacy code. Maintenance updates only Syntax sucks Mandatory params are -i item, -o operation Optional params depended on operation Slow. Many required python packages aren't current Field names hard coded for jra1mdw (gLite Middleware) White Areas - Savannah CLI

I need some information first. Just the basic facts: Relax. I need some information first. Just the basic facts: Can you show me where it hurts? White Areas - Savannah CLI

usage White Areas - Savannah CLI Usage: savannah -h --help Show this help -l --login Allows the user to explicitly log in Savannah -V --verbose Activate progress messages Mandatory parameter: -t --tracker Savannah tracker [patch,bugs] -o --operate Operations (see below for supported operations) Optional parameter (depending on operation): -i --item Savannah item number -n --name Savannah parameter name -v --value New value/comment -g --group Savannah group (for gLite this is jra1mdw) -f --file File containing submit information in xml format -a --att_tracker Tracker of the new attached item [patch, bugs, task] Supported operations are: Operation | req options ------------------------------------------------------------- attach Attach item v (tracker | [i,a,v] specified with a) to item i | comment Add a comment | [i,v] set Set value | [i,n,v] list List available values | [i] list_dependencies List the dependencies | [i] get Get a parameter | [i,n] get_available Get available values | [i,n] for selectbox | clone clone (priority not cloned) | [i,g] submit submit a new item | [g,f] White Areas - Savannah CLI

Why does it suck? Overly complex syntax. Should be able to update multiple things at once (as per web page) … without needing an XML fetish Close an old bug and add a comment ./cli –bug 1234 –set status=wontfix --comment “it's not a bug, it's a feature” ./cli --tracker bugs --item 1234 –operate set –name status –value wontfix ; ./cli --tracker bugs --item 1234 –operate comment –value “it's not a bug, it's a feature” White Areas - Savannah CLI

What you see on these screens up here is a fantasy; a computer enhanced hallucination! White Areas - Savannah CLI

Towards 2.0 (1) Decruft Separate out config file for each savannah group Which can be auto-generated by a script as needed Adding new fields to savannah needn't be a hassle. code_2_platform = { "100": "None", "101": "SL4", "102": "SL5", } <select name="platform_version_id"> <option value="100">None</option> <option value="101">SL4</option> <option value="102" selected="selected">SL5</option> <option value="103">Debian 4</option> <option value="104">Debian 5</option> White Areas - Savannah CLI

Towards 2.0 (2) Allow searching to retrieve result set Work on multiple results in a set Work across multiple trackers (likely to need wrapper) ./generate_task –patch 1000,1001,1002 –assign horat \ –comment “more BDII patches for you” ./cli –search 'Pre-Production release'='3.1.0 PPS Update 51” --set Release='3.1.0 Update 57' –set status='in production' Hmm, why is patch #3204 still 'in pre-production' when it has a value in the Release field? </aside> White Areas - Savannah CLI

Who uses it? What for? Mailing List (savannah-cli-users) https://groups.cern.ch/group/savannah-cli-users Moved development to SVN http://svnweb.cern.ch/world/wsvn/aelwell/savannah_cli/t runk/ Stick requirements/bugs in trac,mail,or twiki But TELL ME THEM I can file as 'wontfix' too White Areas - Savannah CLI

Results 'Ready for Review' change of bugs Patch => released, bugs 'fix (not) certified' => 'ready for review' Working, unglamorous solution Foreach bug in patch: If status=fix certified/fix not certified: ./cli -bug $bug –set status='ready for review” Else complain White Areas - Savannah CLI

How? James already used the XKCD comic BeautifulSoup is wonderful Even if my Python-fu is weak selects = soup.find('table').findAll('select') for sel in selects: sel_name = sel['name'] print "SELECT NAME=%s" % sel_name for o in sel.findAll('option'): print " %s, %s" % (o['value'],o.renderContents()) White Areas - Savannah CLI

Patch by Danika Adds interactive mode and submit_all bulk upload Moves some things from savannah.foo to self.foo Someone else looked at the code! \o/ I've not merged it tho. Yet. White Areas - Savannah CLI

Th- Th-Th-Th-Th-... That's all, folks. Questions? White Areas - Savannah CLI