CouchDB not installing on Ubuntu 18-04

@SK-CSE Any update on this?
Originally posted by @garethbowen in https://github.com/apache/couchdb/issues/1314#issuecomment-390552401

I solved it by doing this: sudo snap install couchdb
here are my results on a fresh install Ubuntu 18-04 (64 bit) I read a bunch of threads and all failed
$ cd ..
$ sudo apt-get install couchdb
[sudo] password for devicfm:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package couchdb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'couchdb' has no installation candidate
$ sudo apt search couchdb
Sorting... Done
Full Text Search... Done
couchapp/bionic 1.0.2+dfsg1-1 all
Standalone CouchDB Application Development Made Simple
libcatmandu-perl/bionic 1.0700-1 all
metadata toolkit
liblightcouch-java/bionic 0.0.6-1 all
LightCouch - CouchDB Java API
pd-purest-json/bionic 1.4.2-3 amd64
Pd library for working with JSON data and RESTful webservices
python-celery/bionic 4.1.0-2ubuntu1 all
async task/job queue based on message passing (Python2 version)
python-celery-common/bionic 4.1.0-2ubuntu1 all
async task/job queue based on message passing (common files)
python-celery-doc/bionic 4.1.0-2ubuntu1 all
async task/job queue based on message passing (Documentation)
python-couchdb/bionic 0.10-1.1 all
library for working with Apache CouchDB
python-couchdbkit/bionic 0.6.5-2 all
Trying to improve couchdb experience in Python
python-paisley/bionic 0.3.1-1 all
CouchDB client written in Python to be used within a Twisted application
python-restkit/bionic 4.2.2-2 all
Restkit is an HTTP resource kit for Python
python3-celery/bionic 4.1.0-2ubuntu1 all
async task/job queue based on message passing (Python3 version)
$ sudo apt install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
python3-netifaces
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 72 not upgraded.
Need to get 1,696 B of archives.
After this operation, 153 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 apt-transport-https all 1.6.12ubuntu0.2 [1,696 B]
Fetched 1,696 B in 0s (5,564 B/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 103449 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.12ubuntu0.2_all.deb ...
Unpacking apt-transport-https (1.6.12ubuntu0.2) ...
Setting up apt-transport-https (1.6.12ubuntu0.2) ...
$ sudo apt install couchdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package couchdb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'couchdb' has no installation candidate
$ sudo apt-get install couchdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package couchdb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'couchdb' has no installation candidate
$ sudo apt policy couchdb
couchdb:
Installed: (none)
Candidate: (none)
Version table:
$ curl -sSL https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -
OK
$ sudo apt-get install couchdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package couchdb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'couchdb' has no installation candidate
$ sudo apt install couchdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package couchdb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'couchdb' has no installation candidate
$ sudo rm /etc/apt/sources.list
$ sudo apt update
Ign:1 https://apache.bintray.com/couchdb-deb bionic InRelease
Get:2 https://apache.bintray.com/couchdb-deb bionic Release [1,840 B]
Get:3 https://apache.bintray.com/couchdb-deb bionic Release.gpg [821 B]
Get:4 https://apache.bintray.com/couchdb-deb bionic/main amd64 Packages [2,895 B]
Fetched 5,556 B in 1s (4,202 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
$ sudo apt-get install couchdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
couchdb : Depends: couch-libmozjs185-1.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ apt list --upgradable
Listing... Done
$ echo "deb https://apache.bintray.com/couchdb-deb bionic main"     | tee -a /etc/apt/sources.list.d/couchdb.list              tee: /etc/apt/sources.list.d/couchdb.list: Permission denied
deb https://apache.bintray.com/couchdb-deb bionic main
$ sudo echo "deb https://apache.bintray.com/couchdb-deb bionic main" | tee -a /etc/apt/sources.list.d/couchdb.list
tee: /etc/apt/sources.list.d/couchdb.list: Permission denied
deb https://apache.bintray.com/couchdb-deb bionic main
$ sudo echo "deb https://apache.bintray.com/couchdb-deb bionic main" | sudo tee -a /etc/apt/sources.list.d/couchdb.list
deb https://apache.bintray.com/couchdb-deb bionic main
$ sudo deb https://apache.bintray.com/couchdb-deb bionic main
sudo: deb: command not found
$ sudo echo "deb https://apache.bintray.com/couchdb-deb bionic main" | sudo tee -a /etc/apt/sources.list.d/couchdb.list deb https://apache.bintray.com/couchdb-deb bionic main
tee: 'https://apache.bintray.com/couchdb-deb': No such file or directory
deb https://apache.bintray.com/couchdb-deb bionic main
$ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8756C4F765C9AC3CB6B85D62379CE192D401AB61
Executing: /tmp/apt-key-gpghome.MNLmfoDGo6/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 8756C4F765C9AC3CB6B85D62379CE192D401AB61
gpg: keyserver receive failed: Connection timed out
$ sudo apt update
Ign:1 https://apache.bintray.com/couchdb-deb bionic InRelease
Get:2 https://apache.bintray.com/couchdb-deb bionic Release [1,840 B]
Fetched 1,840 B in 1s (2,249 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
$ sudo apt install -y couchdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
couchdb : Depends: couch-libmozjs185-1.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ sudo apt install -y couchdb couch-libmozjs185-1.0 curl krb5-locales libcurl4 libgssapi-krb5-2 libicu60 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libk5crypto3 is already the newest version (1.16-2ubuntu0.2).
libk5crypto3 set to manually installed.
libicu60 is already the newest version (60.2-3ubuntu3.1).
libicu60 set to manually installed.
curl is already the newest version (7.58.0-2ubuntu3.12).
curl set to manually installed.
libcurl4 is already the newest version (7.58.0-2ubuntu3.12).
libcurl4 set to manually installed.
libkrb5support0 is already the newest version (1.16-2ubuntu0.2).
libkrb5support0 set to manually installed.
libgssapi-krb5-2 is already the newest version (1.16-2ubuntu0.2).
libgssapi-krb5-2 set to manually installed.
krb5-locales is already the newest version (1.16-2ubuntu0.2).
krb5-locales set to manually installed.
libkrb5-3 is already the newest version (1.16-2ubuntu0.2).
libkrb5-3 set to manually installed.
libkeyutils1 is already the newest version (1.5.9-9.2ubuntu2).
libkeyutils1 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
couch-libmozjs185-1.0 : Depends: libnspr4 (>= 2:4.9-2~) but it is not installable
E: Unable to correct problems, you have held broken packages.
$ sudo apt install -y couchdb couch-libmozjs185-1.0 curl krb5-locales libcurl4 libgssapi-krb5-2 libicu60 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libnghttp2-14 libnspr4 libpsl5 librtmp1 publicsuffix
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libnspr4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libnspr4' has no installation candidate
$ sudo apt install -y couchdb couch-libmozjs185-1.0 curl krb5-locales libcurl4 libgssapi-krb5-2 libicu60 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libnghttp2-14 libpsl5 librtmp1 publicsuffix
Reading package lists... Done
Building dependency tree
Reading state information... Done
libk5crypto3 is already the newest version (1.16-2ubuntu0.2).
libk5crypto3 set to manually installed.
libicu60 is already the newest version (60.2-3ubuntu3.1).
libicu60 set to manually installed.
libnghttp2-14 is already the newest version (1.30.0-1ubuntu1).
libnghttp2-14 set to manually installed.
curl is already the newest version (7.58.0-2ubuntu3.12).
curl set to manually installed.
libpsl5 is already the newest version (0.19.1-5build1).
libpsl5 set to manually installed.
libcurl4 is already the newest version (7.58.0-2ubuntu3.12).
libcurl4 set to manually installed.
librtmp1 is already the newest version (2.4+20151223.gitfa8646d.1-1).
librtmp1 set to manually installed.
libkrb5support0 is already the newest version (1.16-2ubuntu0.2).
libkrb5support0 set to manually installed.
libgssapi-krb5-2 is already the newest version (1.16-2ubuntu0.2).
libgssapi-krb5-2 set to manually installed.
krb5-locales is already the newest version (1.16-2ubuntu0.2).
krb5-locales set to manually installed.
publicsuffix is already the newest version (20180223.1310-1).
publicsuffix set to manually installed.
libkrb5-3 is already the newest version (1.16-2ubuntu0.2).
libkrb5-3 set to manually installed.
libkeyutils1 is already the newest version (1.5.9-9.2ubuntu2).
libkeyutils1 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
couch-libmozjs185-1.0 : Depends: libnspr4 (>= 2:4.9-2~) but it is not installable
E: Unable to correct problems, you have held broken packages.
$ sudo apt search libnspr
Sorting... Done
Full Text Search... Done
$ sudo apt list libnspr
Listing... Done
$ sudo apt list libnspr4
Listing... Done
$ sudo apt search libnspr4
Sorting... Done
Full Text Search... Done
$ sudo apt install -y couchdb curl krb5-locales libcurl4 libgssapi-krb5-2 libicu60 libk5crypto3 libkeyutils1 libkrb5-3
Reading package lists... Done
Building dependency tree
Reading state information... Done
libk5crypto3 is already the newest version (1.16-2ubuntu0.2).
libk5crypto3 set to manually installed.
libicu60 is already the newest version (60.2-3ubuntu3.1).
libicu60 set to manually installed.
curl is already the newest version (7.58.0-2ubuntu3.12).
curl set to manually installed.
libcurl4 is already the newest version (7.58.0-2ubuntu3.12).
libcurl4 set to manually installed.
libgssapi-krb5-2 is already the newest version (1.16-2ubuntu0.2).
libgssapi-krb5-2 set to manually installed.
krb5-locales is already the newest version (1.16-2ubuntu0.2).
krb5-locales set to manually installed.
libkrb5-3 is already the newest version (1.16-2ubuntu0.2).
libkrb5-3 set to manually installed.
libkeyutils1 is already the newest version (1.5.9-9.2ubuntu2).
libkeyutils1 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
couchdb : Depends: couch-libmozjs185-1.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ sudo apt install -y couchdb curl krb5-locales libcurl4 libgssapi-krb5-2 libicu60 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libnghttp2-14 libnspr4 libpsl5 librtmp1 publicsuffix
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libnspr4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libnspr4' has no installation candidate
$ docker pull ubuntu:18.04
WARNING:root:could not open file '/etc/apt/sources.list'
Command 'docker' not found, but can be installed with:
sudo snap install docker     # version 19.03.13, or
sudo apt  install docker.io
See 'snap info docker' for additional versions.
$ sudo snap install docker
docker 19.03.13 from Canonical✓ installed
$ docker pull ubuntu:18.04
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/create?fromImage=ubuntu&tag=18.04: dial unix /var/run/docker.sock: connect: permission denied
$ sudo docker pull ubuntu:18.04
18.04: Pulling from library/ubuntu
92dc2a97ff99: Pull complete
be13a9d27eb8: Pull complete
c8299583700a: Pull complete
Digest: sha256:4bc3ae6596938cb0d9e5ac51a1152ec9dcac2a1c50829c74abd9c4361e321b26
Status: Downloaded newer image for ubuntu:18.04
docker.io/library/ubuntu:18.04
$ sudo docker run -it ubuntu:18.04 /bin/bash
root@5d305771d975:/# sudo apt update
bash: sudo: command not found
root@5d305771d975:/# upt update
bash: upt: command not found
root@5d305771d975:/# apt update
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [324 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1396 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1963 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [24.5 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2163 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [31.4 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [353 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2394 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB]
Fetched 22.0 MB in 3s (7071 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@5d305771d975:/# apt-get install -y apt-transport-https gnupg ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libasn1-8-heimdal libassuan0 libgssapi3-heimdal
libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libkrb5-26-heimdal libksba8 libldap-2.4-2 libldap-common libnpth0
libreadline7 libroken18-heimdal libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libssl1.1 libwind0-heimdal openssl pinentry-curses
readline-common
Suggested packages:
dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage scdaemon libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql pinentry-doc readline-doc
The following NEW packages will be installed:
apt-transport-https ca-certificates dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm
libasn1-8-heimdal libassuan0 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libkrb5-26-heimdal
libksba8 libldap-2.4-2 libldap-common libnpth0 libreadline7 libroken18-heimdal libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0
libssl1.1 libwind0-heimdal openssl pinentry-curses readline-common
0 upgraded, 35 newly installed, 0 to remove and 0 not upgraded.
Need to get 5948 kB of archives.
After this operation, 17.6 MB of additional disk space will be used.

(Reading database ... 4045 files and directories currently installed.)
Preparing to unpack .../00-libssl1.1_1.1.1-1ubuntu2.1~18.04.8_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.8) ...
Selecting previously unselected package openssl.
Preparing to unpack .../01-openssl_1.1.1-1ubuntu2.1~18.04.8_amd64.deb ...
Unpacking openssl (1.1.1-1ubuntu2.1~18.04.8) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../02-ca-certificates_20210119~18.04.1_all.deb ...
Unpacking ca-certificates (20210119~18.04.1) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../03-readline-common_7.0-3_all.deb ...
Unpacking readline-common (7.0-3) ...
Selecting previously unselected package libreadline7:amd64.
Preparing to unpack .../04-libreadline7_7.0-3_amd64.deb ...
Unpacking libreadline7:amd64 (7.0-3) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../05-libsqlite3-0_3.22.0-1ubuntu0.4_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.22.0-1ubuntu0.4) ...
Selecting previously unselected package apt-transport-https.
Preparing to unpack .../06-apt-transport-https_1.6.12ubuntu0.2_all.deb ...
Unpacking apt-transport-https (1.6.12ubuntu0.2) ...
Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../07-libassuan0_2.5.1-2_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.1-2) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../08-gpgconf_2.2.4-1ubuntu1.4_amd64.deb ...
Unpacking gpgconf (2.2.4-1ubuntu1.4) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../09-libksba8_1.3.5-2_amd64.deb ...
Unpacking libksba8:amd64 (1.3.5-2) ...
Selecting previously unselected package libroken18-heimdal:amd64.
Preparing to unpack .../10-libroken18-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libroken18-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libasn1-8-heimdal:amd64.
Preparing to unpack .../11-libasn1-8-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libasn1-8-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libheimbase1-heimdal:amd64.
Preparing to unpack .../12-libheimbase1-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libheimbase1-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libhcrypto4-heimdal:amd64.
Preparing to unpack .../13-libhcrypto4-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libhcrypto4-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libwind0-heimdal:amd64.
Preparing to unpack .../14-libwind0-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libwind0-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libhx509-5-heimdal:amd64.
Preparing to unpack .../15-libhx509-5-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libhx509-5-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libkrb5-26-heimdal:amd64.
Preparing to unpack .../16-libkrb5-26-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libkrb5-26-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libheimntlm0-heimdal:amd64.
Preparing to unpack .../17-libheimntlm0-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libheimntlm0-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libgssapi3-heimdal:amd64.
Preparing to unpack .../18-libgssapi3-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libgssapi3-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../19-libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu2.3_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.3) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../20-libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu2.3_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.3) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../21-libldap-common_2.4.45+dfsg-1ubuntu1.10_all.deb ...
Unpacking libldap-common (2.4.45+dfsg-1ubuntu1.10) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../22-libldap-2.4-2_2.4.45+dfsg-1ubuntu1.10_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.10) ...
Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../23-libnpth0_1.5-3_amd64.deb ...
Unpacking libnpth0:amd64 (1.5-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../24-dirmngr_2.2.4-1ubuntu1.4_amd64.deb ...
Unpacking dirmngr (2.2.4-1ubuntu1.4) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../25-gnupg-l10n_2.2.4-1ubuntu1.4_all.deb ...
Unpacking gnupg-l10n (2.2.4-1ubuntu1.4) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../26-gnupg-utils_2.2.4-1ubuntu1.4_amd64.deb ...
Unpacking gnupg-utils (2.2.4-1ubuntu1.4) ...
Selecting previously unselected package gpg.
Preparing to unpack .../27-gpg_2.2.4-1ubuntu1.4_amd64.deb ...
Unpacking gpg (2.2.4-1ubuntu1.4) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../28-pinentry-curses_1.1.0-1_amd64.deb ...
Unpacking pinentry-curses (1.1.0-1) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../29-gpg-agent_2.2.4-1ubuntu1.4_amd64.deb ...
Unpacking gpg-agent (2.2.4-1ubuntu1.4) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../30-gpg-wks-client_2.2.4-1ubuntu1.4_amd64.deb ...
Unpacking gpg-wks-client (2.2.4-1ubuntu1.4) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../31-gpg-wks-server_2.2.4-1ubuntu1.4_amd64.deb ...
Unpacking gpg-wks-server (2.2.4-1ubuntu1.4) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../32-gpgsm_2.2.4-1ubuntu1.4_amd64.deb ...
Unpacking gpgsm (2.2.4-1ubuntu1.4) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../33-gnupg_2.2.4-1ubuntu1.4_amd64.deb ...
Unpacking gnupg (2.2.4-1ubuntu1.4) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../34-libsasl2-modules_2.1.27~101-g0780600+dfsg-3ubuntu2.3_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.3) ...
Setting up libnpth0:amd64 (1.5-3) ...
Setting up readline-common (7.0-3) ...
Setting up apt-transport-https (1.6.12ubuntu0.2) ...
Setting up libldap-common (2.4.45+dfsg-1ubuntu1.10) ...
Setting up libreadline7:amd64 (7.0-3) ...
Setting up libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.3) ...
Setting up libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.3) ...
Setting up libroken18-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libksba8:amd64 (1.3.5-2) ...
Setting up gnupg-l10n (2.2.4-1ubuntu1.4) ...
Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.8) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libheimbase1-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up openssl (1.1.1-1ubuntu2.1~18.04.8) ...
Setting up libsqlite3-0:amd64 (3.22.0-1ubuntu0.4) ...
Setting up libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.3) ...
Setting up ca-certificates (20210119~18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
129 added, 0 removed; done.
Setting up libassuan0:amd64 (2.5.1-2) ...
Setting up libwind0-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libasn1-8-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up gpgconf (2.2.4-1ubuntu1.4) ...
Setting up libhcrypto4-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libhx509-5-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up gpgsm (2.2.4-1ubuntu1.4) ...
Setting up gnupg-utils (2.2.4-1ubuntu1.4) ...
Setting up pinentry-curses (1.1.0-1) ...
Setting up libkrb5-26-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libheimntlm0-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up gpg (2.2.4-1ubuntu1.4) ...
Setting up gpg-agent (2.2.4-1ubuntu1.4) ...
Setting up gpg-wks-server (2.2.4-1ubuntu1.4) ...
Setting up libgssapi3-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.10) ...
Setting up dirmngr (2.2.4-1ubuntu1.4) ...
Setting up gpg-wks-client (2.2.4-1ubuntu1.4) ...
Setting up gnupg (2.2.4-1ubuntu1.4) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for ca-certificates (20210119~18.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
root@5d305771d975:/# echo "deb https://apache.bintray.com/couchdb-deb bionic main" | tee -a /etc/apt/sources.list.d/couchdb.list deb https://apache.bintray.com/couchdb-deb bionic main
tee: 'https://apache.bintray.com/couchdb-deb': No such file or directory
deb https://apache.bintray.com/couchdb-deb bionic main
root@5d305771d975:/# echo "deb https://apache.bintray.com/couchdb-deb bionic main" | tee -a /etc/apt/sources.list.d/couchdb.list
deb https://apache.bintray.com/couchdb-deb bionic main
root@5d305771d975:/# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys \

8756C4F765C9AC3CB6B85D62379CE192D401AB61
Executing: /tmp/apt-key-gpghome.6OjHIOpp1j/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 8756C4F765C9AC3CB6B85D62379CE192D401AB61
gpg: keyserver receive failed: Connection timed out
root@5d305771d975:/# apt update
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Ign:5 https://apache.bintray.com/couchdb-deb bionic InRelease
Get:6 https://apache.bintray.com/couchdb-deb bionic Release [1840 B]
Get:7 https://apache.bintray.com/couchdb-deb bionic Release.gpg [821 B]
Ign:7 https://apache.bintray.com/couchdb-deb bionic Release.gpg
Reading package lists... Done
W: GPG error: https://apache.bintray.com/couchdb-deb bionic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61
E: The repository 'https://apache.bintray.com/couchdb-deb bionic Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
root@5d305771d975:/# apt install -y couchdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package couchdb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
E: Package 'couchdb' has no installation candidate
root@5d305771d975:/# sudo apt clean
bash: sudo: command not found
root@5d305771d975:/# exit
exit
$ sudo apt clean
[sudo] password for devicfm:
$ sudo apt autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/couchdb.list:1 and /etc/apt/sources.list.d/couchdb.list:3
$ sudo rm /etc/apt/sources.list.d/couchdb.*
$ sudo apt update
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
$ sudo apt autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
$ sudo apt clean
$ sudo apt autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
$ sudo apt-get update && sudo apt-get install couchdb
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
No apt package "couchdb", but there is a snap with that name.
Try "snap install couchdb"
E: Unable to locate package couchdb
$ snap install couchdb
error: access denied (try with sudo)
$ sudo snap install couchdb
couchdb 2.3.1 from Apache CouchDB installed
$

Not sure what your issue is. We've had CouchDB binary packages for 2.x and 3.x since 2018. Download statistics indicate many hundreds of thousands of successful installs.


Added support for PackageDownload and PackageVersion

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Feature
:arrow_heading_down: What is the current behavior?
Testing with and without PackageDownload and PackageVersion.
:new: What is the new behavior (if this is a feature change)?
PackageDownload - This is seriously a thing, today Nuke is using it ensure that packages are downloaded, but they are not implicitly referenced.  This is used in the Nuke context to ensure that the binaries exist.  I could not however find any specific documentation on this behavior, but it is a thing.
PackageVersion - This just shipped with the latest dotnet sdk 3.1.300 with support for centrally managed package versions.  While the building blocks will be the same this central managed solution will be supported inside VisualStudio at a future date.
:boom: Does this PR introduce a breaking change?
No
:bug: Recommendations for testing
Testing with and without PackageDownload and PackageVersion.
:memo: Links to relevant issues/docs
I created a new PR using my older one as a reference so I merged the two together.  Hopefully the code is a little cleaner this time around, let me know.
Supersedes: #895
Relates: https://github.com/NuGet/Home/issues/7339
Centrally managing NuGet package-versions
:thinking: Checklist before submitting

[x] All projects build
[ ] Relevant documentation was updated

Let me know if you have any questions!  ❤ Nukeeper ❤

Hey @david-driscoll , thanks for the feature PR! Would you be open to splitting + restructuring it a somewhat? Here's what I have in mind (sorry for a large-ish brain dump, but I'm trying to minimise the back-and-forth of async communication - this was pending for quite a while already and I'm sorry for that):

<PackageVersion> : reading https://github.com/NuGet/Home/wiki/Centrally-managing-NuGet-package-versions does not make me feel like this is ready or implemented yet, really, especially the note "The name is not definitive and we are looking for better name pattern.". The PR to implement https://github.com/NuGet/Home/issues/6764 is also still open. I'd prefer to postpone this work until the NuGet team has it finished (and do it as separate PR then).
<PackageDownload>: neat!
version parsing: currently you're string-trimming [ and ], no need to do this any more https://github.com/NuKeeperDotNet/NuKeeper/pull/971 (yes, I only spotted the bug because of your PR)
ProjectFileReader changes: the changes you're making are not covered by tests right now, I'd really prefer if they were
your initial version had a breaking change (forcing [<IP_ADDRESS>] exact version match everywhere), this one has it fixed now 👍
GetVersion in ProjectFileReader and DirectoryBuildTargetsReader : I'd skip the null handling and optional parameter and instead have two different ones (with and without namespace) in respective files, as needed

I doubt PackageVersion will be changed without at least support being maintained because it's now been shipped with a release (non beta ) sdk.  I can't find definitive proof outside it has shipped in the latest 3.1.300 sdk, though I will ask around.
I can clean up the trimming no problem and look at the rest of the feedback as well this weekend.

I can't seem to get PackageVersion working at all with 3.1.300 or the latest .NET 5 preview. Is it definitely shipped?

They have to be in the Directory.Packages.props otherwise they don't get picked up.
This commit (and it's branch) have them enabled.  https://github.com/OmniSharp/csharp-language-server-protocol/commit/ed0beb465d4a1aab468e5c05634b6d6fbb00527f  (https://github.com/OmniSharp/csharp-language-server-protocol/tree/pin-sdk ).  It hasn't been merged yet due to other outstanding work,  but it was working correctly on my machine with sdk 3.1.300.

Ah, I think I need to opt-in with <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>

I doubt PackageVersion will be changed without at least support being maintained because it's now been shipped with a release (non beta ) sdk. I can't find definitive proof outside it has shipped in the latest 3.1.300 sdk, though I will ask around.

The PackageVersion element name is not expected to be changed. The feature is in preview. We encourage customers to try it and add feedback/issues at https://github.com/nuget/home/issues as needed.

@skolima based on the rest of the feedback from @cristinamanum  would you still two like different PRs?

Besides the splitting of the PR in two, I think the remaining feedback has now been addressed.

🎉


feat(manifests): adding manifests for deis builder (WIP)

http://github.com/deis/builder

@mboersma this is an extension of your PR

removed awaiting review because I (and @mboersma and @technosophos, and others?) believe it's more appropriate to have this go into deis/charts

Closing, as this work-in-progress has been moved to https://github.com/deis/charts.git.


GitLab Pull Request Support

I did setup drone on Amazon ec2 instance and I did configure drone with gitlab. Actually drone now run merges with upstream repo successfully, but the problem comes with pull requests. Once anyone submit a pull request to the upstream repo, I got the following error:
$ git clone --depth=50 --recursive --branch=master git@git.whitespace.company:whitespace/incident_report.git /var/cache/drone/src/git.whitespace.company/whitespace/incident_report
Cloning into '/var/cache/drone/src/git.whitespace.company/whitespace/incident_report'...
Warning: Permanently added 'git.whitespace.company,<IP_ADDRESS>' (ECDSA) to the list of known hosts.
$ git fetch origin +refs/pull/32/head:refs/remotes/origin/pr/32
fatal: Couldn't find remote ref refs/pull/32/head

So, any suggestions what's the problem here?

hello, @bradrydzewski Does drone.io support gitlab's merge request hooks? I've installed drone.io locally and it looks like the build for MR is not running
here it looks that drone.io does not support MR yet

currently - no, since 7.14 release i have plan to implement this in 0.4 branch

I created a PR to send back to gitlab the status of a build as a comment on the related issue. You can check it here: #1141
I hope it will do the work until the release of 0.4

this was merged in 0.4 and can be closed now


Fix #643 Prevent infinite loop in getBounds if bounds.valueRange is very small

Fixes #643.
This fix added a simple check, if bounds.step is less than EPSILON.
Additionally if filters duplicate values in bounds.values.
I added some unit test, to ensure the current behaviour, even if I'm not sure if it's always the desired behaviour (Are there any other open issues here?).

Awesome! Thanks!


MySQL 5.7 - createTable in migration create MyISAM instead of InnoDB

What steps will reproduce the problem?
Create a migration such as the below
$this->createTable('alert_project', [
    'project_id' => $this->integer()->notNull(),
    'alert_id' => $this->integer()->notNull(),
    'content' => $this->text()->notNull(),
    'recipient' => $this->text()->notNull(),
    'variable_1_label' => $this->string(128)->null(),
    'variable_1_value' => $this->decimal(6, 2)->null(),
    'variable_2_label' => $this->string(128)->null(),
    'variable_2_value' => $this->decimal(6, 2)->null(),
    'active' => $this->integer(1)->defaultValue(0),
]);

$this->createIndex('project_id', 'alert_project', 'project_id');
$this->addForeignKey('FK_alert_project_project_id', 'alert_project', 'project_id', 'project', 'id', 'CASCADE', 'CASCADE');

$this->createIndex('alert_id', 'alert_project', 'alert_id');
$this->addForeignKey('FK_alert_project_alert_id', 'alert_project', 'alert_id', 'alert', 'id', 'CASCADE', 'CASCADE');

Got the Success migration as showed

What is the expected result?
'alert_project' table is created and is InnoDB and have foreigner key constraints
What do you get instead?
'alert_project' table is created and is MyISAM thus no foreigner key constraints
Additional info

Q
A

Yii version
2.0.10

PHP version
5.6.19

MySQL version
5.7.11

Operating system
Windows 10

P/S: I tested on Ubuntu Box which does not have the described issue
Yii version 2.0.10
PHP version 5.5.9
MySQL version 5.5.53
Likely MySQL 5.7 is the source.

Isn't this because of the default storage engine you have set in your MySQL? Migration does not set storage engine silently. That is why as there is this line at the beginning in examples:
if ($this->db->driverName === 'mysql') {
    // http://stackoverflow.com/questions/766809/whats-the-difference-between-utf8-general-ci-and-utf8-unicode-ci
    $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB';
}

You can set engine manually in createTable() method (3rd argument as in: $table, $columns, $options).

thanks @bizley


High poly model (?) seems to be breaking import

Hi! I was trying to rip rig c002008 and errored out to IndexError: index out of range. I ended up ripped the model using Metanoia to do a bit of investigation. In Blender it seems that the watch from the 'bad rig' is higher poly than the ones from other rigs that imported on first try. My thinking is that this might be a weird new 'high quality' mode? Here's a screenshot (ignore the shading problems, that seems to be a Metanoia vs. plugin thing)

Hi, the problem isn't the polys, all polys are triangles and the addon can read models with lots of triangles like maps.
Most of the time, if your model can't be opened and you get an IndexError: index out of range error, it's because the RLE decompression from the addon is bad and needs to be fixed.


Alchemy SDK Import error while running within a Service Worker

[REQUIRED] Environment

Browser version: Google Chrome v.112.0.5615.49
Alchemy SDK version: v2.8.1"

[REQUIRED] Describe the problem
While developing a Crypto Wallet as a Chrome Extension, we moved all logic regarding wallet accounts creation and token transactions (basically any interaction with Alchemy) to the background script. By doing so we uncovered a JS error, visible in Chrome Console:

if you follow the first sdk code link displayed by console, you will be redirected to:
getProvider() {
        return this._baseAlchemyProvider || (this._baseAlchemyProvider = (()=>D(this, void 0, void 0, function*() {
            const {AlchemyProvider: e} = yield mo(()=>import("./alchemy-provider-f7c978b3.js").then(r=>r.a), []);
            return new e(this)
        }))()),
        this._baseAlchemyProvider
    }

You can see there the import(...) causing the issue. If you monkey-patch this, by including the AlchemyProvider as a regular import and removing the asynchronous part of your logic, it works:
if (!this._baseAlchemyProvider) {
        this._baseAlchemyProvider = new AlchemyProvider(this);
}

How to reproduce:
To reproduce,  i believe simply trying to create the Alchemy SDK Wallet in a service worker context should suffice.
Relevant code or sample repro:
export class AlchemyApi {
    protected apiKey: string;
    protected network: Network;
    protected alchemy: Alchemy;

    constructor(network = Network.MATIC_MAINNET) {
        this.apiKey = ALCHEMY_KEY;
        this.network = network;

        this.alchemy = new Alchemy({
            apiKey: this.apiKey,
            network: this.network,
        });
    }

    getInstance(): Alchemy {
        return this.alchemy;
    }
}

import { Wallet } from 'alchemy-sdk';

export class Account extends Wallet {
    protected tokens: TOKEN_CONTRACT_ADDRESSES[] = [];
    protected alchemy;

    constructor(privateKey = '') {
        const privKey = privateKey || Account.createRandom().privateKey;
        const provider = new AlchemyApi().getInstance();

        super(privKey, provider);
        this.alchemy = provider;
    }
    ....

Any help or advice on how to work around this would be greatly appreciated. Thank you!

@mariano-altieri We currently use the import() syntax to dynamically import the provider code since it's a large dependency. Using a regular import ahead of time would cause the package size to be bloated for people only not using provider-level methods, so unfortunately, we cannot change this.
The inability to import inside a service worker seems to be a longstanding bug with Chrome extensions: (github link,  chromium bug). Perhaps one of the workarounds in the thread can work for you!

@mariano-altieri We currently use the import() syntax to dynamically import the provider code since it's a large dependency. Using a regular import ahead of time would cause the package size to be bloated for people only not using provider-level methods, so unfortunately, we cannot change this.
The inability to import inside a service worker seems to be a longstanding bug with Chrome extensions: (github link,  chromium bug). Perhaps one of the workarounds in the thread can work for you!


Possibility to compile SYCL source files that do not have a C++ file extension

Describe the motivation for the feature request
In our project we started using the convention of putting SYCL sources into <foo>.sycl files, and not <foo>.cpp, <foo>.cxx, or similar. The motivation for this is to be able to define a "separate language" for CMake for how to compile/link SYCL sources together with any other sources.
Unfortunately it does not seem to be possible to use such files with the syclcc executable of this project. :frowning: With Intel's compiler we can force the compiler to consider .sycl files as C++/SYCL files with the -x c++ option. But if I try to do that with syclcc, I get the following:
[bash][Legolas]:vecmem > /opt/hipSYCL/bin/syclcc --hipsycl-platform=rocm --hipsycl-gpu-arch=gfx803 -c -o main.o -x c++ main.sycl
In file included from main.sycl:1:
In file included from /opt/hipSYCL/bin/../include/CL/sycl.hpp:31:
In file included from /opt/hipSYCL/bin/../include/CL/../hipSYCL/sycl/sycl.hpp:36:
/opt/hipSYCL/bin/../include/CL/../hipSYCL/sycl/backend/backend.hpp:65:12: fatal error: 'hipCPU/hip/hip_runtime.h' file not found
  #include "hipCPU/hip/hip_runtime.h"
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[bash][Legolas]:vecmem >

It seems that the definitions used by syclcc internally get confused about what platform to compile the code for. So naively it would seem that making -x c++ compile SYCL source code correctly is "just" a matter of some tweaks to the code...
Describe the solution you'd like
I would like it if syclcc could accept -x c++, or possibly any other command line argument, to force it to consider the provided input file as a SYCL source file. Allowing users to use non-standard extensions for their source files.
If applicable, describe alternatives you've considered
Or course any number of hacky solutions could be done by us, but I would really prefer if it would be possible to use .sycl source files with this compiler directly. Since CMake and ROCm semi-officially introduced the .hip source extension not that long ago (https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6121), I don't think it's too outrageous to think of a custom extension for SYCL source files as well... :wink:
Additional context
N/A

Recent hipSYCL also treats .sycl files as SYCL source code; closing for now as I think the use case should now be covered.


My outputs are exactly the ones requested by the challenge. None accepted.  :((((

Challenge Sorted Union has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
Hi, I get the correct output in all test cases but it does mark them all as wrong. I have looked for similar problems in this forum but haven´t found anything. I am reproducing here (see under the my code section) the results I get with the most complex test of the 4 the challenge provides. I honestly can't see a difference between the output is asked for and what I get... any ideas??
My code:

function uniteUnique(arr) {

  //Long loop used to concat -I am sure a reduce would have worked better but I don´t get well along with it.
  len=arguments.length;
  arr=[];
  for (var i=0;i<len;i++) {
    arr=arr.concat(arguments[i]);
  }

  len= arr.length;
  var toSplice, j;
  for (i=0, j=0; i<len-1 && j<30; i++,j++) {//includes j as a measure against infinite loop
    if(arr.indexOf(arr[i], i+1) >i) {
       toSplice=arr.indexOf(arr[i], i+1);

        arr.splice(toSplice,1);
        i--;
    }

  }

  return arr;
}

uniteUnique([1, 3, 2], [1, [5]], [2, [4]]);

I cant see what is the difference between the output asked for and the one produced by my program. Maybe I was just expected to program in a different way?

uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]) should return [1, 3, 2, 5, 4].

At position number 3 the of the output array, the value is expected to be a number.
Your output seems to be an array

[1, 3, 2, [5], 4].

So your code's output does not match the system's expectation.
That has resulted in the error, most likely.

I think I found the cause of this issue.
When I ran the above code in my node terminal,
uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]);

This is what I got -

[ 5, 2, 1, 4 ]

When I ran it within the FCC challenge environment, I got this -

[1,3,2,5,4]

Clearly there is a disconnect here.

@fuecisla There is an error in your code, and can be easily made.
By assinging [] to arr, you are mutating the arguments object before you start working on it.
See if you can resolve the issue now, if you are still having issues, please use the Help button.

@yasserhussain1110 I agree there is some disconnect between the FCC output and node. With corrections made to the code, I receive the correct output from node and FCC.
We need to check if this is still the case with the staging branch, as staging and master are very different at the minute (staging hold the react version), and I don't know if the code evaluation part of the code base has been changed.

@Bouncey If you point me in the right direction I could try to find out if the code evaluation part has changed or if it is working just like node.

@yasserhussain1110 It works like node.
On the react version of the site, the output from your function call does not appear in the output window, however, console.logs do.

@fuecisla I am closing this issue because it is for code help.
You are so close! Keep trying :+1:
Happy coding!

Thank you for your help! As per your advice I erased the statement converting arr into an array -leaving it as the string it was- and then all lights became green. :))))


