Support package-specified Extension ID #11

Merged
Dalai Felinto merged 1 commits from dfelinto/extensions-website:handle-id-and-slugs into main 2024-01-26 16:26:32 +01:00
  • Update fake data
  • Migrate data-base (partially)

We check for two cases:

  • For new extensions, the extension_id has to be unique.
  • For new versions, the extension_id has to match.
  • Besides that we test for spaces and hyphens (both not allowed).

Note, the migration of the existing data-base is not 100% because it is
not worth spending time on it. We should flatten out the migration and
reset everyone's fake data soon.

* Update fake data * Migrate data-base (partially) We check for two cases: * For new extensions, the extension_id has to be unique. * For new versions, the extension_id has to match. * Besides that we test for spaces and hyphens (both not allowed). Note, the migration of the existing data-base is not 100% because it is not worth spending time on it. We should flatten out the migration and reset everyone's fake data soon.
Dalai Felinto requested review from Francesco Siddi 2024-01-25 17:33:15 +01:00
Francesco Siddi requested changes 2024-01-26 12:51:29 +01:00
@ -30,1 +32,4 @@
)
class ExtensionIDManifestValidator:

Maybe add a plain-text summary of what the validation is meant to accomplish.

Maybe add a plain-text summary of what the validation is meant to accomplish.
Author
Owner

Done, there was an oversight on a unittest which is now addressed as well.

Done, there was an oversight on a unittest which is now addressed as well.
dfelinto marked this conversation as resolved
Dalai Felinto changed title from Support package-specified Extension ID to WIP: Support package-specified Extension ID 2024-01-26 15:23:46 +01:00
Dalai Felinto force-pushed handle-id-and-slugs from 67ce3e7114 to a22f4f00b3 2024-01-26 15:30:27 +01:00 Compare
Dalai Felinto changed title from WIP: Support package-specified Extension ID to Support package-specified Extension ID 2024-01-26 15:32:08 +01:00
Francesco Siddi approved these changes 2024-01-26 15:39:59 +01:00
Dalai Felinto force-pushed handle-id-and-slugs from a22f4f00b3 to ee584c559a 2024-01-26 16:26:08 +01:00 Compare
Dalai Felinto merged commit ee584c559a into main 2024-01-26 16:26:32 +01:00
Dalai Felinto deleted branch handle-id-and-slugs 2024-01-26 16:26:32 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/extensions-website#11
No description provided.