Re: [mh] Git woes
Lieven Hollevoet <[email protected]>
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Hey all, This is because you should not use a password to authenticate anymore, but rather access tokens or SSH keys that you can configure in your user account on Github. The whole rationale behind this is explained in the link you receive > https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ <https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/> Nothing to really worry about, it just takes a few steps to enable the new access method and then you’re all set again. Best regards, Lieven. > > Op 25 jan. 2021, om 20:24 heeft Stephen Switzer <[email protected]> het volgende geschreven: > > Interesting. I don't use the git protocol for access to github, I generally use ssh. Maybe the git project and toolset is recommending deprecation and github is following suit. > > Steve > > On Mon, Jan 25, 2021 at 1:57 PM Giles Godart-Brown <[email protected] <mailto:[email protected]>> wrote: > I'm guessing git as I got this email > > <snip> > > You recently used a password to access the repository at ggodart/misterhouse with git using git/2.15.0. <http://2.15.0.0/> > > Basic authentication using a password to Git is deprecated and will soon no longer work. Visit https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ <https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/> for more information around suggested workarounds and removal dates. > </snip> > > I've now updated to 2.27 > > G > > On 25/01/2021 18:54, Stephen Switzer wrote: >> Giles, >> Glad it helped you out, and thanks for documenting your experience for others! >> >> You mention that git is deprecating features for security soon... do you mean git itself or github? >> >> Steve >> >> On Mon, Jan 25, 2021 at 12:07 PM Giles Godart-Brown <[email protected] <mailto:[email protected]>> wrote: >> Many thanks to Lieven and Steve, I now understand how to make this work, and have been able to make a pull request. >> >> Looking at https://github.com/hollie/misterhouse/wiki/Contributing <https://github.com/hollie/misterhouse/wiki/Contributing>, I noticed that we had two nearly identical sets of instructions and Steve's critical information on using https ilo git protocol was missing. >> >> I've now merged the 2 sets of instructions, incorporated the https fix, provided a summary and shuffled the order around a bit. I hope I haven't murdered it too much. >> >> I also noticed that git is deprecating some features to increase security soon, so this may need a re-visit if anything subsequently breaks >> >> Giles >> >> On 23/01/2021 10:49, Giles Godart-Brown wrote: >>> I've been trying to re-add the example 'occupied_mode_demo.pl <http://occupied_mode_demo.pl/>' following the steps in the git wiki, but it fails. Can someone please help so I can fix the wiki; >>> >>> <snip> >>> >>> git clone git://github.com/hollie/misterhouse.git <http://github.com/hollie/misterhouse.git> >>> cd misterhouse >>> git checkout master >>> git checkout -b re_adding_occupied_mode_demo >>> >>> # copied the old example into code/examples >>> >>> git stage code/examples/occupied_mode_demo.pl <http://occupied_mode_demo.pl/> >>> git status >>> On branch re_adding_occupied_mode_demo >>> Changes to be committed: >>> (use "git reset HEAD <file>..." to unstage) >>> >>> new file: code/examples/occupied_mode_demo.pl <http://occupied_mode_demo.pl/> >>> >>> git add code/examples/occupied_mode_demo.pl <http://occupied_mode_demo.pl/> >>> git commit -m "Re adding occupied_mode_demo.pl <http://occupied_mode_demo.pl/>" >>> [re_adding_occupied_mode_demo 2ab4b274] Re adding occupied_mode_demo.pl <http://occupied_mode_demo.pl/> >>> 1 file changed, 119 insertions(+) >>> create mode 100644 code/examples/occupied_mode_demo.pl <http://occupied_mode_demo.pl/> >>> git push origin re_adding_occupied_mode_demo >>> fatal: remote error: >>> You can't push to git://github.com/hollie/misterhouse.git <http://github.com/hollie/misterhouse.git> >>> Use https://github.com/hollie/misterhouse.git <https://github.com/hollie/misterhouse.git> >>> </snip> >>> >>> Thanks >>> >>> Giles >>> >> ________________________________________________________ >> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >> >> >> >> -- >> Best regards, >> Steve Switzer >> >> --- >> Get world-class business I.T. services and a phone system with awesome features that won't challenge your budget! >> http://www.sbsROC.com <http://www.sbsroc.com/> >> >> >> ________________________________________________________ >> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >> > > > -- > Best regards, > Steve Switzer > > --- > Get world-class business I.T. services and a phone system with awesome features that won't challenge your budget! > http://www.sbsROC.com <http://www.sbsroc.com/>________________________________________________________ > To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users > ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users