summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rh-bkr: make ip_gre module non fatal during buildvb/non_fatal_modprobeVladimír Beneš2020-12-011-0/+2
| | | | | Copr environment doesn't have ip_gre module which is in fact not needed as if missing tests are skipped anyway.
* find-backports: fix selecting backport candidates in find-backportsThomas Haller2020-08-141-3/+9
| | | | | Due to a bug we would wrongly skip over patches that should be backported. Fix it.
* find-backports: add new find-backports scripts in PythonThomas Haller2020-08-051-0/+328
| | | | | | | The existing find-backports.sh script seems to not work well. For example, it does not include fixes for patches that are in the common history of the current branch and upstream. This script is supposed to work better.
* build-from-source: install iproute-tcBeniamino Galvani2020-05-261-0/+1
|
* build-from-source: install firewalld-filesystemBeniamino Galvani2020-05-151-0/+1
| | | | https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/498
* build-from-source: introduce INSTALL_DEPENDENCIES env variableFernando Fernandez Mancera2020-05-041-54/+59
| | | | | | | | | | Environments like Copr cannot install the dependencies during the script execution. In order to solve this, this patch introduces "INSTALL_DEPENDENCIES" environment variable. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/490
* build-from-source: cleanup build-from-source.sh scriptThomas Haller2020-04-211-7/+12
|
* makerepo: add remote for dracut packageThomas Haller2020-03-121-0/+5
|
* makerepo: detect base-commit for ModemManager-1.10.8.tar.xzThomas Haller2020-03-101-0/+1
|
* makerepo: add upstream git repository for libnma projectThomas Haller2020-03-051-1/+3
|
* automation: fetch NetworkManager's gitlab repository and add refs from ↵Thomas Haller2019-10-031-14/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | merge-requests Fetch both from github and gitlab, and also fetch the references for the merge-requests/pull-requests. In practice is github just a mirror of gitlab, so seemingly it wouldn't make sense to fetch from there. However: - by adding github as a remote, we can preferably fetch from there. I think that is faster than our gitlab at freedesktop.org. Thank you, Microsoft! - pull requests against github are indeed not found in gitlab. We need to fetch all kinds of remote references, so that the referenced commits are in the git repository. Also, we need to fetch them under various name, so that these references are available to CI. For example, when someone opens a merge-request from their fork on gitlab/github, the commit is usually not not referenced by regular branches on gitlab/github. Hence, we couldn't schedule CI for those commit. Also fetch the special references for these. Also, don't use `timeout` to fetch the repository.
* automation: build packages in builder's home dirVladimír Beneš2019-09-271-1/+1
| | | | | | | When compiling on Fedora with 2GB large tmpfs there is not enough space for it. We need to switch to some larger partition. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/294
* automation: add mobile-broadband-provider-info-devel to build scriptVladimír Beneš2019-09-111-0/+1
|
* build-from-source: prefer python2 on RHEL 7Beniamino Galvani2019-06-071-5/+9
| | | | On RHEL 7.7 python3 is available but doesn't have gobject-introspection.
* build-from-source: enable randomization for unit-testsThomas Haller2019-05-171-0/+3
| | | | https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/125
* makerepo: fix detection of parent commit for glib2Thomas Haller2019-05-151-1/+1
|
* makerepo: adjust git URL for NetworkManagerThomas Haller2019-03-111-2/+2
|
* build-from-source: avoid failures when syncing the yum/dnf repositoriesThomas Haller2019-03-021-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't enable all repos. It fails with Fedora: + yum install 'perl(XML::Parser)' 'perl(YAML)' /usr/bin/dbus-launch ModemManager-glib-devel audit-libs-devel automake bluez-libs-devel dbus-devel dbus-glib-devel dbus-python dhclient gettext-devel git glib2-devel gnutls-devel gobject-introspection-devel gtk-doc intltool iptables jansson-devel libasan libcurl-devel libgudev1-devel libndp-devel libnl3-devel libpsl-devel libselinux-devel libsoup-devel libubsan libudev-devel libuuid-devel newt-devel nss-devel pkgconfig polkit-devel ppp-devel pygobject3-base python3 readline-devel rpm-build strace systemd teamd-devel vala-tools valgrind wireless-tools-devel '--enablerepo=*' --skip-broken -y Fedora 30 openh264 (From Cisco) - x86_64 195 B/s | 543 B 00:02 Fedora 30 openh264 (From Cisco) - x86_64 228 kB/s | 1.6 kB 00:00 Importing GPG key 0xCFC659B9: Userid : "Fedora (30) <fedora-30-primary@fedoraproject.org>" Fingerprint: F1D8 EC98 F241 AAF2 0DF6 9420 EF3C 111F CFC6 59B9 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-x86_64 Fedora 30 openh264 (From Cisco) - x86_64 1.7 kB/s | 5.1 kB 00:03 Fedora 30 openh264 (From Cisco) - x86_64 - Debu 206 B/s | 543 B 00:02 Fedora 30 openh264 (From Cisco) - x86_64 - Debu 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0xCFC659B9: Userid : "Fedora (30) <fedora-30-primary@fedoraproject.org>" Fingerprint: F1D8 EC98 F241 AAF2 0DF6 9420 EF3C 111F CFC6 59B9 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-x86_64 Fedora 30 openh264 (From Cisco) - x86_64 - Debu 446 B/s | 1.7 kB 00:03 Fedora Modular 30 - x86_64 - Debug 222 kB/s | 843 kB 00:03 Fedora Modular 30 - Source 44 kB/s | 145 kB 00:03 Fedora - Modular Rawhide - Developmental packag 157 kB/s | 661 kB 00:04 Fedora - Modular Rawhide - Debug 113 kB/s | 313 kB 00:02 Fedora - Modular Rawhide - Source 45 kB/s | 145 kB 00:03 Fedora - Rawhide - Developmental packages for t 211 kB/s | 1.2 MB 00:06 Failed to synchronize cache for repo 'rawhide' Error: Failed to synchronize cache for repo 'rawhide' Only enable "rhel-8-buildroot" on RHEL8. See-also: 72191bbeb2594c19e64d212bbbb0e3bf24f2c973
* rh-utils: accept version number as argument for find-backports.shThomas Haller2018-11-221-7/+42
| | | | | | | | | | | | | | | | | | | | find-backports.sh only works because we craft commit messages with necessary information. In particular the "Fixes" and cherry-picked-from messages. That means, it relies on our git history to maintained in a suitable manner so that the script can gather the necessary information. Likewise, we have a particular scheme how we do releases, how versions are numbered, how stable branches and release tags are called, etc. Exploit that, to allow for simpler calling convention for find-backports.sh script: $ contrib/rh-utils/find-backports.sh 1.14 will automatically complete to $ contrib/rh-utils/find-backports.sh 1.14.0 nm-1-14 master
* build-from-source: select python interpretor in build scriptThomas Haller2018-11-161-0/+9
| | | | | On rhel-8, python2 is available and in the path, but it doesn't actually work because required modules are missing.
* build-from-source: install intltool package for buildThomas Haller2018-11-161-0/+1
|
* build-from-source: combine multiple calls to yum-installThomas Haller2018-11-131-39/+35
| | | | | | | | - moves installing libubsan to the previous yum-install. Since we already pass --skip-broken, we don't need the "|| true". - also, sort the packages - also, combine "set" lines
* build-from-source: also (re)install noarch packagesThomas Haller2018-11-131-3/+3
| | | | | | | | | | | | | Fix installing also noarch packages. I think they were omitted wrongly before, and installing them now might break existing assumptions during CI (like, which packages are installed and which not). But since the script anyway didn't ensure which RPMs are installed prevoiusly, it was very likely that packages like NetworkManager-config-server was already installed. CI needs to always anticipate that such packages may be installed and act accordingly. Usually, this just means to explicitly overwrite the configuration snippets provided by these packages.
* build-from-source: fix installing RPM versions with double-digit version ↵Thomas Haller2018-11-131-1/+1
| | | | number 1.10+
* build-from-source: enable all repos and skip broken depsBeniamino Galvani2018-11-091-0/+1
| | | | | This is needed to build on RHEL8 where some packages are in the buildroot repo and not all dependencies are available.
* build-from-source: add gnutls-develBeniamino Galvani2018-11-091-0/+1
| | | | It is needed on RHEL8
* rh-utils: support multiple upstream refs for find-backports.shThomas Haller2018-10-231-52/+58
| | | | $ contrib/rh-utils/find-backports.sh 1.12.0 origin/nm-1-12 origin/master origin/nm-1-14
* makerepo: detect base-commit for ModemManager-1.6.10.tar.xzThomas Haller2018-10-011-0/+1
|
* build-from-source: fix build failure due to netconfig pathThomas Haller2018-09-141-1/+2
| | | | | | | | | | | | | | | | During the test build we enabled "--with-netconfig=yes". Since commit "5b36585a3d build/autotools: fail configure if netconfig/resolveconf tool is not found", when specifying "--with-netconfig=yes" the user is required to have netconfig installed (so that the path can be detected). Otherwise it fails with checking for netconfig... no configure: error: cannot find netconfig in path. Set the path explicitly via --with-netconfig=PATH. The correct way is to explicitly specify the path. In that case, it's OK that the file doesn't actually exist.
* Revert "build-from-source: skip test checking for gtk-doc issue"Thomas Haller2018-09-141-3/+0
| | | | | | | | In the final version which was merged, the check is non-fatal and has to be enabled explicitly to fail. See "aa8a7559a3 build: merge branch 'th/check-gtk-doc-behavior'". This reverts commit cd8b1cc2841a615df27da59cd62abc978ac34d27.
* build-from-source: skip test checking for gtk-doc issueThomas Haller2018-09-081-0/+3
| | | | | | | | | | | | | | | | For libnm, we use opaque types. gtk-doc has/had an issue parsing this code, and generates suboptimal documentation. There is a merge request against gtk-doc to address that [1]. However, there is also a `make check` test, which tries to determine whether gtk-doc is suitable [2]. When building for beaker, we don't need this check. Also, because likely beaker is not up to the task. [1] https://gitlab.gnome.org/GNOME/gtk-doc/merge_requests/2 [2] https://github.com/NetworkManager/NetworkManager/pull/196
* makerepo: adjust repository paths for gnome gitlab migrationThomas Haller2018-09-071-31/+24
|
* build-from-source: fix checking-out branches by name (2)Thomas Haller2018-04-231-1/+2
| | | | | | | | | | | | git doesn't like to fetch into a local branch which is currently checked out. $ git fetch origin --prune fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository We need to first checkout a plain commit (detached HEAD). Fixes: 2f67ac9eafde3f9979224ce6ce30de3d5f3e1862
* build-from-source: fix checking-out branches by nameThomas Haller2018-04-231-1/+2
| | | | | | | | | | | Without it, `git checkout -B nmbuild nm-1-10` will fail, because there is no local branch refs/heads/nm-1-10. Previously, it worked because there was (one) refs/remotes/origin/nm-1-10, so if we didn't specify "-B" option, git would create a remote-tracking local branch. Fix it, by fetching the remote branches as local branches. Fixes: 2f67ac9eafde3f9979224ce6ce30de3d5f3e1862
* build-from-source: also fetch refs for pull requests when buildingThomas Haller2018-04-221-1/+8
| | | | | | | | | | | When somebody creates a pull request against NetworkManager's github repository, the github repository itself usually doesn't have a branch that references the pull request. Hence, the commit will not be fetched by default and checking out the commit will fail. Also add and fetch the refs for the pull request.
* build-from-source: set $BUILD_SNAPSPOT to specify snapshot part of package ↵Thomas Haller2018-02-091-1/+3
| | | | | | | | version Makes use of the new --snapshot option for build_clean.sh, see 86a18b2df (contrib/rpm: make "snapshot" for package version configurable via script).
* build-from-source: install libasan and, if available, libubsanBeniamino Galvani2018-02-081-0/+5
| | | | They are needed for sanitizer builds.
* makerepo: fix detecting base-commit for network-manager-applet 1.8.6 releaseThomas Haller2017-11-081-0/+3
| | | | | When doing the release, the commit ID inside the tarball is not the one which released in the end. Hack around it in the script.
* build-from-source: install straceBeniamino Galvani2017-09-211-0/+1
| | | | It is needed when users select to run NM under strace.
* makerepo: fix detecting base-commit for libnl 3.4.0-rc1 releaseThomas Haller2017-09-201-0/+3
| | | | | When doing the release, I messed up and the commit ID inside the tarball is not the one which released in the end. Hack around it in the script.
* build-from-source: support building --with sanitizer and explicitly disable ↵Thomas Haller2017-05-241-0/+8
| | | | | | | | | | debug When not specifying --with/--without debug, the default depends on the version number. Hence, we should always explicitly enable or disable the debug flag. Also, add support for --with sanitizer.
* makerepo: add git repository for glib2 branchThomas Haller2017-05-111-0/+6
|
* build-from-source: install libcurl and libpsl packagesBeniamino Galvani2017-03-241-0/+2
|
* build-from-source: print hash of commit being builtBeniamino Galvani2017-03-091-1/+1
| | | | Makes easier to analyze logs and troubleshoot failures.
* build-from-source: git clone two times via different waysVladimir Benes2017-02-241-1/+6
|
* makerepo: add git repository for NetworkManager-openconnect packageThomas Haller2017-02-241-0/+3
|
* makerepo: add support for gnome-control-center (control-center) packageThomas Haller2017-02-221-0/+6
|
* automation: clone from github instead of anongit.freedesktop.orgVladimir Benes2017-02-141-1/+1
| | | | | | | It looks that freedesktop blocks our git clone requests from time to time. Github should handle more loads. https://github.com/NetworkManager/NetworkManager/pull/13
* makerepo: handle new SHA512 sources to detect build-directoryThomas Haller2016-12-121-1/+1
|
* makerepo: don't imply --local by --distThomas Haller2016-10-311-1/+0
|