Reconsider versioning scheme
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- release
Research direction
No files or tests are named. Start by reviewing how devtools-protocol currently derives and publishes 0.0. versions, then compare the proposed 1.0.0- format with SemVer. Done means the versioning approach is agreed and the related Puppeteer and Chrome for Testing version-tracking work can be removed or updated.
Written by the indexing model from the issue text.
Description
Currently, devtools-protocol is being versioned as 0.0.<revision>, e.g. 0.0.1134390. However, we’re increasingly moving to using Chrome version numbers as the source of truth rather than branch positions / revision numbers.
Can we reconsider versioning devtools-protocol as 1.0.0-<chrome-version>, e.g. 1.0.0-112.0.5615.137? This is valid per semver; it’s interpreted as a pre-release version.
> semver.valid('1.0.0-112.0.5615.137')
'1.0.0-112.0.5615.137'
Motivation: We currently have some extra code to track version numbers alongside revision IDs in both Puppeteer and the Chrome for Testing availability dashboard, for the sole purpose of figuring out which devtools-protocol version to bundle. It would be nice if we could get rid of that.
In addition to this technical reason, I’d argue that Chrome version numbers are more intuitive and recognizable than the arbitrary-looking revision IDs.
cc @OrKoN
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 291
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ChromeDevTools/devtools-protocol
-
Difficulty 4/5 1-2 days Newbie friendliness 3/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ChromeDevTools/devtools-protocol#311 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ChromeDevTools/devtools-protocol#244 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ChromeDevTools/devtools-protocol#233 · 4 comments ·
-
Keep track of URL changesMay be free again @hashseed claimed this 2266 days ago, and no pull request is open. Open
ChromeDevTools/devtools-protocol#224 · 4 comments · 1 reaction · 1 assignee ·
All issues in ChromeDevTools/devtools-protocol
Similar issues
-
[Feature]: Add Crawl Optimization setting to disable WordPress random content redirect (WP 7.2)Openenhancement featurerequest
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Yoast/wordpress-seo#23888 ·
Maintainers usually reply within 4 days
-
bug builder-vite hmr sev:S3
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
storybookjs/storybook#37965 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
area/docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
aws-samples/sample-collaborative-ai-dlc#996 ·
Maintainers usually reply within 1 day
-
backlog
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
sagemathinc/sagebrush#3434 ·
Maintainers usually reply within 1 day
-
New tool: BioFigurePossibly taken @github-actions claimed this today. Opensubmission triage
Difficulty 1/5 Under an hour Newbie friendliness 70/100
kausalflow/tools#386 · 1 comment ·
Maintainers usually reply within 1 day