Kibitzr

Personal Web Assistant


Notify on Firefox Developer Edition release

Firefox offers developer edition that has all the hottest features and perfomance improvements. However it doesn’t have proper upgrade channles like ESR version.

This configuration will post a Slack message once the new version is released:

checks:
  - name: Firefox DE
    url: https://developer.mozilla.org/en-US/Firefox/Releases
    transform:
      - css: .multiColumnList > ol > li > a
      - text
      - changes: new
    period: 1 day
    notify:
      - slack

The configuration assumes, slack credentials are configured in kibitzr-creds.yml:

slack:
    url: https://hooks.slack.com/services/A05237ZVB/321JNKATH/1v2x3v4jtx3dfhlkjhfIKX

To get notifications for nightly builds use this (slightly more involved) check:

checks:
  - name: Firefox DE
    script: >
        curl -sv 'https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=osx&lang=en-US'
        2>&1 |
        grep Location |
        cut -d/ -f 7
    transform:
      - changes: new
      - jinja: "Download {{ lines | join(' ') }} at https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=osx&lang=en-US"
    period: 1 day
    notify:
      - slack

See Kibitzr documentation for details.