forked from pool/jujutsu
update to 0.26.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/jujutsu?expand=0&rev=38
This commit is contained in:
commit
d42b4191cd
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
23
_service
Normal file
23
_service
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="url">https://github.com/jj-vcs/jj</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="revision">v0.26.0</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="changesgenerate">disable</param>
|
||||||
|
<param name="filename">jujutsu</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual">
|
||||||
|
</service>
|
||||||
|
<service name="cargo_vendor" mode="manual">
|
||||||
|
<param name="update">true</param>
|
||||||
|
<param name="srcdir">jj</param>
|
||||||
|
</service>
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
3
jj-0.18.0.obscpio
Normal file
3
jj-0.18.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9c20b2b26a9d97ccde20c500470af0767e78d59dc049bc3d22b1bd05a787b689
|
||||||
|
size 5770765
|
3
jj-0.20.0.obscpio
Normal file
3
jj-0.20.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9c095c934750c53479446a3dce6f529a79c3d0b7c7e87e8a2f742e195c994e03
|
||||||
|
size 6293005
|
3
jj-0.21.0.obscpio
Normal file
3
jj-0.21.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7a8a78e26e9d4eeef85188dbe0c633346b8b6ffe52557c4338373d54b2806b73
|
||||||
|
size 6437389
|
4
jj.obsinfo
Normal file
4
jj.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: jj
|
||||||
|
version: 0.21.0
|
||||||
|
mtime: 1725469873
|
||||||
|
commit: d002a5ad35e624a731e96e85f490f28febc7797e
|
3
jujutsu-0.22.0.obscpio
Normal file
3
jujutsu-0.22.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ddfbcdd0dc1005aaf6226a26a3ed6f42beff4a7868e844b21ca478a304f9b68f
|
||||||
|
size 7652877
|
3
jujutsu-0.23.0.obscpio
Normal file
3
jujutsu-0.23.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6cddcbfeb587c062e1d3f85c615d28078a351897e8cf47da06826840827b8379
|
||||||
|
size 6854157
|
3
jujutsu-0.24.0.obscpio
Normal file
3
jujutsu-0.24.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5cb76d9809a1aa0efeddb734e32747df3f2f031525ea02899e8790de2b3d27f4
|
||||||
|
size 7277581
|
3
jujutsu-0.25.0.obscpio
Normal file
3
jujutsu-0.25.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:81301644c9b124f40d679a250682461a8e8441e18a6144f67071e85345b8ce9f
|
||||||
|
size 7429645
|
3
jujutsu-0.26.0.obscpio
Normal file
3
jujutsu-0.26.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2754f93d3319de9c85cb573c4023e89ab3ce548e4ebeeb27a3cc9bf61c23da6a
|
||||||
|
size 7909389
|
1156
jujutsu.changes
Normal file
1156
jujutsu.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
jujutsu.obsinfo
Normal file
4
jujutsu.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: jujutsu
|
||||||
|
version: 0.26.0
|
||||||
|
mtime: 1738805560
|
||||||
|
commit: 613742dfbbd89324b25672a75ef8ce9e671ae0d3
|
138
jujutsu.spec
Normal file
138
jujutsu.spec
Normal file
@ -0,0 +1,138 @@
|
|||||||
|
#
|
||||||
|
# spec file for package jujutsu
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define binary_name jj
|
||||||
|
|
||||||
|
Name: jujutsu
|
||||||
|
Version: 0.26.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Git-compatible DVCS that is both simple and powerful
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/jj-vcs/jj
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source1: vendor.tar.zst
|
||||||
|
BuildRequires: cargo >= 1.76
|
||||||
|
BuildRequires: cargo-packaging
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: gnupg
|
||||||
|
BuildRequires: openssh-common
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: zstd
|
||||||
|
# dependencies for completion subpackages
|
||||||
|
BuildRequires: bash-completion
|
||||||
|
BuildRequires: fish
|
||||||
|
BuildRequires: zsh
|
||||||
|
|
||||||
|
# serde_bser fails to compile on s390x
|
||||||
|
# error[E0599]: no method named `put_f64_be` found for struct `Vec<u8>` in the current scope
|
||||||
|
ExcludeArch: s390x
|
||||||
|
|
||||||
|
%description
|
||||||
|
Jujutsu is a Git-compatible DVCS. It combines features from Git (data model,
|
||||||
|
speed), Mercurial (anonymous branching, simple CLI free from "the index",
|
||||||
|
revsets, powerful history-rewriting), and Pijul/Darcs (first-class conflicts),
|
||||||
|
with features not found in most of them (working-copy-as-a-commit, undo
|
||||||
|
functionality, automatic rebase, safe replication via rsync, Dropbox, or
|
||||||
|
distributed file system).
|
||||||
|
|
||||||
|
The command-line tool is called jj for now because it's easy to type and easy
|
||||||
|
to replace (rare in English). The project is called "Jujutsu" because it
|
||||||
|
matches "jj".
|
||||||
|
|
||||||
|
Jujutsu is relatively young, with lots of work to still be done. If you have
|
||||||
|
any questions, or want to talk about future plans, please join us on Discord
|
||||||
|
Discord or start a GitHub Discussion; the developers monitor both channels.
|
||||||
|
|
||||||
|
Important
|
||||||
|
Jujutsu is an experimental version control system. While Git compatibility is
|
||||||
|
stable, and most developers use it daily for all their needs, there may still
|
||||||
|
be work-in-progress features, suboptimal UX, and workflow gaps that make it
|
||||||
|
unusable for your particular use.
|
||||||
|
|
||||||
|
%package -n %{name}-bash-completion
|
||||||
|
Summary: Bash Completion for %{name}
|
||||||
|
Group: System/Shells
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: bash-completion
|
||||||
|
Supplements: (%{name} and bash-completion)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}-bash-completion
|
||||||
|
Bash command line completion support for %{name}.
|
||||||
|
|
||||||
|
%package -n %{name}-fish-completion
|
||||||
|
Summary: Fish Completion for %{name}
|
||||||
|
Group: System/Shells
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Supplements: (%{name} and fish)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}-fish-completion
|
||||||
|
Fish command line completion support for %{name}.
|
||||||
|
|
||||||
|
%package -n %{name}-zsh-completion
|
||||||
|
Summary: Zsh Completion for %{name}
|
||||||
|
Group: System/Shells
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Supplements: (%{name} and zsh)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}-zsh-completion
|
||||||
|
zsh command line completion support for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p 1 -a 1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{cargo_build}
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D -d -m 0755 %{buildroot}%{_bindir}
|
||||||
|
install -m 0755 %{_builddir}/%{name}-%{version}/target/release/%{binary_name} %{buildroot}%{_bindir}/%{binary_name}
|
||||||
|
|
||||||
|
# create the bash completion file
|
||||||
|
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/
|
||||||
|
%{buildroot}/%{_bindir}/%{binary_name} util completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{binary_name}
|
||||||
|
|
||||||
|
# create the fish completion file
|
||||||
|
mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/
|
||||||
|
%{buildroot}/%{_bindir}/%{binary_name} util completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{binary_name}.fish
|
||||||
|
|
||||||
|
# create the zsh completion file
|
||||||
|
mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions/
|
||||||
|
%{buildroot}/%{_bindir}/%{binary_name} util completion zsh > %{buildroot}%{_datarootdir}/zsh/site-functions/_%{binary_name}
|
||||||
|
|
||||||
|
%check
|
||||||
|
rm -rf tests/contest/
|
||||||
|
%{cargo_test}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_bindir}/%{binary_name}
|
||||||
|
|
||||||
|
%files -n %{name}-bash-completion
|
||||||
|
%{_datarootdir}/bash-completion/completions/%{binary_name}
|
||||||
|
|
||||||
|
%files -n %{name}-fish-completion
|
||||||
|
%{_datarootdir}/fish/vendor_completions.d/%{binary_name}.fish
|
||||||
|
|
||||||
|
%files -n %{name}-zsh-completion
|
||||||
|
%{_datarootdir}/zsh/site-functions/_%{binary_name}
|
||||||
|
|
||||||
|
%changelog
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5daa29a0352846c5fa43a47971b556ed3909c09109633577e79b3d597f96305f
|
||||||
|
size 43332570
|
Loading…
x
Reference in New Issue
Block a user