32
41
Fork
You've already forked website
52

add section about semantic version #185

Merged
Ghost merged 3 commits from :wip-doc into main 2023年03月17日 15:10:12 +01:00

Preview at https://forgejo.codeberg.page/@pull_185/docs/v1.19/user/semver/

@earl-warren @KaKi87 please push any modification you think relevant to this PR for a quicker turnaround, I agree in advance.

Preview at https://forgejo.codeberg.page/@pull_185/docs/v1.19/user/semver/ @earl-warren @KaKi87 please push any modification you think relevant to this PR for a quicker turnaround, I agree in advance.
add section about semantic version
All checks were successful
forgejo-ci/pr/woodpecker Pipeline was successful
233d2b0afc
Collaborator
Copy link
Preview ready: https://forgejo.codeberg.page/@pull_185/
@ -0,0 +2,4 @@
layout: '~/layouts/Markdown.astro'
title: Semantic version
license: 'CC-BY-SA-4.0'
---
Contributor
Copy link

Clarifying question: There is no original source you derive from in this specific case?

Clarifying question: There is no original source you derive from in this specific case?

No.

No.
Ghost marked this conversation as resolved
@ -0,0 +7,4 @@
[SemVer](https://semver.org/spec/v2.0.0.html) allows users to understand the scope of a software update at first glance, based on the following :
- the patch number is incremented when something is fixed ;
- the minor number is incremented when something is added ;
- the major number is incremented when something is moved or removed.
Contributor
Copy link

Not quite.

Patch is increased for backwards-compatible bugfixes.
Minor is increased for backwards-compatible new features.
Major is increased for breaking changes.

Not quite. Patch is increased for backwards-compatible bugfixes. Minor is increased for backwards-compatible new features. Major is increased for breaking changes.
Ghost marked this conversation as resolved
address Ryuno-Ki review comments
All checks were successful
forgejo-ci/pr/woodpecker Pipeline was successful
efd50b5f50
Typo
All checks were successful
forgejo-ci/pr/woodpecker Pipeline was successful
8ca2ef97c2
@ -0,0 +33,4 @@
```shell
$ curl https://code.forgejo.org/api/forgejo/v1/version
{"number":"3.0.0+0-gitea-1.19.0"}
Member
Copy link

As mentioned in forgejo/forgejo#460 (comment), the returned key shouldn't be number but version, just like /api/v1/version.

I'll change this Markdown file as soon as the change in the API is done, but I wouldn't know how to do the latter myself.

Thanks

As mentioned in [`forgejo/forgejo#460` (comment)](https://codeberg.org/forgejo/forgejo/pulls/460#issuecomment-821316), the returned key shouldn't be `number` but `version`, just like `/api/v1/version`. I'll change this Markdown file as soon as the change in the API is done, but I wouldn't know how to do the latter myself. Thanks
Contributor
Copy link

This is a cosmetic change?

This is a cosmetic change?
Member
Copy link

What do you mean ?

What do you mean ?

Is it a requirement? I'm not aware of a standard that requires the output of such an API endpoint to be a string or a dict with a specific key.

Is it a requirement? I'm not aware of a standard that requires the output of such an API endpoint to be a string or a dict with a specific key.
Member
Copy link

It isn't a requirement, but it's logical, isn't it ?

Most APIs do use version as key for a /version endpoint, so does Gitea's, and, in my opinion, so should ours.

It isn't a requirement, but it's logical, isn't it ? Most APIs do use `version` as key for a `/version` endpoint, so does Gitea's, and, in my opinion, so should ours.

Changing the key is a breaking change and it is too late for that kind of improvement for v1.19.

Can you open an issue to discuss this further?

Changing the key is a breaking change and it is too late for that kind of improvement for v1.19. Can you open an issue to discuss this further?
Member
Copy link

Okay.

[Okay](/forgejo/forgejo/issues/545).
Ghost marked this conversation as resolved

@KaKi87 do you approve of this pull request?

@KaKi87 do you approve of this pull request?
Member
Copy link

@KaKi87 do you approve of this pull request?

My opinion is that v3.0.0 shouldn't be released without changing the version endpoint's key.

Does that point factors in the approval ?

If yes, then no, I don't approve this PR.

If no, then yes, I do approve this PR.

> @KaKi87 do you approve of this pull request? My opinion is that v3.0.0 shouldn't be released without changing the version endpoint's key. Does that point factors in the approval ? If yes, then no, I don't approve this PR. If no, then yes, I do approve this PR.

@KaKi87 Ok, thanks for the feedback. This issue will be discussed in v1.20.

@KaKi87 Ok, thanks for the feedback. This issue will be discussed in v1.20.
Ghost deleted branch wip-doc 2023年03月17日 15:10:13 +01:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
404
Broken links or missing content
Accessibility
Accessibility
Blog post
Documentation
Forgejo Documentation
Internationalisation
i18n and l10n
User research - Accessibility
Requires input about accessibility features, likely involves user testing.
User research - Blocked
Do not pick as-is! We are happy if you can help, but please coordinate with ongoing redesign in this area.
User research - Community
Community features, such as discovering other people's work or otherwise feeling welcome on a Forgejo instance.
User research - Config (instance)
Instance-wide configuration, authentication and other admin-only needs.
User research - Errors
How to deal with errors in the application and write helpful error messages.
User research - Filters
How filter and search is being worked with.
User research - Future backlog
The issue might be inspiring for future design work.
User research - Git workflow
AGit, fork-based and new Git workflow, PR creation etc
User research - Labels
Active research about Labels
User research - Moderation
Moderation Featuers for Admins are undergoing active User Research
User research - Needs input
Use this label to let the User Research team know their input is requested.
User research - Notifications/Dashboard
Research on how users should know what to do next.
User research - Rendering
Text rendering, markup languages etc
User research - Repo creation
Active research about the New Repo dialog.
User research - Repo units
The repo sections, disabling them and the "Add more" button.
User research - Security
User research - Settings (in-app)
How to structure in-app settings in the future?
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
5 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
forgejo/website!185
Reference in a new issue
forgejo/website
No description provided.
Delete branch ":wip-doc"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?