Re: Plans for git (was: Please check the current beta git conversions)

Mark Millard via freebsd-arm <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>

On 2020-Sep-4, at 21:48, bob prohaska <fbsd at www.zefox.net> wrote:

> On Wed, Sep 02, 2020 at 07:08:12PM +0200, Goran Meki?? wrote:
>> On Wed, Sep 02, 2020 at 09:47:06AM -0700, Steve Kargl wrote:
>>> Checking out /usr/src as [email protected]
>>> 
>>>  svn checkout svn+ssh://[email protected]/base/head /usr/src
>> git checkout ssh://[email protected]/base/head /usr/src
>> 
>>> Checking out /usr/src without freebsd.org account
>>> 
>>>  svn checkout https://svn.freebsd.org/base/head ${HOME}/freebsd/src
>> 
>> git checkout https://git.freebsd.org/base/head ${HOME}/freebsd/src
>> 
>>> Creating diff against updated head.
>>> 
>>>  svn update
>>>  svn diff > patch.diff
>> 
>> git pull
>> git diff >patch.diff
>> 
>>> Adding a new file
>>> 
>>>  svn add /usr/src/libm/msun/src/_s_sinpi.c
>> 
>> git add /usr/src/libm/msun/src/_s_sinpi.c
>> 
>>> Committing a change to /usr/src
>>> 
>>>  svn update
>>>  svn diff <files-to-commit> | more (everyone does one last check, right?)
>>>  svn commit <files-to-commit>
>> 
>> git pull
>> git add -A # add all files, even new ones
>>           # alternative would be "git add <files>"
>> git diff --cached
>> git commit
>> 
>> 
>> I "assumed" that [email protected] is valid, but depending on
>> configuration of the server, [email protected] might be the right one.
>> Someone with actual knowledge (and I'm looking at Ed) will fill in the
>> right details.
>> 
> 
> Alas, no. 
> 
> bob@www:/usr/src % ping git.freebsd.org
> ping: cannot resolve git.freebsd.org: Unknown host

Using macOS (that was handy) I tried where Ed M.'s
list notice referenced:

% nslookup cgit-beta.freebsd.org 
Server:		. . .
Address:	. . .

Non-authoritative answer:
cgit-beta.freebsd.org	canonical name = githome.nyi.freebsd.org.
Name:	githome.nyi.freebsd.org
Address: 96.47.72.101


That seems to have provided an IPv4 address for the server.

I hope that the above helps.

> If anybody can offer an amateur's tutorial it would be
> most helpful. Simple examples of checking out /usr/src
> and /usr/ports, along with updating and reverting, make
> a good start. Oh, some sort of cleanup might be required.....
> Basically, just enough for testing.
> 


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.