Details
-
Type: Task
-
Status: Testing To-Do (View Workflow)
-
Priority: Major
-
Resolution: Unresolved
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Fall 7 : 11 Nov to 22 Nov
Description
IGB App's must have Bundle-Version string that conforms to the following pattern:
MAJOR.MINOR.MICRO
where major is either 0 or a positive integer containing digits through 9, but not starting with 0.
Legal values include (for example):
- 100.1.0
- 0.1.10
- 0.0.1
- 0.0.0
- 10.1.900
Illegal values include (for example):
- 001.0.0
- 1.1.1-SNAPSHOT
- 1.1.1.SNAPSHOT
- 1.1.1.1
For this task, create and test bundles that use the above examples as Bundle-Version strings. Try uploading these to an App Store instance and make note of the behavior.
Background: When an user uploads an App, App Store extracts the MANIFEST.MF file from the App and determines the Bundle-Version from that. It uses a regular expression to extract the necessary version information.
Regexes are notoriously tricky and require deep understanding of their weird and complex syntax. We need to double-check that our understanding of the regex being used and how it is working.
See linked tickets.
This would be a super good place to introduce some unit tests into the project. I'm just sayin.
Attachments
Issue Links
- is blocked by
-
IGBF-2146 Fix: Can not submit any App
- Closed
1.1.1-SNAPSHOT is a valid version as per https://semver.org/.