How to upload some version from the package-cache to a StHub project
Hi, I have a whole package history in my local package cache and I want to upload it to a new SmalltalkHub project. I've tried using the Monticello browser but it insists in creating a new version of the package when I do the "Save" to the new repository. Is there some option to do something like this? Or some script? I don't want to loose the history. Regards, Gabriel
On 26.02.2014, at 22:03, Gabriel Cotelli <g.cotelli@gmail.com> wrote:
Hi, I have a whole package history in my local package cache and I want to upload it to a new SmalltalkHub project. I've tried using the Monticello browser but it insists in creating a new version of the package when I do the "Save" to the new repository.
Is there some option to do something like this? Or some script? I don't want to loose the history.
Thereâs a âCopyâ button in Monticello. 1. open your repository / package cache 2. select the package version you want to copy 3. click the âCopyâ button 4. select target repository
Regards, Gabriel
Thank you Max, works like a charm! On Wed, Feb 26, 2014 at 6:20 PM, Max Leske <maxleske@gmail.com> wrote:
On 26.02.2014, at 22:03, Gabriel Cotelli <g.cotelli@gmail.com> wrote:
Hi, I have a whole package history in my local package cache and I want to upload it to a new SmalltalkHub project. I've tried using the Monticello browser but it insists in creating a new version of the package when I do the "Save" to the new repository.
Is there some option to do something like this? Or some script? I don't want to loose the history.
There's a "Copy" button in Monticello. 1. open your repository / package cache 2. select the package version you want to copy 3. click the "Copy" button 4. select target repository
Regards, Gabriel
Gabriel Cotelli-3 wrote
I have a whole package history in my local package cache and I want to upload it to a new SmalltalkHub project. I've tried using the Monticello browser but it insists in creating a new version of the package when I do the "Save" to the new repository.
Is there some option to do something like this? Or some script?
If you have several packages you can use this script: Gofer new package: 'MyProject-Core'; package: 'MyProject-Tests'; url: 'http://smalltalkhub.com/mc/USER/MyProject/main/' username: 'USER' password: '***'; push. (Thanks again to Camillo Bruni: http://stackoverflow.com/questions/17454965/how-to-copy-several-monticello-c...) m. -- View this message in context: http://forum.world.st/How-to-upload-some-version-from-the-package-cache-to-a... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
This is also explained in the gofer chapter in the deepintopharo book Stef On 26 Feb 2014, at 22:53, MartinW <wm@fastmail.fm> wrote:
Gabriel Cotelli-3 wrote
I have a whole package history in my local package cache and I want to upload it to a new SmalltalkHub project. I've tried using the Monticello browser but it insists in creating a new version of the package when I do the "Save" to the new repository.
Is there some option to do something like this? Or some script?
If you have several packages you can use this script:
Gofer new package: 'MyProject-Core'; package: 'MyProject-Tests'; url: 'http://smalltalkhub.com/mc/USER/MyProject/main/' username: 'USER' password: '***'; push.
(Thanks again to Camillo Bruni: http://stackoverflow.com/questions/17454965/how-to-copy-several-monticello-c...)
m.
-- View this message in context: http://forum.world.st/How-to-upload-some-version-from-the-package-cache-to-a... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (4)
-
Gabriel Cotelli -
MartinW -
Max Leske -
Pharo4Stef