From e969995ddf41ba7e9e7b4ec3a6846f0b27a1c6df Mon Sep 17 00:00:00 2001 From: Geno Roupsky Date: Thu, 10 Nov 2016 19:57:46 +0200 Subject: [PATCH] initial commit --- .editorconfig | 11 +++++++++++ .gitignore | 44 ++++++++++++++++++++++++++++++++++++++++++++ README.md | 11 +++++++++++ config.json | 32 ++++++++++++++++++++++++++++++++ package.json | 29 +++++++++++++++++++++++++++++ 5 files changed, 127 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 README.md create mode 100644 config.json create mode 100644 package.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c3d710c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.json] +indent_style = space +indent_size = 2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc7fc55 --- /dev/null +++ b/.gitignore @@ -0,0 +1,44 @@ +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz diff --git a/README.md b/README.md new file mode 100644 index 0000000..e6ec33d --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# trello-config + +Contains as a json the configuration that is used by various project +to retrieve information from Hackafe's trello boards. + +## Specification + +The package contains a single file [config.json](config.json) formatted as +JSON, with embedded comments following the pattern: `"-//field": "comment"`. +This is to provide maximum compatibility with all the strict json parsers out +there. diff --git a/config.json b/config.json new file mode 100644 index 0000000..d6f354f --- /dev/null +++ b/config.json @@ -0,0 +1,32 @@ +{ + "-//boardId": "id of the Hackafe Events board", + "boardId": "GHda069L", + "-//blacklist": [ + "regex expressions that blacklist labels based on name,", + "all matching must be case insensitive and unicode enabled" + ], + "blacklist": [ + "вътреш(ен|н(а|о|и))", + "private" + ], + "-//categories": "list of regex expressions that match label name to category", + "categories": { + "-//course": "a course instance", + "course": [ + "course", + "курс" + ], + "-//meetup": "a gathering of people that share common interest", + "meetup": [ + "meetup", + "сбирк(а|и)" + ], + "-//party": "well, it's a party :)", + "party": [ + "party", + "парти", + "празненство", + "празнуване" + ] + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..cf23937 --- /dev/null +++ b/package.json @@ -0,0 +1,29 @@ +{ + "name": "hackafe-trello-config", + "description": "Hackafe Trello Configuration", + "version": "0.0.1", + "author": { + "email": "geno@roupsky.name", + "name": "Geno Roupsky", + "url": "https://github.com/groupsky" + }, + "bugs": { + "url": "https://github.com/hackafe/trello-config/issues" + }, + "engines": { + "node": "*" + }, + "homepage": "http://trello-config.hackafe.org", + "keywords": [ + "hackafe" + ], + "license": "ISC", + "main": "config.json", + "repository": { + "type": "git", + "url": "git://github.com/hackafe/trello-config.git" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + } +}