Categorieën
LibrePlan

LibrePlan-Jira project progress report

Hello all,

Intro

(skip this if you are not interested 🙂

Let’s start with a very small introduction: I work at the st. Antonius hospital in the Netherlands as head of the internal software development department. We build internal software and work on a lot of different projects. What I needed was a good project management tool so I looked at a couple and decided to go ahead with LibrePlan. I developed a training manual, trained some of my people how to sue it and now we plan projects in LibrePlan.

We also use Jira for our bugtracking and a dutch program called Timn Enterprise for our worksheets.

Functional design

The connection should work like this:

  1. We use labels in Jira to tag issues that belong to the same project.
  2. I want to be able to start a new project in LibrePlan and have it import all the issues with the same label into the Work Breakdown Structure (WBS) so I can plan the work and assign resources to it.
  3. I want to have my people who work on an issue to enter worklogs in Jira and use that information to get an indication of the project progress in LibrePlan.
  4. I want the worklogs in Jira to be send to Timn to prepopulate the worksheets and I want the approved holdays out of Timn into LibrepLan as resource unavailability.

I thought it would be cool of we could connect the three programs (Jira, LibrePlan and Timn). One of my guys is good in Java so I asked him to start on this venture since he was in between other projects.

First steps

At first Miciele build a configuration option into LibrePlan to enter Jira url and login credentials and a test button so you could see it the connection was succesfull.

I wrote about this before on Facebook:

  1. Configuring the connection: http://i760.photobucket.com/albums/xx242/kwoot/jiraconnector.png
  2. The ability to enter a label in the general data tab of a project: http://www.facebook.com/photo.php?fbid=4162614776565&
  3. A simple import of some tickets into a project:  http://www.facebook.com/photo.php?fbid=4162612936519&set=o.270582536333485&type=1&relevant_count=1

Now it was time to really build something.

Progress

It has been some weeks now that Miciele Ghiorghis has been working on the connection between Jira and LibrePlan and it is time for some new screenshots:

We found out that Jira has great REST and SOAP interfaces, but can not give (yet) us a list of all labels used so we could build a nice autocomplete inputbox. After some debate and a supportticket at JIra we decided to build a simple PHP script that does a simple SQL statement (“select distinct label from label”). At the moment our wish is a feature request so we kindly ask you people to vote for it! 🙂 https://jira.atlassian.com/browse/JRA-29409

Using the PHP script we have a nice autocomplete form to enter the label.

Currently it looks like this:

We moved the Jira sync button to a better place on the same page:

We will put the chosen label into the external code field, just not yet 🙂

There are 2 changes in the WBS screen below.

  1. The amount of hours is read-only because we will start with a simle one-way sync. So if you want to update the hours you can do that in Jira.
  2. The “Code” column not only shows the Jira issue-id, but you can click on it and jump straight to Jira! (pretty cool we think)

Next steps

Next we will import the Jira worklogs to get a progress indication in LibrePlan.

If that all works we will finalize the first phase and submit a patch to the LibrePlan community for inclusion in the code.

Phase 2

Our phase 2 will revolve around making the connection to our time registration application Timn enterprise using SOAP. That is, if we get support on this from the supplier. We’ll see.

Goodbye, and until the next update! 🙂

Categorieën
Geen categorie

Belastingdienst in Nederland: aangifte doen over 2011 vanaf Ubuntu

Kijk, natuurlijk ben ik reuzeblij dat ik aangifte kan doen vanaf een Linux systeem. Maar ik vind het jammer dat ze daarin nogal zijn stil blijven staan: “Het programma ‘Aangifte inkomstenbelasting 2011 voor ondernemers’ is ontwikkeld en getest op Ubuntu 8.0.4. “. Ehm joehoe, fiscus… Die “8” staat voor, jawel, 2008! En eh, het is nu 2012. Please, er is kennis genoeg in de markt om jullie te helpen om weer een beetje bij de tijd te zijn. Echt waar.

En tot die tijd bied de IRC log voor ons allen de nodige hulp:

http://irclogs.ubuntu.com/2012/04/10/%23ubuntu+1.html

De clou zit in het feit dat we tegenwoordig bijna allemaal 64-bits PC’s hebben. En de executable van de fiscus heeft 32-bits bibliotheken nodig.

Dus welke stappen moet je doorlopen? Zie hier:

  1. sudo apt-get install libc6:i386
  2. sudo apt-get install libX11:i386
  3. sudo apt-get install libxext6:i386
  4. sudo apt-get install libsm6:i386
  5. Even controleren of je alle nodige bibliotheken nu hebt: ldd bin/wa2011ux.
  6. Even kijken of er geen “not found”zaken in de uitvoer er tussen staan.
  7. Oh, en hij begint over een font te mopperen. Nu kun je dat blijkbaar met de -L of –font optie regelen.
  8. Deze werkte voor mij: ./wa2011ux –font=-Schumacher-Clean-Medium-R-Normal–12-120-75-75-C-60-KO
  9. Succes!
Categorieën
Geen categorie

Linux is cool :-)

