[Issue 4085] New - Make it possible to "automagically" install Mercurial

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 4085] New - Make it possible to "automagically" install Mercurial

fabriziogiudici
https://hudson.dev.java.net/issues/show_bug.cgi?id=4085
                 Issue #|4085
                 Summary|Make it possible to "automagically" install Mercurial
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|FEATURE
                Priority|P3
            Subcomponent|mercurial
             Assigned to|kohsuke
             Reported by|fabriziogiudici






------- Additional comments from [hidden email] Wed Jul 22 12:07:48 +0000 2009 -------
Currently Hudson is able to automatically install Ant, Maven and the JDK. It
would be nice to make it also install Mercurial, for deployment to virtual hosts
where usually there's a limited set of Un*x tools.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 4085] Make it possible to "automagically" install Mercurial

fabriziogiudici
https://hudson.dev.java.net/issues/show_bug.cgi?id=4085






------- Additional comments from [hidden email] Wed Jul 22 12:10:24 +0000 2009 -------
Of course, I've verified that it's possible to prepare a simple tarball with
both Python and Mercurial and it works in a custom directory without root
privileges. See
http://weblogs.java.net/blog/fabriziogiudici/archive/2009/07/installing_merc.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 4085] Make it possible to "automagically" install Mercurial

jglick-2
In reply to this post by fabriziogiudici
https://hudson.dev.java.net/issues/show_bug.cgi?id=4085



User jglick changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Wed Jul 22 14:35:51 +0000 2009 -------
This was already implemented in 18918, though I have not yet released an update
containing this code. Would you be willing to test the unreleased plugin to see
how well it works for your purposes? (I can supply a snapshot JAR if you are not
sure how to build Hudson plugins from source.)

There is no predefined installer for Mercurial; you just have to somehow (e.g.
shell commands, ZIP download) create a dir containing "bin/hg". Unfortunately

http://mercurial.selenic.com/wiki/Download

offers only deb/rpm global installers requiring root privileges and a Python
installation, and these usually are not the latest Hg release. It would be great
if someone would create a system for packaging an arbitrary Hg release together
with the latest Python 2.x for the major platforms - Linux x86, Mac OS X, Win
x86, Solaris 10+ SPARC/x86 - in a self-contained ZIP file.

The Jython guys are also working on making a pure-Java implementation of Hg,
which would be helpful as well, though I'm sure some JNI/JNA escapes would be
needed to support advanced FS operations prior to JDK 7.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 4085] Make it possible to "automagically" install Mercurial

fabriziogiudici
In reply to this post by fabriziogiudici
https://hudson.dev.java.net/issues/show_bug.cgi?id=4085






------- Additional comments from [hidden email] Wed Jul 22 14:48:25 +0000 2009 -------
"Would you be willing to test the unreleased plugin to see how well it works for
your purposes?"

Yes.

"(I can supply a snapshot JAR if you are not sure how to build Hudson plugins
from source.)"

You'd saved me a lot of time, thanks.

"It would be great if someone would create a system for packaging an arbitrary
Hg release together with the latest Python 2.x for the major platforms".

I've done it for Linux x64:
http://weblogs.java.net/blog/fabriziogiudici/archive/2009/07/installing_merc.html.
I presume that the same approach worked for all Uni*es (just to create different
zips). Don't know for Windows.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 4085] Make it possible to "automagically" install Mercurial

jglick-2
In reply to this post by fabriziogiudici
https://hudson.dev.java.net/issues/show_bug.cgi?id=4085






------- Additional comments from [hidden email] Wed Jul 22 15:14:29 +0000 2009 -------
Created an attachment (id=790)
Current plugin snapshot


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]