[opensource-dev] VD Build Page Hacking

Ricky kf6kjg at gmail.com
Mon Nov 21 17:51:25 PST 2011

LOL, didn't see this response before I posted the other.  Like I said
there, if the needed/wanted data could be added to the new data
structure I'd be willing to scrape up some time to fix the page to use

Having the data listed in
http://confluence.atlassian.com/display/BITBUCKET/Changesets for each
changeset would be a good list to go for.  These could be appended to
the objects in the changesets array in the JSON, and would provide
everything needed - that I know of.

Cron Stardust

On Mon, Nov 21, 2011 at 4:55 PM, Christian Goetze <cg at miaow.com> wrote:
> 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...
> --
> cg
> 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
>> without correcting the Javascript.  What's more, the JSON information
>> 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:
>> http://rwcproductions.com/~ricky/snowstorm/index.js.patch.txt
>> 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.
>> Ricky
>> Cron Stardust
>> _______________________________________________
>> Policies and (un)subscribe information available here:
>> http://wiki.secondlife.com/wiki/OpenSource-Dev
>> Please read the policies before posting to keep unmoderated posting privileges

More information about the opensource-dev mailing list