Syncing local cache and SmalltalkHub
Hi, I have my outliner buggy mockup on local cache, and I would like to share the code and point to it online using SmalltalkHub for my questions. I have followed the chapter on Source code management with Monticello y PBE2, and it says that you can have your code on SmalltalkHub, but says nothing about how to sync from local cache to your SmalltalkHub account. Can some one could point me the way to do it? Cheers, Offray
Hi Offray, Once you create your StHub repository and define it in your image, you can just copy versions (mcz files) from your package cache to the new repository using the Copy button in the Repository browser (which you get by selecting your local package cache in the Monticello browser and clicking the Open button). HTH, Sven On 02 Aug 2014, at 21:25, Offray Vladimir Luna Cárdenas <offray@riseup.net> wrote:
Hi,
I have my outliner buggy mockup on local cache, and I would like to share the code and point to it online using SmalltalkHub for my questions. I have followed the chapter on Source code management with Monticello y PBE2, and it says that you can have your code on SmalltalkHub, but says nothing about how to sync from local cache to your SmalltalkHub account. Can some one could point me the way to do it?
Cheers,
Offray
Hi Offray, I recently faced the same problem, the way I solved it by using Gofer to sync the repos. go := Gofer new. go repository: (MCSmalltalkhubRepository owner: 'You' project: 'yourProjectName' user: 'userName' password: 'yourSecretPass'). go package: 'PackageName'; push. I got the example from here: http://pharobooks.gforge.inria.fr/PharoByExampleTwo-Eng/latest/Gofer.pdf Hope it helps. Regards, Juan On Sat, Aug 2, 2014 at 5:02 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Hi Offray,
Once you create your StHub repository and define it in your image, you can just copy versions (mcz files) from your package cache to the new repository using the Copy button in the Repository browser (which you get by selecting your local package cache in the Monticello browser and clicking the Open button).
HTH,
Sven
On 02 Aug 2014, at 21:25, Offray Vladimir Luna Cárdenas <offray@riseup.net> wrote:
Hi,
I have my outliner buggy mockup on local cache, and I would like to share the code and point to it online using SmalltalkHub for my questions. I have followed the chapter on Source code management with Monticello y PBE2, and it says that you can have your code on SmalltalkHub, but says nothing about how to sync from local cache to your SmalltalkHub account. Can some one could point me the way to do it?
Cheers,
Offray
On 3/8/14 00:10, Juan Ignacio Vaccarezza wrote:
Hi Offray,
I recently faced the same problem, the way I solved it by using Gofer to sync the repos.
go := Gofer new.
go repository: (MCSmalltalkhubRepository owner: 'You' project: 'yourProjectName' user: 'userName' password: 'yourSecretPass').
go package: 'PackageName'; push.
I got the example from here: http://pharobooks.gforge.inria.fr/PharoByExampleTwo-Eng/latest/Gofer.pdf
I was about to say it. I wrote such chapter just for that :) Now I suggest to publish on smalltalkhub directly since you will get for free the copy in your local cache.
Hope it helps.
Regards, Juan
On Sat, Aug 2, 2014 at 5:02 PM, Sven Van Caekenberghe <sven@stfx.eu <mailto:sven@stfx.eu>> wrote:
Hi Offray,
Once you create your StHub repository and define it in your image, you can just copy versions (mcz files) from your package cache to the new repository using the Copy button in the Repository browser (which you get by selecting your local package cache in the Monticello browser and clicking the Open button).
HTH,
Sven
On 02 Aug 2014, at 21:25, Offray Vladimir Luna Cárdenas <offray@riseup.net <mailto:offray@riseup.net>> wrote:
> Hi, > > I have my outliner buggy mockup on local cache, and I would like to share the code and point to it online using SmalltalkHub for my questions. I have followed the chapter on Source code management with Monticello y PBE2, and it says that you can have your code on SmalltalkHub, but says nothing about how to sync from local cache to your SmalltalkHub account. Can some one could point me the way to do it? > > Cheers, > > Offray >
Juan, Ben and Stef, Thanks. I tested first Ben's suggestion but Juan's seems to work better (first one gave me an error... don't remember well which one). Now I have my repo online: http://smalltalkhub.com/#!/~Offray/Ubakye When I try to browse the source, I can find .mcz files, but I wonder if there is a way to point to a specific method of an specific version and see it online. Cheers, Offray On 08/02/2014 05:10 PM, Juan Ignacio Vaccarezza wrote:
Hi Offray,
I recently faced the same problem, the way I solved it by using Gofer to sync the repos.
go := Gofer new.
go repository: (MCSmalltalkhubRepository owner: 'You' project: 'yourProjectName' user: 'userName' password: 'yourSecretPass').
go package: 'PackageName'; push.
I got the example from here: http://pharobooks.gforge.inria.fr/PharoByExampleTwo-Eng/latest/Gofer.pdf
Hope it helps.
Regards, Juan
On Sat, Aug 2, 2014 at 5:02 PM, Sven Van Caekenberghe <sven@stfx.eu <mailto:sven@stfx.eu>> wrote:
Hi Offray,
Once you create your StHub repository and define it in your image, you can just copy versions (mcz files) from your package cache to the new repository using the Copy button in the Repository browser (which you get by selecting your local package cache in the Monticello browser and clicking the Open button).
HTH,
Sven
On 02 Aug 2014, at 21:25, Offray Vladimir Luna Cárdenas <offray@riseup.net <mailto:offray@riseup.net>> wrote:
> Hi, > > I have my outliner buggy mockup on local cache, and I would like to share the code and point to it online using SmalltalkHub for my questions. I have followed the chapter on Source code management with Monticello y PBE2, and it says that you can have your code on SmalltalkHub, but says nothing about how to sync from local cache to your SmalltalkHub account. Can some one could point me the way to do it? > > Cheers, > > Offray >
On 3/8/14 20:56, Offray Vladimir Luna Cárdenas wrote:
Juan, Ben and Stef,
Thanks. I tested first Ben's suggestion but Juan's seems to work better (first one gave me an error... don't remember well which one). Now I have my repo online:
http://smalltalkhub.com/#!/~Offray/Ubakye
When I try to browse the source, I can find .mcz files, but I wonder if there is a way to point to a specific method of an specific version and see it online. you can do that from the monticello browser. explore.
Cheers,
Offray
On 08/02/2014 05:10 PM, Juan Ignacio Vaccarezza wrote:
Hi Offray,
I recently faced the same problem, the way I solved it by using Gofer to sync the repos.
go := Gofer new.
go repository: (MCSmalltalkhubRepository owner: 'You' project: 'yourProjectName' user: 'userName' password: 'yourSecretPass').
go package: 'PackageName'; push.
I got the example from here: http://pharobooks.gforge.inria.fr/PharoByExampleTwo-Eng/latest/Gofer.pdf
Hope it helps.
Regards, Juan
On Sat, Aug 2, 2014 at 5:02 PM, Sven Van Caekenberghe <sven@stfx.eu <mailto:sven@stfx.eu>> wrote:
Hi Offray,
Once you create your StHub repository and define it in your image, you can just copy versions (mcz files) from your package cache to the new repository using the Copy button in the Repository browser (which you get by selecting your local package cache in the Monticello browser and clicking the Open button).
HTH,
Sven
On 02 Aug 2014, at 21:25, Offray Vladimir Luna Cárdenas <offray@riseup.net <mailto:offray@riseup.net>> wrote:
> Hi, > > I have my outliner buggy mockup on local cache, and I would like to share the code and point to it online using SmalltalkHub for my questions. I have followed the chapter on Source code management with Monticello y PBE2, and it says that you can have your code on SmalltalkHub, but says nothing about how to sync from local cache to your SmalltalkHub account. Can some one could point me the way to do it? > > Cheers, > > Offray >
Hi, On 08/04/2014 02:41 AM, stepharo wrote:
On 3/8/14 20:56, Offray Vladimir Luna Cárdenas wrote:
Juan, Ben and Stef,
Thanks. I tested first Ben's suggestion but Juan's seems to work better (first one gave me an error... don't remember well which one). Now I have my repo online:
http://smalltalkhub.com/#!/~Offray/Ubakye
When I try to browse the source, I can find .mcz files, but I wonder if there is a way to point to a specific method of an specific version and see it online. you can do that from the monticello browser. explore.
Ok. I was thinking in something that can be used to point a method online, something like when you point to a version of a published file on a DVCS like GitHub or fossil. Cheers, Offray
Offray Vladimir Luna Cárdenas wrote:
Hi,
I have my outliner buggy mockup on local cache, and I would like to share the code and point to it online using SmalltalkHub for my questions. I have followed the chapter on Source code management with Monticello y PBE2, and it says that you can have your code on SmalltalkHub, but says nothing about how to sync from local cache to your SmalltalkHub account. Can some one could point me the way to do it?
Cheers,
Offray
There is no sync function, but if you open your local repository you can use the 'Copy' button to push to SmalltalkHub. Note that while the usual 'Save' button will prompt for your credentials if you haven't configured them, 'Copy' will not prompt and you need to have configured them, via 'Edit' from the context menu of the repository. cheers -ben
participants (5)
-
Ben Coman -
Juan Ignacio Vaccarezza -
Offray Vladimir Luna Cárdenas -
stepharo -
Sven Van Caekenberghe