Commit graph

61 commits

Author SHA1 Message Date
Bruno Lopes
a30fc5fb7b .gitlab: Update security template 2026-02-25 11:46:26 -03:00
Bruno Lopes
d8e0f2780c .gitlab: Remove .testing subdomain from URLs
The updated bug report pages were merged on master branch of WGO.
2026-02-25 10:59:09 -03:00
Bruno Lopes
21f88c1a72 .gitlab: Update performance template 2026-02-22 13:02:53 -03:00
Bruno Lopes
4a6dab23ca .gitlab: Update feature template
From https://gimp.org/bugs/report.html:

> Related to bug reports are enhancement requests. It is recommended to discuss enhancements with developers first, for instance on IRC or in the forums. This is to make sure that the enhancement requests that are filed are well-specified and aligned with the overall goals the developers have for GIMP.
2026-02-22 12:50:04 -03:00
Bruno Lopes
ee939f7d89 .gitlab: Detailed report instructions were moved to gimp-web
See: d2c4038abd

Our practice of writing everything on the template made the page on gimp-web
fall into oblivion. This was suboptiomal since the template got very big and
hard to read, with many reporters not filling it at all.

So, let's try to improve cleaning the template and directing them to gimp-web,
which have images and such that should clarify how to make good reports.
2026-02-22 12:28:23 -03:00
Bruno Lopes
a140c251cb gitlab-ci: Allow non-devs to run package pipelines from MR description
Following 6245e4ee

In addition to producing testable packages by adding certain labels
(which only developers can do), now we can produce such packages by
adding the same label in the issue description. This facilitates to
non-developers generating such packages (e.g. new GsoC contributors).
2026-01-30 18:16:44 -03:00
Jehan
f1bb3f4e74 .gitlab: let's ban AI-generated reports.
This is only wasting our time, which could be spent on actual bugs, not
imaginated ones.
2025-11-10 14:47:23 +01:00
Bruno Lopes
446f21d527
.gitlab: Update link to Image formats list page
See: Infrastructure/gimp-web-devel@d7e6312b
2025-10-16 11:00:38 -03:00
Bruno Lopes
ae32786a55
.gitlab: Mention Snap and MS Store packages on issue templates 2025-10-16 10:48:12 -03:00
Anders Jonsson
7cec3f52b9 .gitlab: fix template typo 2025-10-03 00:54:09 +02:00
Bruno Lopes
82cb3ae6fe
gitlab: Print filenames in meson_health 2025-09-22 16:02:24 -03:00
Bruno Lopes
1a7f673b7d
gitlab: Check gimp-data submodule too on meson-health job 2025-09-22 11:19:43 -03:00
Bruno Lopes
413114f9d0
gitlab: Print message when 'branches-check' job have no errors 2025-09-18 07:49:10 -03:00
Bruno Lopes
c2f0afb4bd
gitlab: Fix master exception on branches check 2025-09-17 22:38:24 -03:00
Bruno Lopes
b945d77ed7
gitlab: Do not check for master branch 2025-09-17 22:33:33 -03:00
Bruno Lopes
7c04605d14
gitlab: Add job to warn about "dead" branches
It is quite common for we developers (me included) to forget to
delete already merged branches. Let's fix this mess with a job.
2025-09-17 22:27:06 -03:00
Bruno Lopes
6245e4ee70
.gitlab: Add comment telling how to generate packages on MRs 2025-08-20 09:24:49 -03:00
Bruno Lopes
ae482fff97
.gitlab: Add one more rule to bug reports: "only one bug per report created" 2025-07-17 16:41:48 -03:00
Bruno Lopes
0a54dd48a0
.gitlab: Make issue templates consistent 2025-07-17 16:13:08 -03:00
Bruno Lopes
739633fb0c
.gitlab: Add template for Security Report
This should help us to have minimally useful reports about security.
2025-07-17 15:49:32 -03:00
Bruno Lopes
35b3cdf31c
gitlab: Update coding style URL pointing to gimp-web-devel 2025-06-20 18:50:16 -03:00
Bruno Lopes
c854ca5f45
gitlab: Don't allow clang-format to fail silently
It is not useful for code style debugging this way.
2025-06-20 18:49:27 -03:00
Bruno Lopes
aa10583576
gitlab: Add soft check against bashisms
Even .sh (Unix) scripts being "forbidden" by us on Meson to
allowing GIMP being 100% natively built on Windows, it is a
good pratice anyway .sh being portable even outside Meson.
2025-06-19 11:31:43 -03:00
Bruno Lopes
f4b2c99a5d
gitlab: Refine meson-health failure catching
- Add backslash to avoid dots being treated as wildcards by grep
- Do not allow search-common-ancestor to fail silently anymore
2025-06-17 21:13:32 -03:00
Bruno Lopes
fd47161215
gitlab, build, tools: Port bashisms to POSIX-compliant code
Although these scripts are not called by Meson, portability outside the
build system is always welcome (specially on macOS or non-GNU OSes).
2025-06-16 22:06:06 -03:00
Bruno Lopes
7ead87df1e
gitlab-ci: Mention 'Image File Formats' page on feature.md
This should make file format requests less "noisy" as Jehan describes them.
2025-05-07 13:59:59 -03:00
Bruno Lopes
8fb6d64415
gitlab: In the screenshots text on Default.md, suggest full screenshots
We waste a lot of time requesting this to reporters.
2025-04-30 11:45:45 -03:00
Bruno Lopes
9d78ba0845
gitlab: Make a bit more clear what is "GIMP version" on Default.md
Very often reporters were giving package info on gimp version.
2025-04-30 11:40:28 -03:00
Bruno Lopes
afd8d7c73e
gitlab: Mention gimp-ux repo on feature.md
I uppercased some words because the
Default.md template does this too so
seems to be legitimate and not rude.
2025-04-30 11:11:01 -03:00
Bruno Lopes
d164d713d7
gitlab: Check for platform-specific bins on .py files too
Since .py files are normally called by meson .build files.
2025-04-24 10:43:45 -03:00
Bruno Lopes
8ef096373f
gitlab: Check for 'diff' and 'cmp' on meson-health job 2025-04-24 10:28:49 -03:00
Bruno Lopes
3dca11596b
gitlab-ci: Prevent build system from becoming Windows-centric too
Following: 89dfd0161a

