[Pharo-users] Pharo + git workflow

Norbert Hartl norbert at hartl.name
Tue Jan 26 07:45:17 EST 2016


Thanks.

To be honest I don't watch videos if I want something to know. So I skip those nearly always. Your tutorial (didn't watch) seems to be about github and sourcetree. So it does not seem to touch any of my problems.

Norbert

> Am 26.01.2016 um 13:31 schrieb Dimitris Chloupis <kilon.alios at gmail.com>:
> 
> "I'm eager to try a new project with some git repositories. But to be honest I don't really get it. Searching the web there is lots to find but nothing actual."
> 
> Searching "pharo git" on youtube bring my video tutorial top on the list of search results
> "https://www.youtube.com/results?search_query=pharo+git <https://www.youtube.com/results?search_query=pharo+git>"
> 
> On Tue, Jan 26, 2016 at 2:27 PM Norbert Hartl <norbert at hartl.name <mailto:norbert at hartl.name>> wrote:
> Hi,
> 
> using the bitbucket:// scheme and authority leads to a download url of
> 
> https://bitbucket.org/NorbertHartl/get/<password>@2denker.zip <https://bitbucket.org/NorbertHartl/get/%3Cpassword%3E@2denker.zip>
> 
> where NorbertHartl and <password> are the credentials and 2denker is the user. The project name is stripped off.
> 
> So this does not work as expected.
> 
> Norbert
> 
>> Am 26.01.2016 um 13:03 schrieb Norbert Hartl <norbert at hartl.name <mailto:norbert at hartl.name>>:
>> 
>>> 
>>> Am 25.01.2016 um 23:32 schrieb Thierry Goubier <thierry.goubier at gmail.com <mailto:thierry.goubier at gmail.com>>:
>>> 
>>> Le 25/01/2016 23:13, Norbert Hartl a écrit :
>>>> 
>>>>> Am 25.01.2016 um 23:02 schrieb Norbert Hartl <norbert at hartl.name <mailto:norbert at hartl.name>>:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>>> Am 25.01.2016 um 22:55 schrieb Thierry Goubier <thierry.goubier at gmail.com <mailto:thierry.goubier at gmail.com>>:
>>>>>> 
>>>>>> Hi Norbert,
>>>>>> 
>>>>>> Just tell me if you need any additional parameter to the git clone for the credentials, because I'm not sure I have written the code which will handle them.
>>>>>> 
>>>>> I'll check that. The easiest approach is to use the authority part of the url like
>>>>> 
>>>>> https://user:pass@bitbucket.org/ <https://user:pass@bitbucket.org/>….
>>> 
>>> I'm nearly sure my code doesn't check for them and silently drop them :(
>>> 
>>>>> I try that tomorrow.
>>>>> 
>>>> But then I don't think that sub-directories work per http.
>>> 
>>> They do over https. But remember the syntax is, to take your url,
>>> 
>>> gitfiletree://user:pass@bitbucket.org/...?protocol=https <>
>> 
>> Does not work for me. It complains about unknown url scheme. But using the read-only version of gitfiletree would still mean I have to install gitfiletree, no? I have no glue hot the url with bitbucket:// could work.
>>> 
>>> I wonder if I can write code that considers that if you have a username and a password, then it should use https and not ssh.
>> 
>> I see no reason why. You can use ssh with username and password as well.
>> 
>> Norbert
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160126/7d6d8dc3/attachment.html>


More information about the Pharo-users mailing list