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

[decoration] Backward compatibility #5261

Closed
wants to merge 1 commit into from
Closed

Conversation

pkriens
Copy link
Member

@pkriens pkriens commented May 24, 2022

The current decoration rewrite was not backward
compatible since it added literals for the -runbundles.

After some discussion we decided to add ++ for decorations
that add literals and a single + for the 6.2 behavior.

Since we use the decoration in our own build, this
patch first adds ++ syntax but both the single and double
plus will add literals.

After this works, we need to add test for the single +
(not adding literals) and replace our own use of decoration
to use double plusses where applicable.

Signed-off-by: Peter Kriens Peter.Kriens@aqute.biz

The current decoration rewrite was not backward
compatible since it added literals for the `-runbundles`.

After some discussion we decided to add `++` for decorations
that add literals and a single `+` for the 6.2 behavior.

Since we use the decoration in our own build, this
patch first adds `++` syntax but both the single and double
plus will add literals.

After this works, we need to add test for the single `+` 
(not adding literals) and replace our own use of decoration
to use double plusses where applicable.


Signed-off-by: Peter Kriens <Peter.Kriens@aqute.biz>
@pkriens pkriens requested a review from bjhargrave May 24, 2022 17:09
@pkriens
Copy link
Member Author

pkriens commented May 24, 2022

@bjhargrave feel free to take over this PR and adjust, I can finish stuff then tomorrow

@pkriens
Copy link
Member Author

pkriens commented May 24, 2022

@bjhargrave feel free to take over this PR and adjust, I can finish stuff then tomorrow

Reminds me of 1998! :-)

@bjhargrave
Copy link
Member

Closing this PR since you used your master branch and I did not want to push to it. So I opened a new PR #5262.

@bjhargrave bjhargrave closed this May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants