commit 3ed05cc36b3e587f3e7ca2c7a6a925fe9397cc014543c43627dc0722cb4969be Author: Dr. Werner Fink Date: Mon Feb 22 07:10:28 2021 +0000 Accepting request 868833 from home:Dead_Mozay Initial package OBS-URL: https://build.opensuse.org/request/show/868833 OBS-URL: https://build.opensuse.org/package/show/shells/starship?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..e0245ce --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ + + + + starship + https://github.com/starship/starship.git + git + git-master + @PARENT_TAG@ + v0.50.0 + v(.*) + dead_mozay@opensuse.org + + + + + gz + *.tar + + + starship + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..9bfc2c0 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/starship/starship.git + cf5837065a138dc875de725874724e145479a1f0 \ No newline at end of file diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/starship-0.50.0.obscpio b/starship-0.50.0.obscpio new file mode 100644 index 0000000..9632fb1 --- /dev/null +++ b/starship-0.50.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be1f72f1491186bc88c05f5be2ec26e82e65f7c7d87d63dd9f25318e50b04be9 +size 209762830 diff --git a/starship.changes b/starship.changes new file mode 100644 index 0000000..62bf5d3 --- /dev/null +++ b/starship.changes @@ -0,0 +1,229 @@ +------------------------------------------------------------------- +Wed Feb 3 04:25:17 UTC 2021 - Dead Mozay + +- Update to version 0.50.0: + * add support for elvish shell + * vagrant: Add support for Vagrant + +------------------------------------------------------------------- +Mon Feb 1 03:54:22 UTC 2021 - Dead Mozay + +- Update to version 0.49.0: + * Adjust default format strings + * Applied clippy warnings + * bash: Fix broken bash init script + * bash: bash-preexec detection and implementation + * cmake: Fix spacing with missing variable + * docker_context: enable if either yml or yaml is found + * command: add 'toggle' command + * directory: Add home directory symbol + * status: Convert known status code to their meaning + +------------------------------------------------------------------- +Sun Jan 3 17:43:52 UTC 2021 - Dead Mozay + +- Update to version 0.48.0: + * apply nightly clippy & fmt suggestions + * bg:none overwrites foreground colour + * bash: Fix background jobs with z/autojump + * config: log as error if failure to read config wasn't caused by NotFound + * git_commit: show last created tag on current commit + * git_state: Handle gitdir indirection when rebasing + * swift: parsing swift version + * i18n: add French and Spanish doc translations + * battery: make module behaviour more obvious + * git_branch: show remote name + * git_branch: add remote branch name if different than local branch + * git_branch: add 'only_attached' config bool + * init: prefix STATUS and PREEXEC_READY shell vars with STARSHIP_ + * java: Show Java module for Clojure projects + * kotlin: Add the kotlin module + * nodejs: check node engines version in package.json + * package: Meson package support + * python: Smarter python binary usage + * rust: Support new rust-toolchain format + * shlvl: Add repeat option + * username: Try harder to guess if inside ssh + * memory_usage: replace sysinfo with sys-info + * Latest clippy suggestions + * Add comments for bash preexec fix + +------------------------------------------------------------------- +Sun Nov 15 18:58:58 UTC 2020 - dead_mozay@opensuse.org + +- Update to version 0.47.0: + * docs: Alphabetic sorting of config subsections (#1877) + * feat(terraform): Add hcl extension support to Terraform + module (#1875) + * fix(pwsh): fix crash on error in shell with old pwsh (#1861) + * perf(init/pwsh): use get-random for session-key instead of + invoking starship session (#1860) + * perf(init): use $RANDOM env-var instead of starship session + to generate session-key (#1755) + * fix(gcloud): respect overides of the active gcloud + config (#1846) + * docs(cmd_duration): Document cmd_duration + notifications (#1831) + * docs(pwsh/init): various fixes for init doc (#1793) + * fix(bug-report): verify exit code of open, always + print url (#1839) + * feat(lua): Add a Lua module (#1815) + * fix(zsh): Ensure existing keymap change functions are not + overriden (#1826) + * feat(logger): don't create empty log files (#1836) + * fix(install): Better platform detection (#1827) + * feat(openstack): Add module for OpenStack (#1664) + * fix(pwsh): Switched pwsh profile to use dollar hook for a more + accurate success/failure handling (#1745) + * feat(git_commit): add git tag to module (#950) + * fix(kubernetes): Parse stacked kubeconfigs (#1678) + * fix(pwsh): preserve original console encondings (#1810) + * docs(memory): Remove removed options from Memory example (#1800) + +------------------------------------------------------------------- +Thu Oct 15 02:28:39 UTC 2020 - dead_mozay@opensuse.org + +- Update to version 0.46.2: + * docs: Update document for installing on windows (#1760) + * fix: replace emoji for cmake and erlang (#1787) + * fix(directory): preserve substitution order (#1782) + * fix: apply clippy suggestions (#1756) + * docs: Update defaults in config docs (#1759) + +------------------------------------------------------------------- +Fri Oct 09 03:09:00 UTC 2020 - dead_mozay@opensuse.org + +- Update to version 0.46.0: + * fix(python): Read venv prompt from pyvenv.cfg (#1747) + * docs(python): Update the python_binary option (#1731) + * docs(FAQ): add FAQ about shell completions + * feat(directory): add ellipsis to truncated paths (#1563) + * fix(utils): reduce log level of errors in utils. (#1730) + * fix(bug-report): use correct path for ion config (#1726) + +------------------------------------------------------------------- +Thu Oct 01 04:07:27 UTC 2020 - dead_mozay@opensuse.org + +- Update to version 0.45.2: + * No changelog. + +------------------------------------------------------------------- +Wed Sep 30 08:04:11 UTC 2020 - dead_mozay@opensuse.org + +- Update to version 0.45.0: + * Bug Fixes + - bash: init breaks if PROMPT_COMMAND includes starship_precmd + as an intermediate command (#1541) + - config: don't panic when hex color is too short (#1473) + - docs: Fix Explore The Starship link in guide (#1553) + - explain: align table correctly (#1482) + - git-state: Fix discrepancy between v0.44.0 and master (#1672) + - git_state: panic on interactive rebase (#1552) + - git_status: Fix file rename inconsistency compared to git (#1411) + - install: switch to install the musl binaries by default (#1590) + - nodejs: remove line break from version (#1464) + - ocaml: Stop new line being included in ocaml version (#1479) + - pwsh: update init script to propagate $LASTEXITCODE and $? + - pwsh: stop paths from being interpreted as patterns (#1569) + - zsh: work when setopt ksh_arrays is set (#1612) + * Docs + - Update example config to remove old var (#1546) + - add a migration guide for the format string changes (#1624) + - update clippy command in the CONTRIBUTING.md (#1665) + - Improvements in docs for custom modules (#1615) + - Drop inexistent "number" variable from hostname section (#1586) + - Add perl official logo in NerdFont (#1558) + - fix code block overflow on mobile (#1492) + - add uninstallation instructions to FAQ (#1474) + - update font in FAQ from Fira Code ā†’ FiraCode Nerd Font + - replace powerline requirement with nerd font requirement + - git_status: Update git_status module docs (#1667) + - i18n: New Crowdin translations (#1366) + +------------------------------------------------------------------- +Tue Jul 07 05:57:03 UTC 2020 - dead_mozay@opensuse.org + +- Update to version 0.44.0: + * No chengelog. + +------------------------------------------------------------------- +Sat Jun 27 17:12:19 UTC 2020 - dead_mozay@opensuse.org + +- Update to version 0.43.0: + * Bug Fixes + - errant space breaks tar in installer (#1314) + - bash: last command status and command duration (#1185) + - directory: Fix path contractions for symlinked git repos (#1299) + - php: Stop including error messages in the version + * Docs + - update dotfile link in FAQ + - instruct users to install a nerd-font (#1383) + - Add FAQ entry on missing symbols (#1307) + - remove redundant settings in Contributing guide (#1326) + * Features + - dotnet: adds additional files to detect .net projects (#1303) + - git: honor GIT_DIR environment variable (#1348) + - nodejs: support additional file patterns (#1311) + - python: Add option to change the python binary (#1297) + +------------------------------------------------------------------- +Wed Jun 10 03:00:56 UTC 2020 - dead_mozay@opensuse.org + +- Update to version 0.42.0: + * Bug Fixes + - Retain previous command state on zsh keymap select (#958) + - custom: improve handling of Powershell prompts (#1237) + * Docs + - Updated config with a tip for PowerShell user (#1216) + - fix example Starship implementation in bash + - custom: add warning about custom command potentially freezing + terminal (#1242) + +------------------------------------------------------------------- +Sat May 16 13:43:48 UTC 2020 - dead_mozay@opensuse.org + +- Update to version 0.41.3: + * No chengelog. + +------------------------------------------------------------------- +Fri May 15 03:47:48 UTC 2020 - dead_mozay@opensuse.org + +- Update to version v0.41.1: + * Bug Fixes + - directory: avoid confusing modules with PowerShell paths (#1114) + * Docs + - correct the configuration docs (#1195) + - i18n: new Crowdin translations (#1059) + +------------------------------------------------------------------- +Wed Apr 29 05:01:56 UTC 2020 - dead_mozay@opensuse.org + +- Update to version v0.41.0: + * Revert + - fix(git_branch,git_status): implement fallback branch_nā€¦ (#1092) + +------------------------------------------------------------------- +Mon Apr 13 19:01:10 UTC 2020 - dead_mozay@opensuse.org + +- Update to version v0.40.1: + * Bug Fixes + - Fix variable styles in string formatter (#1069) + - implement fallback branch_name for bare git repos (#1035) + - Fix typo (#1054) + - ruby: do not assume length when retrieving version + * Docs + - Add details about musl build to readme (#997) + - update NerdFont preset to include new modules (#1077) + - add Open Collective to README + - i18n: new Crowdin translations (#1047) + * Features + - add support for custom modules + - nix_shell: add symbol to nix-shell module (#1058) + - package: Add project version for Elixir (#1067) + * Improvement + - add parser for format strings (#1021) + +------------------------------------------------------------------- +Mon Apr 13 18:53:44 UTC 2020 - Dead Mozay + +- Initial package diff --git a/starship.obsinfo b/starship.obsinfo new file mode 100644 index 0000000..3580ab8 --- /dev/null +++ b/starship.obsinfo @@ -0,0 +1,5 @@ +name: starship +version: 0.50.0 +mtime: 1612295982 +commit: 0558b38e3f211eafeca56d39e9da899bcdf8de99 + diff --git a/starship.spec b/starship.spec new file mode 100644 index 0000000..4ede3ee --- /dev/null +++ b/starship.spec @@ -0,0 +1,62 @@ +# +# spec file for package starship +# +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + +%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' +Name: starship +Version: 0.50.0 +Release: 0 +Summary: The minimal, blazing-fast, and infinitely customizable prompt for any shell +License: ISC +Url: https://starship.rs/ +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.xz +Source2: cargo_config +BuildRequires: rust-packaging +BuildRequires: pkgconfig(openssl) + + +%description +The minimal, blazing-fast, and infinitely customizable prompt for any shell! + Fast: it's fast ā€“ really really fast! rocket + Customizable: configure every aspect of your prompt. + Universal: works on any shell, on any operating system. + Intelligent: shows relevant information at a glance. + Feature rich: support for all your favorite tools. + Easy: quick to install ā€“ start using it in minutes. + + +%prep +%setup -qa1 +cp %{SOURCE2} .cargo/config + +%build +RUSTFLAGS=%{rustflags} cargo build --release + +%install +RUSTFLAGS=%{rustflags} cargo install --root=%{buildroot}%{_prefix} --path . +# remove residue crate file +rm %{buildroot}%{_prefix}/.crates.toml +rm %{buildroot}%{_prefix}/.crates2.json + + +%files +%doc README.md +%license LICENSE +%{_bindir}/starship + +%changelog + diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..3b8af81 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48ae6550b9a5e8e686a6cc745aa5bcf1ce8a9937531e13f58e2d127aafd181f0 +size 15567308