Skip to content

Support multiple versions in required-flatpak metadata key - #3112

Closed
alexlarsson wants to merge 2 commits into
flatpak:masterfrom
alexlarsson:multi-version-requirements
Closed

alexlarsson wants to merge 2 commits into
flatpak:masterfrom
alexlarsson:multi-version-requirements

Conversation

@alexlarsson

Copy link
Copy Markdown
Member

Support a list of versions that are supported. This will be useful for e.g. the extra_data for extensions once that is backported to 1.2, because that will require it to say that it is supported for >= 1.2.5 in the 1.2 series and >= 1.4.2 otherwise.

This also adds some tests, including one to make sure we properly handle falling back to the first listed version in the old code. The test doing this check is commited before the new multi-version code and i ran that test before applying the next commit.

This sets required-flatpak in the metadata to some different versions
and ensure we're properly able or not able to install it.

Additionally it uses some options with multiple versions. This is not
yet supported but I want to test the existing code and make sure it
properly falls back to just using the first element of the list.
Support a list of versions that are supported. This will be useful
for e.g. the extra_data for extensions once that is backported to
1.2, because that will require it to say that it is supported for
> 1.2.5 in the 1.2 series and > 1.4.2 otherwise.
Comment thread common/flatpak-utils.c Resolved
@matthiasclasen

Copy link
Copy Markdown
Collaborator

Looks good to me

@alexlarsson

Copy link
Copy Markdown
Member Author

@rh-atomic-bot r+

@rh-atomic-bot

Copy link
Copy Markdown

📌 Commit 7d8e5f8 has been approved by alexlarsson

@rh-atomic-bot

Copy link
Copy Markdown

⌛ Testing commit 7d8e5f8 with merge 5026f01...

rh-atomic-bot pushed a commit that referenced this pull request Sep 18, 2019
Support a list of versions that are supported. This will be useful
for e.g. the extra_data for extensions once that is backported to
1.2, because that will require it to say that it is supported for
> 1.2.5 in the 1.2 series and > 1.4.2 otherwise.

Closes: #3112
Approved by: alexlarsson
@rh-atomic-bot

Copy link
Copy Markdown

☀️ Test successful - status-papr
Approved by: alexlarsson
Pushing 5026f01 to master...

alexlarsson added a commit to alexlarsson/flatpak that referenced this pull request Sep 18, 2019
This sets required-flatpak in the metadata to some different versions
and ensure we're properly able or not able to install it.

Additionally it uses some options with multiple versions. This is not
yet supported but I want to test the existing code and make sure it
properly falls back to just using the first element of the list.

Closes: flatpak#3112
Approved by: alexlarsson

(cherry picked from commit 6211730)
alexlarsson added a commit to alexlarsson/flatpak that referenced this pull request Sep 18, 2019
Support a list of versions that are supported. This will be useful
for e.g. the extra_data for extensions once that is backported to
1.2, because that will require it to say that it is supported for
> 1.2.5 in the 1.2 series and > 1.4.2 otherwise.

Closes: flatpak#3112
Approved by: alexlarsson

(cherry picked from commit 5026f01)
alexlarsson added a commit that referenced this pull request Sep 18, 2019
This sets required-flatpak in the metadata to some different versions
and ensure we're properly able or not able to install it.

Additionally it uses some options with multiple versions. This is not
yet supported but I want to test the existing code and make sure it
properly falls back to just using the first element of the list.

Closes: #3112
Approved by: alexlarsson

(cherry picked from commit 6211730)
alexlarsson added a commit that referenced this pull request Sep 18, 2019
Support a list of versions that are supported. This will be useful
for e.g. the extra_data for extensions once that is backported to
1.2, because that will require it to say that it is supported for
> 1.2.5 in the 1.2 series and > 1.4.2 otherwise.

Closes: #3112
Approved by: alexlarsson

(cherry picked from commit 5026f01)
alexlarsson added a commit to alexlarsson/flatpak that referenced this pull request Sep 19, 2019
This sets required-flatpak in the metadata to some different versions
and ensure we're properly able or not able to install it.

