codema.in

Update diaspora debian packaging progressbar

PP Pirate Praveen Public Seen by 12

We have a progressbar showing current status of diaspora packaging at
http://people.debian.org/~praveen/diasbar/

We'd like to have one more status "Matching" if the version present in
debian is the same as version required by diaspora.

This check is already done in gemdeps and we need to update the
progressbar to parse the new dot file format.

Let me know if you'd like to volunteer for this task.

Sources:

https://gitorious.org/debian-diaspora/gemdeps is written in ruby

https://gitorious.org/debian-diaspora/progressbar is written in python

If you are online come to #debian-diaspora on irc.oftc.net, if you are new to irc, then use http://webchat.oftc.net

gemdeps creates a dot file, see
http://people.debian.org/~boutil/diaspora/ for sample dot files

and progressbar reads this dot file and creates an html page. Earlier
version of the dot file did not check if deb version is uptodate,
newer version check this, so we need to update the progressbar python
code to read the new dot file and create html.

PP

Pirate Praveen Thu 2 Jan 2014 2:23PM

Steps:

  1. Create a gitorious.org account if you don't already have one.
  2. Clone progressbar repo
  3. Update code
  4. Send merge request.
RS

Rajeev S Thu 2 Jan 2014 2:48PM

Sorry for all the confusion.I have submitted a new patch.

I would suggest adding a gitignore file ignoring the following:

*.dot
index.html

PP

Pirate Praveen Thu 2 Jan 2014 2:58PM

@santoshkumar , @jacksonisaac , please test the merge request by @rajeevs https://gitorious.org/debian-diaspora/progressbar/merge_requests/1

If both of you can confirm it is working, jackson, please merge the code https://gitorious.org/debian-diaspora/progressbar/merge_requests/1#mr-help and then close the request.

JI

Jackson Isaac Thu 2 Jan 2014 3:03PM

I am unable to push the patch to master

RS

Rajeev S Thu 2 Jan 2014 3:09PM

Code merged.

PP

Pirate Praveen Thu 2 Jan 2014 4:13PM

@jacksonisaac you need to add your ssh key to gitorious. @rajeevs , you are not supposed to change the dot file directly. It is output from gemdeps.

PP

Pirate Praveen Sun 5 Jan 2014 8:22AM

@rajeevs were you able to make it work?

RS

Rajeev S Sun 5 Jan 2014 9:10AM

i did not find anything wrong.and the dot file is not part of the gitorious repository.Can you pin point on what exactly is wrong?

PP

Pirate Praveen Fri 10 Jan 2014 4:56AM

@rajeevs , you cannot change the dot file directly. It is an output file, so you changing dot file is wrong. See the code, dot file is downloaded in diasbar.cron. You have to update the html with new status with existing dot files.