-
Notifications
You must be signed in to change notification settings - Fork 5
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
BSRD-806: Get back the submodule task #56
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
List submodules paths which can be directly used to directly copy-paste the addons paths in the Dockerfile. The order depends of the order in the .gitmodules file. --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
* One to generate a pending-merges branch and push it * One to list the closed pull requests --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
based on the exclude branches principle of Travis --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
* [MOV] Move pending-merges file to the root CHANGELOG * rename `odoo/pending-merges.yaml` to `pending-merges.yml` * update references to it * provide a task to run on projects yet to migrate --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
This reverts commit 9949a5d. --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
…21)" This reverts commit 97ea914. --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
BS-73 Add invoke tasks to handle submodules --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
Uniquify {xml|python}_impact_modules lists to not print N times matching modules. --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
* Use image 3.0.0 in normal flavor * Adapt to new directory structure --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
[ADD] git-autoshare support --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
* release.bump add clipboard of version * Improve error message for tasks python dependencies --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
Changelog: * Split `pending-merges.yaml` file per submodule namely, provide a task that splits `odoo/pending-merges.yaml` per module and stores those parts in `pending-merges.d/` directory * Implement invoke tasks to add/remove a particular pending merge * Adapt stuff used to rely on `odoo/pending-merges.yaml` to new arch Impact (tasks): - submodule.merges - release.push-branches [IMP] s/raw_input/input [REF] Extract submodule path builders to common.py [FIX] Use absolute filename for a path [IMP] Rewrite pending merges regenerator Uppercase OCA remote name when deprecating pending-merges.yaml submodule.add-pending is designed to accept PR URL, which often contains uppercase `OCA` repo name, so that's done in order to avoid normalizing remote name every time a merge is added/removed. [IMP] Rewrite `submodule.add-pending` [REF] Globalize `yaml` variable since it is used quite extensively here [IMP] Rewrite `submodule.remove-pending` * Handle GH's 404/403 on pending-add --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
* remove trailing whitespaces and end-of-file * fix some flake8 errors --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
The tasks now search for existing cached git history locally configured with git-autoshare. Saving time and disk space. --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
This reverts commit d2d9ef6. Date on copyright should match the source file and oldest year must be kept. --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
When we run the task to add pull requests in a submodule (submodule.merges), it adds a commit to exclude travis builds. If pre-commit is installed in the repository, it will be run during the invoke task. Use --no-verify to ignore it. --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
Replace yaml.load(input) by yaml.safe_load(input) --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
When using for cherry-pick remotes must be fetched before creating When cloning a project locally all remotes won't be up to date Thus regenerating submodule could end up broken --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
Upgrade pre-commit-hooks to v3.2.0 --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
git symbolic-ref returns the name of the branch, but during a rebase, there is no current branch, so it fails. We can find the name of the branch during a rebase in the .git files (.git/rebase-merge or .git/rebase-apply). --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
Support rebuild of submodule during rebase/interactive rebase --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
Improves task `submodule.list-external-dependencies-installed' Also adds the task `module.where-is` --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
--------- This commit has been extracted from https://github.com/camptocamp/odoo-template
…ymore needing it --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
Besides it being faster, we're also making it stricter --------- This commit has been extracted from https://github.com/camptocamp/odoo-template
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://camptocamp.atlassian.net/browse/BSRD-806
Note
Commits have been ported from odoo-template
TODO:
submodule.py
from odoo-template's tasks