Please find attached a couple proposed fixes to the user guide.
>From 5f05b5ec32440470fbfac308ed1db211ecc76428 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vilius=20Panev=C4=97=C5=BEys?= <v...@mikrovisata.net>
Date: Sun, 8 May 2022 18:28:41 +0300
Subject: [PATCH 1/2] Drop outdated Hackage vs CPAN package counts

The package counts have grown to 15353 and 43351 respectively as of this
writing, hence the ratio has dropped from 5.6 to 2.8. Given the growth
of Hackage, the comparison does not seem as important anymore (does it
matter if you have 3 or 8 alternative libraries for the same purpose?).
Dropping package counts to avoid the need for continuous updates.
---
 doc/intro.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/intro.rst b/doc/intro.rst
index 73e391692..367f2130d 100644
--- a/doc/intro.rst
+++ b/doc/intro.rst
@@ -156,8 +156,8 @@ Ruby Gems or Perl distributions. Each system has a notion of
 distributable packages, and has tools to manage the process of
 distributing and installing packages.
 
-Hackage is an online archive of Cabal packages. It is roughly comparable
-to CPAN but with rather fewer packages (around 5,000 vs 28,000).
+Hackage is an online archive of Cabal packages, roughly comparable to
+CPAN.
 
 Cabal is often compared with autoconf and automake and there is some
 overlap in functionality. The most obvious similarity is that the
-- 
2.30.2

>From fff8ed84d1681a09670660441997d8f5fac7f16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vilius=20Panev=C4=97=C5=BEys?= <v...@mikrovisata.net>
Date: Sun, 8 May 2022 18:31:25 +0300
Subject: [PATCH 2/2] Update repo URL in doc example to avoid confusion

---
 doc/cabal-package.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/cabal-package.rst b/doc/cabal-package.rst
index 19074207c..ce51e6049 100644
--- a/doc/cabal-package.rst
+++ b/doc/cabal-package.rst
@@ -2764,12 +2764,12 @@ repository specifies a tag.
 ::
 
     source-repository head
-      type:     darcs
-      location: http://darcs.haskell.org/cabal/
+      type:     git
+      location: https://github.com/haskell/cabal
 
     source-repository this
-      type:     darcs
-      location: http://darcs.haskell.org/cabal-branches/cabal-1.6/
+      type:     git
+      location: https://github.com/haskell/cabal
       tag:      1.6.1
 
 The exact fields are as follows:
-- 
2.30.2

_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel

Reply via email to