ManderaGeneral / generalpackager

Tools to interface GitHub, PyPI, NPM and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for ManderaGeneral for now.
https://pypi.org/project/generalpackager/
Apache License 2.0
0 stars 0 forks source link

GitHub broke SSH #77

Closed Mandera closed 1 year ago

Mandera commented 1 year ago

Workflow is failing, probably need a new git ssh key pair

Mandera commented 1 year ago

https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/

So it seems my key pair is fine, the issue is their public key in .known_hosts in GitHub actions was still using the old one. Why couldn't they update that one for everyone instead of having everyone update it?

How do you even update it? I think it might be through webfactory/ssh-agent for me, they've got a commit here I'll read next: https://github.com/webfactory/ssh-agent/commit/d4b9b8ff72958532804b70bbe600ad43b36d5f2e

Mandera commented 1 year ago

Tried 0.7 as a comment in the ssh agent issue suggested, seems to work! Getting a new error.

Issue might be that the repo folders with the same names as the modules are in the cwd. Suggested by SO. Trying cd ..

Mandera commented 1 year ago

Putting repos into child folder worked!

All the prior ones resulted in ImportError: cannot import name 'Packager' from 'generalpackager' (unknown location)