Even if some script/tool is common on Windows, it's not wise to
use Win-specific things on Meson if they are avaiable on Python,
since that non-Python code will be too hard to mantain without the
Windows maintainer. So, let's make life easier for non-Win devs.
2025-04-23 10:22:16 -03:00
Bruno Lopes
89dfd0161a
gitlab-ci: Add Meson linter job to prevent performance degradation
Meson broadly uses one of the few languages that it is available on
all platforms so let's take advantage of it on internal scripts.

This way, we have only one build language to care (aside Perl, which
have its own purpose) and avoid terrible bugs like: #11385.
2025-04-23 10:15:07 -03:00
Bruno Lopes
00ab5e3a19
.gitlab: Move cp-plug-in-subfolder.py to build/meson
It is not a CI-specific file.
2025-04-18 13:36:31 -03:00
Jehan
a705e0fec3 .gitlab: update default templates.
Adding some excerpt from our Code of Conduct to be "Considerate and
Respectful". Negative emotions are only making things worse and make
some contributors not even want to interact anymore with some reports.

Also in our MR template, add the mention that we don't want anything
AI-generated in or even anywhere near our project.

Both these topics are things which were recently discussed within the
team (mostly on IRC).
2025-03-22 23:04:07 +01:00
James Addison
f1ee6bf1ab .gitlab: omit Container Registry note in Merge Request template 2025-01-28 10:15:09 +00:00
Jehan
ffee5cc98e gitlab: ask about display system on Linux in our default bug report template. 2024-11-15 12:32:10 +09:00
Bruno
04a9771c9c gitlab: Comment 'Contribution guidelines' in MR template
This is inline with our pratice in issue templates and it is welcome because
contributors who are subscribed to MRs can be annoyed by generic descs.
2024-06-21 15:06:29 +00:00
Michael Schumacher
aff33e2d18 gitlab: Add url to the Duplicate candidate report search for both open and closed reports.
This may help to reduce the number of duplicate reports we get about some (temporarily) frequently reported issues, like the current crash
happening since GLib 2.79/2.80, or the crash happening with older GIMP versions on macOS Sonoma.

