Last active
February 6, 2017 12:37
-
-
Save simos/3214bbd2f7d4a4647918bdb2afb926cd to your computer and use it in GitHub Desktop.
snapcraft.yaml for httpstat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: httpstat # you probably want to 'snapcraft register <name>' | |
| version: '1.1.3' # just for humans, typically '1.2+git' or '1.3.2' | |
| summary: Curl statistics made simple # 79 char long summary | |
| description: | | |
| httpstat is a utility that analyses show fast is a website | |
| when you are trying to connect to it. | |
| This utility is particularly useful to Web administrators | |
| grade: stable # must be 'stable' to release into candidate/stable channels | |
| confinement: strict # use 'strict' once you have the right plugs and slots | |
| apps: | |
| httpstat: | |
| command: bin/httpstat | |
| plugs: | |
| - network | |
| parts: | |
| httpstat: | |
| plugin: python | |
| source: https://github.com/reorx/httpstat.git | |
| source-tag: v1.1.3 | |
| stage-packages: | |
| - curl |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The initial revision (revision 1) would freshly build curl from source, providing the opportunity to further strip down unneeded functionality.
The subsequent revision (revision 2) reuses the existing curl package that is found in the Ubuntu repositories.