Package Details: insomnia-bin 1:10.3.0-1

Git Clone URL: https://aur.archlinux.org/insomnia-bin.git (read-only, click to copy)
Package Base: insomnia-bin
Description: API Client and Design Platform for GraphQL and REST
Upstream URL: https://insomnia.rest
Keywords: api graphql rest
Licenses: Apache
Conflicts: insomnia
Provides: insomnia
Submitter: clove3am
Maintainer: ali.molaei
Last Packager: ali.molaei
Votes: 159
Popularity: 0.85
First Submitted: 2020-09-20 20:46 (UTC)
Last Updated: 2024-12-20 10:24 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

telmo commented on 2020-07-16 17:07 (UTC)

Please update the package to 2020.3.3, it fixes two really annoying issues recently introduced: * Fix text inputs not persisting on paste * Fix autocompletion of variables resolving to wrong value

Xanarion commented on 2020-07-13 10:36 (UTC)

2020.3.3 is out (md5sum bda77e0d0d905700debd571759ae6313 )

whynothugo commented on 2020-06-08 15:35 (UTC) (edited on 2020-06-08 15:46 (UTC) by whynothugo)

What I AM wondering, is why we have

/usr/bin/insomnia -> symlink to /opt/Insomnia/insomnia
/opt/Insomnia/insomnia -> script that runs /opt/Insomnia/insomnia.bin
/opt/Insomnia/insomnia.bin -> the actual binary.

Can we flatten this down to this?:

/usr/bin/insomnia -> symlink to /opt/Insomnia/insomnia.bin

[EDIT] Here's the diff for that, works fine:
[EDIT2]: Removed some unnecesary install lines that don't do anything:

diff --git a/PKGBUILD b/PKGBUILD
index ff1e2ca..32eb8d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,22 +3,16 @@

 pkgname=insomnia
 pkgver=2020.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP and GraphQL client for developers"
 arch=('x86_64')
 url="http://insomnia.rest/"
 options=('!strip')
 depends=()

-source=(
-    "https://github.com/Kong/insomnia/releases/download/core%40${pkgver}/Insomnia.Core-${pkgver}.deb"
-    "insomnia.sh"
-)
+source=("https://github.com/Kong/insomnia/releases/download/core%40${pkgver}/Insomnia.Core-${pkgver}.deb")

 package() {
-    # Define some helpers
-    SCRIPT_PATH=${pkgdir}/opt/Insomnia/insomnia
-
     # Extract the core package
     tar -xf data.tar.xz -C "${pkgdir}"

@@ -26,18 +20,9 @@ package() {
     chmod -R go-w ${pkgdir}/usr
     mkdir -p ${pkgdir}/usr/bin

-    # Setup the start script and permissions
-    mv ${pkgdir}/opt/Insomnia/insomnia ${pkgdir}/opt/Insomnia/insomnia.bin
-    cp ${srcdir}/insomnia.sh ${SCRIPT_PATH}
-    chmod 755 ${SCRIPT_PATH}
+    # Add application to PATH
     ln -s /opt/Insomnia/insomnia ${pkgdir}/usr/bin/insomnia
-
-    # Install the necessary parts
-    install -d ${pkgdir}/usr/share/applications
-    install -d ${pkgdir}/usr/share/icons
-    install -d ${pkgdir}/opt/Insomnia
 }

 # Generated by `$ makepkg -g >> PKGBUILD`
-md5sums=('ac0289e88bb0a32f77d6fd47b78d7c31'
-         'dfe139daf29b508bdb83bc735681a381')
+md5sums=('ac0289e88bb0a32f77d6fd47b78d7c31')


whynothugo commented on 2020-06-08 15:33 (UTC)

/opt is for packages that don't follow the usual separation seen in linux (e.g.: data files in /usr, and just the binaries in /bin).

Since Insomnia expects all its files to be dumped into a single directory, that's the only place where it makes sense (actually, that's EXACTLY what /opt is for).

There's nothing that can be done to improve this on the packaging side -- this needs to be addresses by upstream.

sentriz commented on 2020-06-08 10:52 (UTC)

hi thank you for the package! why does it install to /opt? I've not seen a package install to there yet

aliasbody commented on 2020-05-25 10:05 (UTC)

Could you add the libxss library as a dependency? It doesn't open without that.

marmotz commented on 2020-05-01 12:27 (UTC)

Message from author:

"I think we should stick with insomnia for the Core REST Client and insomnia-designer for the new Insomnia Designer app, as that's the path we're taking with Homebrew and other package managers as well."

So this package keep "insomnia" name.

marmotz commented on 2020-04-30 15:34 (UTC)

@RoestVrijStaal Good idea.

But in About, the name is "Insomnia Rest Client", neither "Insomnia" nor "Insomnia Core".

I'll ask the author the name he prefers.

RoestVrijStaal commented on 2020-04-30 14:29 (UTC)

@marmotz Why don't you rename this page to insomnia-core then?

marmotz commented on 2020-04-30 13:10 (UTC) (edited on 2020-04-30 13:11 (UTC) by marmotz)

Hi everybody, please stop flag as Out-of-date this package.

Insomnia has been renamed Insomnia Core and the author has released a new tool named Insomnia Designer.

The latest release displayed in https://github.com/Kong/insomnia/releases is the latest release of Insomnia Designer.

The latest release of Insomnia (Core) is still the 7.1.1.