Opened 9 years ago

Closed 5 years ago

#9454 closed enhancement (invalid)

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:
Platform: All


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:

it would be better to have the Source activity say: "hrev45271 Lock about window before deleting it on destruction" and link to:

Change History (6)

comment:1 by nielx, 9 years ago

Type: bugenhancement

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 by bbjimmy, 9 years ago

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

[11:14] <irker-507> haiku.master: jscipione * hrev45283 [1 commit] [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 9 years ago by bbjimmy (previous) (diff)

in reply to:  2 comment:3 by anevilyak, 9 years ago

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 by umccullough, 9 years ago

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 by bbjimmy, 9 years ago

It shouldn't be too dificult to modify the irker bot to genraate an rss feed, or generate one from the irc log at

comment:6 by waddlesplash, 5 years ago

Resolution: invalid
Status: newclosed

You can't use hrev for a commits log, because there might be multiple commits in one hrev.

The other part of the problem - linking to GitHub and not Cgit - has been fixed in the new site.

Note: See TracTickets for help on using tickets.