Merge branch 'update-docs' into 'main'
Update docs after dev branch got deleted See merge request mx-moment/moment!20
This commit is contained in:
commit
281416d555
|
@ -33,27 +33,19 @@ For changes outside of simple bug/typo/formatting fixes, it is strongly
|
|||
recommended to first discuss your ideas in a related issue or in
|
||||
[#moment-client:matrix.org](https://matrix.to/#/%23moment-client:matrix.org).
|
||||
|
||||
New changes are merged to the
|
||||
[`dev` branch](https://gitlab.com/mx-moment/moment/-/tree/dev) first.
|
||||
Once a new version of the application is released,
|
||||
the current `dev` is merged into the main `main` branch.
|
||||
|
||||
By sending your changes, you agree to license them under the LGPL 3.0 or later.
|
||||
|
||||
### Procedure
|
||||
|
||||
Start by forking the main repository from GitLab, then
|
||||
clone your fork and switch to a new branch based on `dev`, in which
|
||||
you will make your changes:
|
||||
clone your fork where you will make your changes:
|
||||
|
||||
```sh
|
||||
git clone --recursive https://gitlab.com/yourUsername/moment
|
||||
cd moment
|
||||
git remote add upstream https://gitlab.com/mx-moment/moment
|
||||
git fetch upstream
|
||||
git checkout upstream/dev
|
||||
git branch example-branch-name
|
||||
git checkout example-branch-name
|
||||
git checkout -b example-branch-name
|
||||
```
|
||||
|
||||
Test and commit your changes according to the
|
||||
|
@ -61,18 +53,18 @@ Test and commit your changes according to the
|
|||
You will then be able to make a pull request by going
|
||||
to the [main repo](https://gitlab.com/mx-moment/moment).
|
||||
|
||||
Once your pull request is merged, you can update `dev`, and delete your
|
||||
Once your pull request is merged, you can update `main`, and delete your
|
||||
GitLab and local branch:
|
||||
|
||||
```sh
|
||||
git fetch upstream
|
||||
git checkout upstream/dev
|
||||
git checkout upstream/main
|
||||
|
||||
git push -d origin example-branch-name
|
||||
git branch -d example-branch-name
|
||||
```
|
||||
|
||||
Make sure `dev` is up-to-date before creating new branches based on it.
|
||||
Make sure `main` is up-to-date before creating new branches based on it.
|
||||
|
||||
|
||||
## Commit Guidelines
|
||||
|
@ -250,7 +242,7 @@ implementation or side-effects.
|
|||
or if doing it in Python requires adding a dependency while a
|
||||
similar feature is already provided by Qt, feature that just needs to be
|
||||
exposed with some wrapper code
|
||||
([example](https://github.com/mirukana/mirage/blob/v0.6.4/src/utils.h#L31)).
|
||||
([example](https://gitlab.com/mx-moment/moment/blob/v0.6.4/src/utils.h#L31)).
|
||||
|
||||
- Be explicit, always use `this->` to refer to methods and class attributes
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ so on the [Alpine Wiki](https://wiki.alpinelinux.org/wiki/Edge).
|
|||
|
||||
AUR packages for the
|
||||
[latest stable release](https://aur.archlinux.org/packages/moment/) and
|
||||
[git `dev` branch](https://aur.archlinux.org/packages/moment-git/) are
|
||||
[git `main` branch](https://aur.archlinux.org/packages/moment-git/) are
|
||||
available.
|
||||
|
||||
Installing the release version with an AUR helper, e.g.
|
||||
|
|
Loading…
Reference in New Issue
Block a user