pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/git-branchless devel/git-branchless: import package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d491e963bf90
branches:  trunk
changeset: 391699:d491e963bf90
user:      pin <pin%pkgsrc.org@localhost>
date:      Thu Jan 12 12:51:30 2023 +0000

description:
devel/git-branchless: import package

git-branchless is a suite of tools which enhances Git in several ways. It makes
Git easier to use, both for novices and for power users.
Examples:
 - git undo: a general-purpose undo command.
 - The smartlog: a convenient visualization tool.
 - git restack: to repair broken commit graphs.
 - Speculative merges: to avoid being caught off-guard by merge conflicts.
 - Patch-stack workflows: strong support for patch-stack workflows as used by
   the Linux and Git projects, as well as at many large tech companies.
 - Prototyping and experimenting workflows: strong support for prototyping and
   experimental work via divergent development.
 - git sync: to rebase all local commit stacks and branches without having to
   check them out first.
 - git move: The ability to move subtrees rather than sticks while cleaning up
   old branches, not touching the working copy, etc.
 - Anonymous branching: reduces the overhead of branching for experimental work.
 - In-memory operations: to modify the commit graph without having to check out
   the commits in question.
 - git next/prev: to quickly jump between commits and branches in a stack.
 - git sw -i/--interactive: to interactively select a commit to switch to.

It provides faster operations for large repositories and monorepos,
particularly at large tech companies.

diffstat:

 devel/git-branchless/DESCR            |   23 +
 devel/git-branchless/Makefile         |   33 +
 devel/git-branchless/PLIST            |    2 +
 devel/git-branchless/cargo-depends.mk |  331 +++++++++++
 devel/git-branchless/distinfo         |  992 ++++++++++++++++++++++++++++++++++
 5 files changed, 1381 insertions(+), 0 deletions(-)

diffs (truncated from 1401 to 300 lines):

