Skip to content

feat: allow numbers in partition names and namespaces#790

Merged
mr-cal merged 3 commits intomainfrom
work/CRAFT-3043/partition-names
Aug 1, 2024
Merged

feat: allow numbers in partition names and namespaces#790
mr-cal merged 3 commits intomainfrom
work/CRAFT-3043/partition-names

Conversation

@mr-cal
Copy link
Collaborator

@mr-cal mr-cal commented Jul 30, 2024

  • Have you signed the CLA?

Allow hyphens in partitions, partition namespaces, and namespaced partitions.

Unblocks LP#2069783
(CRAFT-3043)

@mr-cal mr-cal force-pushed the work/CRAFT-3043/partition-names branch 2 times, most recently from 26d9df7 to cc66eeb Compare July 30, 2024 19:35
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
@mr-cal mr-cal force-pushed the work/CRAFT-3043/partition-names branch from cc66eeb to a93be33 Compare July 30, 2024 19:36
@mr-cal mr-cal requested review from cmatsuoka and mattculler July 30, 2024 20:49
Copy link
Contributor

@mattculler mattculler left a comment

Choose a reason for hiding this comment

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

Nice. This will be a good one for me to look back at when I add support for hyphens in the partition names, though that change will also have to check for environment variable collisions.

@mr-cal mr-cal requested a review from lengau July 31, 2024 20:34
@mr-cal
Copy link
Collaborator Author

mr-cal commented Jul 31, 2024

Nice. This will be a good one for me to look back at when I add support for hyphens in the partition names, though that change will also have to check for environment variable collisions.

I made an issue and referenced it in the code so we don't foget about it: #789, https://github.com/canonical/craft-parts/pull/790/files#diff-419889a2643383d0b091576acef698b735583eccd40f18ea2eb10298c7fd524bR133

@mattculler
Copy link
Contributor

Nice. This will be a good one for me to look back at when I add support for hyphens in the partition names, though that change will also have to check for environment variable collisions.

I made an issue and referenced it in the code so we don't foget about it: #789, https://github.com/canonical/craft-parts/pull/790/files#diff-419889a2643383d0b091576acef698b735583eccd40f18ea2eb10298c7fd524bR133

You are the man!

Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
@mr-cal mr-cal merged commit b212893 into main Aug 1, 2024
@mr-cal mr-cal deleted the work/CRAFT-3043/partition-names branch August 1, 2024 14:15
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