Cannot fetch gilab updates using wget/apt-mirror
Hi,
Giltab repo uses amazon redirects that block updates retrieval using wget, i.e.:
$ wget -N 'https://packages.gitlab.com/gitlab/gitlab-ce/debian/dists/jessie/InRelease'
$ touch -t 200101010000 InRelease
$ wget -N 'https://packages.gitlab.com/gitlab/gitlab-ce/debian/dists/jessie/InRelease'
--2015-10-22 17:23:02-- https://packages.gitlab.com/gitlab/gitlab-ce/debian/dists/jessie/InRelease
Resolving packages.gitlab.com... 54.153.54.194
Connecting to packages.gitlab.com|54.153.54.194|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://packages-gitlab-com.s3.amazonaws.com/7/8/debian/dists/jessie/InRelease?AWSAccessKeyId=AKIAJ74R7IHMTQVGFCEA&Signature=xSJ0xnLs6ErmsHGxuQirTi7/1B4%3D&Expires=1445527683 [following]
--2015-10-22 17:23:03-- https://packages-gitlab-com.s3.amazonaws.com/7/8/debian/dists/jessie/InRelease?AWSAccessKeyId=AKIAJ74R7IHMTQVGFCEA&Signature=xSJ0xnLs6ErmsHGxuQirTi7/1B4%3D&Expires=1445527683
Resolving packages-gitlab-com.s3.amazonaws.com... 54.231.11.49
Connecting to packages-gitlab-com.s3.amazonaws.com|54.231.11.49|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18253 (18K) [text/plain]
Remote file is newer, retrieving.
--2015-10-22 17:23:04-- https://packages-gitlab-com.s3.amazonaws.com/7/8/debian/dists/jessie/InRelease?AWSAccessKeyId=AKIAJ74R7IHMTQVGFCEA&Signature=xSJ0xnLs6ErmsHGxuQirTi7/1B4%3D&Expires=1445527683
Reusing existing connection to packages-gitlab-com.s3.amazonaws.com:443.
HTTP request sent, awaiting response... 403 Forbidden
2015-10-22 17:23:04 ERROR 403: Forbidden.
This disallows one to use apt-mirror for example to fetch updates from gitlab repo. Please consider providing more standard solution (without one time URLs).
Regards, Pawel