forked from pool/jujutsu
Accepting request 1116558 from home:ojkastl_buildservice:Branch_devel_tools_scm
new package jujutsu: A Git-compatible DVCS that is both simple and powerful OBS-URL: https://build.opensuse.org/request/show/1116558 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/jujutsu?expand=0&rev=1
This commit is contained in:
commit
0f6030581d
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
|
25
_service
Normal file
25
_service
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="url">https://github.com/martinvonz/jj</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="revision">v0.10.0</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
</service>
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</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="cargo_audit" mode="manual">
|
||||||
|
<param name="srcdir">jj</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/martinvonz/jj</param>
|
||||||
|
<param name="changesrevision">ce933507df6eb51286cb7c7e3f1aaa53e581a3ef</param></service></servicedata>
|
5
cargo_config
Normal file
5
cargo_config
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[source.crates-io]
|
||||||
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
|
[source.vendored-sources]
|
||||||
|
directory = "vendor"
|
3
jj-0.10.0.obscpio
Normal file
3
jj-0.10.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:27df117dae5c1b8cd103dee0480f312d4fd8ac590c12b9c69970eb03fdf692f3
|
||||||
|
size 4163084
|
4
jj.obsinfo
Normal file
4
jj.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: jj
|
||||||
|
version: 0.10.0
|
||||||
|
mtime: 1696463145
|
||||||
|
commit: ce933507df6eb51286cb7c7e3f1aaa53e581a3ef
|
5
jujutsu.changes
Normal file
5
jujutsu.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 9 15:49:09 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- new package jujutsu: A Git-compatible DVCS that is both simple
|
||||||
|
and powerful
|
67
jujutsu.spec
Normal file
67
jujutsu.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
#
|
||||||
|
# spec file for package jujutsu
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 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.10.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Git-compatible DVCS that is both simple and powerful
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/martinvonz/jj
|
||||||
|
Source0: jj-%{version}.tar.gz
|
||||||
|
Source1: vendor.tar.zst
|
||||||
|
Source2: cargo_config
|
||||||
|
BuildRequires: cargo >= 1.70
|
||||||
|
BuildRequires: cargo-packaging
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: zstd
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p 1 -a 1 -n jj-%{version}
|
||||||
|
mkdir -p .cargo
|
||||||
|
rm -vf .cargo/config.toml
|
||||||
|
cp %{SOURCE2} .cargo/config
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{cargo_build}
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D -d -m 0755 %{buildroot}%{_bindir}
|
||||||
|
ls -lh %{_builddir}/
|
||||||
|
install -m 0755 %{_builddir}/%{binary_name}-%{version}/target/release/%{binary_name} %{buildroot}%{_bindir}/%{binary_name}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{cargo_test}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_bindir}/%{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:f24981da4e4108e0dd713482a425ea206e1a7809be146014b7e1bf89944f94e1
|
||||||
|
size 43333746
|
Loading…
Reference in New Issue
Block a user