[Bug 2297310] New: Review Request: atuin - magical shell history

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=2297310

            Bug ID: 2297310
           Summary: Review Request: atuin - magical shell history
           Product: Fedora
           Version: rawhide
          Hardware: All
                OS: Linux
            Status: NEW
         Component: Package Review
          Severity: medium
          Priority: medium
          Assignee: nobody@xxxxxxxxxxxxxxxxx
          Reporter: fedora@xxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: package-review@xxxxxxxxxxxxxxxxxxxxxxx
  Target Milestone: ---
    Classification: Fedora



Spec URL:
https://github.com/LecrisUT/atuin-rpmspec/raw/f63a0e4ad8e84cf1fd4533abacecf3fa353c4936/atuin/atuin.spec
SRPM URL:
https://download.copr.fedorainfracloud.org/results/packit/SriRamanujam-atuin-rpmspec-7/fedora-rawhide-x86_64/07725260-atuin/atuin-18.3.0-1.fc41.src.rpm
Description: Atuin replaces your existing shell history with a SQLite database,
and records additional context for your commands. Additionally, it provides
optional and fully encrypted synchronisation of your history between machines,
via an Atuin server.
Fedora Account System Username: lecris

rust2rpm.toml (Using workspace)
```toml
[features]
enable-all = true

[package]
url = "https://atuin.sh";
source-url =
"https://github.com/atuinsh/atuin/archive/refs/tags/v%{version}.tar.gz";
extra-files = [
    "%{_datadir}/bash-completion/completions/atuin",
    "%{_datadir}/fish/completions/atuin",
    "%{_datadir}/zsh/site-functions/atuin",
    "%config %{_sysconfdir}/profile.d/atuin.sh"
]

summary = "magical shell history"

description = """
Atuin replaces your existing shell history with a SQLite database, and records
additional context for your commands. Additionally, it provides optional and
fully
encrypted synchronisation of your history between machines, via an Atuin
server.
"""

[[package.extra-patches]]
comments = [
    "Fix dependencies",
    "- Switch cli-clipboard for arboard",
    "  https://github.com/atuinsh/atuin/pull/2067";,
    "- Bump metrics dependencies",
    "  https://github.com/atuinsh/atuin/pull/2062";,
    "- Update tonic and prost dependencies",
    "  https://github.com/atuinsh/atuin/pull/2250";,
    "  https://github.com/atuinsh/atuin/pull/2251";,
    "- Lower serde_with dependency",
    "Cherry-picked in:
https://github.com/LecrisUT/atuin/tree/fedora-18.3.0-patch";,
]
file = "atuin-18.3.0-Fix_dependencies.patch"
number = 10

[requires]
build = [
    "protobuf-devel",
]
bin = [
    "bash-preexec",
]
test = [
    "postgresql-test-rpm-macros",
]

[scripts.check]
pre = [
    "# start a postgres instance for the tests to use",
    "export PGTESTS_LOCALE=\"C.UTF-8\"",
    "export PGTESTS_USERS=\"atuin:pass\"",
    "export PGTESTS_DATABASES=\"atuin:atuin\"",
    "export PGTESTS_PORT=5432",
    "%postgresql_tests_run",
]


[scripts.install]
post = [
    "# Generate all of the shell-completions",
    "for completion in bash fish zsh; do",
    "  %{buildroot}%{_bindir}/atuin gen-completions --shell $completion -o .",
    "done",
    "install -Dpm 644 atuin.bash
%{buildroot}%{_datadir}/bash-completion/completions/atuin",
    "install -Dpm 644 atuin.fish
%{buildroot}%{_datadir}/fish/completions/atuin",
    "install -Dpm 644 _atuin %{buildroot}%{_datadir}/zsh/site-functions/atuin",
    "",
    "# Add atuin to default profile",
    "mkdir -p %{buildroot}%{_sysconfdir}/profile.d",
    "cat > %{buildroot}%{_sysconfdir}/profile.d/atuin.sh <<EOF",
    "$(%{buildroot}%{_bindir}/atuin init bash)",
    "EOF"
]
```

Further changes:
- Fixed the license
- Changed the %cargo_install command


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2297310

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202297310%23c0

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux