-
Notifications
You must be signed in to change notification settings - Fork 0
Parse git commits and provide to step scripts as input #77
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
base: alpha
Are you sure you want to change the base?
Conversation
To make writing step scripts easier, provide more parsed details for a git commit. Previously it only had the title and date and hash. Now it has much, much more information.
makes writing scripts more convenient. Less of a chance you need to write git commands on your own.
we removed the feature to commit files after you run your deploy script but forgot to modify this script.
decafRunning deployments in test mode. Results will appear below. ...🟩 merge 🟩 merge method... 🚢 The next version of the project will be: 1.0.0-alpha.15 Learn moreLatest release: 1.0.0-alpha.14 Commit of latest release: cff47bb Commits since last release: - Merge pull request #77 from parse-commits - TEMP re-run the timing test for parsing commits - feat: for performance, you can filter the list of branches that are parsed and provided as input to steps I did some performance testing with a couple repositories, big and small, and found that the default behavior of Parsing every command in every branch of the repository for some projects indeed would take just way too long. So this is a feature that allows you to filter the branches for big projects to still be able to use this tool. in my get latest release step script, I expect to see "latest" branch. but it's not showing up. That's because when I run my git module function for getting all local branches, it only gets list of branches that exist locally but "git fetch" doesn't create local branches. So modified the code to get remote and also local branches. its currently broken. turned on just to debug during testing I realized that pipe characters are common to put into commit messages and it broke the code. we removed the feature to commit files after you run your deploy script but forgot to modify this script. makes writing scripts more convenient. Less of a chance you need to write git commands on your own. To make writing step scripts easier, provide more parsed details for a git commit. Previously it only had the title and date and hash. Now it has much, much more information. I did some performance testing with a couple repositories, big and small, and found that the default behavior of Parsing every command in every branch of the repository for some projects indeed would take just way too long. So this is a feature that allows you to filter the branches for big projects to still be able to use this tool. in my get latest release step script, I expect to see "latest" branch. but it's not showing up. That's because when I run my git module function for getting all local branches, it only gets list of branches that exist locally but "git fetch" doesn't create local branches. So modified the code to get remote and also local branches. its currently broken. turned on just to debug during testing I realized that pipe characters are common to put into commit messages and it broke the code. we removed the feature to commit files after you run your deploy script but forgot to modify this script. makes writing scripts more convenient. Less of a chance you need to write git commands on your own. To make writing step scripts easier, provide more parsed details for a git commit. Previously it only had the title and date and hash. Now it has much, much more information. decafRunning deployments in test mode. Results will appear below. ...🟩 squash 🟩 merge method... 🌴 It will not trigger a deployment. No new version will be deployed. Learn moreLatest release: none, this is the first release. Commit of latest release: none, this is the first release. Commits since last release: - none decafRunning deployments in test mode. Results will appear below. ...🟩 rebase 🟩 merge method... 🚢 The next version of the project will be: 1.0.0-alpha.15 Learn moreLatest release: 1.0.0-alpha.14 Commit of latest release: cff47bb Commits since last release: - TEMP re-run the timing test for parsing commits - feat: for performance, you can filter the list of branches that are parsed and provided as input to steps I did some performance testing with a couple repositories, big and small, and found that the default behavior of Parsing every command in every branch of the repository for some projects indeed would take just way too long. So this is a feature that allows you to filter the branches for big projects to still be able to use this tool. in my get latest release step script, I expect to see "latest" branch. but it's not showing up. That's because when I run my git module function for getting all local branches, it only gets list of branches that exist locally but "git fetch" doesn't create local branches. So modified the code to get remote and also local branches. its currently broken. turned on just to debug during testing I realized that pipe characters are common to put into commit messages and it broke the code. we removed the feature to commit files after you run your deploy script but forgot to modify this script. makes writing scripts more convenient. Less of a chance you need to write git commands on your own. To make writing step scripts easier, provide more parsed details for a git commit. Previously it only had the title and date and hash. Now it has much, much more information. I did some performance testing with a couple repositories, big and small, and found that the default behavior of Parsing every command in every branch of the repository for some projects indeed would take just way too long. So this is a feature that allows you to filter the branches for big projects to still be able to use this tool. in my get latest release step script, I expect to see "latest" branch. but it's not showing up. That's because when I run my git module function for getting all local branches, it only gets list of branches that exist locally but "git fetch" doesn't create local branches. So modified the code to get remote and also local branches. its currently broken. turned on just to debug during testing I realized that pipe characters are common to put into commit messages and it broke the code. we removed the feature to commit files after you run your deploy script but forgot to modify this script. makes writing scripts more convenient. Less of a chance you need to write git commands on your own. To make writing step scripts easier, provide more parsed details for a git commit. Previously it only had the title and date and hash. Now it has much, much more information. |
…ably will not use during testing I realized that pipe characters are common to put into commit messages and it broke the code.
8c3dbac
to
7037fe6
Compare
its currently broken. turned on just to debug
in my get latest release step script, I expect to see "latest" branch. but it's not showing up. That's because when I run my git module function for getting all local branches, it only gets list of branches that exist locally but "git fetch" doesn't create local branches. So modified the code to get remote and also local branches.
Pull Request Test Coverage Report for Build 16749551714Details
💛 - Coveralls |
98f977a
to
8696306
Compare
8696306
to
0d521ab
Compare
…arsed and provided as input to steps I did some performance testing with a couple repositories, big and small, and found that the default behavior of Parsing every command in every branch of the repository for some projects indeed would take just way too long. So this is a feature that allows you to filter the branches for big projects to still be able to use this tool.
To make writing step scripts easier, provide more parsed details for a git commit. Previously it only had the title and date and hash. Now it has much, much more information.
Problem
When writing scripts, I noticed that I had to run git commands manually sometimes. I want to reduce the need to do that. So part of that is to parse git commits for you!
Solution
Testing
Notes for reviewers