Issue 6794 in pharo: CommandLine Configuration installer

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 6794 in pharo: CommandLine Configuration installer

pharo
Status: Accepted
Owner: ----
Labels: Milestone-2.0 Type-Feature

New issue 6794 by [hidden email]: CommandLine Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

We should be able to easily install configurations via the command line:

REPOS=http://mc.repos.com/project
CONFIG=ConfigurationOfProject

# install stable version
pharoVM FOO.image config $REPOS  $CONFIG --install

# install a specific version
pharoVM FOO.image config $REPOS  $CONFIG --install='2.0-5'

This would basically render all those tiny Gofer installation scripts for  
Jenkins obsolete!


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo

Comment #1 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

That would be cool, but you would still have to save the image too, no ?


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo

Comment #2 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

that would happen implicitly, yes :)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo
In reply to this post by pharo
Issue 6794: CommandLine Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

This issue is now blocking issue pharo:6801.
See http://code.google.com/p/pharo/issues/detail?id=6801

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo
In reply to this post by pharo
Updates:
        Status: FixReviewNeeded

Comment #4 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

Usage: config [--help] <repository url> [<configuration>]  
[--install[=<version>]]
        --help              show this help message
        <repository url>    A Monticello repository name
        <configuration>     A valid Metacello Configuration name
        <version>           A valid version for the given configuration
       
Examples:
        # display this help message
        $PharoVM My.image config
       
        # list all configurations of a repository
        $PharoVM My.image config $MC_REPOS_URL
       
        # list all the available versions of a confgurtation
        $PharoVM My.image config $MC_REPOS_URL ConfigurationOfFoo
       
        # install the stable version
        $PharoVM My.image config $MC_REPOS_URL ConfigurationOfFoo --install
       
        #install a specific version
        $PharoVM My.image config $MC_REPOS_URL ConfigurationOfFoo --install='1.5'


Name: SLICE-Issue-6794-CommandLine-Configuration-installer-CamilloBruni.3
Author: CamilloBruni
Time: 13 October 2012, 4:07:34.536 pm
UUID: 34c47d25-0401-4708-aca3-f708052876c5
Ancestors:  
SLICE-Issue-6794-CommandLine-Configuration-installer-CamilloBruni.2
Dependencies: Tests-CamilloBruni.466, System-CommandLine-CamilloBruni.36

don't quit the image when in interactive mode


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo
Updates:
        Status: MonkeyIsChecking

Comment #5 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794#c5

The Monkey is currently checking this issue. Please don't change it!


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo

Comment #6 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

What if the config comes from a repo that needs a username/password ?
As would be the case in most commercial settings.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo

Comment #7 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

then you're screwed so far :D.
If the CommandLineUIManager were fully implemented you would get a prompt  
on the command line.
Currently that has not yet been done, but should be more or less easy to  
implement.

then of course we could add the option for --username= --password= but I'm  
lazy so I leave that to someone else ;). Shouldn't be that hard to  
implement anyway.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo
Updates:
        Status: FailingTest

Comment #8 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794#c8

Test Results:
-------------
Passed: 6994
        CollectionsTests-Arrayed (553)
        CollectionsTests-Atomic (12)
        CollectionsTests-Sequenceable (912)
        CollectionsTests-SplitJoin (27)
        CollectionsTests-Stack (16)
        CollectionsTests-Streams (37)
        CollectionsTests-Strings (606)
        CollectionsTests-Support (12)
        CollectionsTests-Unordered (1954)
        CollectionsTests-Weak (739)
        CompilerTests (179)
        KernelTests-Chronology (583)
        KernelTests-Classes (67)
        KernelTests-Exception (2)
        KernelTests-Methods (179)
        KernelTests-Numbers (276)
        KernelTests-Objects (86)
        KernelTests-Pragmas (3)
        KernelTests-Processes (37)
        SUnit-Core-Extensions (3)
        SUnit-Core-Utilities (3)
        SUnit-Tests-Core (78)
        Tests-Bugs (25)
        Tests-CodeImport (9)
        Tests-Compression (10)
        Tests-Digital Signatures (8)
        Tests-Exceptions (28)
        Tests-Files (21)
        Tests-Finalization (1)
        Tests-Monticello (102)
        Tests-Multilingual (3)
        Tests-Object Events (24)
        Tests-ObjectsAsMethods (3)
        Tests-PackageInfo (2)
        Tests-Polymorph-Widgets (10)
        Tests-Release (5)
        Tests-ScriptLoader (4)
        Tests-System (271)
        Tests-System-CommandLine (15)
        Tests-SystemChangeNotification (1)
        Tests-SystemHistory (14)
        Tests-TextEditors (3)
        Tests-Traits (58)
        Tests-Traits-MOP (3)
        Tests-VM (10)

Errors: 7
        MCSnapshotBrowserTest>>#testClassSelected
        MCSnapshotBrowserTest>>#testClassSideClassSelected
        MCSnapshotBrowserTest>>#testComment
        MCSnapshotBrowserTest>>#testMethodIsCleared
        MCSnapshotBrowserTest>>#testMethodSelected
        MCSnapshotBrowserTest>>#testProtocolIsCleared
        MCSnapshotBrowserTest>>#testProtocolSelected

Failures: 11
        MCStWriterTest>>#testInitializerDefinition
        ReleaseTest>>#testInstalledMethodsWithIncorrectTrailerKind
        MCFileInTest>>#testStWriter
        MCStWriterTest>>#testMethodDefinition
        MCWorkingCopyTest>>#testOptimizedLoad
        MCSnapshotTest>>#testCreation
        MCWorkingCopyTest>>#testRepeatedMerge
        MCWorkingCopyTest>>#testSimpleMerge
        MCWorkingCopyTest>>#testSelectiveBackport
        MCMethodDefinitionTest>>#testLoadAndUnload
        MCWorkingCopyTest>>#testSnapshotAndLoad

----------------------------------------------------------
Loaded Source:  
SLICE-Issue-6794-CommandLine-Configuration-installer-CamilloBruni.3 from  
http://ss3.gemstone.com/ss/PharoInbox
Tested using Pharo-2.0-20338-a on CoInterpreter  
VMMaker-oscog-EstebanLorenzano.164 uuid:  
d77dee73-00f5-4d00-847b-00646b08329d Oct  2 2012
StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.164 uuid:  
d77dee73-00f5-4d00-847b-00646b08329d Oct  2 2012
git://gitorious.org/cogvm/blessed.git Commit:  
bfc9fe2c4abcd2972c8bd9eac1c77f9baaf23e8a Date: 2012-09-25 13:34:47 +0200  
By: Esteban Lorenzano <[hidden email]>


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo

Comment #9 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

OK, I'll have a look after the first version gets in the image.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo
Updates:
        Status: FixReviewNeeded

Comment #10 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo
Updates:
        Status: MonkeyIsChecking

Comment #11 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794#c11

The Monkey is currently checking this issue. Please don't change it!


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo
Updates:
        Status: FailingTest

Comment #12 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794#c12

Test Results:
-------------
Passed: 6994
        CollectionsTests-Arrayed (553)
        CollectionsTests-Atomic (12)
        CollectionsTests-Sequenceable (912)
        CollectionsTests-SplitJoin (27)
        CollectionsTests-Stack (16)
        CollectionsTests-Streams (37)
        CollectionsTests-Strings (606)
        CollectionsTests-Support (12)
        CollectionsTests-Unordered (1954)
        CollectionsTests-Weak (739)
        CompilerTests (179)
        KernelTests-Chronology (583)
        KernelTests-Classes (67)
        KernelTests-Exception (2)
        KernelTests-Methods (179)
        KernelTests-Numbers (276)
        KernelTests-Objects (86)
        KernelTests-Pragmas (3)
        KernelTests-Processes (37)
        SUnit-Core-Extensions (3)
        SUnit-Core-Utilities (3)
        SUnit-Tests-Core (78)
        Tests-Bugs (25)
        Tests-CodeImport (9)
        Tests-Compression (10)
        Tests-Digital Signatures (8)
        Tests-Exceptions (28)
        Tests-Files (21)
        Tests-Finalization (1)
        Tests-Monticello (102)
        Tests-Multilingual (3)
        Tests-Object Events (24)
        Tests-ObjectsAsMethods (3)
        Tests-PackageInfo (2)
        Tests-Polymorph-Widgets (10)
        Tests-Release (5)
        Tests-ScriptLoader (4)
        Tests-System (271)
        Tests-System-CommandLine (15)
        Tests-SystemChangeNotification (1)
        Tests-SystemHistory (14)
        Tests-TextEditors (3)
        Tests-Traits (58)
        Tests-Traits-MOP (3)
        Tests-VM (10)

Errors: 7
        MCSnapshotBrowserTest>>#testClassSelected
        MCSnapshotBrowserTest>>#testClassSideClassSelected
        MCSnapshotBrowserTest>>#testComment
        MCSnapshotBrowserTest>>#testMethodIsCleared
        MCSnapshotBrowserTest>>#testMethodSelected
        MCSnapshotBrowserTest>>#testProtocolIsCleared
        MCSnapshotBrowserTest>>#testProtocolSelected

Failures: 11
        MCWorkingCopyTest>>#testRepeatedMerge
        MCWorkingCopyTest>>#testSimpleMerge
        MCWorkingCopyTest>>#testSelectiveBackport
        MCWorkingCopyTest>>#testSnapshotAndLoad
        MCMethodDefinitionTest>>#testLoadAndUnload
        MCStWriterTest>>#testInitializerDefinition
        ReleaseTest>>#testInstalledMethodsWithIncorrectTrailerKind
        MCFileInTest>>#testStWriter
        MCStWriterTest>>#testMethodDefinition
        MCWorkingCopyTest>>#testOptimizedLoad
        MCSnapshotTest>>#testCreation

----------------------------------------------------------
Loaded Source:  
SLICE-Issue-6794-CommandLine-Configuration-installer-CamilloBruni.3 from  
http://ss3.gemstone.com/ss/PharoInbox
Tested using Pharo-2.0-20338-a on CoInterpreter  
VMMaker-oscog-EstebanLorenzano.164 uuid:  
d77dee73-00f5-4d00-847b-00646b08329d Oct  2 2012
StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.164 uuid:  
d77dee73-00f5-4d00-847b-00646b08329d Oct  2 2012
git://gitorious.org/cogvm/blessed.git Commit:  
bfc9fe2c4abcd2972c8bd9eac1c77f9baaf23e8a Date: 2012-09-25 13:34:47 +0200  
By: Esteban Lorenzano <[hidden email]>


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo
Updates:
        Status: HumanReviewNeeded

Comment #13 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

the code does not touch any MC-Related classes...


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo
Updates:
        Status: FixToInclude

Comment #14 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6794 in pharo: CommandLine Configuration installer

pharo
Updates:
        Status: Integrated

Comment #15 on issue 6794 by [hidden email]: CommandLine  
Configuration installer
http://code.google.com/p/pharo/issues/detail?id=6794

in 2.0 339


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker