Skip to content
Snippets Groups Projects
Select Git revision
  • bb35178790afa10c0f61cd38392bbbfca0c39f34
  • master default
  • nrb/rebase-20200624
  • nrb/rebase-recommended
  • nrb/old-deprectated-devices
  • next
6 results

config.js

Blame
  • 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'
    };