diff -r 21553b16363f -r d491e963bf90 devel/git-branchless/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-branchless/DESCR        Thu Jan 12 12:51:30 2023 +0000
@@ -0,0 +1,23 @@
+git-branchless is a suite of tools which enhances Git in several ways. It makes
+Git easier to use, both for novices and for power users.
+Examples:
+ - git undo: a general-purpose undo command.
+ - The smartlog: a convenient visualization tool.
+ - git restack: to repair broken commit graphs.
+ - Speculative merges: to avoid being caught off-guard by merge conflicts.
+ - Patch-stack workflows: strong support for patch-stack workflows as used by
+   the Linux and Git projects, as well as at many large tech companies.
+ - Prototyping and experimenting workflows: strong support for prototyping and
+   experimental work via divergent development.
+ - git sync: to rebase all local commit stacks and branches without having to
+   check them out first.
+ - git move: The ability to move subtrees rather than sticks while cleaning up
+   old branches, not touching the working copy, etc.
+ - Anonymous branching: reduces the overhead of branching for experimental work.
+ - In-memory operations: to modify the commit graph without having to check out
+   the commits in question.
+ - git next/prev: to quickly jump between commits and branches in a stack.
+ - git sw -i/--interactive: to interactively select a commit to switch to.
+
+It provides faster operations for large repositories and monorepos,
+particularly at large tech companies.
diff -r 21553b16363f -r d491e963bf90 devel/git-branchless/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-branchless/Makefile     Thu Jan 12 12:51:30 2023 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2023/01/12 12:51:30 pin Exp $
+
+DISTNAME=      git-branchless-0.6.0
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=arxanas/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/arxanas/git-branchless/
+COMMENT=       High-velocity, monorepo-scale workflow for Git
+LICENSE=       gnu-gpl-v2
+
+.include "cargo-depends.mk"
+
+USE_TOOLS+=    pkg-config
+USE_NCURSES=   yes #NCURSES_MOUSE_VERSION
+
+INSTALLATION_DIRS=     bin
+
+RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libgit2}/lib
+RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.ncursesw}/lib
+RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite3}/lib
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/git-branchless \
+               ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../devel/libgit2/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 21553b16363f -r d491e963bf90 devel/git-branchless/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-branchless/PLIST        Thu Jan 12 12:51:30 2023 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/12 12:51:30 pin Exp $
+bin/git-branchless
diff -r 21553b16363f -r d491e963bf90 devel/git-branchless/cargo-depends.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-branchless/cargo-depends.mk     Thu Jan 12 12:51:30 2023 +0000
@@ -0,0 +1,331 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2023/01/12 12:51:30 pin Exp $
+
+CARGO_CRATE_DEPENDS+=  addr2line-0.17.0
+CARGO_CRATE_DEPENDS+=  adler-1.0.2
+CARGO_CRATE_DEPENDS+=  ahash-0.7.6
+CARGO_CRATE_DEPENDS+=  ahash-0.8.1
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.19
+CARGO_CRATE_DEPENDS+=  android_system_properties-0.1.5
+CARGO_CRATE_DEPENDS+=  anes-0.1.6
+CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+=  anyhow-1.0.66
+CARGO_CRATE_DEPENDS+=  arrayvec-0.5.2
+CARGO_CRATE_DEPENDS+=  arrayvec-0.7.2
+CARGO_CRATE_DEPENDS+=  ascii-canvas-3.0.0
+CARGO_CRATE_DEPENDS+=  assert_cmd-2.0.6
+CARGO_CRATE_DEPENDS+=  atty-0.2.14
+CARGO_CRATE_DEPENDS+=  autocfg-1.1.0
+CARGO_CRATE_DEPENDS+=  backtrace-0.3.66
+CARGO_CRATE_DEPENDS+=  beef-0.5.2
+CARGO_CRATE_DEPENDS+=  bit-set-0.5.3
+CARGO_CRATE_DEPENDS+=  bit-vec-0.6.3
+CARGO_CRATE_DEPENDS+=  bitflags-1.3.2
+CARGO_CRATE_DEPENDS+=  bstr-1.0.1
+CARGO_CRATE_DEPENDS+=  bugreport-0.5.0
+CARGO_CRATE_DEPENDS+=  bumpalo-3.11.1
+CARGO_CRATE_DEPENDS+=  byteorder-1.4.3
+CARGO_CRATE_DEPENDS+=  cast-0.3.0
+CARGO_CRATE_DEPENDS+=  cc-1.0.73
+CARGO_CRATE_DEPENDS+=  cfg-if-0.1.10
+CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+=  chashmap-2.2.2
+CARGO_CRATE_DEPENDS+=  chrono-0.4.22
+CARGO_CRATE_DEPENDS+=  chrono-english-0.1.7
+CARGO_CRATE_DEPENDS+=  chronoutil-0.2.3
+CARGO_CRATE_DEPENDS+=  ciborium-0.2.0
+CARGO_CRATE_DEPENDS+=  ciborium-io-0.2.0
+CARGO_CRATE_DEPENDS+=  ciborium-ll-0.2.0
+CARGO_CRATE_DEPENDS+=  clap-3.2.23
+CARGO_CRATE_DEPENDS+=  clap-4.0.22
+CARGO_CRATE_DEPENDS+=  clap_derive-4.0.21
+CARGO_CRATE_DEPENDS+=  clap_lex-0.2.4
+CARGO_CRATE_DEPENDS+=  clap_lex-0.3.0
+CARGO_CRATE_DEPENDS+=  clap_mangen-0.2.4
+CARGO_CRATE_DEPENDS+=  cloudabi-0.0.3
+CARGO_CRATE_DEPENDS+=  codespan-reporting-0.11.1
+CARGO_CRATE_DEPENDS+=  color-eyre-0.6.2
+CARGO_CRATE_DEPENDS+=  color-spantrace-0.2.0
+CARGO_CRATE_DEPENDS+=  concolor-0.0.9
+CARGO_CRATE_DEPENDS+=  concolor-query-0.1.0
+CARGO_CRATE_DEPENDS+=  console-0.15.2
+CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.8.3
+CARGO_CRATE_DEPENDS+=  criterion-0.4.0
+CARGO_CRATE_DEPENDS+=  criterion-plot-0.5.0
+CARGO_CRATE_DEPENDS+=  crossbeam-0.8.2
+CARGO_CRATE_DEPENDS+=  crossbeam-channel-0.5.6
+CARGO_CRATE_DEPENDS+=  crossbeam-deque-0.8.2
+CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.9.11
+CARGO_CRATE_DEPENDS+=  crossbeam-queue-0.3.6
+CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.8.12
+CARGO_CRATE_DEPENDS+=  crossterm-0.25.0
+CARGO_CRATE_DEPENDS+=  crossterm_winapi-0.9.0
+CARGO_CRATE_DEPENDS+=  crunchy-0.2.2
+CARGO_CRATE_DEPENDS+=  cursive-0.20.0
+CARGO_CRATE_DEPENDS+=  cursive_buffered_backend-0.6.1
+CARGO_CRATE_DEPENDS+=  cursive_core-0.3.5
+CARGO_CRATE_DEPENDS+=  cxx-1.0.80
+CARGO_CRATE_DEPENDS+=  cxx-build-1.0.80
+CARGO_CRATE_DEPENDS+=  cxxbridge-flags-1.0.80
+CARGO_CRATE_DEPENDS+=  cxxbridge-macro-1.0.80
+CARGO_CRATE_DEPENDS+=  darling-0.14.2
+CARGO_CRATE_DEPENDS+=  darling_core-0.14.2
+CARGO_CRATE_DEPENDS+=  darling_macro-0.14.2
+CARGO_CRATE_DEPENDS+=  defer-drop-1.3.0
+CARGO_CRATE_DEPENDS+=  derive_builder-0.11.2
+CARGO_CRATE_DEPENDS+=  derive_builder_core-0.11.2
+CARGO_CRATE_DEPENDS+=  derive_builder_macro-0.11.2
+CARGO_CRATE_DEPENDS+=  dialoguer-0.10.2
+CARGO_CRATE_DEPENDS+=  diff-0.1.13
+CARGO_CRATE_DEPENDS+=  difflib-0.4.0
+CARGO_CRATE_DEPENDS+=  dirs-next-2.0.0
+CARGO_CRATE_DEPENDS+=  dirs-sys-next-0.1.2
+CARGO_CRATE_DEPENDS+=  doc-comment-0.3.3
+CARGO_CRATE_DEPENDS+=  either-1.8.0
+CARGO_CRATE_DEPENDS+=  ena-0.14.0
+CARGO_CRATE_DEPENDS+=  encode_unicode-0.3.6
+CARGO_CRATE_DEPENDS+=  enum-map-2.4.1
+CARGO_CRATE_DEPENDS+=  enum-map-derive-0.10.0
+CARGO_CRATE_DEPENDS+=  enumset-1.0.12
+CARGO_CRATE_DEPENDS+=  enumset_derive-0.6.1
+CARGO_CRATE_DEPENDS+=  env_logger-0.9.1
+CARGO_CRATE_DEPENDS+=  esl01-dag-0.2.1
+CARGO_CRATE_DEPENDS+=  esl01-drawdag-0.1.0
+CARGO_CRATE_DEPENDS+=  esl01-indexedlog-0.1.2
+CARGO_CRATE_DEPENDS+=  esl01-minibytes-0.2.0
+CARGO_CRATE_DEPENDS+=  esl01-vlqencoding-0.1.0
+CARGO_CRATE_DEPENDS+=  eyre-0.6.8
+CARGO_CRATE_DEPENDS+=  fallible-iterator-0.2.0
+CARGO_CRATE_DEPENDS+=  fallible-streaming-iterator-0.1.9
+CARGO_CRATE_DEPENDS+=  fastrand-1.8.0
+CARGO_CRATE_DEPENDS+=  filedescriptor-0.8.2
+CARGO_CRATE_DEPENDS+=  fixedbitset-0.4.2
+CARGO_CRATE_DEPENDS+=  fnv-1.0.7
+CARGO_CRATE_DEPENDS+=  form_urlencoded-1.1.0
+CARGO_CRATE_DEPENDS+=  fs2-0.4.3
+CARGO_CRATE_DEPENDS+=  fslock-0.2.1
+CARGO_CRATE_DEPENDS+=  fuchsia-cprng-0.1.1
+CARGO_CRATE_DEPENDS+=  fuzzy-matcher-0.3.7
+CARGO_CRATE_DEPENDS+=  getrandom-0.1.16
+CARGO_CRATE_DEPENDS+=  getrandom-0.2.8
+CARGO_CRATE_DEPENDS+=  gimli-0.26.2
+CARGO_CRATE_DEPENDS+=  git-version-0.3.5
+CARGO_CRATE_DEPENDS+=  git-version-macro-0.3.5
+CARGO_CRATE_DEPENDS+=  git2-0.15.0
+CARGO_CRATE_DEPENDS+=  glob-0.3.0
+CARGO_CRATE_DEPENDS+=  half-1.8.2
+CARGO_CRATE_DEPENDS+=  hashbrown-0.12.3
+CARGO_CRATE_DEPENDS+=  hashlink-0.8.1
+CARGO_CRATE_DEPENDS+=  heck-0.4.0
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.19
+CARGO_CRATE_DEPENDS+=  hex-0.4.3
+CARGO_CRATE_DEPENDS+=  humantime-2.1.0
+CARGO_CRATE_DEPENDS+=  iana-time-zone-0.1.53
+CARGO_CRATE_DEPENDS+=  iana-time-zone-haiku-0.1.1
+CARGO_CRATE_DEPENDS+=  ident_case-1.0.1
+CARGO_CRATE_DEPENDS+=  idna-0.3.0
+CARGO_CRATE_DEPENDS+=  indenter-0.3.3
+CARGO_CRATE_DEPENDS+=  indexmap-1.9.1
+CARGO_CRATE_DEPENDS+=  indicatif-0.17.1
+CARGO_CRATE_DEPENDS+=  insta-1.21.0
+CARGO_CRATE_DEPENDS+=  instant-0.1.12
+CARGO_CRATE_DEPENDS+=  ioctl-rs-0.1.6
+CARGO_CRATE_DEPENDS+=  itertools-0.8.2
+CARGO_CRATE_DEPENDS+=  itertools-0.10.5
+CARGO_CRATE_DEPENDS+=  itoa-1.0.4
+CARGO_CRATE_DEPENDS+=  jobserver-0.1.25
+CARGO_CRATE_DEPENDS+=  js-sys-0.3.60
+CARGO_CRATE_DEPENDS+=  json-0.12.4
+CARGO_CRATE_DEPENDS+=  lalrpop-0.19.8
+CARGO_CRATE_DEPENDS+=  lalrpop-util-0.19.8
+CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=  libc-0.2.137
+CARGO_CRATE_DEPENDS+=  libgit2-sys-0.14.0+1.5.0
+CARGO_CRATE_DEPENDS+=  libsqlite3-sys-0.25.2
+CARGO_CRATE_DEPENDS+=  libz-sys-1.1.8
+CARGO_CRATE_DEPENDS+=  link-cplusplus-1.0.7
+CARGO_CRATE_DEPENDS+=  linked-hash-map-0.5.6
+CARGO_CRATE_DEPENDS+=  lock_api-0.3.4
+CARGO_CRATE_DEPENDS+=  lock_api-0.4.9
+CARGO_CRATE_DEPENDS+=  log-0.4.17
+CARGO_CRATE_DEPENDS+=  man-0.3.0
+CARGO_CRATE_DEPENDS+=  matchers-0.1.0
+CARGO_CRATE_DEPENDS+=  maybe-uninit-2.0.0
+CARGO_CRATE_DEPENDS+=  memchr-2.5.0
+CARGO_CRATE_DEPENDS+=  memmap-0.7.0
+CARGO_CRATE_DEPENDS+=  memoffset-0.6.5
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.5.4
+CARGO_CRATE_DEPENDS+=  mio-0.8.5
+CARGO_CRATE_DEPENDS+=  new_debug_unreachable-1.0.4
+CARGO_CRATE_DEPENDS+=  nix-0.24.2
+CARGO_CRATE_DEPENDS+=  nix-0.25.0
+CARGO_CRATE_DEPENDS+=  num-0.4.0
+CARGO_CRATE_DEPENDS+=  num-complex-0.4.2
+CARGO_CRATE_DEPENDS+=  num-integer-0.1.45
+CARGO_CRATE_DEPENDS+=  num-iter-0.1.43
+CARGO_CRATE_DEPENDS+=  num-rational-0.4.1
+CARGO_CRATE_DEPENDS+=  num-traits-0.2.15
+CARGO_CRATE_DEPENDS+=  num_cpus-1.14.0
+CARGO_CRATE_DEPENDS+=  num_threads-0.1.6
+CARGO_CRATE_DEPENDS+=  number_prefix-0.4.0
+CARGO_CRATE_DEPENDS+=  object-0.29.0
+CARGO_CRATE_DEPENDS+=  once_cell-1.16.0
+CARGO_CRATE_DEPENDS+=  oorandom-11.1.3
+CARGO_CRATE_DEPENDS+=  os_str_bytes-6.3.1
+CARGO_CRATE_DEPENDS+=  owning_ref-0.3.3
+CARGO_CRATE_DEPENDS+=  owning_ref-0.4.1
+CARGO_CRATE_DEPENDS+=  owo-colors-3.5.0
+CARGO_CRATE_DEPENDS+=  parking_lot-0.4.8
+CARGO_CRATE_DEPENDS+=  parking_lot-0.10.2
+CARGO_CRATE_DEPENDS+=  parking_lot-0.12.1
+CARGO_CRATE_DEPENDS+=  parking_lot_core-0.2.14
+CARGO_CRATE_DEPENDS+=  parking_lot_core-0.7.2
+CARGO_CRATE_DEPENDS+=  parking_lot_core-0.9.4
+CARGO_CRATE_DEPENDS+=  path-slash-0.2.1
+CARGO_CRATE_DEPENDS+=  percent-encoding-2.2.0
+CARGO_CRATE_DEPENDS+=  petgraph-0.6.2
+CARGO_CRATE_DEPENDS+=  phf_shared-0.10.0
+CARGO_CRATE_DEPENDS+=  pico-args-0.4.2
+CARGO_CRATE_DEPENDS+=  pin-project-lite-0.2.9
+CARGO_CRATE_DEPENDS+=  pin-utils-0.1.0
+CARGO_CRATE_DEPENDS+=  pkg-config-0.3.26
+CARGO_CRATE_DEPENDS+=  plotters-0.3.4
+CARGO_CRATE_DEPENDS+=  plotters-backend-0.3.4
+CARGO_CRATE_DEPENDS+=  plotters-svg-0.3.3
+CARGO_CRATE_DEPENDS+=  portable-pty-0.7.0
+CARGO_CRATE_DEPENDS+=  ppv-lite86-0.2.17
+CARGO_CRATE_DEPENDS+=  precomputed-hash-0.1.1
+CARGO_CRATE_DEPENDS+=  predicates-2.1.2
+CARGO_CRATE_DEPENDS+=  predicates-core-1.0.4
+CARGO_CRATE_DEPENDS+=  predicates-tree-1.0.6
+CARGO_CRATE_DEPENDS+=  proc-macro-error-1.0.4
+CARGO_CRATE_DEPENDS+=  proc-macro-error-attr-1.0.4
+CARGO_CRATE_DEPENDS+=  proc-macro-hack-0.5.19
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.47
+CARGO_CRATE_DEPENDS+=  quote-1.0.21
+CARGO_CRATE_DEPENDS+=  rand-0.4.6
+CARGO_CRATE_DEPENDS+=  rand-0.7.3
+CARGO_CRATE_DEPENDS+=  rand-0.8.5
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.2.2
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.3.1
+CARGO_CRATE_DEPENDS+=  rand_core-0.3.1
+CARGO_CRATE_DEPENDS+=  rand_core-0.4.2
+CARGO_CRATE_DEPENDS+=  rand_core-0.5.1
+CARGO_CRATE_DEPENDS+=  rand_core-0.6.4
+CARGO_CRATE_DEPENDS+=  rand_hc-0.2.0
+CARGO_CRATE_DEPENDS+=  rayon-1.5.3
+CARGO_CRATE_DEPENDS+=  rayon-core-1.9.3
+CARGO_CRATE_DEPENDS+=  rdrand-0.4.0
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.1.57
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.2.16
+CARGO_CRATE_DEPENDS+=  redox_users-0.4.3
+CARGO_CRATE_DEPENDS+=  regex-1.7.0
+CARGO_CRATE_DEPENDS+=  regex-automata-0.1.10
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.28
+CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.3
+CARGO_CRATE_DEPENDS+=  roff-0.1.0
+CARGO_CRATE_DEPENDS+=  roff-0.2.1



Home | Main Index | Thread Index | Old Index