[opensource-dev] VD Build Page Hacking
cg at miaow.com
Mon Nov 21 16:55:25 PST 2011
Nice, but it will fail for changesets referring to 3p repos and build
script changes, but I suppose that's still better than nothing. It
would be nice if the query to retrieve the expected info could be
restored server side, but...
On Sun, Nov 13, 2011 at 12:46 AM, Ricky <kf6kjg at gmail.com> wrote:
> I finally got so annoyed with the build page that I decided to do some
> hacking on it. Turns out that the reason why it isn't displaying
> changesets or JIRA entries is because the JSON format was changed
> doesn't have the needed data anymore.
> So. I dug and I hacked, and I hacked and I dug, and voila, I'd mashed
> up a facsimile of what I think it did in the past. And yes, I used
> the phrase "mashed up" on purpose: the page I built taps into
> BitBucket's REST API to get the missing data. It's not all that
> pretty to go that route, but it works.
> Here's a demonstration: http://rwcproductions.com/~ricky/snowstorm/
> And here's the patch:
> Yes, there are some whitespace changes, and render_description() could
> be cleaned up further, but I tried to not affect more than the areas
> needed to make it "workable."
> Suggestions, thoughts, etc. welcome.
> Cron Stardust
> Policies and (un)subscribe information available here:
> Please read the policies before posting to keep unmoderated posting privileges
More information about the opensource-dev