Bug 1090689 - Add MPL2.0 headers to the repo

This commit is contained in:
Jonathan French 2014-11-18 13:14:12 -05:00
Родитель 9fbc92259c
Коммит 1e9d4f16c2
14 изменённых файлов: 59 добавлений и 5 удалений

Просмотреть файл

@ -1,3 +1,7 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at http://mozilla.org/MPL/2.0/.
language: node_js
node_js:
- '0.10'

Просмотреть файл

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
module.exports = function(grunt) {
var docFiles = [
'README.md',
@ -6,7 +10,7 @@ module.exports = function(grunt) {
'factory/github.js'
];
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),

Просмотреть файл

@ -1,5 +1,9 @@
#! /usr/bin/env node
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at http://mozilla.org/MPL/2.0/.
var Github = require('github');
var program = require('commander');
var URL = require('url');

Просмотреть файл

@ -1,6 +1,8 @@
/**
Defaults for the treeherder service.
*/
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
// Defaults for the treeherder service
module.exports = {
baseUrl: process.env.TREEHERDER_URL ||
'http://treeherder-dev.allizom.org/api/'

Просмотреть файл

@ -1,7 +1,11 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
/**
@fileoverview
Github factory which will convert github results into treeherder compatible
Github factory which will convert github results into treeherder compatible
types.
@module mozilla-treeherder/factory/github

Просмотреть файл

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
suite('github', function() {
var REPO = 'gaia';

Просмотреть файл

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
/**
@fileoverview

Просмотреть файл

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
suite('github', function() {
var nock = require('nock');
var subject = require('./github');

Просмотреть файл

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
/**
@fileoverview

Просмотреть файл

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
suite('httperror', function() {
var HttpError = require('./httperror');
var fixture = require('./test/fixtures/error_body');

Просмотреть файл

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
/**
@module mozilla-treeherder/project
*/

Просмотреть файл

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
suite('project', function() {
var PROJECT_NAME = 'gaia';

Просмотреть файл

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
var nock = require('nock');
nock('https://api.github.com:443')

Просмотреть файл

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
global.assert = require('assert');
// Default url exported by the vagrant treeherder image.