Skip to content
Snippets Groups Projects
Select Git revision
  • c6a3afa1301d0edda4a7eb69a8fc64af220d71d8
  • v2018.2.x default protected
  • 0x4A6F-rpi4
  • 0x4A6F-master
  • master
  • v2018.2.2-ffs
  • v2016.2.4-batmanbug
  • radv-filterd
  • v2016.2.x
  • hoodselector
  • v2016.1.x
  • babel
  • v2015.1.x
  • 2014.4.x
  • 2014.3.x
  • v2018.2.2-ffs0.1
  • v2018.2.1-ffs0.1
  • v2018.2.1
  • v2018.2-ffs0.1
  • v2018.2
  • v2018.1.4
  • v2018.1.3
  • v2018.1.2
  • v2018.1.1
  • v2018.1
  • v2017.1.8
  • v2017.1.7
  • v2017.1.6
  • v2017.1.5
  • v2017.1.4
  • v2017.1.3
  • v2017.1.2
  • v2016.2.7
  • v2017.1.1
  • v2017.1
35 results

common.inc.sh

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    config.js 1.92 KiB
    /*
     * This program is free software: you can redistribute it and/or modify
     * it under the terms of the GNU Affero General Public License as published by
     * the Free Software Foundation, either version 3 of the License, or
     * (at your option) any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU Affero General Public License for more details.
     *
     * You should have received a copy of the GNU Affero General Public License
     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     */
    
    var config = {
      // list images on console that match no model
      listMissingImages: true,
      // see devices.js for different vendor model maps
      vendormodels: vendormodels,
      // set enabled categories of devices (see devices.js)
      enabled_device_categories: ["recommended"],
      // community prefix of the firmware images
      community_prefix: 'gluon-ffs-',
      // firmware version regex
      version_regex: "-([0-9]+\.[0-9]+[+][0-9]{4}-[0-9]{2}-[0-9]{2}-g\.[a-f0-9]+-s\.[a-f0-9]+-)",
      prettyPrintVersionRegex: "([0-9]+\.[0-9]+)", // removes +2017-09-13-g.d722c26-s.b0e5e48
      // relative image paths and branch
      directories: {
        //'../gluon/stable/factory/': 'stable',
        '../gluon/archive/@nico/1.6-alpha02/images/sysupgrade/': 'nightly',
        '../gluon/archive/@nico/1.6-alpha02/images/factory/': 'nightly'
      },
      // page title
      title: 'Firmware',
      // branch descriptions shown during selection
      branch_descriptions: {
        nightly: 'Ungetestet, automatisch generiert.'
      },
      // recommended branch will be marked during selection
      recommended_branch: 'nightly',
      // experimental branches (show a warning for these branches)
      experimental_branches: ['nightly'],
      // path to preview pictures directory
      preview_pictures: 'pictures/',
      // link to changelog
      changelog: 'CHANGELOG.html'
    };