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

Allow merging patches without commit. #3

Closed
wants to merge 1 commit into from

Conversation

ddufresne
Copy link
Contributor

No description provided.

@@ -136,7 +136,7 @@ def _move_modules(self, temp_repo, destination):

class Patch(object):

def __init__(self, url, branch, commit):
def __init__(self, url, branch, commit=None):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,
Quel est le scenario que tu cherches a couvrir avec le commit optionel?
J'aime bien le fait de forcer le commit pour pouvoir facilement reproduire et ca stabilise les builds.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est vrai, je ne suis pas certain également.

C'est dans le but de pointer sur un pull request d'un autre intégrateur. L'avantage, c'est que s'il y a un rebase, ça ne pette pas l'intallation.

Mais tu as raison. On devrait toujours freezer les patches.

commit=self.commit_rev,
patches=[
{
"url": "https://github.com/savoirfairelinux/l10n-canada",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mineur, je ne ferai pas reference a un repo sfl. Est ce qu'on pourrais avoir la meme chose avec un repo OCA?
sfl n'est pas assez stable pour être une réference dans un test :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c'est vrai ;)

@ddufresne
Copy link
Contributor Author

@foutoucour merci de ton avis, je vais fermer ce PR. Pas convaincu moi-même que ça vaut la peine.

Concernant le repo SFL, on arrangera ça plus tard.

@ddufresne ddufresne closed this Feb 26, 2018
@foutoucour foutoucour deleted the ddufresne_no_commit_patch branch February 26, 2018 19:49
@foutoucour
Copy link
Contributor

On peut se faire un script qui permet de rappatrier un répo vers numigi pour ce genre de cas.
git-aggregator peut nous servir pour ca.

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