Opened 14 months ago

Last modified 14 months ago

#9454 new enhancement

Website Source Activity does not refer to the hrev

Reported by: bbjimmy Owned by: haiku-web
Priority: normal Milestone:
Component: Website/CMS Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

The descritpions and the page that is linked to from the source activity area of the website needs to refer to the hrev that is being reported. We use hrev to identify the build of haiku, hrev is used to identify nightly builds. the hrev will tell us testers if this change should be included in this nightly build.

example: the Source Activity says:
"Lock about window before deleting it on destruction"
and links to: https://github.com/haiku/haiku/commit/19ec4667bc7ca7b40bba7ac54499df4a50c33405

it would be better to have the Source activity say:
"hrev45271 Lock about window before deleting it on destruction"
and link to:
http://cgit.haiku-os.org/haiku/commit/?id=hrev45271

Change History (5)

comment:1 Changed 14 months ago by nielx

  • Type changed from bug to enhancement

I understand the issue, but unfortunately it is not easy to solve. Haiku's hrev system is a special use of git's tags. Therefore, none of the external tools (cgit, github) really know how to work with it. There currently is no RSS feed that would give direct access to Haiku's hrevs.

This change will require some work either in Drupal, CGit or in a parser in-between.

comment:2 follow-up: Changed 14 months ago by bbjimmy

The irc bot, irker-507 gets this information from somewhere. From #haiku on Freenode:

[11:14] <irker-507> haiku.master: jscipione * hrev45283 [1 commit] http://cgit.haiku-os.org/haiku/log/?qt=range&q=b3247c5+%5E2d1523c
[11:14] <irker-507> b3247c5: Update BAboutWindow to use B_CLOSE_ON_ESCAPE flag.

If irker-507 can do it, the website should be able to do it.

Last edited 14 months ago by bbjimmy (previous) (diff)

comment:3 in reply to: ↑ 2 Changed 14 months ago by anevilyak

Replying to bbjimmy:

The irc bot, irker-507 gets this information from somewhere. From #haiku on Freenode:

Irker runs a commit hook directly on our git server, so it gets this information implicitly as part of the commit. The same doesn't apply to third party projects like cgit et al. which are just a view on the repository after the fact. That irker can get it easily is pretty much irrelevant, that doesn't make it any easier to modify large, complex 3rd party tools that really aren't designed with our usage of tags in mind (doubly so since almost no other projects using git use tags in such a way).

comment:4 Changed 14 months ago by umccullough

If i'm not mistaken, the "Source Activity" section on the website pulls data from an RSS feed - so if you can point us to an RSS feed with the preferred data (used to be CIA, was Trac before that), it probably wouldn't be difficult to fix.

Finding a good RSS feed for this data is the tricky part.

comment:5 Changed 14 months ago by bbjimmy

It shouldn't be too dificult to modify the irker bot to genraate an rss feed, or generate one from the irc log at http://echelog.com/?haiku

Note: See TracTickets for help on using tickets.