Skip to content
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

[Feature Request] Log of deploys to server (date, branch, commit, etc) #553

Closed
brunzino opened this issue Aug 16, 2017 · 3 comments
Closed
Labels

Comments

@brunzino
Copy link

Please don't judge our process, but I have encountered several times a need to remember which branch is on our staging server or which version, commit is on our production server. This could be solved by having a "deploy log" which gets added to after each deploy. I recognize Mina is version control agnostic, so this would probably be added of the mina/git module.

I'd be open to trying my hand at building this out, but I wanted to check with the community to see if anyone else has this need, get the blessing of the team before contributing, and ask for any feedback on the feature or implementation.

Thanks!

@zmckenzie
Copy link

I haven't used the newest version of mina yet, however on the old version you can look in the scm folder and there's a file called FETCH_HEAD that should have your latest commit hash along with the branch and repo.

@d4be4st
Copy link
Member

d4be4st commented Sep 8, 2017

there is a file current/.mina_git_revision which stores the current commit hash.
Is that what you are looking for?

But what you are suggestion is to have a deploy.log in deploy_to path that has all deploys logged?

@lovro-bikic lovro-bikic added this to the 1.3.0 milestone Aug 11, 2021
@lovro-bikic lovro-bikic removed this from the 1.3.0 milestone Aug 12, 2021
@lovro-bikic
Copy link
Member

Hey, thanks for the idea! Since there were other queries about this, I've opened a main issue (#679) where we'll define this feature in full.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants