[DNG] Git and git.devuan.org

2018-08-16 Thread Lars Noodén
Can someone please give me some quick examples of how to best "checkout"
something from g...@git.devuan.org:USERNAME/someproject and then, after
modification, submit the changes back?  I've used CVS only a little bit
but am even more unfamiliar with git.

I suppose it would be two lines but after reviewing a lot of git
tutorials I am still not sure which one to use to fetch the code and
then how to find a working method to upload the changes.

Thanks,
Lars


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] We can't stop wars and diseases yet, but we got rid of systemd

2018-08-16 Thread Lars Noodén
There seems to now be a Swiss hosting provider specializing in Devuan
hosting:

"We can't stop wars and diseases yet, but we got rid
of systemd."
...
"thanks to the developers of Devuan."

https://devuanhosting.com/en-us/cms/

It is one of their featured selling points.

/Lars
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Git and git.devuan.org

2018-08-16 Thread aitor_czr

Hi Lars,

El 16/08/18 a las 11:50, Lars Noodén escribió:

Can someone please give me some quick examples of how to best "checkout"
something from...@git.devuan.org:USERNAME/someproject  and then, after
modification, submit the changes back?  I've used CVS only a little bit
but am even more unfamiliar with git.

I suppose it would be two lines but after reviewing a lot of git
tutorials I am still not sure which one to use to fetch the code and
then how to find a working method to upload the changes.

Thanks,
Lars


Quick answer:

Configure your .git/config file. In my case:

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    url = https://git.devuan.org/aitor_czr/simple-netaid-gtk.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master

Commit your changes:

$ git add .
$ git commit --all

And then, push the branch to the remote repository:

$ git push -u origin master

I'll write about this topic in more detail.

Cheers,

  Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] We can't stop wars and diseases yet, but we got rid of systemd

2018-08-16 Thread Steve Litt
On Thu, 16 Aug 2018 12:50:53 +0300
Lars Noodén  wrote:

> There seems to now be a Swiss hosting provider specializing in Devuan
> hosting:
> 
>   "We can't stop wars and diseases yet, but we got rid
>   of systemd."
>   ...
>   "thanks to the developers of Devuan."
> 
>   https://devuanhosting.com/en-us/cms/
> 
> It is one of their featured selling points.
> 
> /Lars

A couple points:

1) At $14.50/month (Swiss Franc == $), it's 3 times the price of many
   American VM vendors.

2) Unlike American vendors, their Terms of Service contain no
   Indemnification clause, no heads-I-win-tails-you-lose, no book
   length essays. This fact alone can triple the value of a VM.

By the way, I'm pretty sure that besides being systemd free, their
services are run by electricity produced by rivers or waterfalls. No
coal, no uranium.

I might get one of these things.

SteveT

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Git and git.devuan.org

2018-08-16 Thread KatolaZ
On Thu, Aug 16, 2018 at 12:50:19PM +0300, Lars Noodén wrote:
> Can someone please give me some quick examples of how to best "checkout"
> something from g...@git.devuan.org:USERNAME/someproject and then, after
> modification, submit the changes back?  I've used CVS only a little bit
> but am even more unfamiliar with git.


Dear Lars,

if the repository belongs to you (i.e., is USERNAME is your nickname),
then you should:

  git clone GITURL
 
then make your changes, commit, and push (this should be covered by
the tutorials you have read).

If the repository belongs to someone else, then the best way is to
"fork" the repo from the gitlab interface (there is a "fork" button
jst under the project name in the gitlab page). This will create a
"copy" of the repo under your account. From there, you do the clone,
changes, commit, and push as usual. Then, in order to ask the owner of
the original repo to include your changes, you should open a Pull
Request. That will generate a diff and notify the owner of the repo,
who should check it and "merge" it in the repo.

HTH

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] We can't stop wars and diseases yet, but we got rid of systemd

2018-08-16 Thread Harald Arnesen
Steve Litt [2018-08-16 17:27]:

> 1) At $14.50/month (Swiss Franc == $), it's 3 times the price of many
>American VM vendors.
> 
> 2) Unlike American vendors, their Terms of Service contain no
>Indemnification clause, no heads-I-win-tails-you-lose, no book
>length essays. This fact alone can triple the value of a VM.

3) I would rather have my not so sensitive data stored at a Swiss
company than at an American one.
-- 
Hilsen Harald
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] We can't stop wars and diseases yet,

2018-08-16 Thread Dr. Nikolaus Klepp
Am Donnerstag, 16. August 2018 schrieb Steve Litt:
> [...]
> By the way, I'm pretty sure that besides being systemd free, their
> services are run by electricity produced by rivers or waterfalls. No
> coal, no uranium.

Yes, rivers ... good to cool atomic power plants (take a close look at 
Mühleberg, if you dare): 
https://de.wikipedia.org/wiki/Liste_der_Kernreaktoren_in_der_Schweiz


> 
> I might get one of these things.
> 
> SteveT
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> 



-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA, CIA ...
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Git and git.devuan.org

2018-08-16 Thread Lars Noodén
On 08/16/2018 07:10 PM, KatolaZ wrote:
[snip]
> if the repository belongs to you (i.e., is USERNAME is your nickname),
> then you should:
> 
>   git clone GITURL

Thanks.  That confirms that part.  However, if I then edit a file, the
commit seems to do nothing.

> then make your changes, commit, and push (this should be covered by
> the tutorials you have read).

I get this message when trying to commit: no changes added to commit
That seems to cause the push to say the following after entering the
user name and password: Everything up-to-date

And then no new notifications or changed files are present on the
project git web page.

