This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Replace external.py with Ant task to download binaries | ||
---|---|---|---|
Product: | www | Reporter: | Jesse Glick <jglick> |
Component: | Builds & Repositories | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | anebuzelsky, mzlamal, pjiricka |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://wiki.netbeans.org/ExternalBinaries | ||
Issue Type: | TASK | Exception Reporter: | |
Attachments: |
Working patch (without update of actual external bins)
Updated patch |
Description
Jesse Glick
2008-07-27 22:14:55 UTC
The only change needed on the server side, to the CGI script, is in the resulting message:
< <p>Uploaded as:</p>
> <p>Uploaded. Add to your manifest:</p>
Created attachment 65756 [details]
Working patch (without update of actual external bins)
Conversion of existing binaries can be accomplished with for f in `ls -1 */external/*.{zip,jar,gz,bz2,gem,dll} | sort`; do hash=`cut -c 13-52 $f`; n=`basename $f`; d=`dirname $f`; echo $hash $n >> $d/binaries-list; hg rm $f; hg add $d/binaries-list; done Created attachment 65758 [details]
Updated patch
Patch seems to be working well. Starting with a revision from main which has been built (thus has .hg/hgrc substituted and ext bins checked out in real form), if I merge with the patched revision, versioned ext bins are correctly deleted; after running 'ant bootstrap', the external.py registration in hgrc is correctly removed and ext bins are correctly recreated by the Ant task. I would like to get this change into main this week. I don't need anything specific from Michal other than to be available to help resolve any issues that might arise on build servers to which I have no shell access (such as konik and hlemyzd). Jesse, this week is not a good timing at all. Next Monday we are "branching" 6.5 Beta release. This week is critical from the stability point of view. Actually, is there a strong reason why not wait until a separate repo is created for 6.5? (mid September) There will be much more space for changes like this which affect all developers and force them to change the way they work. Waiting until September is too long. People have problems with the external hook during any active development. main #29c30ed3006a, main #2109af7f1da2, contrib #606c1d1e04a6 Integrated into 'main-golden', available in build *200808230201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/29c30ed3006a User: Jesse Glick <jglick@netbeans.org> Log: Issue #141817: replace external.py encode/decode hook with Ant task to download external binaries. |