From laforge at gnumonks.org Fri Mar 17 20:17:19 2017 From: laforge at gnumonks.org (Harald Welte) Date: Fri, 17 Mar 2017 21:17:19 +0100 Subject: git.osmocom.org cgit improvements Message-ID: <20170317201719.r3d6n3ab35wke4mu@nataraja> Hi all, today I've deployed some cgit improvements on https://git.osmocom.org/, in the hope that it makes this tool even more useful: 1) syntax highlighting of source code (requested by Hoernchen) The source code is now highlighted by pygments. I don't really understand why somebody would want to look at source code a lot in a browser, but well, it was as easy as to enable the existing pygments based filter plugin. 2) rendering of "about" page from README.md As you might have noticed, I've introduced a README.md in a number of repositoires, and cgit is now rendering an about page for every repository, e.g. at http://git.osmocom.org/libosmo-abis/about/ 3) gerrit change-ID hyperlink generation All gerrit Change-IDs in commit messages are now automatically converted to hyperlinks to the respective gerrit change, see e.g. the below example: http://git.osmocom.org/openbsc/commit/?id=6dd0fc685b7149f67a5fe17a5bce55c446aa563c Please note that this works for the "Change-Id" line of the actual change, but also for change-ids in the free text (e.g. "this depends on change-id ... in libosmocore") 4) Osmocom ticket/issue hyperlink generation Any Line that matches the "^((Relate|Close|Fixe)[ds]):" prefix is scanned for occurrences of "OS#(\d+)" which are then amended with hyperlinks to the respective issue on osmocom.org Please note the OS# prefix is mandatory, so things like "OS#1614, 1615" will not work, as can be seen at http://git.osmocom.org/osmo-pcu/commit/?id=0a8fae8d141c2cfa4387ffe9b35402d5b8cc85cd Please format your commit messages accordingly. Regards, Harald -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From nhofmeyr at sysmocom.de Sat Mar 18 15:09:31 2017 From: nhofmeyr at sysmocom.de (Neels Hofmeyr) Date: Sat, 18 Mar 2017 16:09:31 +0100 Subject: git.osmocom.org cgit improvements In-Reply-To: <20170317201719.r3d6n3ab35wke4mu@nataraja> References: <20170317201719.r3d6n3ab35wke4mu@nataraja> Message-ID: <20170318150931.GB3272@my.box> On Fri, Mar 17, 2017 at 09:17:19PM +0100, Harald Welte wrote: > 2) rendering of "about" page from README.md > > As you might have noticed, I've introduced a README.md in a number of > repositoires, and cgit is now rendering an about page for every > repository, e.g. at http://git.osmocom.org/libosmo-abis/about/ It seems like these need some follow-ups in the debian packaging instructions -- i.e. update to the new .md suffix or mark as installation (or ignore, but I guess rather installation) file. > 4) Osmocom ticket/issue hyperlink generation > > Any Line that matches the "^((Relate|Close|Fixe)[ds]):" prefix is > scanned for occurrences of "OS#(\d+)" which are then amended with > hyperlinks to the respective issue on osmocom.org Ah, so when OS#123 appears in the commit log's free text, it isn't linked? Can we just scan everything for "\"? All in all these are excellent improvements! Holger, what's the status of your promise, made one day in a chat, to make redmine catch the OS#123s? ~N -- - Neels Hofmeyr http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Gesch?ftsf?hrer / Managing Directors: Harald Welte -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: From holger at freyther.de Sun Mar 19 20:57:57 2017 From: holger at freyther.de (Holger Freyther) Date: Sun, 19 Mar 2017 21:57:57 +0100 Subject: git.osmocom.org cgit improvements In-Reply-To: <20170318150931.GB3272@my.box> References: <20170317201719.r3d6n3ab35wke4mu@nataraja> <20170318150931.GB3272@my.box> Message-ID: <9437479C-B7C9-4603-B01D-EC775130F164@freyther.de> > On 18 Mar 2017, at 16:09, Neels Hofmeyr wrote: > > Hi, > All in all these are excellent improvements! > Holger, what's the status of your promise, made one day in a chat, to make > redmine catch the OS#123s? lol, I love how we go from a private chat to this CC list. I have not looked at it but maybe this is something for an afternoon at Osmodevcon. It should be fairly simple with redmine. holger From nhofmeyr at sysmocom.de Mon Mar 20 04:36:31 2017 From: nhofmeyr at sysmocom.de (Neels Hofmeyr) Date: Mon, 20 Mar 2017 05:36:31 +0100 Subject: git.osmocom.org cgit improvements In-Reply-To: <9437479C-B7C9-4603-B01D-EC775130F164@freyther.de> References: <20170317201719.r3d6n3ab35wke4mu@nataraja> <20170318150931.GB3272@my.box> <9437479C-B7C9-4603-B01D-EC775130F164@freyther.de> Message-ID: <20170320043631.GC12441@my.box> On Sun, Mar 19, 2017 at 09:57:57PM +0100, Holger Freyther wrote: > > Holger, what's the status of your promise, made one day in a chat, to make > > redmine catch the OS#123s? > > lol, I love how we go from a private chat to this CC list. Hey, if you love it that much, I can come up with plenty more private conversations between us I could Cc around... ;) In other words, sorry about disclosing. I kind of remembered it was a public commitment. And it doesn't need to stick, either, anyone could take a look if you're busy. ~N -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: