Opened 11 years ago

Closed 7 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

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 (6)

comment:1 by nielx, 11 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, 11 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] 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 shouled be able to do it.

Version 0, edited 11 years ago by bbjimmy (next)

in reply to:  2 comment:3 by anevilyak, 11 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, 11 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, 11 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 http://echelog.com/?haiku

comment:6 by waddlesplash, 7 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.