Skip to content

travispaul/crx-pkgsrc-freeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crx-pkgsrc-freeze

Shows current status of a pkgsrc freeze.

Screenshot

  • Freeze means freeze
  • 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.