Another example why I think Linux is cool.
My discs (a raid-1 set, aka mirroring) was getting full. I added a bigger drive, marked one of the mirror discs as faulty and Linux auto-added the new drive. I did the same trick with another new drive. Next I removed the old drives.

Now I had 2 new drives in a raid-1 set with large partitions but the same old filesystem. First lets resize the raid array….

root@inzicht:~# mdadm --detail /dev/md0
/dev/md0:
        Version : 00.90
  Creation Time : Wed Jun 27 12:10:49 2007
     Raid Level : raid1
     Array Size : 309524288 (295.19 GiB 316.95 GB)
  Used Dev Size : 309524288 (295.19 GiB 316.95 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Tue Sep  6 13:43:14 2011
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : b664fe5b:f5c02869:e0e19a8a:9e985100
         Events : 0.11364584

    Number   Major   Minor   RaidDevice State
       0       8       19        0      active sync   /dev/sdb3
       1       8        3        1      active sync   /dev/sda3
root@inzicht:~# mdadm --grow /dev/md0 --size=max
root@inzicht:~# mdadm --detail /dev/md0
/dev/md0:
        Version : 00.90
  Creation Time : Wed Jun 27 12:10:49 2007
     Raid Level : raid1
     Array Size : 973595136 (928.49 GiB 996.96 GB)
  Used Dev Size : 973595136 (928.49 GiB 996.96 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Tue Sep  6 13:43:23 2011
          State : active, resyncing
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

 Rebuild Status : 31% complete

           UUID : b664fe5b:f5c02869:e0e19a8a:9e985100
         Events : 0.11364586

    Number   Major   Minor   RaidDevice State
       0       8       19        0      active sync   /dev/sdb3
       1       8        3        1      active sync   /dev/sda3
root@inzicht:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdb3[0] sda3[1]
      973595136 blocks [2/2] [UU]
      [======>..............]  resync = 31.8% (309651456/973595136) finish=2175.1min speed=5086K/sec

unused devices: <none>
root@inzicht:~# xfs_growfs /
meta-data=/dev/md0               isize=256    agcount=16, agsize=4836317 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=77381072, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=32768, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0
data blocks changed from 77381072 to 243398784
root@inzicht:~#

Now what other non-unix os can beat this?

Categorieën
Geen categorie

Java middleware

Even een heel klein artikeltje, zo tussen neus en lippen door. Een tijdje dacht ik dat Apache Servicemix toch wel erg mooi was, daarna kwam ik het lichtere Apache Synapse tegen, en no loop ik tegen alle software van wso2.org aan. En als ik Google Insights moet geloven, dan neemt het gebruik van WSO2 hand over hand toe!

Wat vinden jullie?

Categorieën
Geen categorie

Voer voor IT-ers

Van tijd tot tijd is het noodzakelijk om je werk eens vanuit een ander gezichtspunt te bekijken. Neem nou gisteren. Ben ik aan het werken met een PC, gaat het scherm op blank. Wat ik ook doe, het ding wil niet meer opstarten. Geen boot-piep, geen enkele info op het scherm. Scherm verwisselen heeft geen effect, grafische kaart vervangen heeft geen effect. Kortom, de PC lijkt overleden te zijn (kan natuurlijk ook een keer gebeuren). Hoe dan ook, ik moest ineens aan deze sketch denken…

http://www.youtube.com/watch?v=kAG39jKi0lI

Ook te gebruiken als je project een harde noot lijkt om te kraken. Of als zaken totaal in de soep lopen. 🙂

Maar goed. Ik ga een vervangende PC halen zodat ik weer verder kan met mijn thuis projecten. Nieuwe PC gehaald, doet het goed. Zet de oude PC weer in elkaar. Zet hem aan…. Doet het gewoon! Dus eigenlijk heb ik voor niks een nieuwe PC gekocht! Nou ja, nieuw, “refurbished” heet dat dan. Dus hij is 2de hands maar doet het verder prima.

Gelukkig blijkt de nieuwe PC de enige te zijn die ik heb met VMX extensies in de processor.  Waarom dat leuk is lees je dan weer op www.linux-kvm.org. Nou, ik ga weer verder spelen.