From 4ae287ad138991ccd43bf369c4d7ba7940b3e646 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20B=C3=BCnzli?= Date: Mon, 17 Jul 2017 08:50:36 +0200 Subject: [PATCH 1/2] Add online package list URLs next to depexts in README. And reorder the list alphabetically. --- README.md | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index ad18d4f..dc98e4b 100644 --- a/README.md +++ b/README.md @@ -7,24 +7,26 @@ in their definitions). Currently supported depexts are: -* `homebrew` `osx` -* `macports` `osx` -* `debian` `linux` -* `ubuntu` `linux` -* `centos` `linux` -* `fedora` `linux` -* `rhel` `linux` -* `oraclelinux` `linux` -* `mageia` `linux` -* `alpine` `linux` -* `archlinux` `linux` -* `opensuse` `linux` -* `win32` `cygwin` -* `gentoo` -* `freebsd` -* `openbsd` -* `netbsd` -* `dragonfly` +| Depext | Online package list | +|------------------------|---------------------------------------------------------| +| `alpine` `linux` | https://pkgs.alpinelinux.org | +| `archlinux` `linux` | https://www.archlinux.org/packages/ | +| `centos` `linux` | http://centos-packages.com/ | +| `debian` `linux` | https://www.debian.org/distrib/packages#search_packages | +| `dragonfly` | | +| `fedora` `linux` | https://apps.fedoraproject.org/packages/ | +| `freebsd` | https://www.freebsd.org/ports/index.html | +| `gentoo` | https://packages.gentoo.org/ | +| `homebrew` `osx` | http://braumeister.org/ | +| `macports` `osx` | https://www.macports.org/ports.php | +| `mageia` `linux` | | +| `netbsd` | http://pkgsrc.se/ | +| `openbsd` | http://openports.se/ | +| `opensuse` `linux` | https://software.opensuse.org/find | +| `oraclelinux` `linux` | | +| `rhel` `linux` | | +| `ubuntu` `linux` | https://packages.ubuntu.com/ | +| `win32` `cygwin` | | This version runs as an OPAM plugin; it may help pave the way to some specification of the `depexts` field and give some basis for a real From e9ca3452f5938b6079e7b0a2952cfe9742f818d7 Mon Sep 17 00:00:00 2001 From: Jacques-Pascal Deplaix Date: Thu, 20 Jul 2017 10:30:16 +0200 Subject: [PATCH 2/2] Pass --non-interactive to zypper update. --- depext.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depext.ml b/depext.ml index 738a56e..a623df6 100644 --- a/depext.ml +++ b/depext.ml @@ -243,7 +243,7 @@ let update_command = function | Some `Alpine -> ["apk"; "update"] | Some `OpenSUSE -> - ["zypper"; "update"] + ["zypper"; "--non-interactive"; "update"] | _ -> ["echo"; "Skipping system update on this platform."] exception Signaled_or_stopped of string list * Unix.process_status