Additionally it uses some options with multiple versions. This is not
yet supported but I want to test the existing code and make sure it
properly falls back to just using the first element of the list.

Closes: flatpak#3112
Approved by: alexlarsson

(cherry picked from commit 6211730)
(cherry picked from commit 5db4631)
alexlarsson added a commit to alexlarsson/flatpak that referenced this pull request Sep 19, 2019
Support a list of versions that are supported. This will be useful
for e.g. the extra_data for extensions once that is backported to
1.2, because that will require it to say that it is supported for
> 1.2.5 in the 1.2 series and > 1.4.2 otherwise.

Closes: flatpak#3112
Approved by: alexlarsson

(cherry picked from commit 5026f01)
(cherry picked from commit 9bbe6fb)
rh-atomic-bot pushed a commit that referenced this pull request Sep 19, 2019
This sets required-flatpak in the metadata to some different versions
and ensure we're properly able or not able to install it.

Additionally it uses some options with multiple versions. This is not
yet supported but I want to test the existing code and make sure it
properly falls back to just using the first element of the list.

Closes: #3112
Approved by: alexlarsson

(cherry picked from commit 6211730)
(cherry picked from commit 5db4631)

Closes: #3115
Approved by: alexlarsson
rh-atomic-bot pushed a commit that referenced this pull request Sep 19, 2019
Support a list of versions that are supported. This will be useful
for e.g. the extra_data for extensions once that is backported to
1.2, because that will require it to say that it is supported for
> 1.2.5 in the 1.2 series and > 1.4.2 otherwise.

Closes: #3112
Approved by: alexlarsson

(cherry picked from commit 5026f01)
(cherry picked from commit 9bbe6fb)

Closes: #3115
Approved by: alexlarsson
alexlarsson added a commit to alexlarsson/flatpak that referenced this pull request Sep 19, 2019
This sets required-flatpak in the metadata to some different versions
and ensure we're properly able or not able to install it.

Additionally it uses some options with multiple versions. This is not
yet supported but I want to test the existing code and make sure it
properly falls back to just using the first element of the list.

Closes: flatpak#3112
Approved by: alexlarsson

(cherry picked from commit 6211730)
(cherry picked from commit 5db4631)

Closes: flatpak#3115
Approved by: alexlarsson

(cherry picked from commit cf13a14)
alexlarsson added a commit to alexlarsson/flatpak that referenced this pull request Sep 19, 2019
Support a list of versions that are supported. This will be useful
for e.g. the extra_data for extensions once that is backported to
1.2, because that will require it to say that it is supported for
> 1.2.5 in the 1.2 series and > 1.4.2 otherwise.

Closes: flatpak#3112
Approved by: alexlarsson

(cherry picked from commit 5026f01)
(cherry picked from commit 9bbe6fb)

Closes: flatpak#3115
Approved by: alexlarsson
rh-atomic-bot pushed a commit that referenced this pull request Sep 19, 2019
This sets required-flatpak in the metadata to some different versions
and ensure we're properly able or not able to install it.

Additionally it uses some options with multiple versions. This is not
yet supported but I want to test the existing code and make sure it
properly falls back to just using the first element of the list.

Closes: #3112
Approved by: alexlarsson

(cherry picked from commit 6211730)
(cherry picked from commit 5db4631)

Closes: #3115
Approved by: alexlarsson

(cherry picked from commit cf13a14)

Closes: #3117
Approved by: alexlarsson
rh-atomic-bot pushed a commit that referenced this pull request Sep 19, 2019
Support a list of versions that are supported. This will be useful
for e.g. the extra_data for extensions once that is backported to
1.2, because that will require it to say that it is supported for
> 1.2.5 in the 1.2 series and > 1.4.2 otherwise.

Closes: #3112
Approved by: alexlarsson

(cherry picked from commit 5026f01)
(cherry picked from commit 9bbe6fb)

Closes: #3115
Approved by: alexlarsson

Closes: #3117
Approved by: alexlarsson
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.

3 participants