Search is not available for this dataset
id stringlengths 1 8 | text stringlengths 72 9.81M | addition_count int64 0 10k | commit_subject stringlengths 0 3.7k | deletion_count int64 0 8.43k | file_extension stringlengths 0 32 | lang stringlengths 1 94 | license stringclasses 10
values | repo_name stringlengths 9 59 |
|---|---|---|---|---|---|---|---|---|
10036850 | <NME> jquery_pivot.js
<BEF> (function( $ ){
'use strict';
var element,
callbacks = {},
resultsTitle,
resultsDivID;
var methods = {
setup : function(options){
element = this; // set element for build_containers()
if (options.callbacks) callbacks = options.callbacks;
if(options.resul... | 1 | Update jquery_pivot.js | 1 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036851 | <NME> jquery_pivot.js
<BEF> (function( $ ){
'use strict';
var element,
callbacks = {},
resultsTitle,
resultsDivID;
var methods = {
setup : function(options){
element = this; // set element for build_containers()
if (options.callbacks) callbacks = options.callbacks;
if(options.resul... | 1 | Update jquery_pivot.js | 1 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036852 | <NME> results.js
<BEF> /**
* Entry point for several results methods.
* See:
*
* * getDataResults() - returns filters applied to current pivot
* * getColumnResults() - sets a series of filters
*
* @return {function} One of the fucntions defined above.
*/
processRowLabelResults();
if (objectK... | 4 | Fix iteration in columnLabel logic. | 2 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036853 | <NME> results.js
<BEF> /**
* Entry point for several results methods.
* See:
*
* * getDataResults() - returns filters applied to current pivot
* * getColumnResults() - sets a series of filters
*
* @return {function} One of the fucntions defined above.
*/
processRowLabelResults();
if (objectK... | 4 | Fix iteration in columnLabel logic. | 2 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036854 | <NME> results.js
<BEF> /**
* Entry point for several results methods.
* See:
*
* * getDataResults() - returns filters applied to current pivot
* * getColumnResults() - sets a series of filters
*
* @return {function} One of the fucntions defined above.
*/
processRowLabelResults();
if (objectK... | 4 | Fix iteration in columnLabel logic. | 2 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036855 | <NME> scheduler_failover_controller.service
<BEF> #
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 2 | Merge pull request #2 from teamclairvoyant/development | 2 | .service | service | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036856 | <NME> scheduler_failover_controller.service
<BEF> #
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 2 | Merge pull request #2 from teamclairvoyant/development | 2 | .service | service | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036857 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import datetime
import time
from airflow.configuration import conf
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the b... | 1 | Merge pull request #35 from teamclairvoyant/ssl_verify_disable | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036858 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import datetime
import time
from airflow.configuration import conf
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the b... | 1 | Merge pull request #35 from teamclairvoyant/ssl_verify_disable | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036859 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 17 | Updating setup documentation and README file. | 7 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036860 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 17 | Updating setup documentation and README file. | 7 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036861 | <NME> zookeeper_metadata_service.py
<BEF> from scheduler_failover_controller.utils import date_utils
from scheduler_failover_controller.metadata.base_metadata_service import BaseMetadataService
from kazoo.client import KazooClient # documentation: https://kazoo.readthedocs.io/en/latest/basic_usage.html
import datetime... | 2 | Adding more logging to the creation of the objects used. Adding config to better controll logging. Adding more documentation. | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036862 | <NME> zookeeper_metadata_service.py
<BEF> from scheduler_failover_controller.utils import date_utils
from scheduler_failover_controller.metadata.base_metadata_service import BaseMetadataService
from kazoo.client import KazooClient # documentation: https://kazoo.readthedocs.io/en/latest/basic_usage.html
import datetime... | 2 | Adding more logging to the creation of the objects used. Adding config to better controll logging. Adding more documentation. | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036863 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 1 | updating documentation | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036864 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 1 | updating documentation | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036865 | <NME> README.md
<BEF> # Welcome to Pivot.js
Pivot.js is a simple way for you to get to your data. It allows for the
creation of highly customizable unique table views from your browser.
> In data processing, a pivot table is a data summarization tool found in
> data visualization programs such as spreadsheets or bus... | 10 | Fix merge conflict. | 125 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036866 | <NME> README.md
<BEF> # Welcome to Pivot.js
Pivot.js is a simple way for you to get to your data. It allows for the
creation of highly customizable unique table views from your browser.
> In data processing, a pivot table is a data summarization tool found in
> data visualization programs such as spreadsheets or bus... | 10 | Fix merge conflict. | 125 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036867 | <NME> README.md
<BEF> # Welcome to Pivot.js
Pivot.js is a simple way for you to get to your data. It allows for the
creation of highly customizable unique table views from your browser.
> In data processing, a pivot table is a data summarization tool found in
> data visualization programs such as spreadsheets or bus... | 10 | Fix merge conflict. | 125 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036868 | <NME> logger.py
<BEF> import logging
import logging.handlers
import os
def get_logger(logging_level, logs_output_file_path=None, logs_rotate_when="midnight", logs_rotate_backup_count=7):
# Create the logger
logger = logging.getLogger(__name__)
# Set logging level
logger.setLevel(logging_level)
... | 4 | Adding a command runner which will decide if the command should be ran locally or over ssh. Adding an email service to send alert emails. removing stream handler logger. adding some cli tools. | 6 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036869 | <NME> logger.py
<BEF> import logging
import logging.handlers
import os
def get_logger(logging_level, logs_output_file_path=None, logs_rotate_when="midnight", logs_rotate_backup_count=7):
# Create the logger
logger = logging.getLogger(__name__)
# Set logging level
logger.setLevel(logging_level)
... | 4 | Adding a command runner which will decide if the command should be ran locally or over ssh. Adding an email service to send alert emails. removing stream handler logger. adding some cli tools. | 6 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036870 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 1 | Added note for v1.0.5 release | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036871 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 1 | Added note for v1.0.5 release | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036872 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 1 | Fixing minor issue with README | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036873 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 1 | Fixing minor issue with README | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036874 | <NME> init.js
<BEF> 'use strict';
var fields, filters, rawData, data, dataFilters, displayFields, results, resultsColumns;
init();
/**
* Initializes a new pivot.
* Optional parameters:
* * fields
* * filters
* * rowLabels
* * columnLabels
* * summaries
* @param {Object}
*/
function init(options){
rawData = [], data... | 10 | Suppress fields output from pivot.config() unless you pass config true." | 4 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036875 | <NME> init.js
<BEF> 'use strict';
var fields, filters, rawData, data, dataFilters, displayFields, results, resultsColumns;
init();
/**
* Initializes a new pivot.
* Optional parameters:
* * fields
* * filters
* * rowLabels
* * columnLabels
* * summaries
* @param {Object}
*/
function init(options){
rawData = [], data... | 10 | Suppress fields output from pivot.config() unless you pass config true." | 4 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036876 | <NME> init.js
<BEF> 'use strict';
var fields, filters, rawData, data, dataFilters, displayFields, results, resultsColumns;
init();
/**
* Initializes a new pivot.
* Optional parameters:
* * fields
* * filters
* * rowLabels
* * columnLabels
* * summaries
* @param {Object}
*/
function init(options){
rawData = [], data... | 10 | Suppress fields output from pivot.config() unless you pass config true." | 4 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036877 | <NME> README.md
<BEF> # Welcome to Pivot.js
Pivot.js is a simple way for you to get to your data. It allows for the
creation of highly customizable unique table views from your browser.
> In data processing, a pivot table is a data summarization tool found in
> data visualization programs such as spreadsheets or bus... | 9 | Update README.md | 9 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036878 | <NME> README.md
<BEF> # Welcome to Pivot.js
Pivot.js is a simple way for you to get to your data. It allows for the
creation of highly customizable unique table views from your browser.
> In data processing, a pivot table is a data summarization tool found in
> data visualization programs such as spreadsheets or bus... | 9 | Update README.md | 9 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036879 | <NME> README.md
<BEF> # Welcome to Pivot.js
Pivot.js is a simple way for you to get to your data. It allows for the
creation of highly customizable unique table views from your browser.
> In data processing, a pivot table is a data summarization tool found in
> data visualization programs such as spreadsheets or bus... | 9 | Update README.md | 9 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036880 | <NME> README.md
<BEF> # Welcome to Pivot.js
Pivot.js is a simple way for you to get to your data. It allows for the
creation of highly customizable unique table views from your browser.
In our case, results (or the pivot-table) will be displayed as an HTML table pivoting from the CSV data. Without further ado let's... | 1 | Update README.md | 0 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036881 | <NME> README.md
<BEF> # Welcome to Pivot.js
Pivot.js is a simple way for you to get to your data. It allows for the
creation of highly customizable unique table views from your browser.
In our case, results (or the pivot-table) will be displayed as an HTML table pivoting from the CSV data. Without further ado let's... | 1 | Update README.md | 0 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036882 | <NME> README.md
<BEF> # Welcome to Pivot.js
Pivot.js is a simple way for you to get to your data. It allows for the
creation of highly customizable unique table views from your browser.
In our case, results (or the pivot-table) will be displayed as an HTML table pivoting from the CSV data. Without further ado let's... | 1 | Update README.md | 0 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036883 | <NME> dataTables.bootstrap.js
<BEF> /* Default class modification */
$.extend( $.fn.dataTableExt.oStdClasses, {
"sWrapper": "dataTables_wrapper form-inline"
} );
/* API method to get paging information */
$.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings )
{
return {
"iStart": oSettings._iDisp... | 75 | Merge branch 'master' of github.com:rondale-sc/pivot.js into gh-pages | 0 | .js | bootstrap | bsd-3-clause | rwjblue/pivot.js |
10036884 | <NME> dataTables.bootstrap.js
<BEF> /* Default class modification */
$.extend( $.fn.dataTableExt.oStdClasses, {
"sWrapper": "dataTables_wrapper form-inline"
} );
/* API method to get paging information */
$.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings )
{
return {
"iStart": oSettings._iDisp... | 75 | Merge branch 'master' of github.com:rondale-sc/pivot.js into gh-pages | 0 | .js | bootstrap | bsd-3-clause | rwjblue/pivot.js |
10036885 | <NME> dataTables.bootstrap.js
<BEF> /* Default class modification */
$.extend( $.fn.dataTableExt.oStdClasses, {
"sWrapper": "dataTables_wrapper form-inline"
} );
/* API method to get paging information */
$.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings )
{
return {
"iStart": oSettings._iDisp... | 75 | Merge branch 'master' of github.com:rondale-sc/pivot.js into gh-pages | 0 | .js | bootstrap | bsd-3-clause | rwjblue/pivot.js |
10036886 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv, sample_fields;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code,billed_amount,last_billed_date\n" +
"Jackson,Robert,34471,100.00,\"Tue, 24 Jan 2012 00:00:00 +0000\"\n" +
"S... | 20 | Fix pseudo field processing. | 11 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036887 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv, sample_fields;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code,billed_amount,last_billed_date\n" +
"Jackson,Robert,34471,100.00,\"Tue, 24 Jan 2012 00:00:00 +0000\"\n" +
"S... | 20 | Fix pseudo field processing. | 11 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036888 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv, sample_fields;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code,billed_amount,last_billed_date\n" +
"Jackson,Robert,34471,100.00,\"Tue, 24 Jan 2012 00:00:00 +0000\"\n" +
"S... | 20 | Fix pseudo field processing. | 11 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036889 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 9 | update readme | 7 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036890 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 9 | update readme | 7 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036891 | <NME> sql_metadata_service.py
<BEF> from scheduler_failover_controller.metadata.base_metadata_service import BaseMetadataService
from scheduler_failover_controller.utils import date_utils
from sqlalchemy import create_engine, Column, String
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm imp... | 1 | Added Support for Python 3.x | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036892 | <NME> sql_metadata_service.py
<BEF> from scheduler_failover_controller.metadata.base_metadata_service import BaseMetadataService
from scheduler_failover_controller.utils import date_utils
from sqlalchemy import create_engine, Column, String
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm imp... | 1 | Added Support for Python 3.x | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036893 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 0 | Merge branches 'development' and 'master' of github.com:teamclairvoyant/airflow-scheduler-failover-controller into development | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036894 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 0 | Merge branches 'development' and 'master' of github.com:teamclairvoyant/airflow-scheduler-failover-controller into development | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036895 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import datetime
import time
from airflow.configuration import conf
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the b... | 1 | [FIX] wait before checking scheduler is running on standby node | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036896 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import datetime
import time
from airflow.configuration import conf
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the b... | 1 | [FIX] wait before checking scheduler is running on standby node | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036897 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv, sample_fields;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code,billed_amount,last_billed_date\n" +
"Jackson,Robert,34471,100.00,\"Tue, 24 Jan 2012 00:00:00 +0000\"\n" +
"S... | 27 | Refactor date/time specs. | 12 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036898 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv, sample_fields;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code,billed_amount,last_billed_date\n" +
"Jackson,Robert,34471,100.00,\"Tue, 24 Jan 2012 00:00:00 +0000\"\n" +
"S... | 27 | Refactor date/time specs. | 12 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036899 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv, sample_fields;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code,billed_amount,last_billed_date\n" +
"Jackson,Robert,34471,100.00,\"Tue, 24 Jan 2012 00:00:00 +0000\"\n" +
"S... | 27 | Refactor date/time specs. | 12 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036900 | <NME> init.js
<BEF> 'use strict';
var fields, filters, rawData, data, dataFilters, displayFields, results, resultsColumns;
init();
/**
* Initializes a new pivot.
* Optional parameters:
* * fields
* * filters
* * rowLabels
* * columnLabels
* * summaries
* @param {Object}
*/
function init(options){
rawData = [], data... | 2 | Reverse config argument. Will suppress fields only if false is passed. Will act as before when passed no argument. | 4 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036901 | <NME> init.js
<BEF> 'use strict';
var fields, filters, rawData, data, dataFilters, displayFields, results, resultsColumns;
init();
/**
* Initializes a new pivot.
* Optional parameters:
* * fields
* * filters
* * rowLabels
* * columnLabels
* * summaries
* @param {Object}
*/
function init(options){
rawData = [], data... | 2 | Reverse config argument. Will suppress fields only if false is passed. Will act as before when passed no argument. | 4 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036902 | <NME> init.js
<BEF> 'use strict';
var fields, filters, rawData, data, dataFilters, displayFields, results, resultsColumns;
init();
/**
* Initializes a new pivot.
* Optional parameters:
* * fields
* * filters
* * rowLabels
* * columnLabels
* * summaries
* @param {Object}
*/
function init(options){
rawData = [], data... | 2 | Reverse config argument. Will suppress fields only if false is passed. Will act as before when passed no argument. | 4 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036903 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import datetime
import time
from airflow.configuration import conf
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the be... | 1 | blank line | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036904 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import datetime
import time
from airflow.configuration import conf
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the be... | 1 | blank line | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036905 | <NME> startup-scheduler-failover.sh
<BEF> ADDFILE
<MSG> First commit. Committing the completed airflow-scheduler-failover.py file along with binary files to help control it. Added content to the README.md with some instructions.
<DFF> @@ -0,0 +1,8 @@
+#! /bin/sh
+# Startup Scheduler Failover Script for Airflow
+
+echo... | 8 | First commit. Committing the completed airflow-scheduler-failover.py file along with binary files to help control it. Added content to the README.md with some instructions. | 0 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036906 | <NME> startup-scheduler-failover.sh
<BEF> ADDFILE
<MSG> First commit. Committing the completed airflow-scheduler-failover.py file along with binary files to help control it. Added content to the README.md with some instructions.
<DFF> @@ -0,0 +1,8 @@
+#! /bin/sh
+# Startup Scheduler Failover Script for Airflow
+
+echo... | 8 | First commit. Committing the completed airflow-scheduler-failover.py file along with binary files to help control it. Added content to the README.md with some instructions. | 0 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036907 | <NME> command_runner.py
<BEF> import subprocess
import os
class CommandRunner:
HOST_LIST_TO_RUN_LOCAL = ["localhost", "127.0.0.1"]
def __init__(self, local_hostname, logger):
logger.debug("Creating CommandRunner with Args - local_hostname: {local_hostname}, logger: {logger}".format(**locals()))
... | 1 | adding warning message | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036908 | <NME> command_runner.py
<BEF> import subprocess
import os
class CommandRunner:
HOST_LIST_TO_RUN_LOCAL = ["localhost", "127.0.0.1"]
def __init__(self, local_hostname, logger):
logger.debug("Creating CommandRunner with Args - local_hostname: {local_hostname}, logger: {logger}".format(**locals()))
... | 1 | adding warning message | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036909 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import re
import datetime
import time
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the beginning and then set to Tru... | 7 | Fixing CommandRunner to be able to run sudo commands and output the results as an array | 5 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036910 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import re
import datetime
import time
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the beginning and then set to Tru... | 7 | Fixing CommandRunner to be able to run sudo commands and output the results as an array | 5 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036911 | <NME> pivot.css
<BEF> html { padding-top: 40px;}
.dropdown-menu a.remove-filter-field { display: inline;}
div.dataTables_length label {
float: left;
text-align: left;
}
div.dataTables_length select {
width: 75px;
}
div.dataTables_filter label {
float: right;
}
div.dataTables_info {
padding-top: 8px;
}
d... | 21 | Merge pull request #24 from alexhgreen07/ag.css_fixes | 1 | .css | css | bsd-3-clause | rwjblue/pivot.js |
10036912 | <NME> pivot.css
<BEF> html { padding-top: 40px;}
.dropdown-menu a.remove-filter-field { display: inline;}
div.dataTables_length label {
float: left;
text-align: left;
}
div.dataTables_length select {
width: 75px;
}
div.dataTables_filter label {
float: right;
}
div.dataTables_info {
padding-top: 8px;
}
d... | 21 | Merge pull request #24 from alexhgreen07/ag.css_fixes | 1 | .css | css | bsd-3-clause | rwjblue/pivot.js |
10036913 | <NME> pivot.css
<BEF> html { padding-top: 40px;}
.dropdown-menu a.remove-filter-field { display: inline;}
div.dataTables_length label {
float: left;
text-align: left;
}
div.dataTables_length select {
width: 75px;
}
div.dataTables_filter label {
float: right;
}
div.dataTables_info {
padding-top: 8px;
}
d... | 21 | Merge pull request #24 from alexhgreen07/ag.css_fixes | 1 | .css | css | bsd-3-clause | rwjblue/pivot.js |
10036914 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import datetime
import time
from airflow.configuration import conf
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the b... | 2 | Merge pull request #22 from zhongjiajie/master | 2 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036915 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import datetime
import time
from airflow.configuration import conf
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the b... | 2 | Merge pull request #22 from zhongjiajie/master | 2 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036916 | <NME> command_runner.py
<BEF> import subprocess
import os
class CommandRunner:
HOST_LIST_TO_RUN_LOCAL = ["localhost", "127.0.0.1"]
def __init__(self, local_hostname, logger):
logger.debug("Creating CommandRunner with Args - local_hostname: {local_hostname}, logger: {logger}".format(**locals()))
... | 2 | fix ssh return code | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036917 | <NME> command_runner.py
<BEF> import subprocess
import os
class CommandRunner:
HOST_LIST_TO_RUN_LOCAL = ["localhost", "127.0.0.1"]
def __init__(self, local_hostname, logger):
logger.debug("Creating CommandRunner with Args - local_hostname: {local_hostname}, logger: {logger}".format(**locals()))
... | 2 | fix ssh return code | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036918 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import datetime
import time
from airflow.configuration import conf
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the b... | 1 | disable_ssl_verify | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036919 | <NME> failover_controller.py
<BEF> from scheduler_failover_controller.utils.date_utils import get_datetime_as_str
import sys
import traceback
import datetime
import time
from airflow.configuration import conf
import requests
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the b... | 1 | disable_ssl_verify | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036920 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv, sample_fields;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code,billed_amount,last_billed_date\n" +
"Jackson,Robert,34471,100.00,\"Tue, 24 Jan 2012 00:00:00 +0000\"\n" +
"S... | 5 | Sort results before returning them. | 5 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036921 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv, sample_fields;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code,billed_amount,last_billed_date\n" +
"Jackson,Robert,34471,100.00,\"Tue, 24 Jan 2012 00:00:00 +0000\"\n" +
"S... | 5 | Sort results before returning them. | 5 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036922 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv, sample_fields;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code,billed_amount,last_billed_date\n" +
"Jackson,Robert,34471,100.00,\"Tue, 24 Jan 2012 00:00:00 +0000\"\n" +
"S... | 5 | Sort results before returning them. | 5 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036923 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 1 | Update README.md | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036924 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 1 | Update README.md | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036925 | <NME> logger.py
<BEF> import logging
import logging.handlers
import os
def get_logger(logging_level, logs_output_file_path=None, logs_rotate_when="midnight", logs_rotate_backup_count=7):
# Create the logger
logger = logging.getLogger(__name__)
# Set logging level
logger.setLevel(logging_level)
... | 1 | Improving logging format | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036926 | <NME> logger.py
<BEF> import logging
import logging.handlers
import os
def get_logger(logging_level, logs_output_file_path=None, logs_rotate_when="midnight", logs_rotate_backup_count=7):
# Create the logger
logger = logging.getLogger(__name__)
# Set logging level
logger.setLevel(logging_level)
... | 1 | Improving logging format | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036927 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 2 | Casted Nonetype to Str | 2 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036928 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 2 | Casted Nonetype to Str | 2 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036929 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 2 | Updating Release 1.0.6 description | 2 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036930 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 2 | Updating Release 1.0.6 description | 2 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036931 | <NME> setup_scheduler_failover_controller_systemd_scripts.sh
<BEF> #!/bin/bash
SCHEDULER_FAILOVER_CONTROLLER_VERSION="v1.0.6"
REPO_ARCHIVE_URL="https://github.com/teamclairvoyant/airflow-scheduler-failover-controller/archive/"
USERNAME="airflow"
GROUP="airflow"
echo "Deploying the systemd services for Airflow Schedul... | 1 | Merge pull request #36 from teamclairvoyant/development | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036932 | <NME> setup_scheduler_failover_controller_systemd_scripts.sh
<BEF> #!/bin/bash
SCHEDULER_FAILOVER_CONTROLLER_VERSION="v1.0.6"
REPO_ARCHIVE_URL="https://github.com/teamclairvoyant/airflow-scheduler-failover-controller/archive/"
USERNAME="airflow"
GROUP="airflow"
echo "Deploying the systemd services for Airflow Schedul... | 1 | Merge pull request #36 from teamclairvoyant/development | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036933 | <NME> setup_scheduler_failover_controller_systemd_scripts.sh
<BEF> #!/bin/bash
SCHEDULER_FAILOVER_CONTROLLER_VERSION="v1.0.3"
REPO_ARCHIVE_URL="https://github.com/teamclairvoyant/airflow-scheduler-failover-controller/archive/"
USERNAME="airflow"
GROUP="airflow"
echo "Deploying the systemd services for Airflow Schedul... | 1 | Starting version 1.0.4 | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036934 | <NME> setup_scheduler_failover_controller_systemd_scripts.sh
<BEF> #!/bin/bash
SCHEDULER_FAILOVER_CONTROLLER_VERSION="v1.0.3"
REPO_ARCHIVE_URL="https://github.com/teamclairvoyant/airflow-scheduler-failover-controller/archive/"
USERNAME="airflow"
GROUP="airflow"
echo "Deploying the systemd services for Airflow Schedul... | 1 | Starting version 1.0.4 | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036935 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
### Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
### How it Works
TBD
### Deployment Instructions
### Local Development
In case you ... | 20 | Adding more content to README.md file | 7 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036936 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
### Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
### How it Works
TBD
### Deployment Instructions
### Local Development
In case you ... | 20 | Adding more content to README.md file | 7 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036937 | <NME> zookeeper_metadata_service.py
<BEF> from scheduler_failover_controller.utils import date_utils
from scheduler_failover_controller.metadata.base_metadata_service import BaseMetadataService
from kazoo.client import KazooClient # documentation: https://kazoo.readthedocs.io/en/latest/basic_usage.html
import datetime... | 1 | Adding metadata info and updating method that logger statements are assembled for metadata services | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036938 | <NME> zookeeper_metadata_service.py
<BEF> from scheduler_failover_controller.utils import date_utils
from scheduler_failover_controller.metadata.base_metadata_service import BaseMetadataService
from kazoo.client import KazooClient # documentation: https://kazoo.readthedocs.io/en/latest/basic_usage.html
import datetime... | 1 | Adding metadata info and updating method that logger statements are assembled for metadata services | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036939 | <NME> pivot.js
<BEF> /**
* @docauthor Jonathan Jackson
* @class Pivot
* # Welcome to Pivot.js
*
* Pivot.js is a simple way for you to get to your data. It allows for the
* creation of highly customizable unique table views from your browser.
*
* > In data processing, a pivot table is a data summarization tool found in... | 1 | Fix comparison in preserveDataFilters. | 1 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036940 | <NME> pivot.js
<BEF> /**
* @docauthor Jonathan Jackson
* @class Pivot
* # Welcome to Pivot.js
*
* Pivot.js is a simple way for you to get to your data. It allows for the
* creation of highly customizable unique table views from your browser.
*
* > In data processing, a pivot table is a data summarization tool found in... | 1 | Fix comparison in preserveDataFilters. | 1 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036941 | <NME> pivot.js
<BEF> /**
* @docauthor Jonathan Jackson
* @class Pivot
* # Welcome to Pivot.js
*
* Pivot.js is a simple way for you to get to your data. It allows for the
* creation of highly customizable unique table views from your browser.
*
* > In data processing, a pivot table is a data summarization tool found in... | 1 | Fix comparison in preserveDataFilters. | 1 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036942 | <NME> pivot.js
<BEF> /**
* @docauthor Jonathan Jackson
* @class Pivot
* # Welcome to Pivot.js
*
* Pivot.js is a simple way for you to get to your data. It allows for the
* creation of highly customizable unique table views from your browser.
*
* > In data processing, a pivot table is a data summarization tool found in... | 24 | Switch our for loops with while (much faster in IE8). | 12 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036943 | <NME> pivot.js
<BEF> /**
* @docauthor Jonathan Jackson
* @class Pivot
* # Welcome to Pivot.js
*
* Pivot.js is a simple way for you to get to your data. It allows for the
* creation of highly customizable unique table views from your browser.
*
* > In data processing, a pivot table is a data summarization tool found in... | 24 | Switch our for loops with while (much faster in IE8). | 12 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036944 | <NME> pivot.js
<BEF> /**
* @docauthor Jonathan Jackson
* @class Pivot
* # Welcome to Pivot.js
*
* Pivot.js is a simple way for you to get to your data. It allows for the
* creation of highly customizable unique table views from your browser.
*
* > In data processing, a pivot table is a data summarization tool found in... | 24 | Switch our for loops with while (much faster in IE8). | 12 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036945 | <NME> configuration.py
<BEF> import os
import socket
import sys
import logging
from six.moves import configparser
def get_airflow_home_dir():
return os.environ['AIRFLOW_HOME'] if "AIRFLOW_HOME" in os.environ else os.path.expanduser("~/airflow")
DEFAULT_AIRFLOW_HOME_DIR = get_airflow_home_dir()
DEFAULT_METADATA_SE... | 4 | VIRTUAL ENV SUPPORT: Include venv activation | 4 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036946 | <NME> configuration.py
<BEF> import os
import socket
import sys
import logging
from six.moves import configparser
def get_airflow_home_dir():
return os.environ['AIRFLOW_HOME'] if "AIRFLOW_HOME" in os.environ else os.path.expanduser("~/airflow")
DEFAULT_AIRFLOW_HOME_DIR = get_airflow_home_dir()
DEFAULT_METADATA_SE... | 4 | VIRTUAL ENV SUPPORT: Include venv activation | 4 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036947 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 49 | Updating documetation on systemd | 8 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036948 | <NME> README.md
<BEF> # Airflow Scheduler Failover Controller
## Project Purpose
The purpose of this project is to create a failover controller that will control which scheduler is up and running to allow HA across an Airflow cluster.
## Motivation
We had attempted to setup a Highly Available Airflow Cluster whe... | 49 | Updating documetation on systemd | 8 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036949 | <NME> command_runner.py
<BEF> import subprocess
import os
class CommandRunner:
HOST_LIST_TO_RUN_LOCAL = ["localhost", "127.0.0.1"]
def __init__(self, local_hostname, logger):
logger.debug("Creating CommandRunner with Args - local_hostname: {local_hostname}, logger: {logger}".format(**locals()))
... | 2 | Merge pull request #4 from integralads/master | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |