-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Git clone and push #114
base: master
Are you sure you want to change the base?
Conversation
Here is the procedure
|
@AlbertDeFusco is there a specific reason why |
nope, but it will need to be run again when the token expires. I'll update the PR |
How will the user experience token expiration? I wonder if there's a different hook we can offer that at least gives the user a heads-up. |
Looking at your code it seems to me that install-prepush is independent of the token, and it's unclear why it would ever need to be run again. Hence it could be merged into clone and left there. But then we'd need, say, a |
Yes, that would be better. git-push would then ask for the ae5 password on each call. We could store the offline token, which has a much longer (or infinite) expiration and make the exchange/refresh during git-push and it wouldn't ask for the password |
Curious about the offline token. I'm wondering if we can generate those, either with ae5-tools or with some other process, for use in (say) CI/CD. |
exactly! I've made some progress on this and can report soon |
verified on MacOSX
support mutliple tags
this avoids asking for passwords on refresh
ae 5.5.x uses internal urls
72b0fd9
to
be94b27
Compare
Once completed this will allow a user to run
ae5 project clone
(clone the project locally)ae5 git install-prepush
(configure pre-push hook to automate tag inspection and metadata posting)ae5 post revision-metadata
(intended to be called by the pre-push hook above