diff options
Diffstat (limited to '')
-rw-r--r-- | .gitlab-ci.yml | 77 | ||||
-rw-r--r-- | .gitlab/Dockerfile | 14 | ||||
-rw-r--r-- | .gitlab/issue_templates/Bug.md | 44 | ||||
-rw-r--r-- | .gitlab/issue_templates/Default.md | 9 | ||||
-rw-r--r-- | .gitlab/issue_templates/Feature.md | 9 | ||||
-rw-r--r-- | .gitlab/issue_templates/Shortcoming.md | 31 |
6 files changed, 184 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..64e07df --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,77 @@ +include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml' + +variables: + GIT_SUBMODULE_STRATEGY: normal + +stages: + - image + - test + - deploy + +.vars-devel: + variables: + MANIFEST_PATH: "build-aux/flatpak/org.gnome.Nautilus.yml" + FLATPAK_MODULE: "nautilus" + RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo" + APP_ID: "org.gnome.NautilusDevel" + BUNDLE: "nautilus-dev.flatpak" + +flatpak@x86_64: + extends: ['.flatpak@x86_64', '.vars-devel'] + +flatpak@aarch64: + #don't build for every, MRs to save resources + only: + refs: + - 'master' + - 'main' + - $CI_DEFAULT_BRANCH + + extends: ['.flatpak@aarch64', '.vars-devel'] + +nightly@x86_64: + extends: '.publish_nightly' + needs: ['flatpak@x86_64'] + +nightly@aarch64: + extends: '.publish_nightly' + needs: ['flatpak@aarch64'] + +style check: + image: registry.gitlab.gnome.org/gnome/nautilus:latest + stage: test + artifacts: + name: 'Style check artifacts' + expose_as: 'Get style check diff here' + when: on_failure + paths: + - 'uncrustify.diff' + expire_in: 14 days + script: + - LANG=C.utf8 data/run-uncrustify.sh + - git diff --exit-code | tee uncrustify.diff + except: + - /^gnome-.*$/ + +update image: + variables: + STORAGE_DRIVER: vfs + BUILDAH_FORMAT: docker + BUILDAH_ISOLATION: chroot + image: registry.fedoraproject.org/fedora:latest + stage: image + script: + - dnf install -y buildah runc + - sed -i '/^mountopt =.*/d' /etc/containers/storage.conf + - buildah bud --tag $CI_REGISTRY_IMAGE -f .gitlab/Dockerfile + - buildah tag $CI_REGISTRY_IMAGE "$CI_REGISTRY_IMAGE:v$CI_JOB_ID" + - buildah login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY + - buildah push --creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD $CI_REGISTRY_IMAGE + - buildah push --creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD "$CI_REGISTRY_IMAGE:v$CI_JOB_ID" + when: manual + only: + - web + - master + except: + variables: + - $CI_PROJECT_NAMESPACE != "GNOME" diff --git a/.gitlab/Dockerfile b/.gitlab/Dockerfile new file mode 100644 index 0000000..f473ada --- /dev/null +++ b/.gitlab/Dockerfile @@ -0,0 +1,14 @@ +FROM fedora:latest + +RUN dnf install --nogpg -y dnf-plugins-core findutils git \ + && dnf builddep --nogpg -y uncrustify \ + && dnf clean all \ + && git clone --depth 1 https://github.com/uncrustify/uncrustify.git \ + && cd uncrustify \ + && mkdir build \ + && cd build \ + && cmake -DCMAKE_INSTALL_PREFIX=/usr .. \ + && make \ + && make install \ + && cd ../.. \ + && rm -rf uncrustify diff --git a/.gitlab/issue_templates/Bug.md b/.gitlab/issue_templates/Bug.md new file mode 100644 index 0000000..3f738e8 --- /dev/null +++ b/.gitlab/issue_templates/Bug.md @@ -0,0 +1,44 @@ +<!-- + Please test if the issue has already been fixed in the Nightly version. + + You can install the Nightly version in parallel with the regular version with these instructions: + + 1. Make sure that Flatpak is installed (see https://flatpak.org/setup ) + 2. Copy and run the following command in a Terminal: + + flatpak install --from https://nightly.gnome.org/repo/appstream/org.gnome.NautilusDevel.flatpakref + + 3) The Nightly version can now be launched from Activities, or with this command: flatpak run org.gnome.NautilusDevel +--> + +# Affected version +- Nightly flatpak: Yes / No / Can't test it because <!-- Delete the unwanted answers --> +- Other: <!-- Write the distribution you’re using and the version of the app. --> + +# Steps to reproduce +<!-- + Explain in detail the steps on how the issue can be reproduced. +--> +1. +2. +3. + +# Current behavior +<!-- Describe the current behavior. --> + + +# Expected behavior +<!-- Describe the expected behavior. --> + + +# Additional information +<!-- + Provide more information that could be relevant. + + If the issue is a crash, provide a stack trace following the steps in: + https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces +--> + + +<!-- Ignore the text under this line. --> +/label ~"1. Bug" diff --git a/.gitlab/issue_templates/Default.md b/.gitlab/issue_templates/Default.md new file mode 100644 index 0000000..43d4ca3 --- /dev/null +++ b/.gitlab/issue_templates/Default.md @@ -0,0 +1,9 @@ +# Welcome to the Files issue tracker! + +If you came here to report a bug with Files, please select the 'Bug' template under __Description__ above. + +If you want to request a feature, please start a discussion with your idea over at https://discourse.gnome.org/tag/nautilus. + +If you want to report a shortcoming, something that Files currently does not as good as you wish it would, select the 'Shortcoming' template under __Description__ above. + +If you need help regarding the usage or configuration of Files, or have a concern not covered by anything described here, please feel free to post about it at https://discourse.gnome.org/tag/nautilus. diff --git a/.gitlab/issue_templates/Feature.md b/.gitlab/issue_templates/Feature.md new file mode 100644 index 0000000..9542079 --- /dev/null +++ b/.gitlab/issue_templates/Feature.md @@ -0,0 +1,9 @@ +# Ideas for new features are welcome! + +Please share your feature ideas in our Discourse in order to discuss them with our community: + +https://discourse.gnome.org/tag/nautilus + +Quite some evaluation plus refinement has to happen between an idea and creating an actual and detailed plan for a potential implementation. We found that they develop into actionable issues best when they are discussed beforehand. + +However, if you've got this idea because of an existing problem in the application, please don't forget to report the bug or shortcoming using the respective template. diff --git a/.gitlab/issue_templates/Shortcoming.md b/.gitlab/issue_templates/Shortcoming.md new file mode 100644 index 0000000..cc0d557 --- /dev/null +++ b/.gitlab/issue_templates/Shortcoming.md @@ -0,0 +1,31 @@ +<!-- + Please test if the shortcoming is overcome in the Nightly version already + + You can install the Nightly version in parallel with the regular version with these instructions: + + 1. Make sure that Flatpak is installed (see https://flatpak.org/setup ) + 2. Copy and run the following command in a Terminal: + + flatpak install --from https://nightly.gnome.org/repo/appstream/org.gnome.NautilusDevel.flatpakref + + 3) The Nightly version can now be launched from Activities, or with this command: flatpak run org.gnome.NautilusDevel +--> + +# Affected version +- Nightly flatpak: Yes / No / Can't test it because <!-- Delete the unwanted answers --> +- Other: <!-- Write the distribution you’re using and the version of the app. --> + +### Use cases +<!-- Describe concrete situations in which this application isn't helpful enough. + Focus is on the end goal, not the means to get there. + Don't forget to mention any applicable requirements or constraints. + Examples from your daily usage are the most useful. --> + +### Available features and workarounds +<!-- How do you manage to achieve your goals with the current version of the application? --> + +### Difficulties and insufficiencies +<!-- Why is the current experience unsatisfying? --> + +### Suggested enhancements +<!-- Optionally . --> |