Opened 3 days ago

Last modified 22 hours ago

#2662 new defect

Unable to clone njs 0.8.5 from hg/mercurial

Reported by: Karthikdasari0423@… Owned by:
Priority: blocker Milestone:
Component: nginx-package Version: 1.25.x
Keywords: njs Cc:
uname -a: Linux ubuntu 5.15.0-83-generic #92-Ubuntu SMP Mon Aug 14 09:30:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.27.0
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.0/debian/debuild-base/nginx-1.27.0=. -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

Unable to clone njs 0.8.5 from hg/mercurial while 0.8.4 is able to clone.
And able to clone njs 0.8.5 from github also.

njs 0.8.4 from mercurial:-
=======================
root@ubuntu:~# hg clone http://hg.nginx.org/njs -r 0.8.4
destination directory: njs
adding changesets
adding manifests
adding file changes
added 2316 changesets with 8433 changes to 871 files
new changesets 157dc59dae36:11d956c1577c
updating to branch default
511 files updated, 0 files merged, 0 files removed, 0 files unresolved
root@ubuntu:~#

remove njs 0.8.4 and clone njs 0.8.5 from mercurial:-
====================================================
root@ubuntu:~# rm -rf njs/
root@ubuntu:~# hg clone http://hg.nginx.org/njs -r 0.8.5
destination directory: njs
abort: unknown revision '0.8.5'
root@ubuntu:~#

Change History (3)

comment:1 by Karthikdasari0423@…, 3 days ago

Clone njs 0.8.5 from github:-
============================
root@ubuntu:~# git clone -b 0.8.5 https://github.com/nginx/njs.git
Cloning into 'njs'...
remote: Enumerating objects: 16991, done.
remote: Counting objects: 100% (2468/2468), done.
remote: Compressing objects: 100% (519/519), done.
remote: Total 16991 (delta 2045), reused 2265 (delta 1947), pack-reused 14523
Receiving objects: 100% (16991/16991), 20.23 MiB | 7.87 MiB/s, done.
Resolving deltas: 100% (13521/13521), done.
Note: switching to '9d4bf6c60aa60a828609f64d1b5c50f71bb7ef62'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c <new-branch-name>

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

root@ubuntu:~#

comment:2 by thresh, 3 days ago

Hi!

njs has migrated to github: https://mailman.nginx.org/pipermail/nginx/2024-June/WBTVAEMFIOQDL3VEBP7Z65Q4E56T73L6.html

The mercurial mirror is no longer up-to-date and is discontinued.

comment:3 by Karthikdasari0423@…, 22 hours ago

okay, got it.
Thanks.

Note: See TracTickets for help on using tickets.