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 |
|---|---|---|---|---|---|---|---|---|
10036750 | <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... | 4 | Update README.md | 4 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036751 | <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... | 4 | Update README.md | 4 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036752 | <NME> emailer.py
<BEF> import importlib
from airflow import configuration
EMAIL_SUBJECT = "Airflow Alert - Scheduler Failover Controller Failed to Startup Scheduler"
EMAIL_BODY = """
The Scheduler Failover Controller failed to Restart the Scheduler on all Scheduler Hosts.<br/>
<br/>
Host Name: {0}<br/>
Retry Count: {1... | 21 | Adding the ability to set the alert emails subject | 16 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036753 | <NME> emailer.py
<BEF> import importlib
from airflow import configuration
EMAIL_SUBJECT = "Airflow Alert - Scheduler Failover Controller Failed to Startup Scheduler"
EMAIL_BODY = """
The Scheduler Failover Controller failed to Restart the Scheduler on all Scheduler Hosts.<br/>
<br/>
Host Name: {0}<br/>
Retry Count: {1... | 21 | Adding the ability to set the alert emails subject | 16 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036754 | <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 | Revert "Starting version 1.0.3" | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036755 | <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 | Revert "Starting version 1.0.3" | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036756 | <NME> setup.py
<BEF> from setuptools import setup, find_packages
from scheduler_failover_controller import __version__
setup(
name='scheduler_failover_controller',
description='A process that runs in unison with Apache Airflow to control the Scheduler process to ensure High Availability',
version=__versio... | 1 | Updated setup file to use apache-airflow | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036757 | <NME> setup.py
<BEF> from setuptools import setup, find_packages
from scheduler_failover_controller import __version__
setup(
name='scheduler_failover_controller',
description='A process that runs in unison with Apache Airflow to control the Scheduler process to ensure High Availability',
version=__versio... | 1 | Updated setup file to use apache-airflow | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036758 | <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
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the beginning and then set to True as it becomes active
... | 3 | added imports | 3 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036759 | <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
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the beginning and then set to True as it becomes active
... | 3 | added imports | 3 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036760 | <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
>In data processing, a pivot table is a data summarization tool found in data visualization programs such as spreadsheets or business intelligence software. Among other functions, pivot-table tools can... | 2 | Update README.md | 2 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036761 | <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
>In data processing, a pivot table is a data summarization tool found in data visualization programs such as spreadsheets or business intelligence software. Among other functions, pivot-table tools can... | 2 | Update README.md | 2 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036762 | <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
>In data processing, a pivot table is a data summarization tool found in data visualization programs such as spreadsheets or business intelligence software. Among other functions, pivot-table tools can... | 2 | Update README.md | 2 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036763 | <NME> setup_scheduler_failover_controller_systemd_scripts.sh
<BEF> #!/bin/bash
SCHEDULER_FAILOVER_CONTROLLER_VERSION="v1.0.2"
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.3 | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036764 | <NME> setup_scheduler_failover_controller_systemd_scripts.sh
<BEF> #!/bin/bash
SCHEDULER_FAILOVER_CONTROLLER_VERSION="v1.0.2"
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.3 | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036765 | <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... | 108 | Updaing README to include Configurations Section and answers to some questions | 6 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036766 | <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... | 108 | Updaing README to include Configurations Section and answers to some questions | 6 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036767 | <NME> setup_scheduler_failover_controller_systemd_scripts.sh
<BEF> #!/bin/bash
SCHEDULER_FAILOVER_CONTROLLER_VERSION="v1.0.2"
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.3 | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036768 | <NME> setup_scheduler_failover_controller_systemd_scripts.sh
<BEF> #!/bin/bash
SCHEDULER_FAILOVER_CONTROLLER_VERSION="v1.0.2"
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.3 | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036769 | <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
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the beginning and then set to True as it becomes active
... | 3 | Merge pull request #33 from teamclairvoyant/api_check_imports | 2 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036770 | <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
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the beginning and then set to True as it becomes active
... | 3 | Merge pull request #33 from teamclairvoyant/api_check_imports | 2 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036771 | <NME> cli.py
<BEF> #!/usr/bin/env python
import argparse
from scheduler_failover_controller.app import build_metadata_service
from scheduler_failover_controller.command_runner.command_runner import CommandRunner
from scheduler_failover_controller.configuration import Configuration
from scheduler_failover_controller.ema... | 10 | Adding a version cli command | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036772 | <NME> cli.py
<BEF> #!/usr/bin/env python
import argparse
from scheduler_failover_controller.app import build_metadata_service
from scheduler_failover_controller.command_runner.command_runner import CommandRunner
from scheduler_failover_controller.configuration import Configuration
from scheduler_failover_controller.ema... | 10 | Adding a version cli command | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036773 | <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... | 1 | Merge pull request #44 from moklick/patch-1 | 1 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036774 | <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... | 1 | Merge pull request #44 from moklick/patch-1 | 1 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036775 | <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... | 1 | Merge pull request #44 from moklick/patch-1 | 1 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036776 | <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... | 1 | Fix broken Markdown headings | 1 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036777 | <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... | 1 | Fix broken Markdown headings | 1 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036778 | <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... | 1 | Fix broken Markdown headings | 1 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036779 | <NME> setup.py
<BEF> ADDFILE
<MSG> Adding cli interface. Adding pip installation files. Fixing init function. cleaning up zookeeper.
<DFF> @@ -0,0 +1,24 @@
+from setuptools import setup, find_packages, Command
+from scheduler_failover_controller import __version__
+
+
+setup(
+ name='scheduler_failover_controller',... | 24 | Adding cli interface. Adding pip installation files. Fixing init function. cleaning up zookeeper. | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036780 | <NME> setup.py
<BEF> ADDFILE
<MSG> Adding cli interface. Adding pip installation files. Fixing init function. cleaning up zookeeper.
<DFF> @@ -0,0 +1,24 @@
+from setuptools import setup, find_packages, Command
+from scheduler_failover_controller import __version__
+
+
+setup(
+ name='scheduler_failover_controller',... | 24 | Adding cli interface. Adding pip installation files. Fixing init function. cleaning up zookeeper. | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036781 | <NME> demo.csv <BEF> last_name,first_name,employer,billed_amount,payment_amount,invoice_date,last_billed_date,city,state,zip_code Wunsch,Cydney,Mammoth Pictures,319.3,610.6,"Sun, 30 Oct 2011 00:00:00 +0000","Sun, 18 Jul 2010 00:00:00 +0000",Boca Raton,FL,33486 Keeling,Rosalind,Mr. Sparkle,161.2,688.6,"Mon, 9 Aug 2010 0... | 1,001 | Change last_billed_date to last_payment_date in demo. | 1,001 | .csv | csv | bsd-3-clause | rwjblue/pivot.js |
10036782 | <NME> demo.csv <BEF> last_name,first_name,employer,billed_amount,payment_amount,invoice_date,last_billed_date,city,state,zip_code Wunsch,Cydney,Mammoth Pictures,319.3,610.6,"Sun, 30 Oct 2011 00:00:00 +0000","Sun, 18 Jul 2010 00:00:00 +0000",Boca Raton,FL,33486 Keeling,Rosalind,Mr. Sparkle,161.2,688.6,"Mon, 9 Aug 2010 0... | 1,001 | Change last_billed_date to last_payment_date in demo. | 1,001 | .csv | csv | bsd-3-clause | rwjblue/pivot.js |
10036783 | <NME> demo.csv <BEF> last_name,first_name,employer,billed_amount,payment_amount,invoice_date,last_billed_date,city,state,zip_code Wunsch,Cydney,Mammoth Pictures,319.3,610.6,"Sun, 30 Oct 2011 00:00:00 +0000","Sun, 18 Jul 2010 00:00:00 +0000",Boca Raton,FL,33486 Keeling,Rosalind,Mr. Sparkle,161.2,688.6,"Mon, 9 Aug 2010 0... | 1,001 | Change last_billed_date to last_payment_date in demo. | 1,001 | .csv | csv | bsd-3-clause | rwjblue/pivot.js |
10036784 | <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... | 3 | move the sleep logic to startup scheduler | 3 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036785 | <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... | 3 | move the sleep logic to startup scheduler | 3 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036786 | <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... | 9 | Change the result of results() to be an array of fields. | 9 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036787 | <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... | 9 | Change the result of results() to be an array of fields. | 9 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036788 | <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... | 9 | Change the result of results() to be an array of fields. | 9 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036789 | <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... | 7 | Update README.md | 0 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036790 | <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... | 7 | Update README.md | 0 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036791 | <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... | 7 | Update README.md | 0 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036792 | <NME> setup.py
<BEF> ADDFILE
<MSG> Merge pull request #1 from teamclairvoyant/modularize-dev
Modularize dev
<DFF> @@ -0,0 +1,24 @@
+from setuptools import setup, find_packages
+from scheduler_failover_controller import __version__
+
+
+setup(
+ name='scheduler_failover_controller',
+ description='A process that ... | 24 | Merge pull request #1 from teamclairvoyant/modularize-dev | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036793 | <NME> setup.py
<BEF> ADDFILE
<MSG> Merge pull request #1 from teamclairvoyant/modularize-dev
Modularize dev
<DFF> @@ -0,0 +1,24 @@
+from setuptools import setup, find_packages
+from scheduler_failover_controller import __version__
+
+
+setup(
+ name='scheduler_failover_controller',
+ description='A process that ... | 24 | Merge pull request #1 from teamclairvoyant/modularize-dev | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036794 | <NME> results.js
<BEF> function pivotResults(){
return {
data: getDataResults,
columns: getColumnResults
}
};
function getDataResults(){
applyFilter();
results = {};
var output = [],
i = -1,
m = data.length,
keys;
while (++i < m) {
... | 25 | Refactor pivot.results() to begin fleshing out crosstab functions. | 9 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036795 | <NME> results.js
<BEF> function pivotResults(){
return {
data: getDataResults,
columns: getColumnResults
}
};
function getDataResults(){
applyFilter();
results = {};
var output = [],
i = -1,
m = data.length,
keys;
while (++i < m) {
... | 25 | Refactor pivot.results() to begin fleshing out crosstab functions. | 9 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036796 | <NME> results.js
<BEF> function pivotResults(){
return {
data: getDataResults,
columns: getColumnResults
}
};
function getDataResults(){
applyFilter();
results = {};
var output = [],
i = -1,
m = data.length,
keys;
while (++i < m) {
... | 25 | Refactor pivot.results() to begin fleshing out crosstab functions. | 9 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036797 | <NME> setup_airflow_systemd_scripts.sh
<BEF> #!/bin/bash
AIRFLOW_VERSION="1.7.0"
REPO_ARCHIVE_URL="https://github.com/apache/incubator-airflow/archive/"
USERNAME="airflow"
GROUP="airflow"
echo "Deploying the systemd services for Airflow v${AIRFLOW_VERSION}"
if [[ "`whoami`" == "root" ]]; then
echo "Running as ro... | 4 | Merge pull request #13 from teamclairvoyant/development | 4 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036798 | <NME> setup_airflow_systemd_scripts.sh
<BEF> #!/bin/bash
AIRFLOW_VERSION="1.7.0"
REPO_ARCHIVE_URL="https://github.com/apache/incubator-airflow/archive/"
USERNAME="airflow"
GROUP="airflow"
echo "Deploying the systemd services for Airflow v${AIRFLOW_VERSION}"
if [[ "`whoami`" == "root" ]]; then
echo "Running as ro... | 4 | Merge pull request #13 from teamclairvoyant/development | 4 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036799 | <NME> CHANGELOG.md
<BEF> # Airflow Scheduler Failover Controller Changelog
### [v1.0.0](https://github.com/teamclairvoyant/airflow-scheduler-failover-controller/tree/v1.0.0)
First release.
Includes base functionality to control and check if the Scheduler is running. Supports multiple types of metastores and provides... | 5 | update changelog | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036800 | <NME> CHANGELOG.md
<BEF> # Airflow Scheduler Failover Controller Changelog
### [v1.0.0](https://github.com/teamclairvoyant/airflow-scheduler-failover-controller/tree/v1.0.0)
First release.
Includes base functionality to control and check if the Scheduler is running. Supports multiple types of metastores and provides... | 5 | update changelog | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036801 | <NME> License.md
<BEF> ADDFILE
<MSG> Adding License
<DFF> @@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definiti... | 201 | Adding License | 0 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036802 | <NME> License.md
<BEF> ADDFILE
<MSG> Adding License
<DFF> @@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definiti... | 201 | Adding License | 0 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036803 | <NME> accounting.min.js
<BEF> ADDFILE
<MSG> Add accounting.js for currency formatting.
<DFF> @@ -0,0 +1,4 @@
+/*!
+ * accounting.js v0.3.2, copyright 2011 Joss Crowcroft, MIT license, http://josscrowcroft.github.com/accounting.js
+ */
+(function(p,z){function q(a){return!!(""===a||a&&a.charCodeAt&&a.substr)}function m... | 4 | Add accounting.js for currency formatting. | 0 | .js | min | bsd-3-clause | rwjblue/pivot.js |
10036804 | <NME> accounting.min.js
<BEF> ADDFILE
<MSG> Add accounting.js for currency formatting.
<DFF> @@ -0,0 +1,4 @@
+/*!
+ * accounting.js v0.3.2, copyright 2011 Joss Crowcroft, MIT license, http://josscrowcroft.github.com/accounting.js
+ */
+(function(p,z){function q(a){return!!(""===a||a&&a.charCodeAt&&a.substr)}function m... | 4 | Add accounting.js for currency formatting. | 0 | .js | min | bsd-3-clause | rwjblue/pivot.js |
10036805 | <NME> accounting.min.js
<BEF> ADDFILE
<MSG> Add accounting.js for currency formatting.
<DFF> @@ -0,0 +1,4 @@
+/*!
+ * accounting.js v0.3.2, copyright 2011 Joss Crowcroft, MIT license, http://josscrowcroft.github.com/accounting.js
+ */
+(function(p,z){function q(a){return!!(""===a||a&&a.charCodeAt&&a.substr)}function m... | 4 | Add accounting.js for currency formatting. | 0 | .js | min | bsd-3-clause | rwjblue/pivot.js |
10036806 | <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 TypeError: a bytes-like object is required, not 'str' | 2 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036807 | <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 TypeError: a bytes-like object is required, not 'str' | 2 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036808 | <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
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the beginning and then set to True as it becomes active
... | 3 | Merge pull request #34 from teamclairvoyant/master | 2 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036809 | <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
class FailoverController:
IS_FAILOVER_CONTROLLER_ACTIVE = False # Set to False in the beginning and then set to True as it becomes active
... | 3 | Merge pull request #34 from teamclairvoyant/master | 2 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036810 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code\n" +
"Jackson,Robert,34471\n" +
"Smith,Jon,34471\n" +
"Jackson,Jon,34474\n" +
"Jackson,S... | 46 | Test summary functionality. | 29 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036811 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code\n" +
"Jackson,Robert,34471\n" +
"Smith,Jon,34471\n" +
"Jackson,Jon,34474\n" +
"Jackson,S... | 46 | Test summary functionality. | 29 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036812 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
var sample_csv;
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code\n" +
"Jackson,Robert,34471\n" +
"Smith,Jon,34471\n" +
"Jackson,Jon,34474\n" +
"Jackson,S... | 46 | Test summary functionality. | 29 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036813 | <NME> CHANGELOG.md
<BEF> # Airflow Scheduler Failover Controller Changelog
### [v1.0.0](https://github.com/teamclairvoyant/airflow-scheduler-failover-controller/tree/v1.0.0)
First release.
Includes base functionality to control and check if the Scheduler is running. Supports multiple types of metastores and provides... | 1 | Updated note for v1.0.5 release | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036814 | <NME> CHANGELOG.md
<BEF> # Airflow Scheduler Failover Controller Changelog
### [v1.0.0](https://github.com/teamclairvoyant/airflow-scheduler-failover-controller/tree/v1.0.0)
First release.
Includes base functionality to control and check if the Scheduler is running. Supports multiple types of metastores and provides... | 1 | Updated note for v1.0.5 release | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036815 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code\n" +
"Jackson,Robert,34471\n" +
"Jackson,Jon,34474\n" +
"Jackson,Susan,34476\n" +
"Fornea,Chris,34474\n"
pivot.cs... | 55 | Break spec into separate contexts and elaborate on functionality. | 14 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036816 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code\n" +
"Jackson,Robert,34471\n" +
"Jackson,Jon,34474\n" +
"Jackson,Susan,34476\n" +
"Fornea,Chris,34474\n"
pivot.cs... | 55 | Break spec into separate contexts and elaborate on functionality. | 14 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036817 | <NME> pivotjs_spec.js
<BEF> describe('pivot', function () {
beforeEach(function () {
sample_csv = "last_name,first_name,zip_code\n" +
"Jackson,Robert,34471\n" +
"Jackson,Jon,34474\n" +
"Jackson,Susan,34476\n" +
"Fornea,Chris,34474\n"
pivot.cs... | 55 | Break spec into separate contexts and elaborate on functionality. | 14 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036818 | <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 | Fix issue with fenced code not parsing. | 0 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036819 | <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 | Fix issue with fenced code not parsing. | 0 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036820 | <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 | Fix issue with fenced code not parsing. | 0 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036821 | <NME> ssh_utils.py
<BEF> ADDFILE
<MSG> fleshing out modularized structure, adding and filling out classes.
<DFF> @@ -0,0 +1,13 @@
+import subprocess
+
+
+def run_command_through_ssh(host, command):
+ command_split = ["ssh", host, command]
+ process = subprocess.Popen(command_split, stdout=subprocess.PIPE, stderr... | 13 | fleshing out modularized structure, adding and filling out classes. | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036822 | <NME> ssh_utils.py
<BEF> ADDFILE
<MSG> fleshing out modularized structure, adding and filling out classes.
<DFF> @@ -0,0 +1,13 @@
+import subprocess
+
+
+def run_command_through_ssh(host, command):
+ command_split = ["ssh", host, command]
+ process = subprocess.Popen(command_split, stdout=subprocess.PIPE, stderr... | 13 | fleshing out modularized structure, adding and filling out classes. | 0 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036823 | <NME> setup_airflow_systemd_scripts.sh
<BEF> #!/bin/bash
AIRFLOW_VERSION="1.7.0"
REPO_ARCHIVE_URL="https://github.com/apache/airflow/archive/"
USERNAME="airflow"
GROUP="airflow"
echo "Deploying the systemd services for Airflow v${AIRFLOW_VERSION}"
if [[ "`whoami`" == "root" ]]; then
echo "Running as root"
else
... | 1 | Updated Airflow version to 1.8.1 | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036824 | <NME> setup_airflow_systemd_scripts.sh
<BEF> #!/bin/bash
AIRFLOW_VERSION="1.7.0"
REPO_ARCHIVE_URL="https://github.com/apache/airflow/archive/"
USERNAME="airflow"
GROUP="airflow"
echo "Deploying the systemd services for Airflow v${AIRFLOW_VERSION}"
if [[ "`whoami`" == "root" ]]; then
echo "Running as root"
else
... | 1 | Updated Airflow version to 1.8.1 | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036825 | <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,2012-01-24\n" +
"Smith,Jon,34471,173.20,201... | 8 | Fix specs for non-ES5 browsers (ISO8601 is not supported in Safari 5.1). | 8 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036826 | <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,2012-01-24\n" +
"Smith,Jon,34471,173.20,201... | 8 | Fix specs for non-ES5 browsers (ISO8601 is not supported in Safari 5.1). | 8 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036827 | <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,2012-01-24\n" +
"Smith,Jon,34471,173.20,201... | 8 | Fix specs for non-ES5 browsers (ISO8601 is not supported in Safari 5.1). | 8 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036828 | <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... | 4 | Update README for display() changes. | 4 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036829 | <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... | 4 | Update README for display() changes. | 4 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036830 | <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... | 4 | Update README for display() changes. | 4 | .md | md | bsd-3-clause | rwjblue/pivot.js |
10036831 | <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 | Call internal functions directly. | 1 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036832 | <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 | Call internal functions directly. | 1 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036833 | <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 | Call internal functions directly. | 1 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036834 | <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 | renaming the mysql metastore table | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036835 | <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 | renaming the mysql metastore table | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036836 | <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 | Fixing mix up of systemd deploy scripts. Updating command_runner to fix an issue with running sudo commands. | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036837 | <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 | Fixing mix up of systemd deploy scripts. Updating command_runner to fix an issue with running sudo commands. | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036838 | <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... | 4 | Bind build action to '#select-constructor' explicitly, rather than all '#filter-list select' tags. | 2 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036839 | <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... | 4 | Bind build action to '#select-constructor' explicitly, rather than all '#filter-list select' tags. | 2 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036840 | <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... | 4 | Bind build action to '#select-constructor' explicitly, rather than all '#filter-list select' tags. | 2 | .js | js | bsd-3-clause | rwjblue/pivot.js |
10036841 | <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 starup as background process command | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036842 | <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 starup as background process command | 1 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036843 | <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... | 23 | Renaming nodes_in_cluseter to scheduler_nodes_in_cluster and putting it in its own section to separate the failover controller specific configs. Adding another command to see if the scheduler is running. Removing unneeded bin files. Cleaning up README file. | 31 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036844 | <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... | 23 | Renaming nodes_in_cluseter to scheduler_nodes_in_cluster and putting it in its own section to separate the failover controller specific configs. Adding another command to see if the scheduler is running. Removing unneeded bin files. Cleaning up README file. | 31 | .md | md | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036845 | <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 | comment edit | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036846 | <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 | comment edit | 1 | .py | py | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036847 | <NME> setup_scheduler_failover_controller_systemd_scripts.sh
<BEF> #!/bin/bash
SCHEDULER_FAILOVER_CONTROLLER_VERSION="v1.0.5"
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 #32 from teamclairvoyant/development | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036848 | <NME> setup_scheduler_failover_controller_systemd_scripts.sh
<BEF> #!/bin/bash
SCHEDULER_FAILOVER_CONTROLLER_VERSION="v1.0.5"
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 #32 from teamclairvoyant/development | 1 | .sh | sh | apache-2.0 | teamclairvoyant/airflow-scheduler-failover-controller |
10036849 | <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 |