hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
8f53b6c1934e87bf201b4aa91fe893d503b35ed4 | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -81,7 +81,7 @@ exports.parseParams = function (str) {
exports.parseFmtpConfig = exports.parseParams;
exports.parsePayloads = function (str) {
- return str.split(' ').map(Number);
+ return str.toString... | parsePayloads() is not safe
If there's only a payload in the m= line is considered as number and the function split throws an error.
Should check the other functions too | clux_sdp-transform | train |
f7c9b5fa8b9aeb2ff96e095d21e0037532a63ed2 | diff --git a/java/client/test/org/openqa/selenium/UploadTest.java b/java/client/test/org/openqa/selenium/UploadTest.java
index <HASH>..<HASH> 100644
--- a/java/client/test/org/openqa/selenium/UploadTest.java
+++ b/java/client/test/org/openqa/selenium/UploadTest.java
@@ -41,7 +41,7 @@ import java.io.IOException;
/**
... | Unignoring file uploading test in marionette | SeleniumHQ_selenium | train |
1a8806c1e8a952d1dfde84eb158f5da6d9551ea3 | diff --git a/lib/rules/no-array-prototype-extensions.js b/lib/rules/no-array-prototype-extensions.js
index <HASH>..<HASH> 100644
--- a/lib/rules/no-array-prototype-extensions.js
+++ b/lib/rules/no-array-prototype-extensions.js
@@ -66,6 +66,9 @@ const KNOWN_NON_ARRAY_FUNCTION_CALLS = new Set([
// RSVP.reject
'RS... | fix: more false positives with RSVP.Promise.reject() in no-array-prototype-extensions | ember-cli_eslint-plugin-ember | train |
66019869e71b2bcdceffeda0ed8f5605101167ec | diff --git a/filer/admin/folderadmin.py b/filer/admin/folderadmin.py
index <HASH>..<HASH> 100644
--- a/filer/admin/folderadmin.py
+++ b/filer/admin/folderadmin.py
@@ -1020,15 +1020,17 @@ class FolderAdmin(PrimitivePermissionAwareModelAdmin):
try:
selected_destination_folder = int(request.POST.get(... | Fix for #<I>: make 'copy files and/or folders' work when the current folder is the root folder. | divio_django-filer | train |
02c1a4833d39f112170759a3348644caf4c98b30 | diff --git a/tests/unit/utils/test_ssdp.py b/tests/unit/utils/test_ssdp.py
index <HASH>..<HASH> 100644
--- a/tests/unit/utils/test_ssdp.py
+++ b/tests/unit/utils/test_ssdp.py
@@ -22,9 +22,25 @@ except ImportError as err:
pytest = None
+class Mocks(object):
+ def get_socket_mock(self, expected_ip, expected_h... | Move sock mock away to the utils mixin | saltstack_salt | train |
706b9f9525da2fee7e98d4c3320c8cd07d80edf9 | diff --git a/src/edu/rpi/cmt/calendar/diff/ParamsWrapper.java b/src/edu/rpi/cmt/calendar/diff/ParamsWrapper.java
index <HASH>..<HASH> 100644
--- a/src/edu/rpi/cmt/calendar/diff/ParamsWrapper.java
+++ b/src/edu/rpi/cmt/calendar/diff/ParamsWrapper.java
@@ -89,15 +89,21 @@ class ParamsWrapper extends BaseSetWrapper<ParamW... | Fix to date/time processing for SOAP | Bedework_bw-util | train |
f8f63e628674fcb6755e9ef50bea1d148ba49ac2 | diff --git a/workflow/controller/controller.go b/workflow/controller/controller.go
index <HASH>..<HASH> 100644
--- a/workflow/controller/controller.go
+++ b/workflow/controller/controller.go
@@ -192,6 +192,10 @@ var indexers = cache.Indexers{
// Run starts an Workflow resource controller
func (wfc *WorkflowController... | fix(controller): Handling panic in leaderelection (#<I>) | argoproj_argo | train |
64a57da9bea8d7f4911103a6c0042f29284d6227 | diff --git a/lib/plugin.js b/lib/plugin.js
index <HASH>..<HASH> 100644
--- a/lib/plugin.js
+++ b/lib/plugin.js
@@ -19,19 +19,26 @@ function PluginType(type, vars) {
fs.statSync(pluginDir);
var foundPlugins = requireDir(pluginDir);
- var pluginNames = Object.keys(foundPlugins);
-
- cons... | Allow plugins to be disabled by prefixing their name with a `_` | basement-js_basement | train |
2aae06e78d5d8e04c80b65f4e7a2656ca71978e4 | diff --git a/tests/gui/widget/test_restore_session.py b/tests/gui/widget/test_restore_session.py
index <HASH>..<HASH> 100644
--- a/tests/gui/widget/test_restore_session.py
+++ b/tests/gui/widget/test_restore_session.py
@@ -188,6 +188,9 @@ def trigger_gui_signals_first_run(*args):
library_os_path = library_manager.... | fix-test(restore session): adapt to additional meta data
Adding meta data for 7c<I>e showed this issue and let respective test
already fail since version <I>. | DLR-RM_RAFCON | train |
3cd06f17c85e1b1570db8d2575a8afeea8410cd5 | diff --git a/resources/gen-changelog.js b/resources/gen-changelog.js
index <HASH>..<HASH> 100644
--- a/resources/gen-changelog.js
+++ b/resources/gen-changelog.js
@@ -42,6 +42,20 @@ if (!GH_TOKEN) {
process.exit(1);
}
+if (!packageJSON.repository || typeof packageJSON.repository.url !== 'string') {
+ console.err... | gen-changelog: remove hardcoded GitHub org and repo (#<I>) | graphql_graphql-js | train |
cf10d558eba4c3877ab31406ca00133f66ac2dcd | diff --git a/billy/tests/__init__.py b/billy/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/billy/tests/__init__.py
+++ b/billy/tests/__init__.py
@@ -1,19 +1,10 @@
from billy.conf import settings
+settings.MONGO_DATABASE += '_test'
from billy import db
from billy.models import base
import pymongo
-def setu... | a hack to make both test dbs play nice | openstates_billy | train |
a7134a5a8d31d9c7bac0129663adbf86fc8cae3f | diff --git a/src/server/api.js b/src/server/api.js
index <HASH>..<HASH> 100644
--- a/src/server/api.js
+++ b/src/server/api.js
@@ -63,6 +63,10 @@ export const createApiServer = ({ db, games }) => {
const app = new Koa();
const router = new Router();
+ router.get('/games', async ctx => {
+ ctx.body = games.m... | initial game list api endpoint implementation (#<I>) | nicolodavis_boardgame.io | train |
d271c08f9e70fba27316a3e0fdb32240fb0ff2d1 | diff --git a/go/vt/tabletserver/tx_pool.go b/go/vt/tabletserver/tx_pool.go
index <HASH>..<HASH> 100644
--- a/go/vt/tabletserver/tx_pool.go
+++ b/go/vt/tabletserver/tx_pool.go
@@ -246,7 +246,7 @@ func (txc *TxConnection) discard(conclusion string) {
// Ensure PoolConnection won't be accessed after Recycle.
txc.PoolC... | Demote "Logged transaction:" log messages from warning to info.
There are already error-level messages highlighting this state, and
marking these as "warnings" adds nothing to problem discoverability
(while obscuring other, probably more useful warnings). They are
useful informational messages, but "info" logging is ... | vitessio_vitess | train |
7c825a116394e9d448546c2b277e7f67957e1bff | diff --git a/src/js/droppable.js b/src/js/droppable.js
index <HASH>..<HASH> 100644
--- a/src/js/droppable.js
+++ b/src/js/droppable.js
@@ -55,6 +55,7 @@
flex = setting.flex,
canMoveHere = setting.canMoveHere,
dropToClass = setting.dropToClass,
+ noShadow... | * add new option "noShadow" to droppable component. | easysoft_zui | train |
e57e6410659745e30ede6f1ad1d2a5c564ac771d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,5 +13,8 @@ setup(
description='Commandline interface to HabitRPG (http://habitrpg.com)',
long_description=readme,
packages=['hrpg'],
+ install_requires=[
+ 'docopt',
+ ],
scripts=['bin/hrpg... | Adding dependency to setup.py
Setting explicit dependency for docopt | philadams_habitica | train |
250ea31af734fba32b44c4bd4ac3f78d483a30e1 | diff --git a/java/client/src/org/openqa/selenium/firefox/NotConnectedException.java b/java/client/src/org/openqa/selenium/firefox/NotConnectedException.java
index <HASH>..<HASH> 100644
--- a/java/client/src/org/openqa/selenium/firefox/NotConnectedException.java
+++ b/java/client/src/org/openqa/selenium/firefox/NotConne... | KristianRosenvold: Included error message from browser when browser start times out.
I'm sure there is an issue out there being fixed by this.
My output now looks like this if I set incorrect DISPLAY variable:
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host <I> on port <I> after <I> ms. ... | SeleniumHQ_selenium | train |
69fd5a1527b690b45b043dd3b59eff05e67091dc | diff --git a/common/step_create_cdrom.go b/common/step_create_cdrom.go
index <HASH>..<HASH> 100644
--- a/common/step_create_cdrom.go
+++ b/common/step_create_cdrom.go
@@ -236,12 +236,26 @@ func (s *StepCreateCD) AddFile(dst, src string) error {
return err
}
+ // file is a directory, so we need to parse the filen... | fix pathing in cd_files copy to make sure directories make it into the cd root. | hashicorp_packer | train |
026b1daecf3af3c99eee6fa5e3c6eaa4e78deee7 | diff --git a/src/input/pointerevent.js b/src/input/pointerevent.js
index <HASH>..<HASH> 100644
--- a/src/input/pointerevent.js
+++ b/src/input/pointerevent.js
@@ -685,6 +685,10 @@
throw new me.Error("invalid event type : " + eventType);
}
+ if (typeof region === "undefined") {
+ ... | throw an exception if the given region passed is undefined, when registering an event | melonjs_melonJS | train |
215e63b4b32c5217193bbd3c5ddcedfa9d54badb | diff --git a/code/pages/WikiPage.php b/code/pages/WikiPage.php
index <HASH>..<HASH> 100644
--- a/code/pages/WikiPage.php
+++ b/code/pages/WikiPage.php
@@ -258,12 +258,23 @@ class WikiPage extends Page
include_once SIMPLEWIKI_DIR.'/thirdparty/htmlpurifier-4.0.0-lite/library/HTMLPurifier.auto.php';
$purifier = ne... | BUGFIX: Convert purified shortcodes back to what they once were | nyeholt_silverstripe-simplewiki | train |
ce695fa9eeb9639671fda9f67dc06e15c9dcd821 | diff --git a/lib/highLevelProducer.js b/lib/highLevelProducer.js
index <HASH>..<HASH> 100644
--- a/lib/highLevelProducer.js
+++ b/lib/highLevelProducer.js
@@ -83,7 +83,7 @@ HighLevelProducer.prototype.send = function (payloads, cb) {
HighLevelProducer.prototype.buildPayloads = function (payloads) {
var self = thi... | fix(HighLevelProducer): allow sending to partition 0 | SOHU-Co_kafka-node | train |
532a24181e35e86085264589f8814ed6346d2b95 | diff --git a/frasco/users/avatars.py b/frasco/users/avatars.py
index <HASH>..<HASH> 100644
--- a/frasco/users/avatars.py
+++ b/frasco/users/avatars.py
@@ -1,6 +1,7 @@
from frasco.ext import *
from frasco.upload import url_for_upload
from frasco.helpers import url_for
+from frasco.utils import slugify
from flask imp... | slugify username before using in avatr url | frascoweb_frasco | train |
78bcd6e8310002ab8fc3bc10c330014e42b4ad57 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -48,6 +48,22 @@ module.exports = function (grunt) {
]
},
+ jekyll: {
+ options: {
+ src: 'docs',
+ dest: 'docs/_site'
+ },
+ build: {
+ d: null
+ },
+ ... | Added docs build for grunt | select2_select2 | train |
cd5b2e692b3a5792ccc736d38a9536250f872d6e | diff --git a/src/Storage/Database/Schema/Comparison/Sqlite.php b/src/Storage/Database/Schema/Comparison/Sqlite.php
index <HASH>..<HASH> 100644
--- a/src/Storage/Database/Schema/Comparison/Sqlite.php
+++ b/src/Storage/Database/Schema/Comparison/Sqlite.php
@@ -22,7 +22,7 @@ class Sqlite extends BaseComparator
*/
... | Adjust comparison
-1 if older
0 if it is the same
1 if version passed as argument is newer | bolt_bolt | train |
75cfd0bc7aa396e9f08131de3f78fe8f785f2269 | diff --git a/src/main/java/com/podio/space/SpaceMemberV2.java b/src/main/java/com/podio/space/SpaceMemberV2.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/podio/space/SpaceMemberV2.java
+++ b/src/main/java/com/podio/space/SpaceMemberV2.java
@@ -61,7 +61,7 @@ public class SpaceMemberV2 {
* @param profile th... | Corrected setter method setUser -> setProfile | podio_podio-java | train |
924011ec7e31daea718f2141c92867b2ad16d7ea | diff --git a/test/test-http.js b/test/test-http.js
index <HASH>..<HASH> 100644
--- a/test/test-http.js
+++ b/test/test-http.js
@@ -1,7 +1,9 @@
+var serverTest = require('servertest')
var webhook = require('..')
var test = require('tape')
var http = require('http')
var spec = require('./spec')
+var fs = require('fs'... | Update tests
We now test the validity of the data object returned by calling `callback(err, data)`. | joshgillies_tito-webhook | train |
e1ef2baad7bd2081e94af93b5487afe96a7b8292 | diff --git a/superset/migrations/versions/abe27eaf93db_add_extra_config_column_to_alerts.py b/superset/migrations/versions/abe27eaf93db_add_extra_config_column_to_alerts.py
index <HASH>..<HASH> 100644
--- a/superset/migrations/versions/abe27eaf93db_add_extra_config_column_to_alerts.py
+++ b/superset/migrations/versions... | fix(migrations): reorder skipped <I> migrations (#<I>) | apache_incubator-superset | train |
05c4fa5d0fa7fdc8df763c80971858123e1b16bb | diff --git a/Zebra_cURL.php b/Zebra_cURL.php
index <HASH>..<HASH> 100644
--- a/Zebra_cURL.php
+++ b/Zebra_cURL.php
@@ -1564,7 +1564,7 @@ class Zebra_cURL {
'';
// if we have a body, we're not doing a binary transfer, and _htmlentities is set to TRUE, run htmlentities() on... | Minor bug fix
htmlentities now actually returns the encoded result for
$result->body | stefangabos_Zebra_cURL | train |
40a468e690201090846dab800045a5fb4dc6c707 | diff --git a/slim/Slim.php b/slim/Slim.php
index <HASH>..<HASH> 100644
--- a/slim/Slim.php
+++ b/slim/Slim.php
@@ -130,7 +130,7 @@ class Slim {
* @param mixed $callable Anything that returns true for is_callable()
*/
public static function get($pattern, $callable) {
- self::router()->map($pattern, $callable, R... | Updating Slim::get, Slim::post, Slim::put, and Slim::delete to return the Route created for the given pattern and method | slimphp_Slim | train |
858bd8554d27f3144c43e4edba18aba81d290236 | diff --git a/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigFileApplicationListenerTests.java b/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigFileApplicationListenerTests.java
index <HASH>..<HASH> 100644
--- a/spring-boot/src/test/java/org/springframework/boot/context/... | Align test logging config with latest change in Spring Framework
See spring-projects/spring-framework@ea5cb<I>d<I>f | spring-projects_spring-boot | train |
ac303e12aa0a5dd9cb1921df58bf85caa3c86532 | diff --git a/src/detection-strategy/scroll.js b/src/detection-strategy/scroll.js
index <HASH>..<HASH> 100644
--- a/src/detection-strategy/scroll.js
+++ b/src/detection-strategy/scroll.js
@@ -229,10 +229,12 @@ module.exports = function(options) {
}
function addEvent(el, name, cb) {
- if (e... | Now preferring addEventListener over attachEvent | wnr_element-resize-detector | train |
f6b3453a2eeb2100e5ddaa3c328f6254abc96502 | diff --git a/modin/engines/ray/generic/io.py b/modin/engines/ray/generic/io.py
index <HASH>..<HASH> 100644
--- a/modin/engines/ray/generic/io.py
+++ b/modin/engines/ray/generic/io.py
@@ -455,6 +455,21 @@ class RayIO(BaseIO):
import sqlalchemy as sa
+ try:
+ import psycopg2 as pg
+
+ ... | Fix psycopg2 connection functionality (#<I>) | modin-project_modin | train |
dd9b9143f95872484fd5240940c71ed3cd857932 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -68,6 +68,11 @@ For Vkontakte API there is a possibility of providing additional options. For in
SocialPoster.write(:vk, 'Text on the Group Wall...', nil, owner_id: '-GROUP_ID')
```
+You can specify extra parameters fo... | added extra options for fb api | HeeL_social_poster | train |
f07b4f2d331687b820f0298d231f494b9f4f95d1 | diff --git a/lib/simple_calendar/view_helpers.rb b/lib/simple_calendar/view_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/simple_calendar/view_helpers.rb
+++ b/lib/simple_calendar/view_helpers.rb
@@ -1,8 +1,6 @@
module SimpleCalendar
module ViewHelpers
- WEEKDAYS = Date::DAYNAMES.map {|d| d.downcase.to_... | Simplified next and previous month links | excid3_simple_calendar | train |
c682c00b058de21e927c3a6c42fadb34c9745767 | diff --git a/src/utils.js b/src/utils.js
index <HASH>..<HASH> 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -1,19 +1,9 @@
var _ = require('lodash');
-var driver, C, offsetsByDirection;
+var driver, C, offsetsByDirection = [, [0,-1], [1,-1], [1,0], [1,1], [0,1], [-1,1], [-1,0], [-1,-1]];
function loadDriver() {
... | ♻ update constants on driver load
DEV-<I> | screeps_engine | train |
1e11d71f855546a4281fab9ef3750c1d650ae2ac | diff --git a/test/tests/index.js b/test/tests/index.js
index <HASH>..<HASH> 100644
--- a/test/tests/index.js
+++ b/test/tests/index.js
@@ -61,10 +61,9 @@ describe("Index", function() {
}))
.then(function() {
return index.addAll(undefined, undefined, function() {
- // ensure that the add callback... | Add tests for callbacks passed directly as parameters | nodegit_nodegit | train |
36e3b33bbc0a707ff8ff69e4a5e05922669ddd46 | diff --git a/gandi/cli/core/cli.py b/gandi/cli/core/cli.py
index <HASH>..<HASH> 100644
--- a/gandi/cli/core/cli.py
+++ b/gandi/cli/core/cli.py
@@ -71,6 +71,55 @@ class GandiCLI(click.Group):
])
+ def resolve_command(self, ctx, args):
+ cmd_name = args[0]
+
+ sub_cmd = False
+ if len... | Fixes issue #<I> : Compatiblity with click 6.x
This commit add the resolve_command override so we can keep our subcommands
working with newer click upstream versions | Gandi_gandi.cli | train |
8e187d19628205763c44f4436f763d7dfd4c3b5e | diff --git a/package.json b/package.json
index <HASH>..<HASH> 100644
--- a/package.json
+++ b/package.json
@@ -148,7 +148,7 @@
"pug": "^2.0.3",
"redis": "^2.8.0",
"request": "^2.88.0",
- "restify": "^7.7.0",
+ "restify": "^8.3.1",
"restify-clients": "^2.6.2",
"rimraf": "^2.6.2",
"sen... | chore(package): update restify to version <I> (#<I>) | elastic_apm-agent-nodejs | train |
15c0f31ce268952c915d519f7d58d9981bd2d9f9 | diff --git a/cdm/src/main/java/ucar/nc2/Variable.java b/cdm/src/main/java/ucar/nc2/Variable.java
index <HASH>..<HASH> 100644
--- a/cdm/src/main/java/ucar/nc2/Variable.java
+++ b/cdm/src/main/java/ucar/nc2/Variable.java
@@ -32,7 +32,6 @@
*/
package ucar.nc2;
-import thredds.catalog2.ThreddsMetadata;
import ucar.ma... | removed unused import in Variable that was breaking gradle build | Unidata_thredds | train |
0efc33c156fc071c6c784ab25bd09fb0db84316a | diff --git a/src/saml2/client.py b/src/saml2/client.py
index <HASH>..<HASH> 100644
--- a/src/saml2/client.py
+++ b/src/saml2/client.py
@@ -73,8 +73,11 @@ class Saml2Client(object):
self.users.cache,
log=None, vorg_conf=None)
... | Debug as defined in the config file | IdentityPython_pysaml2 | train |
41ec160913824cfc354916edb4838329cf9aa021 | diff --git a/hashring/hashring_test.go b/hashring/hashring_test.go
index <HASH>..<HASH> 100644
--- a/hashring/hashring_test.go
+++ b/hashring/hashring_test.go
@@ -399,7 +399,7 @@ func (s *ProcessMembershipChangesSuite) TestAddMember0() {
s.ring.ProcessMembershipChanges([]membership.MemberChange{
{After: s.members[... | Fix mock.AssertExpectationsForObjects lint issue in hashring tests | uber_ringpop-go | train |
48c93453c8dcd0cbc0aa4e7924cf8a44eb5d70b8 | diff --git a/jodd-lagarto/src/main/java/jodd/jerry/Jerry.java b/jodd-lagarto/src/main/java/jodd/jerry/Jerry.java
index <HASH>..<HASH> 100644
--- a/jodd-lagarto/src/main/java/jodd/jerry/Jerry.java
+++ b/jodd-lagarto/src/main/java/jodd/jerry/Jerry.java
@@ -989,10 +989,9 @@ public class Jerry implements Iterable<Jerry> {
... | amend commit(documentation got messed up) | oblac_jodd | train |
e4399a57246824bbdb4aaf99d7dd0d216aed7e4c | diff --git a/lib/vagrant/util/platform.rb b/lib/vagrant/util/platform.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/util/platform.rb
+++ b/lib/vagrant/util/platform.rb
@@ -561,9 +561,9 @@ module Vagrant
def wsl_validate_matching_vagrant_versions!
valid = false
if Util::Which.which("vag... | Check Windows installed Vagrant version using --version
Using the --version flag keeps Vagrant from doing a full startup
and prevents the Vagrantfile from being parsed. This makes the
version check faster, and stops things like syntax errors within
a Vagrantfile from causing an unexpected error.
Fixes #<I> | hashicorp_vagrant | train |
569e863292ca8f7b42e0f65c8779355a2fd04f2d | diff --git a/lib/epimath100/error.class.rb b/lib/epimath100/error.class.rb
index <HASH>..<HASH> 100644
--- a/lib/epimath100/error.class.rb
+++ b/lib/epimath100/error.class.rb
@@ -5,13 +5,15 @@ class Error
ERR_HIGH = "Fatal Error"
ERR_MEDIUM = "Error"
ERR_LOW = "Warning"
+ ERR_DEFAULT = "Default"
ERR_COLOR_... | Improve Error class : the default error's level is now changeable | Nephos_epimath100 | train |
e1b47d3b431288adcbe36c4643e23b445155713b | diff --git a/lib/rolify/dynamic.rb b/lib/rolify/dynamic.rb
index <HASH>..<HASH> 100644
--- a/lib/rolify/dynamic.rb
+++ b/lib/rolify/dynamic.rb
@@ -5,7 +5,7 @@ module Rolify
def load_dynamic_methods
if ENV['ADAPTER'] == 'active_record'
# supported Rails version >= 3.2 with AR should use find_each, s... | don't load every single role+resource on startup
rather, we can simply load the unique role name/resource type combinations,
which are likely to be far fewer than the number of absolute role records. | RolifyCommunity_rolify | train |
5e75669a22cdda3fb005c170d489479b0a71f449 | diff --git a/pyphi/compute/parallel.py b/pyphi/compute/parallel.py
index <HASH>..<HASH> 100644
--- a/pyphi/compute/parallel.py
+++ b/pyphi/compute/parallel.py
@@ -153,10 +153,7 @@ class MapReduce:
configure_worker_logging(log_queue)
- while True:
- obj = in_queue.get()
- ... | Use `iter` to get jobs from queue | wmayner_pyphi | train |
2d8eac01068a6b8f04c9ec2cbd968933f0480736 | diff --git a/bcbio/pipeline/genome.py b/bcbio/pipeline/genome.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/genome.py
+++ b/bcbio/pipeline/genome.py
@@ -228,8 +228,8 @@ def get_builds(galaxy_base):
# ## Retrieve pre-prepared genomes
-REMAP_NAMES = {"tophat2": "bowtie2",
- "samtools": "seq"}
+RE... | Automated download of rtg indexes on cloud runs
This includes pre-built rtg indices in the data preparation step to
enable validation for runs on cloud resources. | bcbio_bcbio-nextgen | train |
e0e0560799e2f147db93bd3a59f3ae0ddf9f4452 | diff --git a/spec/routine_spec.rb b/spec/routine_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/routine_spec.rb
+++ b/spec/routine_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
-describe Routine do
+describe Lev::Routine do
-end
\ No newline at end of file
+end | Fix NameError: uninitialized constant Routine in routine_spec.rb | lml_lev | train |
713112249ee47e414187b79e0ff6ac5931a77ed3 | diff --git a/spec/subscriptionOptions.spec.js b/spec/subscriptionOptions.spec.js
index <HASH>..<HASH> 100644
--- a/spec/subscriptionOptions.spec.js
+++ b/spec/subscriptionOptions.spec.js
@@ -223,4 +223,110 @@ describe( 'Subscription Definition Options', function () {
} );
+ describe( 'When calling withConstraint(... | Added tests around async SubscriptionDefinition options | postaljs_monologue.js | train |
c01d846116a3eb609239b267c65cefc9bedba4de | diff --git a/wandb/keras/__init__.py b/wandb/keras/__init__.py
index <HASH>..<HASH> 100644
--- a/wandb/keras/__init__.py
+++ b/wandb/keras/__init__.py
@@ -99,7 +99,8 @@ class WandbCallback(keras.callbacks.Callback):
def on_epoch_end(self, epoch, logs=None):
# history
- row = {'epoch': epoch}
+ ... | Fix keras when doing additonal logging | wandb_client | train |
5e90e615b1821e1a0812d0b049d0107681b8daf3 | diff --git a/lib/Predis/Connection/ConnectionParameters.php b/lib/Predis/Connection/ConnectionParameters.php
index <HASH>..<HASH> 100644
--- a/lib/Predis/Connection/ConnectionParameters.php
+++ b/lib/Predis/Connection/ConnectionParameters.php
@@ -11,7 +11,7 @@
namespace Predis\Connection;
-use Predis\ClientExcepti... | Minor optimizations for the parsing of URI parameters.
Using list() with the warning suppressor is slower than using isset()
to check the presence of the first two elements of the array returned
by explode(). This also allow us to skip incomplete query string pairs
when parsing the URI string.
We have also changed th... | nrk_predis | train |
f17a14133ee99b233a327395bc18905597541d40 | diff --git a/src/pikepdf/_methods.py b/src/pikepdf/_methods.py
index <HASH>..<HASH> 100644
--- a/src/pikepdf/_methods.py
+++ b/src/pikepdf/_methods.py
@@ -72,7 +72,7 @@ def augments(cls_cpp: Type[Any]):
Any existing methods may be used, regardless of whether they are defined
elsewhere in the support class or ... | methods: fix incorrect comment about dynamic_attr | pikepdf_pikepdf | train |
4113e2f072e40d613d65f4d1dbee585d338fa202 | diff --git a/src/Rah/Danpu/Base.php b/src/Rah/Danpu/Base.php
index <HASH>..<HASH> 100644
--- a/src/Rah/Danpu/Base.php
+++ b/src/Rah/Danpu/Base.php
@@ -157,32 +157,6 @@ abstract class Base
}
/**
- * Gets an array of tables.
- *
- * @return array|bool
- */
-
- protected function getTables()... | Don't store table data in the memory.
Allows future view support, and reduces memory usage on table-heavy databases. | gocom_danpu | train |
8b766dd1d8485ab78f4bb67196be0e03e5e885a9 | diff --git a/mod/assign/feedback/editpdf/yui/build/moodle-assignfeedback_editpdf-editor/moodle-assignfeedback_editpdf-editor-debug.js b/mod/assign/feedback/editpdf/yui/build/moodle-assignfeedback_editpdf-editor/moodle-assignfeedback_editpdf-editor-debug.js
index <HASH>..<HASH> 100644
--- a/mod/assign/feedback/editpdf/y... | MDL-<I> assignfeedback_editpdf: Fix missing semicolon
Detected by eslint rule 'semi' | moodle_moodle | train |
ee87ba82593fbadcadd2ed840c44bcc42eb7c9f8 | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -350,13 +350,7 @@ function parseFile(path) {
return parse(stream);
}
-function parseUrl(url) {
- // TODO: Parse a given <<url>> using requests?
- return "parseUrl not implemented";
-}
-
modul... | Remove url parsing for now | ninetwozero_gradle-to-js | train |
986e90bc9fd9b0f59d46a8f26f3928169f9e7cad | diff --git a/src/main/java/com/codeborne/selenide/SelenideElement.java b/src/main/java/com/codeborne/selenide/SelenideElement.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/codeborne/selenide/SelenideElement.java
+++ b/src/main/java/com/codeborne/selenide/SelenideElement.java
@@ -353,4 +353,6 @@ public interf... | Added method $.contextClick() | selenide_selenide | train |
b57b3d3b356628c53fcb6f58a522ee4505f947ca | diff --git a/os-monitor.js b/os-monitor.js
index <HASH>..<HASH> 100644
--- a/os-monitor.js
+++ b/os-monitor.js
@@ -211,7 +211,7 @@ Monitor.prototype.days = function(n) {
// deprecated stuff
-Monitor.prototype.setConfig = util.deprecate(Monitor.prototype.config);
+Monitor.prototype.setConfig = util.deprecate(Monito... | .setConfig(): added deprecation warning | lfortin_node-os-monitor | train |
3a5cd49fe5dcca8d060055f40d30a60b3f0ed36d | diff --git a/public/javascripts/wymeditor/jquery.refinery.wymeditor.js b/public/javascripts/wymeditor/jquery.refinery.wymeditor.js
index <HASH>..<HASH> 100755
--- a/public/javascripts/wymeditor/jquery.refinery.wymeditor.js
+++ b/public/javascripts/wymeditor/jquery.refinery.wymeditor.js
@@ -1253,7 +1253,7 @@ WYMeditor.e... | support inserting images in firefox+webkit | refinery_refinerycms | train |
30fc7e923846e5ab5f97167c9a49105126b2e84c | diff --git a/test/helper.py b/test/helper.py
index <HASH>..<HASH> 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -227,7 +227,7 @@ def check_operator(cls, args, kwargs, input_vector, output_vector, initial_state
assert dut.get() == stored_result
-JITTER = 0.005
+JITTER = 0.003
async def check_async_oper... | extended async test helper with checking for temporary subscription and .get() | semiversus_python-broqer | train |
590f167e6b02e11ae1c5ed57e9bbeaee6150e68d | diff --git a/src/main/java/io/github/bonigarcia/wdm/docker/DockerService.java b/src/main/java/io/github/bonigarcia/wdm/docker/DockerService.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/github/bonigarcia/wdm/docker/DockerService.java
+++ b/src/main/java/io/github/bonigarcia/wdm/docker/DockerService.java
@@ -1... | Smell-fix: improve condition to check Docker client creation | bonigarcia_webdrivermanager | train |
e81121582e1c46aa3adbd1fe9c1e1ba31ac292b6 | diff --git a/lib/providers/twilio/twilio_provider.rb b/lib/providers/twilio/twilio_provider.rb
index <HASH>..<HASH> 100644
--- a/lib/providers/twilio/twilio_provider.rb
+++ b/lib/providers/twilio/twilio_provider.rb
@@ -38,4 +38,4 @@ module Hermes
Twilio::REST::Client.new(self.credentials[:account_sid], self.cred... | Added support for omitting country prefix from short codes | StatusPage_hermes | train |
5d0a340754b7770f8eeec128e6dd5802907ff8e3 | diff --git a/src/svg.js b/src/svg.js
index <HASH>..<HASH> 100644
--- a/src/svg.js
+++ b/src/svg.js
@@ -2612,6 +2612,7 @@ function gradientRadial(defs, cx, cy, r, fx, fy) {
}
return el;
};
+
/*\
* Paper.image
[ method ]
@@ -2619,27 +2620,13 @@ function gradientRadial(defs, cx, cy,... | EDIT Paper.image, to collapse redundant doc entries | adobe-webplatform_Snap.svg | train |
d06464050100324bc4154bc5f63fcc12eaa3dd22 | diff --git a/kafka_consumer/datadog_checks/kafka_consumer/kafka_consumer.py b/kafka_consumer/datadog_checks/kafka_consumer/kafka_consumer.py
index <HASH>..<HASH> 100644
--- a/kafka_consumer/datadog_checks/kafka_consumer/kafka_consumer.py
+++ b/kafka_consumer/datadog_checks/kafka_consumer/kafka_consumer.py
@@ -86,8 +86,... | Remove deprecated _read_config()
A while back this was deprecated because it will not be used in the new
version of the agent. At the time, this was handled by copy/paste the
deprecated method into this check.
However, this method should actually be completely removed, as it adds
no value to the check and is easily r... | DataDog_integrations-core | train |
c8134884123c141a415c85b0778b36ffafe734d7 | diff --git a/code/Report.php b/code/Report.php
index <HASH>..<HASH> 100644
--- a/code/Report.php
+++ b/code/Report.php
@@ -171,7 +171,7 @@ class Report extends ViewableData
{
return Controller::join_links(
ReportAdmin::singleton()->Link('show'),
- $this->sanitiseClassName(get_class... | MINOR: Make use of static::class | silverstripe_silverstripe-reports | train |
f6ff6cb5dfcad63fe0615802348b3252d1382640 | diff --git a/core/workspace_svg.js b/core/workspace_svg.js
index <HASH>..<HASH> 100644
--- a/core/workspace_svg.js
+++ b/core/workspace_svg.js
@@ -768,9 +768,9 @@ Blockly.WorkspaceSvg.prototype.setVisible = function(isVisible) {
}
if (isVisible) {
this.render();
- if (this.toolbox_) {
- this.toolbox_... | Fix #<I> (#<I>) | LLK_scratch-blocks | train |
721d172a64dbe1285d31fdcafed672e24fc5e76e | diff --git a/agrona/src/main/java/org/agrona/concurrent/status/CountersManager.java b/agrona/src/main/java/org/agrona/concurrent/status/CountersManager.java
index <HASH>..<HASH> 100644
--- a/agrona/src/main/java/org/agrona/concurrent/status/CountersManager.java
+++ b/agrona/src/main/java/org/agrona/concurrent/status/Co... | Add a method to update the key for a specific counter. | real-logic_agrona | train |
c9dd9e7d6c5e890dc557dd2626a8785cd1abf043 | diff --git a/ontobio/golr/golr_query.py b/ontobio/golr/golr_query.py
index <HASH>..<HASH> 100644
--- a/ontobio/golr/golr_query.py
+++ b/ontobio/golr/golr_query.py
@@ -115,7 +115,11 @@ class GolrFields:
ASPECT='aspect'
RELATION='relation'
RELATION_LABEL='relation_label'
-
+ FREQUENCY='frequency'
+ F... | updating golr fields and select fields to include frequency and onset in DiseasePhenotype assoc | biolink_ontobio | train |
f82ef1769099bc2d04ccaeb48fdb3eb2dd299781 | diff --git a/pylas/lasdata.py b/pylas/lasdata.py
index <HASH>..<HASH> 100644
--- a/pylas/lasdata.py
+++ b/pylas/lasdata.py
@@ -44,6 +44,31 @@ class LasData:
pointdimensions.EDGE_OF_FLIGHT_LINE_HIGH_BIT
)
+ # Split raw classification
+ self.classification = pointdimensions.bit_trans... | split classification field as stated in the specs | tmontaigu_pylas | train |
90d6e7df2484fdf7bbe7e614c7683906c77bd98e | diff --git a/cmd/policy-main.go b/cmd/policy-main.go
index <HASH>..<HASH> 100644
--- a/cmd/policy-main.go
+++ b/cmd/policy-main.go
@@ -437,8 +437,11 @@ func runPolicyCmd(args cli.Args) {
perms := accessPerms(args.Get(1))
targetURL := args.Get(2)
if perms.isValidAccessPERM() {
- probeErr = doSetAccess(ctx, target... | policy: Recalculate permission mode after setting a new one (#<I>)
`mc policy set` can confuse users by showing that a bucket has 'none'
policy mode although issuing `mc policy get` will show it is `custom`
when the bucket already other policy statements for some sub-resources.
For better UX, mc will issue anothe... | minio_mc | train |
ad45d0abe1797150c5e6d4cc70eebdd7e882f8a0 | diff --git a/src/hot/client/index.js b/src/hot/client/index.js
index <HASH>..<HASH> 100644
--- a/src/hot/client/index.js
+++ b/src/hot/client/index.js
@@ -14,7 +14,12 @@
if (!module.hot || process.env.NODE_ENV === 'production') {
module.exports = {
- makeHot() {},
+ makeHot(rootFactory: Function) {
+ /... | fix(hmr): makeHot in production mode (#<I>)
`makeHot` should behave correctly and should return original `rootFactory` not `undefined` otherwise the apps in production mode will get broken. | callstack_haul | train |
16c7a1b33cc8d0c3dc5096a1ad45cab3e7f2a1a6 | diff --git a/python/thunder/rdds/fileio/readers.py b/python/thunder/rdds/fileio/readers.py
index <HASH>..<HASH> 100644
--- a/python/thunder/rdds/fileio/readers.py
+++ b/python/thunder/rdds/fileio/readers.py
@@ -445,7 +445,11 @@ class BotoS3ReadFileHandle(object):
self._offset = 0
def close(self):
- ... | #<I> workaround for missing keywords in early versions of boto | thunder-project_thunder | train |
866920fd1259295f02037d94bd39a0537361cdf4 | diff --git a/src/core/TSDB.java b/src/core/TSDB.java
index <HASH>..<HASH> 100644
--- a/src/core/TSDB.java
+++ b/src/core/TSDB.java
@@ -230,6 +230,10 @@ public final class TSDB {
UniqueId.preloadUidCache(this, uid_cache_map);
}
+ if (config.getString("tsd.core.tag.allow_specialchars") != null) {
+ ... | Allow to define special characters for keys and values of the tag via config tsd.core.tag.allow_specialchars | OpenTSDB_opentsdb | train |
2a27f0b97f470f37eaab556ede39ac7e17a3fc25 | diff --git a/lib/notifaction/types/linux.rb b/lib/notifaction/types/linux.rb
index <HASH>..<HASH> 100644
--- a/lib/notifaction/types/linux.rb
+++ b/lib/notifaction/types/linux.rb
@@ -5,6 +5,8 @@ module Notifaction
def bubble(message, title)
@response = `notify-send "#{title}" "#{message}"`
$?.e... | fire hooks on bubble/modal notifications as well | aapis_notifaction | train |
aa064edca5d7f60d758c16b50d513b8a32c797dc | diff --git a/records/config.go b/records/config.go
index <HASH>..<HASH> 100644
--- a/records/config.go
+++ b/records/config.go
@@ -164,7 +164,14 @@ func SetConfig(cjson string) Config {
}
c.initSOA()
+ c.initCertificates()
+ c.initMesosAuthentication()
+ c.log()
+
+ return *c
+}
+func (c *Config) initCertificat... | refactor cert config logic to reduce cyclomatic complexity | mesosphere_mesos-dns | train |
06c2fb08f08ede0b5dff0401c9e8cf7fcf644c37 | diff --git a/test/test_add_command.py b/test/test_add_command.py
index <HASH>..<HASH> 100644
--- a/test/test_add_command.py
+++ b/test/test_add_command.py
@@ -340,6 +340,7 @@ class AddCommandTest(CommandTest):
self.todolist, self.out, self.error)
command.execute()
+ self.assertTrue(self.t... | Also check that the todo item is marked complete internally
This assertion was missing in commit 6bb<I>d. | bram85_topydo | train |
d82543a30c3e413dcd434ddd895e45e0ebc6dbf3 | diff --git a/salt/cloud/clouds/vsphere.py b/salt/cloud/clouds/vsphere.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/vsphere.py
+++ b/salt/cloud/clouds/vsphere.py
@@ -248,7 +248,6 @@ def create(vm_):
deploy_kwargs = _deploy(vm_)
ret = show_instance(name=vm_['name'], call='action')
-
sho... | lint fix and removed unused var | saltstack_salt | train |
5731b27da8b37b87afc4e254ea54f8b4a299f3c4 | diff --git a/spec/mdspell/cli_spec.rb b/spec/mdspell/cli_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mdspell/cli_spec.rb
+++ b/spec/mdspell/cli_spec.rb
@@ -2,10 +2,6 @@ describe MdSpell::CLI do
it { is_expected.to respond_to :run }
it { is_expected.to respond_to :files }
- after(:all) do
- MdSpell::Confi... | Moved configuration clearing to global before hook. | mtuchowski_mdspell | train |
fbfb9c22d16c6a96349361eb53c07abc74006ac9 | diff --git a/packages/ember-handlebars/lib/helpers/partial.js b/packages/ember-handlebars/lib/helpers/partial.js
index <HASH>..<HASH> 100644
--- a/packages/ember-handlebars/lib/helpers/partial.js
+++ b/packages/ember-handlebars/lib/helpers/partial.js
@@ -87,15 +87,15 @@ function exists(value) {
}
function renderPar... | Replaces single multiline var statement with multiple var statements | emberjs_ember.js | train |
eb6e11a480e68819696e6b2bc4d41d834fd1d4c5 | diff --git a/structr-core/src/test/java/org/structr/test/core/script/ScriptingTest.java b/structr-core/src/test/java/org/structr/test/core/script/ScriptingTest.java
index <HASH>..<HASH> 100644
--- a/structr-core/src/test/java/org/structr/test/core/script/ScriptingTest.java
+++ b/structr-core/src/test/java/org/structr/t... | Adds scripting test for advanced find using path sorting. | structr_structr | train |
72179af69e497289e04bae9e40cf659605babb15 | diff --git a/aegean.py b/aegean.py
index <HASH>..<HASH> 100755
--- a/aegean.py
+++ b/aegean.py
@@ -1970,7 +1970,7 @@ def priorized_fit_islands(filename, catfile, hdu_index=0, outfile=None, bkgin=No
xmax = max(xmax, min(shape[0], x + xwidth / 2 + 1))
ymax = max(ymax, min(shape[1], y + ywidth / ... | fixed a bug in priorized fitting that could make sources too big | PaulHancock_Aegean | train |
273026afe51555120951292a50e0974b3998b4e3 | diff --git a/tests/_utils.py b/tests/_utils.py
index <HASH>..<HASH> 100644
--- a/tests/_utils.py
+++ b/tests/_utils.py
@@ -16,8 +16,10 @@
import collections
from nose import tools
from lxml import etree
+from xml.etree.ElementTree import parse
import openquake.nrmllib
+from openquake.nrmllib.writers import tostri... | Changed assert_xml_equal to not depend on lxml | gem_oq-engine | train |
523e307211175a5b12c7487d62e65557e07fc792 | diff --git a/websocket/index.js b/websocket/index.js
index <HASH>..<HASH> 100644
--- a/websocket/index.js
+++ b/websocket/index.js
@@ -11,6 +11,7 @@ define(module, function(exports, require) {
socket: null,
+ id: 0,
key: '',
session_id: '',
ua: '',
diff --git a/websocket/server.js b/websocket... | websockets; shutdown and logging | cjr--_qp-library | train |
5286785dbca34e77b6b4340fcb13714a06322882 | diff --git a/src/Manager.php b/src/Manager.php
index <HASH>..<HASH> 100644
--- a/src/Manager.php
+++ b/src/Manager.php
@@ -257,7 +257,7 @@ class Manager
if (preg_match_all("/$pattern/siU", $file->getContents(), $matches)) {
foreach ($matches[2] as $key) {
try {
- ... | handle nested keys in sync command | themsaid_laravel-langman | train |
25468ab1dfdaa8cbadb4b886eb31edbe9b3364b6 | diff --git a/test/unit/model/v2/test_driver_section.py b/test/unit/model/v2/test_driver_section.py
index <HASH>..<HASH> 100644
--- a/test/unit/model/v2/test_driver_section.py
+++ b/test/unit/model/v2/test_driver_section.py
@@ -134,13 +134,7 @@ def _model_driver_provider_name_not_nullable_when_vagrant_section_data():
... | Corrected missed test from #<I> | ansible_molecule | train |
dbf0e6b64c9a680757b50740a9c9340d62b87c50 | diff --git a/tests/acceptance/admin/contacts/CreatePageCest.php b/tests/acceptance/admin/contacts/CreatePageCest.php
index <HASH>..<HASH> 100644
--- a/tests/acceptance/admin/contacts/CreatePageCest.php
+++ b/tests/acceptance/admin/contacts/CreatePageCest.php
@@ -19,10 +19,6 @@ class CreatePageCest
{
/**
* @... | fixed acceptance contact/CreatePageCest | hiqdev_hipanel-module-client | train |
7b004e0e9ac47a5aef4c1b5c4063a6856056e193 | diff --git a/composer.lock b/composer.lock
index <HASH>..<HASH> 100644
--- a/composer.lock
+++ b/composer.lock
@@ -9,16 +9,16 @@
"packages": [
{
"name": "figdice/figdice",
- "version": "2.3",
+ "version": "2.3.1",
"source": {
"type": "git",
... | Updated tests to cover fixed bug in FigDice | intraworq_FigDice-View | train |
b87c4d647523c498751a583721d8d58720d6b332 | diff --git a/plugins/tradingAdvisor/baseTradingMethod.js b/plugins/tradingAdvisor/baseTradingMethod.js
index <HASH>..<HASH> 100644
--- a/plugins/tradingAdvisor/baseTradingMethod.js
+++ b/plugins/tradingAdvisor/baseTradingMethod.js
@@ -91,6 +91,8 @@ var Base = function() {
this.asyncTick = false;
this.candlePropsC... | only propogate different advice, fix #<I> | askmike_gekko | train |
f48b567ffbd6bb935f7eb447309860ef1185f50a | diff --git a/liquibase-core/src/main/java/liquibase/diff/compare/core/DefaultDatabaseObjectComparator.java b/liquibase-core/src/main/java/liquibase/diff/compare/core/DefaultDatabaseObjectComparator.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/diff/compare/core/DefaultDatabaseObjectCompa... | CORE-<I> Multi-schema snapshot bugfixes
Handle schema name in comparisons | liquibase_liquibase | train |
c5439df03a6cb771455ecdb9c7583c95a821ad7f | diff --git a/ui/app/services/system.js b/ui/app/services/system.js
index <HASH>..<HASH> 100644
--- a/ui/app/services/system.js
+++ b/ui/app/services/system.js
@@ -28,7 +28,7 @@ export default Service.extend({
const token = this.get('token');
return PromiseArray.create({
- promise: token.authorizedReque... | Add the region qp to all requests made through the token service | hashicorp_nomad | train |
6744fd7c5010fd49c0a471bac661a41f9a9e4726 | diff --git a/plugin/planned-notification/Listener/PlannedNotificationListener.php b/plugin/planned-notification/Listener/PlannedNotificationListener.php
index <HASH>..<HASH> 100644
--- a/plugin/planned-notification/Listener/PlannedNotificationListener.php
+++ b/plugin/planned-notification/Listener/PlannedNotificationLi... | Fixes bug with platform roles (#<I>) | claroline_Distribution | train |
5f1eaa7be38b4eb2a060b273051bd5ea7901a32e | diff --git a/jsonweb/token.go b/jsonweb/token.go
index <HASH>..<HASH> 100644
--- a/jsonweb/token.go
+++ b/jsonweb/token.go
@@ -89,6 +89,8 @@ type Token struct {
KeyID string `json:"kid"`
// Permissions is the set of authorized permissions for the token
Permissions []influxdb.Permission `json:"permissions"`
+ // U... | feat: include user ID with web token (#<I>) | influxdata_influxdb | train |
cc4b91564784ba06fb9c3512fe25131d031e7251 | diff --git a/payu/experiment.py b/payu/experiment.py
index <HASH>..<HASH> 100644
--- a/payu/experiment.py
+++ b/payu/experiment.py
@@ -535,6 +535,7 @@ class Experiment(object):
if curdir:
os.chdir(curdir)
+ self.runlog.create_manifest()
if self.runlog.enabled:
self.r... | Runlog manifest generated at experiment run
Previously, the model runlog manifest was generated at creation in
__init__, which was causing issues for MITgcm which has a dynamically
generated config file list.
We now generate this list prior to the `runlog.commit` command, which
appears to work without issue. | payu-org_payu | train |
0466e12c317851364b0c772f8f1470fe2d3f20be | diff --git a/pylti/flask.py b/pylti/flask.py
index <HASH>..<HASH> 100644
--- a/pylti/flask.py
+++ b/pylti/flask.py
@@ -155,20 +155,23 @@ class LTI(object):
return session['roles']
def is_role(self, role):
- """
+ """
Verify if user is in role
:param: role: role to veri... | Able to have multiple roles on Sakai <I>+ in LTI.is_role(). | mitodl_pylti | train |
8f8e2c2f41500378f7fa408f6fdc95638e3f6fbb | diff --git a/tests/WhenMonthlyTest.php b/tests/WhenMonthlyTest.php
index <HASH>..<HASH> 100755
--- a/tests/WhenMonthlyTest.php
+++ b/tests/WhenMonthlyTest.php
@@ -564,7 +564,7 @@ class WhenMonthlyTest extends PHPUnit_Framework_TestCase
/**
* Every three months (quarterly) on the first Monday of the month,
... | Add issue number (<I>) to latest tests. | tplaner_When | train |
7757ec2f434149485536fa98ecfe968c9f9ee391 | diff --git a/lib/config.js b/lib/config.js
index <HASH>..<HASH> 100644
--- a/lib/config.js
+++ b/lib/config.js
@@ -95,7 +95,7 @@ module.exports = function() {
var m = key.match(rx);
if (m) {
var current = envconfig;
- var names = m[1].toLowerCase().split('.');
+ var names = m[1].spl... | change config enviroment variable pattern for shell compatibility | onecommons_base | train |
2ecd477c6e310495a98c6c353f00fa1f4df94fe4 | diff --git a/chess/__init__.py b/chess/__init__.py
index <HASH>..<HASH> 100644
--- a/chess/__init__.py
+++ b/chess/__init__.py
@@ -3459,10 +3459,10 @@ class Board(object):
board.chess960 = self.chess960
board.pawns = self.pawns
- board.knights= self.knights
+ board.knights = self.knigh... | Stylistic fix in Board.copy() | niklasf_python-chess | train |
2270042b3bc888f9ded646384f2f824c953199a2 | diff --git a/example.php b/example.php
index <HASH>..<HASH> 100644
--- a/example.php
+++ b/example.php
@@ -25,3 +25,10 @@ var_dump($ipAnonymizer->anonymize('2a03:2880:2110:df07:face:b00c::1'));
var_dump($ipAnonymizer->anonymize('2610:28:3090:3001:dead:beef:cafe:fed3'));
// returns 2610:28:3090:3001::
+
+// You can ... | Fix #1, add a static method to anonymize addresses | geertw_php-ip-anonymizer | train |
05abc7f782cd9edf6f1acb414ef554a42bfaf9ab | diff --git a/billing/gateway.py b/billing/gateway.py
index <HASH>..<HASH> 100644
--- a/billing/gateway.py
+++ b/billing/gateway.py
@@ -119,6 +119,7 @@ def get_gateway(gateway, *args, **kwargs):
clazz = getattr(gateway_module, gateway_class_name)
except AttributeError:
raise GatewayNot... | Add to cache if successfully found. | agiliq_merchant | train |
c3218300334ba8f916f5208e8df4e426efb69dfb | diff --git a/actionpack/lib/action_controller/url_rewriter.rb b/actionpack/lib/action_controller/url_rewriter.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/url_rewriter.rb
+++ b/actionpack/lib/action_controller/url_rewriter.rb
@@ -29,16 +29,16 @@ module ActionController
# Generate a url bas... | revised conventions in url_for docs | rails_rails | train |
de3f9d82a0e974146133df162e1ad333b49e6807 | diff --git a/framework/core/src/Core/Commands/UploadAvatarCommand.php b/framework/core/src/Core/Commands/UploadAvatarCommand.php
index <HASH>..<HASH> 100644
--- a/framework/core/src/Core/Commands/UploadAvatarCommand.php
+++ b/framework/core/src/Core/Commands/UploadAvatarCommand.php
@@ -1,5 +1,6 @@
<?php namespace Flar... | Update avatar uploading code for psr-7
Not sure if a tmp file is the best way, but it works | flarum_core | train |
5ace2f0ec24d58899a9dc649e128e4c0064e9134 | diff --git a/metpy/calc/tests/test_basic.py b/metpy/calc/tests/test_basic.py
index <HASH>..<HASH> 100644
--- a/metpy/calc/tests/test_basic.py
+++ b/metpy/calc/tests/test_basic.py
@@ -4,7 +4,8 @@
import numpy as np
-from metpy.calc.basic import * # noqa: F403
+from metpy.calc import (coriolis_parameter, get_wind_c... | MNT: Remove * imports from tests and import from top-level.
This makes them better tests of the export machinery, as well as
insulates the tests to any possible moves within sub-packages. | Unidata_MetPy | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.