Last modified: 2013-07-24 07:55:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53861, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51861 - gitblit is missing an init/upstart job
gitblit is missing an init/upstart job
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-23 10:09 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-07-24 07:55 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2013-07-23 10:09:04 UTC
gitblit is lacking an upstart/init script. That makes it hard to figure out what needs to be done to restart it.

An upstart job is not that hard to write and will make maintaining the soft easier. Some examples:

- wrapping lucene-search https://gerrit.wikimedia.org/r/#/c/55406/
- wmf beta autoupdater https://gerrit.wikimedia.org/r/#/c/22116/ and https://gerrit.wikimedia.org/r/#/c/28377/

There are other examples under operations/puppet.git ./files/upstart/ .  That needs a .default file as well.
Comment 1 Ori Livneh 2013-07-23 10:18:59 UTC
Another reasonable (and Java-specific) example: http://askubuntu.com/a/194808
Comment 2 Gerrit Notification Bot 2013-07-23 16:14:58 UTC
Change 75350 had a related patch set uploaded by Demon:
Adding init script for gitblit

https://gerrit.wikimedia.org/r/75350
Comment 3 Gerrit Notification Bot 2013-07-23 19:16:41 UTC
Change 75350 merged by Ryan Lane:
Adding init script for gitblit

https://gerrit.wikimedia.org/r/75350
Comment 4 Chad H. 2013-07-23 22:34:10 UTC
This now has an init script living in /etc/init.d/ like it should. Puppet now also has a service definition to make sure it restarts if it falls over.
Comment 5 Antoine "hashar" Musso (WMF) 2013-07-24 07:55:47 UTC
And doc is updated with https://wikitech.wikimedia.org/w/index.php?title=Gitblit&diff=78444&oldid=78223 :)

Thank you!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links