Update requirements

[Changed] Updates the requirement for numpy to 1.21.2 (previous 1.19.5) see #131

Closing in favour of https://github.com/bes-dev/stable_diffusion.openvino/pull/125


terraform plan/apply - Error: can't find external program "bash"

Hello,
I tried installing wget but i didn't work. If you could help me, I would be gratefull.
Error: can't find external program "bash"
│
│   with module.next-js_example_complete.module.tf_next.module.next_image[0].module.lambda_content.data.external.download[0],
│   on .terraform\modules\next-js_example_complete.tf_next.next_image.lambda_content\main.tf line 32, in data "external" "download":
│   32: data "external" "download" {
│
╵
╷
│ Error: can't find external program "bash"
│
│   with module.next-js_example_complete.module.tf_next.module.proxy.module.proxy_package.data.external.download[0],
│   on .terraform\modules\next-js_example_complete.tf_next.proxy.proxy_package\main.tf line 32, in data "external" "download":
│   32: data "external" "download" {
│
╵
╷
│ Error: can't find external program "bash"
│
│   with module.next-js_example_complete.module.tf_next.module.statics_deploy.module.lambda_content.data.external.download[0],
│   on .terraform\modules\next-js_example_complete.tf_next.statics_deploy.lambda_content\main.tf line 32, in data "external" "download":
│   32: data "external" "download" {
│
╵
╷
│ Error: can't find external program "bash"
│
│   with module.tf_next.module.next_image[0].module.lambda_content.data.external.download[0],
│   on .terraform\modules\tf_next.next_image.lambda_content\main.tf line 32, in data "external" "download":
│   32: data "external" "download" {
│
╵
╷
│ Error: can't find external program "bash"
│
│   with module.tf_next.module.proxy.module.proxy_package.data.external.download[0],
│   on .terraform\modules\tf_next.proxy.proxy_package\main.tf line 32, in data "external" "download":
│   32: data "external" "download" {
│
╵
╷
│ Error: can't find external program "bash"
│
│   with module.tf_next.module.statics_deploy.module.lambda_content.data.external.download[0],
│   on .terraform\modules\tf_next.statics_deploy.lambda_content\main.tf line 32, in data "external" "download":
│   32: data "external" "download" {

Hi,
it looks like you are try to run it on a Windows machine.
Windows is currently not supported since we internally rely on a Bash script that is executed during terraform apply.
Your options here are:

Use the Linux subsystem
Use Terraform Cloud

Which we could get rid of this Bash script, since it is the only thing that blocks cross-platform usage and causes many other problems, but unfortunately there is currently no other solution.

Oh, forgot to mention there is a third option:
You can install the AWS CLI and then set the use_awscli_for_static_upload attribute, which then uses the AWS CLI to perform the task that previously needed Bash and wGet.
...

module "tf_next" {
  source = "dealmore/next-js/aws"

+ use_awscli_for_static_upload = true

  providers = {
    aws.global_region = aws.global_region
  }
}

Not tested, but this should work on Windows.

Oh, forgot to mention there is a third option:
You can install the AWS CLI and then set the use_awscli_for_static_upload attribute, which then uses the AWS CLI to perform the task that previously needed Bash and wGet.
...

module "tf_next" {
  source = "dealmore/next-js/aws"

+ use_awscli_for_static_upload = true

  providers = {
    aws.global_region = aws.global_region
  }
}

Not tested, but this should work on Windows.

It didn't work on windows, but to be honest didn't spend much time on it. I launched an Linux Ubuntu Ec2 and it worked fine.
Thank you !!

I'll create a new issue if anyone can relate.

I'm going to close this issue because it has been inactive for 30 days ⏳. This helps to find and focus on the active issues.


External keyboard bug Closes #1648

Pull request checklist

[X] All tests pass. Demo project builds and runs.
[X] I have resolved any merge conflicts.
[X] I have followed the coding style, and reviewed the contributing guidelines. Confirmation: 💪😎👊

This fixes issue #1648.
What's in this pull request?

I reworked the animation of the keyboard. Now it animates up if the QuickTextBar shows up or is dismissed and handles bluetooth connected keyboard. also scrolls up as you receive and send new messages.

[Current coverage][cc-pull] is 60.97%

Merging [#1660][cc-pull] into [develop][cc-base-branch] will decrease coverage by 0.03%

@@            develop      #1660   diff @@
==========================================
  Files            62         62
  Lines          2264       2265     +1
  Methods         637        636     -1
  Messages          0          0
  Branches        137        136     -1
==========================================
  Hits           1381       1381
- Misses          811        812     +1
  Partials         72         72

[][cc-pull]

Powered by Codecov. Last updated by [7130853...83232c5][cc-compare]
[cc-base-branch]: https://codecov.io/gh/jessesquires/JSQMessagesViewController/branch/develop?src=pr
[cc-compare]: https://codecov.io/gh/jessesquires/JSQMessagesViewController/compare/71308534b722ca300f8998e6860561483cf84986...83232c54e20f2ef9c123a17d3c722e33369d7ae6
[cc-pull]: https://codecov.io/gh/jessesquires/JSQMessagesViewController/pull/1660?src=pr

@jessesquires is the codecov/patch bot checking test coverage?

hey @MacMeDan - let's close this and re-open with a different fix, this isn't going to work 😅

i think all we need to do is compute the keyboard frame diff (like you have) and pass that value to
jsq_setCollectionViewInsetsTopValue: bottomValue:

For some reason I did not even see these comments till now. Ya I will take another look at it.


Allow all ia/raw/xxx messages to be transfered to Kafka

Is your feature request related to a problem? Please describe.
Sometimes in makes sense to order the raw data in a different format and to be flexible in the topics
Describe the solution you'd like
For this we want to have all data in all ia/raw topics in Kafka using "High Throughput" logic. Right now it needs to follow a certain topic structure.

This requires a change to the documentation.
https://docs.umh.app/docs/concepts/mqtt/#topic-iaraw

New regex would look like this:
regexr.com/6lji2


Invoking Azure CLI failed with the following error:

I have the below test file to test the storage account in Azure, but it always fails with an error
TestTerraformAzureStorageExample 2021-05-28T03:45:20Z logger.go:66: Running command terraform with args [output -no-color -json storage_account_kind]
TestTerraformAzureStorageExample 2021-05-28T03:45:21Z logger.go:66: "StorageV2"
    storage.go:41:
                Error Trace:    storage.go:41
                                                        terraform_storage_account_test.go:52
                Error:          Received unexpected error:
                                Invoking Azure CLI failed with the following error:
                Test:           TestTerraformAzureStorageExample
TestTerraformAzureStorageExample 2021-05-28T03:45:21Z retry.go:91: terraform [destroy -auto-approve -input=false -var resource_group_name=t832kl -var resource_group_location=westus -lock=false]

We have configured to run the tests in bamboo and the way bamboo injects environment variable, it has a "bamboo_" prefix in it. So I am setting the ARM_<> variable through test itself.
import (
        "fmt"
        "testing"
        "os"
        "strings"
        "github.com/gruntwork-io/terratest/modules/azure"
        "github.com/gruntwork-io/terratest/modules/terraform"
        "github.com/stretchr/testify/assert"
        "github.com/gruntwork-io/terratest/modules/random"
)

func TestTerraformAzureStorageExample(t *testing.T) {
    t.Parallel()
    resourceGroupName := fmt.Sprintf("%s", strings.ToLower(random.UniqueId()))
    subscriptionID := os.Getenv("bamboo_AZURE_SUBSCRIPTION_ID")
    clientID := os.Getenv("bamboo_AZURE_CLIENT_ID")
    clientSecret := os.Getenv("bamboo_AZURE_CLIENT_SECRET")
    tenantID := os.Getenv("bamboo_AZURE_TENANT_ID")

    os.Setenv("ARM_SUBSCRIPTION_ID", subscriptionID)
    os.Setenv("ARM_CLIENT_ID", clientID)
    os.Setenv("ARM_CLIENT_SECRET", clientSecret)
    os.Setenv("ARM_TENANT_ID", tenantID)

    terraformOptions := &terraform.Options{
        Vars:  map[string]interface{} {
            "resource_group_name": resourceGroupName,
            "resource_group_location": "westus",
        },
        TerraformDir: "./example",
    }
    defer terraform.Destroy(t, terraformOptions)

    terraform.InitAndApply(t, terraformOptions)
    resourceGroupName   = terraform.Output(t, terraformOptions, "resource_group_name")
    storageAccountName := terraform.Output(t, terraformOptions, "storage_account_name")
    storageAccountTier := terraform.Output(t, terraformOptions, "storage_account_tier")
    storageAccountKind := terraform.Output(t, terraformOptions, "storage_account_kind")

    storageAccountExists := azure.StorageAccountExists(t, storageAccountName, resourceGroupName, subscriptionID)
    assert.True(t, storageAccountExists, "storage account does not exist")

    accountKind := azure.GetStorageAccountKind(t, storageAccountName, resourceGroupName, subscriptionID)
    assert.Equal(t, storageAccountKind, accountKind, "storage account kind mismatch")

    skuTier := azure.GetStorageAccountSkuTier(t, storageAccountName, resourceGroupName, subscriptionID)
    assert.Equal(t, storageAccountTier, skuTier, "sku tier mismatch")

    actualDNSString := azure.GetStorageDNSString(t, storageAccountName, resourceGroupName, subscriptionID)
    storageSuffix, _ := azure.GetStorageURISuffixE()

    expectedDNS := fmt.Sprintf("https://%s.blob.%s/", storageAccountName, storageSuffix)
    assert.Equal(t, expectedDNS, actualDNSString, "Storage DNS string mismatch")
}

From my googling, it looks like that error comes if the environment variables are not configured correctly but I am doing in the test. Error doesn't give any reason as well
Environment:
$ go version
go version go1.16.3 linux/amd64
$ terraform --version
Terraform v0.15.1
on linux_amd64

Please ignore this issue, I was able to solve this by changing
    os.Setenv("ARM_SUBSCRIPTION_ID", subscriptionID)
    os.Setenv("ARM_CLIENT_ID", clientID)
    os.Setenv("ARM_CLIENT_SECRET", clientSecret)
    os.Setenv("ARM_TENANT_ID", tenantID)

to
    os.Setenv("AZURE_SUBSCRIPTION_ID", subscriptionID)
    os.Setenv("AZURE_CLIENT_ID", clientID)
    os.Setenv("AZURE_CLIENT_SECRET", clientSecret)
    os.Setenv("AZURE_TENANT_ID", tenantID)

I guess still terratest logger info has to be updated, because during the error it through ARM_SUBSCRIPTION_ID missing log

@endejoli glad to hear it worked, would you please close the issue since it is not actionable ?

@HadwaAbdelhalem Before we close this out, can you confirm the error message is coming from the Azure SDK? OP has a point that the error message isn't very helpful (pasted below for convenience):

Invoking Azure CLI failed with the following error:

I went through the trace and I believe this is coming from the Azure SDK and not terratest (in which case there is nothing for us to do), but want to confirm that is the case before we conclusively close this ticket.

I agree it was coming from Azure SDK. This issue can be closed now.


Test gh access and commit signing

Please set up your commit signing on your machine and your GH account - instructions here
Once set up and verified, please pull the main branch and create your "feature' branch from it.
The DevSecOps branch naming convention is as follows: devsecops/<username>/feature-name
On your newly created branch, please makea whitespace change to the README.md file, commit (verify the signing is working here), push, create a PR and send me (Matt) the link to the PR in slack.

The signed commit has been successfully verified.

Finished issue.


Fail to install Office Extension on 4.1.1

Hi,
I had succesfully installed the office extension back to the 4.1.0 but when I have upgraded to the 4.1.1 I found out that the plugin was missing.
So I tryied to reinstall but I always get this error:

Anyone else have this?

Me too

Just rechecked - this works fine in my environment.
When exactly do you see this error?
Try to uninstall DBeaver completely (or remove DBeaver directory if you use portable version) and then install it again.

I've uninstalled and reinstallad but I have the same iusse

Also running into this issue with the new 4.1.1 version on Win7.  Let me know if I can provide any extra information.

Do you use 64bit or 32bit version?
Is it standalone version?

Hi,
64-bit version, using the "Windows 64 bit (installer + JRE)" option from the DBeaver website.

Win7+64bit version too

Indeed, there was broken dependency in the latest CE version.
Thanks for report.

i had that problem too. You should remove from C:\Program Files\DBeaver\plugins office plugin if you have and remove C:\Program Files\DBeaver\artifacts.xml. You can backup artifacts file and paste it after completed installation.
Now if you run dbeaver as administrator you can install office plugin.


Day18 wip

Had a small bug when porting over from my old python solution code. Instead of looking at the JGZ instruction execution steps, I accidentially looked at the JNZ instruction (which doesn't come in until AOC 2017 Day 23).
After I had fixed up the logic condition (swapped the "!=" for a ">") in the JGZ execution implementation for the SoundComputer, my solution worked fine and returned the expected answers with the problem input.


Do not store past detections by default.

Until now, the default value for past_detections_length was 4. This meant that even if you don't use the past detections in your workflow, Norfair is still storing them, making unnecessary operations and potentially using a great amount of memory for storing embeddings or image crops.
We now set the default value of past_detections_length to 0. If the user wants to use the TrackedObject's past detections when matching, it must be specified when initiating the Tracker instance.

Is there an easy way to warn the user if they access past_detections but past_detections_length is set to 0?

We may change past_detections to become a property and handle the warning when it is accessed. But giving it another thought and knowing that computational performance isn't a big deal when using past_detections_length>0, we may set the default value to 1 instead and avoid confusion to the user. Also, setting the default to 1 isn't going to increase the memory that much.
What are your thoughts @javiber?


Can  support two different project in two different machine share one root span?

Here is the situation.  The request come, A project handle it and return, and A send a async  task to B project . I want trace the all the spans in A and B at the root span from A. So I can find how much the total performance to handle the request.

From your description, it seems like you should be able to achieve this by creating the root (server) span in A, and then a client span in A for the communication with B (using a FOLLOWS_FROM reference type to the root span context), and then propagate the trace context to B, where a server span would be created.

"or the communication with B " not understand deeply.
A just send a task to B. How it can  communication with B in code level?
You mean.  a client span  in A and  FOLLOWS_FROM reference type in B have some same information when they were added to its own content?  Because A can't just pass the span to B.

Can you explain more about how the task is sent from A to B, that may help. Is it a REST call?

Like aws sqs (send a pickle). B unpikle the object.

Ok it might be worth you having a look at this example: https://github.com/hawkular/hawkular-apm/blob/master/examples/vertx-opentracing/order-manager/src/main/java/org/hawkular/apm/examples/vertx/opentracing/ordermanager/PlaceOrderHandler.java
The handle method shows the service receiving a place order request and creating a root span. It results in calls to check the customers account and stock level - but eventually the order is confirmed returning a response to the original call - but then asynchronously it sends an order confirmation via an event bus in the final orderConfirmed method - which uses a FOLLOWS_FROM reference type to reference back to the parent (root) span context.

And this is one of the services that consumes the 'order confirmed' message from the event bus - so equivalent to your B: https://github.com/hawkular/hawkular-apm/blob/master/examples/vertx-opentracing/inventory-manager/src/main/java/org/hawkular/apm/examples/vertx/opentracing/inventorymanager/InventoryManagerVerticle.java#L110 - it extracts the trace context from the event bus message and then uses it to create the server span.
This is how the spans in service B would be associated with the spans in service A, based on the trace context transferred in header properties with the message published on the event bus (or SQS in your case).

Thanks. I will take a look at it.

Please re-open or join the chat https://gitter.im/jaegertracing/Lobby for questions.


[Contents]: Extract getConfig with the help of static analysis.

Description
Currently, when extracting getConfig object from content files. We simulate an environment to execute the file. The issue is that in this same file exists some other JS code that is waiting to be executed on the web. This other code might fail at the stage we're trying to just extract the getConfig object.
Example getConfig function

What to look for

With static analysis, can we cleanup content files to contain just getConfig function and its dependency modules so that we don't execute extra code.
checkout the typescript compiler api or recast

Idea 01
I think with static analysis we can just check the children nodes of program and find an exported function or variable with name getConfig then remove all other children nodes that aren't that or imports. When it comes to cleaning up imports, how about running eslint --fix with a single rule remove-ununsed-imports to avoid walking down the tree.

Final
Entirely achievable with static analysis only. ⚡


Update Copy-SPActivitiesToWorkflowService.md

Filled in missing text. Example pulled and modified from https://technet.microsoft.com/en-us/library/dn133867.aspx. May want to have the WFM contact expand on these parameters/description. The TN article covers updating activities but assumes activities will change from patch to patch. Given the state of SharePoint 2013 workflows, this isn't likely to be the case.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Copy-SPActivitiesToWorkflowService.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Copy-SPActivitiesToWorkflowService.md
:x:Error

Details

:x:Error

Details

sharepoint/sharepoint-ps/sharepoint-server/Copy-SPActivitiesToWorkflowService.md

[Error] Unable to load file: sharepoint-ps/sharepoint-server/Copy-SPActivitiesToWorkflowService.md via processor: AzureCliDocumentProcessor: :48:(244) '```

-AssignmentCollection
Manages objects ...'
Expect Heading

[Error] Markdown.MAML.Transformer.HelpSchemaException: :48:(244) '```

-AssignmentCollection
Manages objects ...'
Expect Heading
at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.GetInnerContexts(DocumentBuildParameters parameters, IEnumerable1 processors, TemplateProcessor templateProcessor, IHostServiceCreator creator)    at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.BuildCore(DocumentBuildParameters parameters)    at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.BuildCore(DocumentBuildParameters parameter, IMarkdownServiceProvider markdownServiceProvider, BuildInfo currentBuildInfo, BuildInfo lastBuildInfo)    at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.Build(IList1 parameters, String outputDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument(BuildJsonConfig config, TemplateManager templateManager, String baseDirectory, String outputDirectory, String pluginDirectory, String templateDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument()
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


vue-tsc: Implicit 'any' with recursive component using slots

I just built a recursive component that uses slots to show items. My component is based on this solution.
While it works as expected, I now get an error from vue-tcs that the variable used in the template is implicitly 'any'.
src/Issue.vue:17:23 - error TS7022: 'el' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indir
ectly in its own initializer.

17     <template #item="{el}">
                         ~~

src/Issue.vue:18:8 - error TS2502: 'item' is referenced directly or indirectly in its own type annotation.

18       <slot name="item" :el="el"/>
          ~~~~

src/Issue.vue - This is an extremely reduced version of my component. Depending on some conditions the first or the second nested <Issue /> block is shown. In the cases where the second <Issue /> is shown, the <slot /> is shown before. Adding the first <slot /> (here commented out) it changes nothing, but having the slot at the bottom it works!
<template>
  <!-- Error in second block -->
  <!--  <slot name="item" :el="item"/>-->

  <Issue v-for="(child, index) in item.children" :key="index"
         :item="child">
    <template #item="{el}">
      <slot name="item" :el="el"/>
    </template>
  </Issue>

  <!-- My Construct: Error in second block -->
  <slot name="item" :el="item"/>

  <Issue v-for="child in item.children" :key="child.id"
         :item="child">
    <template #item="{el}">
      <slot name="item" :el="el"/>
    </template>
  </Issue>

  <!-- No Error! -->
  <!--  <slot name="item" :el="item"/>-->
</template>

<script setup lang="ts">
type TreeItem = {
  id: number,
  name: string,
  children?: TreeItem[],
}

withDefaults(defineProps<{
  root?: boolean,
  item: TreeItem,
}>(), {
  root: false,
});
</script>

As a workaround, I currently have the slot wrapped in a <template v-if="false"> at the bottom of my component. But i hope that there is a fix possible in vue-tsc.
Here is a package.json i used with the file above to test this issue.
{
  "name": "vue-tsc-issue",
  "version": "0.0.0",
  "scripts": {
    "verify": "vue-tsc --noEmit"
  },
  "dependencies": {
    "vue": "^3.2.6"
  },
  "devDependencies": {
    "@types/node": "^16.11.3",
    "@vitejs/plugin-vue": "^1.9.3",
    "@vue/compiler-sfc": "^3.2.20",
    "typescript": "^4.4.4",
    "vite": "^2.6.10",
    "vue-tsc": "0.29.2"
  }
}

I think this is expected error, but the code just like this.

You can use : any type annotation to avoid error.
<Issue v-for="child in item.children" :key="child.id" :item="child">
  <template #item="{ el }: any">
    <slot name="item" :el="el" />
  </template>
</Issue>

Thank you for your response. When I do this I get an "Unresolved type any" (weak) warning in IntellIJ, but this is not a vue-tsc/volar issue, and way better than a failing build.

@johnsoncodehk
This doesn't solve every issue and doesn't answer the question directly. It's important that we are able to ignore lines of code using @ts-ignore or @ts-nocheck but from what I can find there is no support for this. Am I missing something or is this intended?

@stijn-gravity just for record, @ts-nocheck is already supported since v0.40.0.


Clean up AXI generator channels

See #1865.
This PR touches both the hardcoded calyx implementation as well as the generator.
Doing this PR has made me realize we should start making efforts to get rid of the hardcoded implementation as things will pretty easily drift out of sync otherwise.

Renames base_addr and curr_addr to curr_addr_axi and curr_addr_interal_mem respectively
Asserts a few properties we expect from our yxi input. Namely widths being divisible by 8 and mem sizes being powers of
Simplifies the was_high signals, see the issue for more details. This is the thing I'm most unsure of w.r.t the correctness of the implementation. This ended up deviating a bit from the talk @sampsyo and I had. If anyone takes a look at this part I'd be happy to hear any and all feedback/thoughts.

After this there is still a need to refactor out shared channels in the generator.

Doing this PR has made me realize we should start making efforts to get rid of the hardcoded implementation as things will pretty easily drift out of sync otherwise.

Yep, makes sense! I guess the milestone that will enable this is when we have the Python-generated code passing the same test as the original code (and not necessarily any other tests)… at which point we can very confidently delete the latter.

Merging this as is. Will look out for more use-cases that would benefit from the assign_logic builder-helper as an excuse to implement it.


Add gulp file

Add a gulp file.

UPDATE: first laravel elixir task are written all i need to do is testing


Macvlan mode

Hi, this PR allows to use bridges with macvlan interfaces, and attach them directly to bridges.

@kvaps - Why not set MACVLAN_MODE=1 set inside error that originally printed the error message that it wasn't supported?

Hi @hookenz,
Using macvlan on top of bridges is quite specific configuration. Usually better to attach macvlan device on top interface from your bridge.
Maybe we need to improve error message.

@hookenz sorry, I'm kicking nonsense :)
You can't use top interface of the bridge, because it is already belongs to the bridge interface:
RTNETLINK answers: Device or resource busy


Anyway to a proccess module base addrees? get a module (.dll) inside Notepad.exe?

Like title, sorry to ask or open.
Just wonder cause i already try but no success im just trying to understand.
-Great day!

@elchoky
You can refer to #1


fix s2 tests

[ ] I added an entry to CHANGELOG.md if knowledge of this change could be valuable to users.

Here is a brief summary of what I did:

 Fix S2 Provider Tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

16 of 16 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.007%) to 88.031%

Files with Coverage Reduction
New Missed Lines
%

services/src/handlers/datasets.rs
1
79.52%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
90412

Relevant Lines:
102705

💛  - Coveralls

bors merge


Tracking issue for 2i2c using MyST to generate a report

We decided to use the new MyST build engine to create a three-year CZI report and retrospective, hosted at the following link:
https://2i2c.org/report-czi-2021
This is a tracking issue for the things that came up during that effort. I'm putting it into this style of an issue in order to track a pattern we hope to follow more times, which is to:

Work with a community to convert their Jupyter Book content into MyST
Identify the confusion points, missing functionality, etc and track them as issues for development
Resolve the issues and then re-deploy to the new book

Issues uncovered

[x] https://github.com/executablebooks/mystmd/pull/961
[x] https://github.com/executablebooks/myst-theme/issues/327
[x] https://github.com/executablebooks/mystmd/issues/925
[ ] https://github.com/executablebooks/myst-theme/issues/319
[ ] https://github.com/executablebooks/mystmd/issues/926
[x] https://github.com/executablebooks/mystmd/issues/947
[ ] https://github.com/executablebooks/mystmd/issues/948
[ ] https://github.com/executablebooks/mystmd/issues/946
[x] https://github.com/executablebooks/mystmd/issues/1003
[x] https://github.com/executablebooks/myst-theme/issues/332
[ ] https://github.com/executablebooks/myst-theme/issues/331
[ ] https://github.com/executablebooks/myst-theme/issues/326

Documentation

[ ] https://github.com/executablebooks/mystmd/issues/927
[ ] https://github.com/executablebooks/mystmd/issues/966
[x] https://github.com/executablebooks/mystmd/issues/968

Myst website issues

[ ] https://github.com/executablebooks/mystmd.org/issues/12
[ ] https://github.com/executablebooks/mystmd.org/issues/13

As per a discussion with Chris, we're closing this in favour of new initiatives!


Fix printing of a CASE expression.

The internal CaseFunction must be print as SQL as a conditional case expression, otherwise the output isn't valid SQL and cannot be parsed again.
Fixes #16953.

nice, thx!


Fix flickering

Some flickering going on...

Happens when scrolling (fast) past the trigger position. If one does, the menu "snaps" back to the stick position. Not sure if this is possible to fix at all...


Pipelines for fundraising and hiring

I would like to create two pipelines, one for fundraising and one for hiring. Hubspot has deals which can be used for this.
Here is a nice outline how to use hubspot for hiring:
https://aptitude8.com/blog/how-we-use-hubspot-for-recruiting
To create two deals pipelines we have to pay USD 20 per month:

We decided to use the hubspot pipelines for fund raising and the contact attributes for hiring. Like that we can use the free version.


Queue personal build with modified files

We should be able to trigger personal builds in TeamCity for specified build configurations by sending request with a list of modified files.

We need to format a patch with modified files before triggering build. To see how it works we could take a look at the Command Line Remote Run Tool. The repository of this tool.

Implemented with a command.line util at 406b42b91019d9aa35fea7afe061b714b5cc6663 and b565884ba3f1edcedca49e9b5eff456240e63d2d


fix: Never panic when instantiating connector

Description
Instead of calling .Token() in .SetTokenSource(), just write the tokenSource to the object and lazily call .Token() at the first API call.
The first API call should be Validate(), so I'm calling Initialize() there.

Changing the configs from bearer token to username and password feels like a v0.1.0 breaking change.


Test indexing against a wide range of gems

Similar to what Prism does here: https://github.com/ruby/prism/blob/main/rakelib/lex.rake

Top 100 done: https://github.com/Shopify/ruby-lsp/pull/2330
Next step will be cover all of RubyGems.org.

Question: is it really necessary to go beyond the 100 top gems?
We run indexing on CI for all of our fixtures, all of Prism fixtures, the Ruby LSP's own codebase and the 100 top gems.
I wonder if this is already enough to catch most problems and if expanding to all gems would actually bring any benefit (it will take a long time to index every single gem).

Yeah I think we'll only get diminishing return to chase full rubygems.org coverage, with a greater investment on building the infra for it. I feel it's ok to close this first, and then if we do see more indexing issues from smaller gems, we reopen the issue for further discussion.


Unclear on permissions required in IAMPolicy

When creating an AWS Lambda function with a custom IAM Policy cloudformation seems to fail to create/update the function.
In my case I have the following policy added the following:
class MyController < ApplicationController
  iam_policy(
      version: "2012-10-17",
      statement: [{
                      action: ["s3:GetObject",
                                  "s3:PutObject",
                                  "s3:ListBucket"],
                      effect: "Allow",
                      resource: ["arn:aws:s3:::mybucket/*",
                                 "arn:aws:s3:::mybucket"]
                  }]
  )
  def create
  ...
  end
end

I used the minimal IAM Policy:CLI specified  for deployment.
In my understanding this is used to create IAM roles for AWS Lambda functions. It seems to allow both "s3:" as well as "iam:".
This puzzles me to why the creation of the lambda function with a custom IAMRole fails process fails.
Motivation
Additional IAM Permissions seems to indicate the permissions might not be sufficient, however it's unclear on what might be needed.
Suggestion
An example might help other developers.

Seems that moving it from the function to the application wide config seems to help.
I now have the following in config/application.rb
Am still looking for the correct way on how to do a curl post request with data. I get no error in my dev environment, but doing the same command on aws I seem to see no messages in the cloudwatch logs. Also trying to figure out on how to send the params in the APIGateway. Would be nice to see how to use the test functions there.
config.iam_policy = [
      {
          action: ["s3:GetObject",
                   "s3:PutObject"],
          effect: "Allow",
          resource: ["arn:aws:s3:::s3bucketforshorturls/*"]
      },
      {
          action: ["s3:ListBucket"],
          effect: "Allow",
          resource: ["arn:aws:s3:::s3bucketforshorturls"]
      }
  ]


Replace Redis with an open-source alternative due to licensing changes

Describe the bug
Redis, the popular in-memory data structure store, has recently changed its licensing model from open-source to a proprietary license. I believe this change conflicts with this project's principles. Additionally, it may also conflict with our individual principles and values, as many of us strongly believe in the importance of free and open-source software.
To address this issue, we should replace Redis with an open-source alternative.
I propose that we replace Redis with KeyDB. Which is a fork of Redis that is faster and free as in freedom. However, there are other open-source alternatives available as well

Thanks for raising this issue. I agree that the licensing changes in redis are not ideal.

The Linux foundation has launched an open-source fork of Redis called Valkey. https://github.com/valkey-io/valkey

Currently Reflex isn't using the latest version of Redis anyway. As of today, it uses version 5.0.4 (">=4.3.5,<6.0"). The license change was made in Redis 7.2.4. Valkey is at 7.2.5. So maybe there are some compatibility issues using Redis 6+

For cases like this, I would recommend setting up dependency-review-action to avoid accidentally including a lessor-permissive licensed dependency.

The Linux foundation has launched an open-source fork of Redis called Valkey. https://github.com/valkey-io/valkey

I second valkey, switched all my redis backends to it and works great


ACR docs review and refactor #868

PR Summary

Updates to ACR documentation. #868
Refactoring of ACR rules to YAML. No function changes.

PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] Change is not breaking
[x] This PR is ready to merge and is not Work in Progress
Rule changes

[ ] Unit tests created/ updated
[x] Rule documentation created/ updated
[x] Link to a filed issue
[x] Change log has been updated with change under unreleased section

This also makes me think, we probably need better support for outputting rules as YAML. Using Get-PSRule -OutputFormat Yaml does not show the correct format with apiVersion, kind, metadata and spec.

PowerShell is an option but for many use cases it's probably not required. I think YAML is easier to consume with a good schema and VSCode support.


Document azidentity token caching

This doc, largely copied from other SDKs, describes in detail how credentials cache tokens. Closes #19358, closes #19660, closes #21343

@chlowell Please also add a section to the README. See https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/identity/Azure.Identity#token-caching for an example.


fix request body type detection when using headers, cookies

The library had trouble detecting the POST body payload types of my API. The argument was being typed as an empty object, and preventing me from sending any payloads. I had to use hacks such as these to make things work:
type CreateStationArg = components['schemas']['CreateStation'] // type hack
export const CreateStation = (arg: CreateStationArg, init?: RequestInit) => fetcher.path("/stations").method("post").create()(arg as any, init)

Instead of this:
export const CreateStation2 = fetcher.path("/stations").method("post").create()
// const CreateStation2: (arg: Record<string, never>, init?: RequestInit | undefined) => ...

This PR fixes this by changing the inference of OpArgType slightly. This allows for these types of POST payloads to be sent.
I have also added a test for a slice of my problematic API.

Since the merge request has stalled, I have published my version on NPM<EMAIL_ADDRESS>You can use if you have the same issue with Record<string, never> showing up in arguments.

HI @fedorg there are a couple of commits in master that has not yet been released (my bad) and a fix addressing this exact issue is one of them https://github.com/ajaishankar/openapi-typescript-fetch/commit/b62ee714e645c14b8e07c98aaaa53880e7d6c847. Will release the pending changes today, sorry about the confusion and your time...

These changes were released in 1.1.3. I think this PR should be closed.


https://alexa-node-red.bm.hardill.me.uk/ is down?

I think https://alexa-node-red.bm.hardill.me.uk/ is down from yesterday evening. But could be my computer/network/fw blocking or something.
Trying to login the site always replies:

Tried with Chrome and Firefox.
Using my devices throws an error in Alexa saying the server did not respond.
Node-red also was showing some errors in the debug window this morning (I cleared them)

Nope, all fine with up to date Letsencrypt certs

It seems something with pfsense+pfbl. As I can login using the phone. Could be that it has updated block lists and adding something that messes it.
I'll try to find the problem and post back.

Look, you're antisocial and malicious.  It's a lost case to get anything from them. You know, they love to charge for listening.
I've disabled that list and as soon as I have some time, swap it for pihole. It was a nightmare to find the block log entries. And filters didn't work most of the time.


Support 'arm64' as reported on Apple Silicon

This fixes the issue reported in this zenith issue.

Coverage increased (+0.03%) to 34.457% when pulling f0c4faa8ba67c5243f18d91fe4ec8dd11229b288 on Byron:master into 21630c4577d5a543f2866bb432d94be7807db60a on heim-rs:master.

Coverage increased (+0.03%) to 34.457% when pulling f0c4faa8ba67c5243f18d91fe4ec8dd11229b288 on Byron:master into 21630c4577d5a543f2866bb432d94be7807db60a on heim-rs:master.

Great, thanks for help!

Great, thanks for help!


what exactly is wrong with websky CIB?

I'd like to collect some overplots of data and websky CIB predictions. I'll see if I can bring back the Planck auto spectra plots. That's one of the things that Websky does right (to my knowledge), and is one of the key constraints for this model.
My impression is that there is something wrong with the redshift evolution of flux in frequencies. How do we know about that? What are other data constraints?
Does this CIB model agree with the Shang halo model C_ell that Boris has?

@fmccarthy
newfit.pdf

NOW WE KNOW @dongwooc @fmccarthy


Fix xcode 7 crash fix when using CCDrawNode

To reproduce the crash in Xcode 7 create an empty project with SpriteBuilder and add a CCDrawNode

Thanks for this. Manually copied this into my SB project that says it's using 3.4.9, though these files didn't match. Confusing, but it works now. ¯_(ツ)_/¯


Task 2 , Task 3, Task 10

5 Points are assured. No Errors found by AI system, you must be really good in writing uipath code. An expert need to review your code and it will be done before next sunrise :)

@sukeshchill
Create a folder corresponding to each task, update the code on GitHub within the designated folders, and only then proceed to review and approve the changes.

@sukeshchill
Task-2
Code verified. Default activity names

Task -3
Code verified. Default activity names

Task -10
Code verified. Default activity names


Enhancing User Experience: Introducing a Popup to Clarify Local Routing Functionality on the Swap Page

Describe the feature request
On the swap page https://swap.katla.taiko.xyz/#/swap when the cog icon is clicked, a modal pop-up displays two functionalities namely, Local routing and Max slippage. The Max slippage has a question mark in a circle, which when hovered, shows a pop-up, explaining some details to the user and giving information about their actions. On the other hand, the Local routing functionality neither has a question mark in a circle associated with it that gives any information to the user, nor does it render any visible effect on the page when it is toggled on or off.
Suggested Feature Addition:
I have attached photos showing my suggestion of adding an info icon to the Local routing functionality to help users understand what the feature does and how it can impact their transactions. This improves user experience.

Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

https://github.com/Uniswap/interface/issues/7289


Using json-typedef-codegen as a library instead of a binary?

Hi,
This is more like a feature-request or Q&A issue.
I was wondering if it possible to use this project as a dependency in another crate?
By the way, great work here!

Only the CLI interface is supported. This is to simplify the story around packaging, releasing, and maintaining this tool. The fact that it's written in Rust is, at least for now, an internal detail that doesn't imply support for usage as a Rust library.


Increase in instability in Safari

Since the introduction of the Monaco editor I've noticed an increase in the frequency with which I see 'A problem occurred with this web page so it was reloaded' in Safari on OS X, however I've also seen it occur on documentation pages. When this error occur the pages is reloaded and the user sees this a dialog like the following:

In this most recent crash the cause was WTFCrashWithSecurityImplication, which I suspect is a bug in Safari itself, but we should continue to monitor the causes of crashes.

@microsoftsam Is this still reproducible. If not please close.

I am closing this for now. If you see this again please reopen