Opened 3 months ago

Closed 8 weeks ago

#2684 closed defect (invalid)

Unable to clone nginx-quic from hg.nginx.org

Reported by: Karthikdasari0423@… Owned by:
Priority: blocker Milestone:
Component: nginx-package Version: 1.25.x
Keywords: Cc:
uname -a: Linux ubuntu 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.27.1
built by gcc 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
built with OpenSSL 3.0.2 15 Mar 2022
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt='-g -O2 -ffile-prefix-map=/data/builder/debuild/nginx-1.27.1/debian/debuild-base/nginx-1.27.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC' --with-ld-opt='-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie'

Description

I was trying to clone release-1.27.1 from nginx-quic but unable to do and getting below error.

On my Ubuntu:-

root@ubuntu:~# hg clone https://hg.nginx.org/nginx-quic -b release-1.27.1
abort: unknown branch 'release-1.27.1'

On my Windows:-
(sent 2 HTTP requests and 471 bytes; received 475 bytes in responses)
unknown revision 'release-1.27.0'
[command returned code 255 Mon Sep 2 10:45:42 2024]

Tried release-1.27.0 from nginx-quic and release-1.26.2 from nginx but facing same issue

root@ubuntu:~# hg clone https://hg.nginx.org/nginx/ -b release-1.26.2
abort: unknown branch 'release-1.26.2'
root@ubuntu:~#

But webpage is accesible
Am i missing anything here?

Change History (5)

comment:1 by Karthikdasari0423@…, 3 months ago

Seems to be you have removed all tags from hg
https://hg.nginx.org/nginx-quic/rev/b60aebc17e23
Used default and working fine

root@ubuntu:~# hg clone https://hg.nginx.org/nginx-quic
destination directory: nginx-quic
requesting all changes
adding changesets
adding manifests
adding file changes
added 9263 changesets with 24791 changes to 759 files (+17 heads)
new changesets 4eff17414a43:736200cce515
updating to branch default
505 files updated, 0 files merged, 0 files removed, 0 files unresolved
root@ubuntu:~#

comment:2 by Karthikdasari0423@…, 3 months ago

Do you have any plan to add anything like stable-1.27.1 for release-1.27.1 as you have added stable-1.26 tag for release-1.26.2 and i was able to clone using stable-1.26 instead of release-1.26.2.

root@ubuntu:~# hg clone https://hg.nginx.org/nginx/ -b stable-1.26
destination directory: nginx
adding changesets
adding manifests
adding file changes
added 8255 changesets with 23473 changes to 756 files
new changesets 4eff17414a43:9273d346e6fe
updating to branch stable-1.26
504 files updated, 0 files merged, 0 files removed, 0 files unresolved
root@ubuntu:~#
root@ubuntu:~# hg clone https://hg.nginx.org/nginx/ -b release-1.26.2
abort: unknown branch 'release-1.26.2'
root@ubuntu:~#

Last edited 3 months ago by Karthikdasari0423@… (previous) (diff)

comment:4 by Karthikdasari0423@…, 3 months ago

Thanks but it didn't work for me.
Just wondering Did it work for you or not?

root@ubuntu:~# hg clone https://hg.nginx.org/nginx -b v1.27.1
abort: unknown branch 'v1.27.1'
root@ubuntu:~#

comment:5 by Karthikdasari0423@…, 3 months ago

I will be using git
Thanks for notifying via email
git clone https://github.com/nginx/nginx.git -b release-1.27.1
Pls feel free to close the bug

comment:6 by Sergey Kandaurov, 8 weeks ago

Resolution: invalid
Status: newclosed

The nginx-quic mercurial repo is long obsolete.
Please read announcement at https://quic.nginx.org/

Note: See TracTickets for help on using tickets.