Hi Please flag the package as outdated instead of sending a comment, I get a different notification for the flags' emails.
I'll upgrade to the latest
Thanks
Git Clone URL: | https://aur.archlinux.org/bloop.git (read-only, click to copy) |
---|---|
Package Base: | bloop |
Description: | Bloop gives you fast edit/compile/test workflows for Scala. |
Upstream URL: | https://scalacenter.github.io/bloop/ |
Keywords: | build compilation developer scala server |
Licenses: | Apache |
Submitter: | TheElectronWill |
Maintainer: | TheElectronWill (japgolly) |
Last Packager: | japgolly |
Votes: | 16 |
Popularity: | 0.035596 |
First Submitted: | 2018-06-25 18:01 (UTC) |
Last Updated: | 2024-02-06 19:00 (UTC) |
Hi Please flag the package as outdated instead of sending a comment, I get a different notification for the flags' emails.
I'll upgrade to the latest
Thanks
Hi please could you update this to version 1.4.12. Thanks
I was able to fairly easily make this install the latest 1.4.8 with a search/replace:
diff --git a/PKGBUILD b/PKGBUILD
index 1e82a28..824ca40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,21 @@
# Maintainer: Guillaume Raffin <theelectronwill@gmail.com>
# Generator: Bloop release utilities <https://github.com/scalacenter/bloop>
pkgname=bloop
-pkgver=1.4.6
+pkgver=1.4.8
pkgrel=1
pkgdesc="Bloop gives you fast edit/compile/test workflows for Scala."
arch=(any)
url="https://scalacenter.github.io/bloop/"
license=('Apache')
depends=('java-environment>=8' 'coursier>=2.0.0_RC6_13')
-source=('bloop-coursier-channel-1.4.6::https://github.com/scalacenter/bloop/releases/download/v1.4.6/bloop-coursier.json' 'bloop-bash-1.4.6::https://github.com/scalacenter/bloop/releases/download/v1.4.6/bash-completions' 'bloop-zsh-1.4.6::https://github.com/scalacenter/bloop/releases/download/v1.4.6/zsh-completions' 'bloop-fish-1.4.6::https://github.com/scalacenter/bloop/releases/download/v1.4.6/fish-completions')
-sha256sums=('2a62d5465741660228c20080335de3017caaf2dfe52bd45887940ee0b207a8bb'
+source=('bloop-coursier-channel-1.4.8::https://github.com/scalacenter/bloop/releases/download/v1.4.8/bloop-coursier.json' 'bloop-bash-1.4.8::https://github.com/scalacenter/bloop/releases/download/v1.4.8/bash-completions' 'bloop-zsh-1.4.8::https://github.com/scalacenter/bloop/releases/download/v1.4.8/zsh-completions' 'bloop-fish-1.4.8::https://github.com/scalacenter/bloop/releases/download/v1.4.8/fish-completions')
+sha256sums=('e0f43c1296b50261d03723149d2c0818043869156acb822ab9e42e94d82bcdc1'
'da6b7ecd4109bd0ff98b1c452d9dd9d26eee0d28ff604f6c83fb8d3236a6bdd1'
'58d32c3f005f7791237916d1b5cd3a942115236155a0b7eba8bf36391d06eff7'
'a012a5cc76b57dbce17fad237f3b97bea6946ffc6ea0b61ac2281141038248dd')
-
build() {
mkdir -p channel
- mv "bloop-coursier-channel-1.4.6" "channel/bloop.json"
+ mv "bloop-coursier-channel-1.4.8" "channel/bloop.json"
coursier install --install-dir "$srcdir" --default-channels=false --channel channel --only-prebuilt=true bloop
}
@@ -36,7 +35,7 @@ package() {
ln -s /usr/lib/bloop/bloop "$pkgdir"/usr/bin/bloop
# shell completion
- install -Dm644 bloop-bash-1.4.6 "$pkgdir"/etc/bash_completion.d/bloop
- install -Dm644 bloop-zsh-1.4.6 "$pkgdir"/usr/share/zsh/site-functions/_bloop
- install -Dm644 bloop-fish-1.4.6 "$pkgdir"/usr/share/fish/vendor_completions.d/bloop.fish
+ install -Dm644 bloop-bash-1.4.8 "$pkgdir"/etc/bash_completion.d/bloop
+ install -Dm644 bloop-zsh-1.4.8 "$pkgdir"/usr/share/zsh/site-functions/_bloop
+ install -Dm644 bloop-fish-1.4.8 "$pkgdir"/usr/share/fish/vendor_completions.d/bloop.fish
}
This official package no longer includes the systemd service since it may cause issues with Bloop clients (cf. comments on PR #1284). It is now in a separate package bloop-systemd
@Musikolo There are also other things to fix so I've made a PR :-)
@TheElectronWill, for some reason, the checksum for bloop-coursier-channel-1.4.0
file failed to me:
...etc...
==> Validating source files with sha256sums...
bloop-coursier-channel-1.4.0 ... FAILED
bloop-bash-1.4.0 ... Passed
bloop-zsh-1.4.0 ... Passed
bloop-fish-1.4.0 ... Passed
==> ERROR: One or more files did not pass the validity check!
[musikolo@MyPc bloop]$ sha256sum bloop-coursier-channel-1.4.0
1bf5f6b82f13fbccf3bfd75da59113529c95cf62b9249ed47e34e18f32dc410d bloop-coursier-channel-1.4.0
Could you please look into?
Thank you!
@bloopoid I don't get it - we have different clients (metals, sbt, cli) and only one server that shares the work between them. How do they negotiate the version of bloop server? Seems like I still have to install it manually and specify single version myself. Also in the release notes I see:
From now on, the recommended way to install bloop is through coursier install, only available in the latest coursier versions. It's recommended you upgrade to the latest.
So it's saying that it should be installed by coursier by myself. And if I still prefer arch package what's wrong with providing additional systemd service for it?
Systemd is no longer recommended because the version should be specified by the build client starting bloop, not by the server you have installed locally. There is no concept of installing the server anymore. Now, you only install the CLI client.
@isomarcte Your use of systemd is interesting. You can copy paste the systemd service file from the repo and install it yourself, as it won't be installed automatically by default
@bloopoid But systemd service is still present in the repo: https://github.com/scalacenter/bloop/blob/master/etc/systemd/bloop.service Why don't install it in the package phase, as it used to be?
@isomarcte Yeah, I rely on it too - I think it's still possible to create a systemd unit yourself execing bloop server
but I can't check if server started this way is reused because, well, I can't run it
Pinned Comments
TheElectronWill commented on 2020-05-19 12:36 (UTC) (edited on 2020-05-19 12:38 (UTC) by TheElectronWill)
This official package no longer includes the systemd service since it may cause issues with Bloop clients (cf. comments on PR #1284). It is now in a separate package bloop-systemd