This won't be perfect because not everyone will use or read the template, or notice the url in it, or use the url to find and check the
reports, but I count on it getting more known than right now.
2024-05-05 22:48:05 +00:00
Bruno Lopes
c2d8d6c45c .gitlab: Improve Feature request template
* Makes the wording more concise and "first contributor-friendly"
+ Adds info about submitting patches
* Makes the explanation of use cases implicitly mandatory
+ Adds discuss info to facilitate the redation of use cases
2024-03-16 20:25:03 +00:00
lillolollo
90cd3de741 Set the bug template as default 2023-08-06 20:45:25 +00:00
lillolollo
87ed4842b4 Update link to the performance log instructions 2023-07-31 03:46:35 +00:00
Anders Jonsson
30319739ed .gitlab: update link in merge request template 2023-07-11 12:47:12 +00:00
Jehan
9e9fe1435a build, plug-ins, gitlab: make GIMP runnable from build directory without…
… being installed.

There is already most of the main code logic for this, though now plug-ins need
to be in their own subdirectories, which breaks for plug-ins/common/ and
plug-ins/python/, while I needed plug-ins in both these categories to generate
the Windows installer welcome images (file-png, and python-fu-eval in
particular).

Once again, meson was not very helpful, since all its functions still refuse to
output generated files in subdirectories, so I end up duplicating plug-in files
with a custom Python script.

This should fix the CI. It was working on my machine as GIMP was installed, but
such a build rule should work even without GIMP installed.
This will also be useful in the future when we'll want to run unit tests of
plug-ins through the finale GIMP binary itself.
2023-06-27 17:46:46 +02:00
Jehan
1e47c8916a .gitlab: search common git ancestor with mr-origin remote.
It looks like origin is the same as mr-origin when the contributor
pushes to one's branch. But when a reviewer rebases through the Gitlab
"Rebase" button on web GUI, I got a fatal error:

> fatal: ambiguous argument 'origin/asalle/use-dynamics-flag': unknown
  revision or path not in the working tree.

Possibly `origin` is then the remote of the person who rebased (it would
be weird, yet it's a fact the branch is not found). Let's go with this
assumption.
2022-01-19 22:22:40 +01:00
Asa
9385a6405a .gitlab-ci.yml: add clang-format rules and pipeline
Fixes #950

`.gitlab/search-common-ancestor.sh`'s original authors are
Philip Withnall and Frederic Martinsons.
(Jehan/reviewer's note: script further improved by Asalle)
2022-01-19 20:44:45 +00:00
Yash Pal Goyal
09bce474b1 Prettifications of the 3 issue templates 2021-02-15 09:52:30 +00:00
Jehan
a60d5fc2e0 gitlab: comment out bug reporting howto text.
Use the same syntax as was already in the bug template because some
people are still leaving out the howto text in the middle of their own
bug/feature description.
2020-12-08 15:43:41 +01:00
lillolollo
dce67b41f9 gitlab form - Do not show compilation tips 2020-11-06 20:30:29 +00:00
Jehan
9f385b287f gitlab: update Container Registry link.
Apparently the docs changed so the anchor is broken (and contributors
are confused). Also the docs now says that Container Registry is enabled
by default. I assume this must be a recent change which is not available
yet in GNOME's Gitlab instance. So we must ask people to do the opposite
of what the docs says.
2020-09-27 00:47:19 +02:00