Re: [Pharo-dev] How to upload some version from the package-cache to a StHub project
This is also explained in the gofer chapter in the deepintopharo book Stef On 26 Feb 2014, at 22:53, MartinW 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-commits-from-local-repository-to-smalltalkhub-com) > > m. > > > > -- > View this message in context: > http://forum.world.st/How-to-upload-some-version-from-the-package-cache-to-a-StHub-project-tp4746632p4746652.html > Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. >
Re: [Pharo-dev] How to upload some version from the package-cache to a StHub project
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-commits-from-local-repository-to-smalltalkhub-com) m. -- View this message in context: http://forum.world.st/How-to-upload-some-version-from-the-package-cache-to-a-StHub-project-tp4746632p4746652.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Re: [Pharo-dev] How to upload some version from the package-cache to a StHub project
Thank you Max, works like a charm! On Wed, Feb 26, 2014 at 6:20 PM, Max Leske wrote: > On 26.02.2014, at 22:03, Gabriel Cotelli 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 > > >
Re: [Pharo-dev] How to upload some version from the package-cache to a StHub project
On 26.02.2014, at 22:03, Gabriel Cotelli 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