An open API service indexing awesome lists of open source software.

https://github.com/travispaul/crx-pkgsrc-freeze

Shows current status of a pkgsrc freeze
https://github.com/travispaul/crx-pkgsrc-freeze

chrome-extension pkgsrc

Last synced: 11 months ago
JSON representation

Shows current status of a pkgsrc freeze

Awesome Lists containing this project

README

          

# crx-pkgsrc-freeze
Shows current status of a pkgsrc freeze.

![Screenshot](img/screenshot.png?raw=true "Screenshot")

* ![Freeze](img/19-freeze.png?raw=true "Freeze") means freeze
* ![PkgSrc](img/19-pkgsrc.png?raw=true "PkgSrc") means no freeze

## Description

Shows the status of a Pkgsrc freeze. The typical orange Pkgsrc icon is shown if
there is no freeze and a blue icon is shown if there is a freeze. Now there's
no excuse to say you didn't know the Pkgsrc tree was frozen!

## How it works

This extension uses the chrome alarm API to make a HEAD request to
http://www.pkgsrc.org/is-a-freeze-on/ to see if there is currently a Pkgsrc
freeze. If the ETag changes (or on the first request) we make a full GET and
parse the document body to see if there is a freeze.