Same if I try a 'git pull' in my cloned copy of the project.  It just
says: Already up-to-date.  However, since one file has been changed it
should be in conflict with the original copy of the project on
git.devuan.org

There seems to be some finesse missing.

/Lars
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Git and git.devuan.org

2018-08-16 Thread Stefan Krusche
Am Donnerstag 16 August 2018 schrieb Lars Noodén:
> On 08/16/2018 07:10 PM, KatolaZ wrote:
> [snip]
>
> > if the repository belongs to you (i.e., is USERNAME is your nickname),
> > then you should:
> >
> >   git clone GITURL
>
> Thanks.  That confirms that part.  However, if I then edit a file, the
> commit seems to do nothing.
>
> > then make your changes, commit, and push (this should be covered by
> > the tutorials you have read).
>
> I get this message when trying to commit: no changes added to commit
> That seems to cause the push to say the following after entering the
> user name and password: Everything up-to-date
>
> And then no new notifications or changed files are present on the
> project git web page.
>
> Same if I try a 'git pull' in my cloned copy of the project.  It just
> says: Already up-to-date.  However, since one file has been changed it
> should be in conflict with the original copy of the project on
> git.devuan.org
>
> There seems to be some finesse missing.

Hi Lars,

I'm almost totally unexperienced with git, but what is missing, I think, is 
to "stage" the changed files with, IIRC, "git add somefiles.." That's a git 
concept. I read the first three chapters of an excellent and easy to read 
introduction into git where I learned that, which you can get for free at this 
website:
https://git-scm.com/book/en/v2

Just in case you are interested.

Kind regards,
Stefan
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Git and git.devuan.org - solved

2018-08-16 Thread Lars Noodén
On 08/16/2018 09:04 PM, Stefan Krusche wrote:
> Am Donnerstag 16 August 2018 schrieb Lars Noodén:
[snip]
>> There seems to be some finesse missing.
> 
> Hi Lars,
> 
> I'm almost totally unexperienced with git, but what is missing, I think, is 
> to "stage" the changed files with, IIRC, "git add somefiles.." That's a git 
> concept. I read the first three chapters of an excellent and easy to read 
> introduction into git where I learned that, which you can get for free at 
> this 
> website:
> https://git-scm.com/book/en/v2
> 
> Just in case you are interested.

The staging was the part I missed.  It wasn't clear from the
"git-commit" manual page at all that "git-add" is not about adding new
files but queuing existing but modified files for upload.  The -a with
"commit" can skip that.

git clone GITURL
vi README.md
git commit -a
git push

Thanks.  All set.

/Lars
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Git and git.devuan.org - solved

2018-08-16 Thread Rowland Penny
On Thu, 16 Aug 2018 22:56:29 +0300
Lars Noodén  wrote:

> On 08/16/2018 09:04 PM, Stefan Krusche wrote:
> > Am Donnerstag 16 August 2018 schrieb Lars Noodén:
> [snip]
> >> There seems to be some finesse missing.
> > 
> > Hi Lars,
> > 
> > I'm almost totally unexperienced with git, but what is missing, I
> > think, is to "stage" the changed files with, IIRC, "git add
> > somefiles.." That's a git concept. I read the first three chapters
> > of an excellent and easy to read introduction into git where I
> > learned that, which you can get for free at this website:
> > https://git-scm.com/book/en/v2
> > 
> > Just in case you are interested.
> 
> The staging was the part I missed.  It wasn't clear from the
> "git-commit" manual page at all that "git-add" is not about adding new
> files but queuing existing but modified files for upload.  The -a with
> "commit" can skip that.
> 
> git clone GITURL
> vi README.md
> git commit -a
> git push
> 
> Thanks.  All set.
> 
> /Lars
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

One thing is worrying me about this, can anybody push a change, even if
it is a malicious one ?

Rowland
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Git and git.devuan.org - solved

2018-08-16 Thread Antony Stone
On Thursday 16 August 2018 at 22:04:18, Rowland Penny wrote:

> On Thu, 16 Aug 2018 22:56:29 +0300 Lars Noodén wrote:
> > On 08/16/2018 09:04 PM, Stefan Krusche wrote:
> > 
> > The staging was the part I missed.  It wasn't clear from the
> > "git-commit" manual page at all that "git-add" is not about adding new
> > files but queuing existing but modified files for upload.  The -a with
> > "commit" can skip that.
> > 
> > git clone GITURL
> > vi README.md
> > git commit -a
> > git push
> > 
> > Thanks.  All set.
> 
> One thing is worrying me about this, can anybody push a change, even if
> it is a malicious one ?

Anybody can push a change, yes, but only to their *own* account.

That is why you later need to make a *pull* request to the project developer/s 
to get them to fetch your code into their project and see what they think of 
it.


Antony.

-- 
Success is a lousy teacher.  It seduces smart people into thinking they can't 
lose.

 - William H Gates III

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] We can't stop wars and diseases yet, but we got rid of systemd

2018-08-16 Thread Steve Litt
On Thu, 16 Aug 2018 18:41:52 +0200
Harald Arnesen  wrote:

> Steve Litt [2018-08-16 17:27]:
> 
> > 1) At $14.50/month (Swiss Franc == $), it's 3 times the price of
> > many American VM vendors.
> > 
> > 2) Unlike American vendors, their Terms of Service contain no
> >Indemnification clause, no heads-I-win-tails-you-lose, no book
> >length essays. This fact alone can triple the value of a VM.  
> 
> 3) I would rather have my not so sensitive data stored at a Swiss
> company than at an American one.

Is there a way to rent and administer one of their VMs anonymously?

SteveT

Steve Litt 
September 2018 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng