diff --git a/.gitignore b/.gitignore index 775b13f2bd8e30cffd416e71bd0672d410d00988..59e44ab624f7ff16bcab0f0a70dced025f2fa775 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ *.swp -config.js images/* diff --git a/config.js b/config.js new file mode 100644 index 0000000000000000000000000000000000000000..838c038bd285297d0ae3af3c6c92c962f97ff5b6 --- /dev/null +++ b/config.js @@ -0,0 +1,48 @@ +/* + * 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/alpha-02/images/sysupgrade/': 'nightly', + '../gluon/archive/@nico/alpha-02/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' +};