summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2026-02-18 00:51:48 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-18 00:51:48 +0100
commitdfab9ce6e0cc45b76754f9f1bef9a78a12231dc2 (patch)
treeb4fab9150c9a461dcf2cee302bf254ae8d8784cd
parentcaf2e000f8bf3857403520bc196b61120b3102d7 (diff)
gnu: Remove gitless.
* gnu/packages/version-control.scm (gitless): Delete variable. Change-Id: Iaee1c2bd4eaa032ccbdebe83baa57f09ea23de9f
-rw-r--r--gnu/packages/version-control.scm70
1 files changed, 0 insertions, 70 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 4b3644b1984..6496736d043 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -896,76 +896,6 @@ everything from small to very large projects with speed and efficiency.")
896logs to GNU ChangeLog format.") 896logs to GNU ChangeLog format.")
897 (license license:gpl2+)))) 897 (license license:gpl2+))))
898 898
899(define-public gitless
900 ;; XXX: The latest release uses deprecated packages.
901 (let ((commit "3ac28e39e170acdcd1590e0a25a06790ae0e6922")
902 (revision "0"))
903 (package
904 (name "gitless")
905 (version (git-version "0.8.8" revision commit))
906 (source
907 (origin
908 (method git-fetch)
909 (uri (git-reference
910 (url "https://github.com/gitless-vcs/gitless")
911 (commit commit)))
912 (sha256
913 (base32 "116hl4hb42qw7lza0w71m2i7dmfh0vfm5fi3x95nx463sjnk4ahv"))))
914 (build-system pyproject-build-system)
915 (arguments
916 (list
917 #:phases
918 #~(modify-phases %standard-phases
919 (add-before 'build 'loosen-requirements
920 (lambda _
921 (substitute* "setup.py"
922 ;; Using Guix's python-pygit2 1.1.0 appears to work fine…
923 (("pygit2==") "pygit2>="))))
924 (add-before 'check 'prepare-for-tests
925 (lambda _
926 ;; Find the 'gl' command.
927 (rename-file "gl.py" "gl")
928 (setenv "PATH" (string-append (getcwd) ":" (getenv "PATH")))
929
930 ;; The tests try to run git as if it were already set up.
931 (setenv "HOME" (getcwd))
932 (invoke "git" "config" "--global" "user.email" "git@example.com")
933 (invoke "git" "config" "--global" "user.name" "Guix")
934 (invoke "git" "config" "--global" "color.ui" "true")))
935 (replace 'wrap
936 (lambda* (#:key inputs outputs #:allow-other-keys)
937 (let ((git (search-input-file inputs "bin/git")))
938 (wrap-program (string-append #$output "/bin/gl")
939 `("PATH" ":" prefix (,(dirname git)))
940 `("GUIX_PYTHONPATH" ":" =
941 (,(string-append (site-packages inputs outputs) ":")
942 ,(getenv "GUIX_PYTHONPATH"))))))))))
943 (native-inputs
944 (list git-minimal
945 python-pytest
946 python-setuptools
947 python-wheel))
948 (inputs
949 (list bash-minimal
950 git-minimal
951 python-argcomplete
952 python-pygit2-1.11
953 python-sh))
954 (home-page "https://gitless.com")
955 (synopsis "Simple version control system built on top of Git")
956 (description
957 "Gitless is a Git-compatible version control system that aims to be easy to
958learn and use. It simplifies the common workflow by committing changes to
959tracked files by default and saving any uncommitted changes as part of a branch.
960
961The friendly @command{gl} command-line interface gives feedback and helps you
962figure out what to do next.
963
964Gitless is implemented on top of Git and its commits and repositories are
965indistinguishable from Git's. You (or other contributors) can always fall back
966on @command{git}, and use any regular Git hosting service.")
967 (license license:expat))))
968
969(define-public git-cal 899(define-public git-cal
970 (package 900 (package
971 (name "git-cal") 901 (name "git-cal")