question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support snap package on Linux

See original GitHub issue

A ‘snap’ is a universal Linux package https://www.ubuntu.com/desktop/snappy, they are especially useful on servers (on desktops too), where they allow to install apps quickly with a single command and in an isolated way.

There is a supporting service build.snapcraft.io, which allows for automatic builds of the source whenever anything changes on a github repo.

I have done initial packaging and it seems to work fine. Below example shows how simple (and readable) the build config will be, if you decide to publish httpie as snap.

name: httpie
version: '0.9.9'
summary: HTTPie - a CLI, cURL-like tool for humans.
description: |
  HTTPie (pronounced aitch-tee-tee-pie) is a command line HTTP client.
  Its goal is to make CLI interaction with web services as human-friendly as possible.
  It provides a simple http command that allows for sending arbitrary HTTP requests
  using a simple and natural syntax, and displays colorized output.

   HTTPie can be used for testing, debugging, and generally interacting with HTTP servers.

grade: devel
confinement: strict

parts:
  httpie:
    plugin: python
    source: https://github.com/jakubroztocil/httpie.git

apps:
  http:
    command: http
    plugs:
      - home
      - network

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
BoboTiGcommented, Jun 30, 2021

Hello,

We reclaimed httpie for a good start. When the package will be online we will see how to handle other packages.

Thank you all for your patience 😃

2reactions
om26ercommented, Jan 7, 2020

If this project wants, we could claim that back no problem. I could even help with that. So we could claim both httpie and http. So a user install snap would run snap install httpie and the commandline would be http.

Could the maintainers please comment ^

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing snapd | Snapcraft documentation
Installing snapd. Snaps can be used on all major Linux distributions, including Ubuntu, Linux Mint, Debian and Fedora.
Read more >
A Beginners Guide to Snaps in Linux - Part 1 - Tecmint
From a single build, a snap (application) will run on all supported Linux distributions on desktop, in the cloud, and IoT. Supported ......
Read more >
How to Install Snap on Linux - buildVirtual
Snap is a software packaging and deployment system for Linux operating systems. Software packages, which are called snaps , and the program for ......
Read more >
Introduction to Snaps in Linux - Baeldung
Snapd: The snap daemon; it's the background service that manages and maintains the snaps on a Linux system; Snap: The command-line interface ...
Read more >
How To Enable Snap And Install Snap Packages On Linux ...
With Linux Mint 20, the Mint dev team has decided to disable the snap support and block installation of Ubuntu snap packages by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found