From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: isar-users@googlegroups.com
Subject: Re: [PATCH] isar: Update CONTRIBUTING
Date: Wed, 3 Apr 2019 20:37:30 +0200 [thread overview]
Message-ID: <91ffb0cd-35c6-3af7-0c42-1196bf6c82be@ilbers.de> (raw)
In-Reply-To: <20190403100703.6990-1-mosipov@ilbers.de>
On 4/3/19 12:07 PM, Maxim Yu. Osipov wrote:
> This patch
> * adds CI tests launching procedure description
> * adds the section "Trunk based development guidelines"
> * updates maintainers contacts
Applied to the 'next'.
>
> Closes: #45
> Signed-off-by: Baurzhan Ismagulov <ibr@ilbers.de>
> Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
> ---
> CONTRIBUTING.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++------
> 1 file changed, 51 insertions(+), 6 deletions(-)
>
> diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
> index d520902..9ad6bf3 100644
> --- a/CONTRIBUTING.md
> +++ b/CONTRIBUTING.md
> @@ -21,6 +21,19 @@ All technical communication about Isar should take place on `isar-users`
> mailing list. Please be polite and respect opinions and contributions of
> others.
>
> +## Trunk based development guidelines
> +
> +We adapt trunk based development technique
> +
> +* `master` is the main development branch and not a stable release.
> +
> +* `next` is a branch for CI (Continous Integration), testing and early feedback.
> +
> +* `next` is sync'ed with `master` once in about two weeks (or more often whenever appropriate).
> +
> +If a major problem exists in `master`, it will be handled with priority.
> +If a major change has been recently merged into `next`, allow time to collect feedback and resolve issues.
> +Plan merges to `master` so that both fit the two-week window; short extensions should be an exception.
>
> ## Development
>
> @@ -64,6 +77,35 @@ others.
>
> * Seemingly unaffected boards still build.
>
> + * It's highly suggested to test your patchset before submitting it to the mailing
> + by launching CI tests scripts. The procedure is described below:
> +
> + First, run "fast" CI
> +```
> + scripts/ci_build.sh -q -f
> + ...
> + source isar-init-build-env
> + scripts/vm_smoke_test -f
> +```
> + Currently "fast" CI launches
> + * parallel cross build of QEMU arm/arm64/amd64 Debian stretch and Raspberry Pi 1 Raspbian stretch targets
> + * cross build of one of the supported boards which includes compilation of Linux kernel/U-Boot for it
> + * Launches login prompt check tests for built QEMU targets
> +
> + Second, run standard CI
> +```
> + scripts/ci_build.sh -q
> + ...
> + source isar-init-build-env
> + scripts/vm_smoke_test -q
> +```
> + Currently standard CI launches
> + * parallel native build of QEMU arm/arm64/i386/amd64 Debian stretch/buster and Raspberry Pi 1 Raspbian stretch targets
> + * Launches login prompt check tests for built QEMU targets
> +
> + Active developers may request from maintainers an account on isar-build.org
> + to analyze CI logs or to launch their own CI builds there.
> +
> 4. Structure patches logically, in small increments.
>
> * One separable fix / improvement / addition - one patch. Do not provide
> @@ -143,7 +185,7 @@ others.
>
> * Check with your employer when not working on your own.
>
> - * Base patches on top of the lastest master.
> + * Base patches on top of the latest 'next' branch
>
> * Every file should carry the copyright and licensing information:
>
> @@ -171,7 +213,7 @@ others.
>
> 1. Patches are reviewed on the mailing list.
>
> - * At least by maintainters, but everyone is invited, so the process can be
> + * At least by maintainers, but everyone is invited, so the process can be
> recurrent.
>
> * Feedback has to consider design, functionality and style.
> @@ -179,10 +221,13 @@ others.
> * Simpler and clearer code is preferred, even if the original code works
> fine.
>
> -2. After the review, patches are applied to the testing branch and CI checks
> - are executed.
> +2. After the review, patches are applied to the maintainers testing branch and
> + CI checks are executed.
> +
> +3. If CI tests are passed OK and no new comments have appeared,
> + the patches are merged into the `next` branch and later (normally in two weeks)
> + into `master`.
>
> -3. If no new comments have appeared, the patches are merged to master branch.
>
> GitHub facilities other than issues are not used for the review process, so
> that people can follow all changes and related discussions at one stop, the
> @@ -193,7 +238,7 @@ mailing list. This may change in the future.
>
> 1. Maintainers:
>
> - * Alexander Smirnov <asmirnov@ilbers.de>
> + * Maxim Yu. Osipov <mosipov@ilbers.de>
>
> * Baurzhan Ismagulov <ibr@ilbers.de>
>
>
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
prev parent reply other threads:[~2019-04-03 18:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-03 10:07 Maxim Yu. Osipov
2019-04-03 18:37 ` Maxim Yu. Osipov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91ffb0cd-35c6-3af7-0c42-1196bf6c82be@ilbers.de \
--to=mosipov@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox