hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
b7cff09023365a0ada58ce74e370951a96a0f554 | diff --git a/src/lib/platform.js b/src/lib/platform.js
index <HASH>..<HASH> 100644
--- a/src/lib/platform.js
+++ b/src/lib/platform.js
@@ -144,6 +144,9 @@ define(['./util'], function(util) {
xhr.onreadystatechange = function() {
if((xhr.readyState == 4)) {
+ if(timedOut) {
+ return... | check 'timedOut' in ajaxBrowser, even though request should be aborted already. | remotestorage_remotestorage.js | train |
6cdd9bc030e857552036222569b0fc43db33907b | diff --git a/tensorflow_probability/python/layers/internal/distribution_tensor_coercible.py b/tensorflow_probability/python/layers/internal/distribution_tensor_coercible.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/layers/internal/distribution_tensor_coercible.py
+++ b/tensorflow_probability/pytho... | Don't create new TensorCoercible subclass is the same class has already been created | tensorflow_probability | train |
00e513a60b5fd76369705fff15110446734a33b1 | diff --git a/test/integration/generated_regress_test.rb b/test/integration/generated_regress_test.rb
index <HASH>..<HASH> 100644
--- a/test/integration/generated_regress_test.rb
+++ b/test/integration/generated_regress_test.rb
@@ -450,12 +450,20 @@ describe Regress do
proc { Regress::TestFundamentalObject.new }.... | Move tests to their proper place
Moves tests for #ref and #unref to their logical place under
TestFundamentalObject, even though we need TestFundamentalSubObject to
actually test them. This eliminates two skips. | mvz_gir_ffi | train |
4fc34fbf83c63c29f02f2ef22c6bc5e01b87c0c4 | diff --git a/bundles/org.eclipse.orion.client.ui/web/compare-tree/compare-tree.js b/bundles/org.eclipse.orion.client.ui/web/compare-tree/compare-tree.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/compare-tree/compare-tree.js
+++ b/bundles/org.eclipse.orion.client.ui/web/compare-tree/compa... | Bug <I> - Unexternalized strings in folder compare | eclipse_orion.client | train |
c15eed7f52ca0d4014cae918c19a5135808ff9af | diff --git a/sonar-batch/src/main/java/org/sonar/batch/phases/UpdateStatusJob.java b/sonar-batch/src/main/java/org/sonar/batch/phases/UpdateStatusJob.java
index <HASH>..<HASH> 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/phases/UpdateStatusJob.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/phases/Update... | Remove temporary infinite timeout on upload_report now it's back to be asynchronous | SonarSource_sonarqube | train |
9fbc8820ba9f7b3ce43efd1384c541ce051d59fd | diff --git a/lib/rbbt/util/concurrency/processes/worker.rb b/lib/rbbt/util/concurrency/processes/worker.rb
index <HASH>..<HASH> 100644
--- a/lib/rbbt/util/concurrency/processes/worker.rb
+++ b/lib/rbbt/util/concurrency/processes/worker.rb
@@ -10,6 +10,8 @@ class RbbtProcessQueue
end
end
+ WORKER_ABORT_... | Chaged kill signal for workers from <I> to <I> and use constant WORKER_ABORT_SIGNAL | mikisvaz_rbbt-util | train |
a72726674445f22613e500590cae6848e22c2825 | diff --git a/cmd/influxd/run/config.go b/cmd/influxd/run/config.go
index <HASH>..<HASH> 100644
--- a/cmd/influxd/run/config.go
+++ b/cmd/influxd/run/config.go
@@ -84,12 +84,30 @@ func NewConfig() *Config {
c.HintedHandoff = hh.NewConfig()
c.BindAddress = DefaultBindAddress
+ // All ARRAY attributes have to be ini... | Add graphite and udp services to the default config generator
Fix #<I> | influxdata_influxdb | train |
8766d2aae60db3113430c9afb709a4b9e98a3cc6 | diff --git a/cmd/juju/status/status_internal_test.go b/cmd/juju/status/status_internal_test.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/status/status_internal_test.go
+++ b/cmd/juju/status/status_internal_test.go
@@ -16,6 +16,7 @@ import (
"github.com/juju/charm/v7"
"github.com/juju/cmd"
"github.com/juju/cmd/cm... | Add extra logging for the failing test. | juju_juju | train |
a844fc83329df4e9a279702c417b8b89650d95b6 | diff --git a/openhtf/io/test_record.py b/openhtf/io/test_record.py
index <HASH>..<HASH> 100644
--- a/openhtf/io/test_record.py
+++ b/openhtf/io/test_record.py
@@ -43,14 +43,7 @@ LogRecord = collections.namedtuple(
'LogRecord', 'level logger_name source lineno timestamp_millis message')
OutcomeDetails = collection... | fix outcome enum to not redundantly set values | google_openhtf | train |
ca4ab79a9d05abd2d65ff26d9f27a442e5363074 | diff --git a/apparmor/apparmor.go b/apparmor/apparmor.go
index <HASH>..<HASH> 100644
--- a/apparmor/apparmor.go
+++ b/apparmor/apparmor.go
@@ -17,7 +17,7 @@ func IsEnabled() bool {
}
func ApplyProfile(pid int, name string) error {
- if !IsEnabled() || name == "" {
+ if name == "" {
return nil
} | Check for apparmor enabled on host to populate profile
Docker-DCO-<I>- | opencontainers_runc | train |
31e4f27908ae4e3841df928b14766cf31a89eb29 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -74,8 +74,8 @@ Fittings.prototype.setup = function setup() {
// And listen to all the events.
//
Object.keys(events).forEach(function each(name) {
- this.on(name, events[event]);
- }, this.ulron);
+ this.on(nam... | [fix] Correctly assign the event listeners | bigpipe_fittings | train |
410e887a446e82399cca535bc0a9f12647d7dbf3 | diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/attribute_methods.rb
+++ b/activerecord/lib/active_record/attribute_methods.rb
@@ -369,14 +369,10 @@ module ActiveRecord
end
... | Keep the code related to serialization in Serialization module.
We should not need any `serialized_attributes` checks outside `ActiveRecord::AttributeMethods::Serialization` module. | rails_rails | train |
b022e1fd5e7e6fe9fe394bac560421d0cc71adcd | diff --git a/src/state.js b/src/state.js
index <HASH>..<HASH> 100644
--- a/src/state.js
+++ b/src/state.js
@@ -239,6 +239,7 @@ State.prototype.runChain = function(name) {
State.prototype.chain = function(stage, fn) {
+ if (!fn) throw new Error("Missing function or listener");
var state = this;
var ls = fn._pag... | Throw error when fn is missing | kapouer_window-page | train |
294fc3f5c5cb573600aa608821860336a7e2f096 | diff --git a/test/lawnchair-spec.js b/test/lawnchair-spec.js
index <HASH>..<HASH> 100755
--- a/test/lawnchair-spec.js
+++ b/test/lawnchair-spec.js
@@ -44,24 +44,21 @@ test('independent data stores', function() {
QUnit.stop();
QUnit.expect(2);
- var store1 = new Lawnchair({name: "store1"}, function() {});... | make the independent data stores test work with adapters that have async constructors | brianleroux_lawnchair | train |
bd5a5979f1133f7ee6954f5022db726e548ed8f1 | diff --git a/choria/message.go b/choria/message.go
index <HASH>..<HASH> 100644
--- a/choria/message.go
+++ b/choria/message.go
@@ -253,7 +253,7 @@ func (self *Message) SetType(msgType string) (err error) {
return fmt.Errorf("direct_request message type can only be set if DiscoveredHosts have been set")
}
- se... | (#<I>) ensure filter is valid
When setting the message type to direct_request the filter gets
zero'd and just an agent filter gets added since you're telling
it to talk to a host it will do its best to do so.
The problem is we set it to a empty filter full of nils instead of
an initialized one - this would cause the ... | choria-io_go-choria | train |
ea5d9793c5f6160f0a4f80e15840d914aa9a8b26 | diff --git a/integration_tests/blockstack_integration_tests/scenarios/name_preorder_register_update_user_storage.py b/integration_tests/blockstack_integration_tests/scenarios/name_preorder_register_update_user_storage.py
index <HASH>..<HASH> 100644
--- a/integration_tests/blockstack_integration_tests/scenarios/name_pre... | test getting zonefiles as well as profiles | blockstack_blockstack-core | train |
b7f9dffe4e45ffa12147fc960c2d7fd32a39ff7b | diff --git a/lib/context.js b/lib/context.js
index <HASH>..<HASH> 100644
--- a/lib/context.js
+++ b/lib/context.js
@@ -5,6 +5,9 @@ module.exports = class {
this.call = call;
this.request = this.call.request;
this.metadata = this.call.metadata;
+ this.write = this.call.write;
+ this.on = this.call.o... | Add more methods from call object to context | devsu_condor-framework | train |
c64d2212fbe594592129da829e850779cafc4ae0 | diff --git a/ambry/library/search_backends/base.py b/ambry/library/search_backends/base.py
index <HASH>..<HASH> 100644
--- a/ambry/library/search_backends/base.py
+++ b/ambry/library/search_backends/base.py
@@ -472,6 +472,7 @@ class BasePartitionIndex(BaseIndex):
except ValueError:
logger.... | 'search by county' query fixed. #<I>. | CivicSpleen_ambry | train |
9fb4470248e13110f15eb9a2dfdce3e7b2566bec | diff --git a/middleman-cli/lib/middleman-cli/extension.rb b/middleman-cli/lib/middleman-cli/extension.rb
index <HASH>..<HASH> 100644
--- a/middleman-cli/lib/middleman-cli/extension.rb
+++ b/middleman-cli/lib/middleman-cli/extension.rb
@@ -27,7 +27,7 @@ module Middleman::Cli
# The extension task
# @param [Stri... | tidy up logic
- the extension template already had a gitignore | middleman_middleman | train |
f10ee023f6a63bc30f283b11e110afe742e38e34 | diff --git a/go/pfconfigdriver/pool_test.go b/go/pfconfigdriver/pool_test.go
index <HASH>..<HASH> 100644
--- a/go/pfconfigdriver/pool_test.go
+++ b/go/pfconfigdriver/pool_test.go
@@ -11,6 +11,8 @@ import (
func TestLoadResource(t *testing.T) {
rp := NewResourcePool(ctx)
gen := PfConfGeneral{}
+
+ // Test loading a... | improve pfconfigdriver pool tests | inverse-inc_packetfence | train |
7748e360372be0955c94b48b4ddb29a751586544 | diff --git a/lib/semantic_navigation/configuration.rb b/lib/semantic_navigation/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/semantic_navigation/configuration.rb
+++ b/lib/semantic_navigation/configuration.rb
@@ -21,8 +21,8 @@ module SemanticNavigation
end
def method_missing(name)
- menu = ... | add ids to menu and items | fr33z3_semantic_navigation | train |
3693d606e458c3fbba01d50ec6802720703a0e9c | diff --git a/tzlocal/darwin.py b/tzlocal/darwin.py
index <HASH>..<HASH> 100644
--- a/tzlocal/darwin.py
+++ b/tzlocal/darwin.py
@@ -7,6 +7,10 @@ _cache_tz = None
def _get_localzone():
tzname = os.popen("systemsetup -gettimezone").read().replace("Time Zone: ", "").strip()
+ if not tzname or tzname not in pytz.... | Failsafe for OS X without admin privileges | regebro_tzlocal | train |
a7bbff066ed20dd99ce6520f8a7cf5b7cefdf2b7 | diff --git a/src/views/demo/master.blade.php b/src/views/demo/master.blade.php
index <HASH>..<HASH> 100644
--- a/src/views/demo/master.blade.php
+++ b/src/views/demo/master.blade.php
@@ -7,15 +7,13 @@
<meta name="description" content="@yield('description', 'crud widgets for laravel 4. datatable, grids, forms, in a... | upgraded demo to latest bootstrap/font awesome | zofe_rapyd-laravel | train |
48cc6d076938033165ac5849e38e61ab5e8c574e | diff --git a/src/main/java/net/bootsfaces/component/selectOneMenu/SelectOneMenuRenderer.java b/src/main/java/net/bootsfaces/component/selectOneMenu/SelectOneMenuRenderer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/bootsfaces/component/selectOneMenu/SelectOneMenuRenderer.java
+++ b/src/main/java/net/bootsfa... | #<I> ´<b:selectOneMenu>` now works with converters defined with an annotation like @FacesConverter(forClass=Some.class) | TheCoder4eu_BootsFaces-OSP | train |
b67e552dea57a8b674b8923be6b58f20fb769d48 | diff --git a/src/administer.js b/src/administer.js
index <HASH>..<HASH> 100644
--- a/src/administer.js
+++ b/src/administer.js
@@ -170,9 +170,10 @@ const Administer = stampit()
}
if ( stampit.isStamp( component ) ) {
- instance = component( {}, ...deps );
+ instance = compo... | [feat] Support ES6 classes as factories
This adds support for ES6 classes and treats all non-stamp factory functions as instantiable with
`new`.
This also stores injected dependencies on component instances as `this.$inject`, partially
addressing #4.
Closes #1 | administerjs_administer | train |
2737d70b2fb7a79299a4ec12f4afe4d571e4628b | diff --git a/handlers/inmem/inmem.go b/handlers/inmem/inmem.go
index <HASH>..<HASH> 100644
--- a/handlers/inmem/inmem.go
+++ b/handlers/inmem/inmem.go
@@ -71,6 +71,7 @@ func (h *Handler) Add(cmd common.SetRequest) error {
e, ok := h.data[string(cmd.Key)]
if ok || e.isExpired() {
+ delete(h.data, string(cmd.Key))... | Adding Append and Prepend methods in Handler interface, implementing on inmem handler | Netflix_rend | train |
e3876121ce630349f967e209ce7221994eda4dff | diff --git a/volume/drivers/drivers.go b/volume/drivers/drivers.go
index <HASH>..<HASH> 100644
--- a/volume/drivers/drivers.go
+++ b/volume/drivers/drivers.go
@@ -2,6 +2,7 @@ package volumedrivers
import (
"github.com/libopenstorage/openstorage/api"
+ "github.com/libopenstorage/openstorage/volume"
"github.com/li... | start moving to volume driver registry for volume drivers | libopenstorage_openstorage | train |
c82bae1def143e161985f0bbdb74b5d128ee718e | diff --git a/forms/FormScaffolder.php b/forms/FormScaffolder.php
index <HASH>..<HASH> 100644
--- a/forms/FormScaffolder.php
+++ b/forms/FormScaffolder.php
@@ -157,7 +157,7 @@ class FormScaffolder extends Object {
$ctf = new $fieldClass(
$this,
$relationship,
- null,
+ $this->obj->$relation... | BUGFIX Prepopulating relation list in FormScaffolder | silverstripe_silverstripe-framework | train |
04ad82009ee4ea58169b667e9a771114c5e5054d | diff --git a/Net/OpenID/CryptUtil.php b/Net/OpenID/CryptUtil.php
index <HASH>..<HASH> 100644
--- a/Net/OpenID/CryptUtil.php
+++ b/Net/OpenID/CryptUtil.php
@@ -1,5 +1,24 @@
<?php
+/**
+ * CryptUtil: A suite of wrapper utility functions for the OpenID
+ * library.
+ *
+ * PHP versions 4 and 5
+ *
+ * LICENSE: See the ... | [project @ Added documentation to CryptUtil.] | openid_php-openid | train |
ae991e8ea44ae8a0de5b030a0f9fc4c2737f7062 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -51,6 +51,11 @@ app.config["flask_profiler"] = {
"enabled": app.config["DEBUG"],
"storage": {
"engine": "sqlite"
+ },
+ "basicAuth":{
+ "enabled": True,
+ "username": "admin",
+ ... | refactors basicAuth implementation and adds basicAuth docs | muatik_flask-profiler | train |
589d144728d82afaaadcc2707056cffe9e3f82c8 | diff --git a/jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/application/AbstractApplicationRequestCycleListener.java b/jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/application/AbstractApplicationRequestCycleListener.java
index <HASH>..<HASH> 100644
--- a/jaulp-wicket-base/src/main/java/de/al... | Format with project formatter, sort members and organize imports | astrapi69_jaulp-wicket | train |
553ec9910e9b0abae2d144c032e0e600a776baa3 | diff --git a/core/powershell.py b/core/powershell.py
index <HASH>..<HASH> 100644
--- a/core/powershell.py
+++ b/core/powershell.py
@@ -92,15 +92,38 @@ class PowerShell:
return ps_command(command)
def inject_meterpreter(self):
+ #PowerSploit's 3.0 update removed the Meterpreter injection options i... | Updated the Powershell payloads to support Powersploits <I> update | byt3bl33d3r_CrackMapExec | train |
c748e4bce58a74cfb6c8778693a3f034cbdf9a67 | diff --git a/discord/interactions.py b/discord/interactions.py
index <HASH>..<HASH> 100644
--- a/discord/interactions.py
+++ b/discord/interactions.py
@@ -258,6 +258,9 @@ class Interaction:
This is a lower level interface to :meth:`InteractionMessage.edit` in case
you do not want to fetch the message ... | Mention ephemeral messages can only be edited with raw method | Rapptz_discord.py | train |
6023dce55c78984c72f2f6380d79280161c5a65b | diff --git a/tests/codeception/extensions/ServerControl.php b/tests/codeception/extensions/ServerControl.php
index <HASH>..<HASH> 100644
--- a/tests/codeception/extensions/ServerControl.php
+++ b/tests/codeception/extensions/ServerControl.php
@@ -23,6 +23,7 @@ class ServerControl extends \Codeception\Extension
... | Stopping phiremock after tests | mcustiel_phiremock-server | train |
91de49e6a63b647bb55d2f90ad7cab336d023b14 | diff --git a/lib/Doctrine/ORM/Cache/Persister/Collection/AbstractCollectionPersister.php b/lib/Doctrine/ORM/Cache/Persister/Collection/AbstractCollectionPersister.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Cache/Persister/Collection/AbstractCollectionPersister.php
+++ b/lib/Doctrine/ORM/Cache/Persister/Coll... | Removing `is_array` check on a type that can only have two possible states - using `instanceof` instead | doctrine_orm | train |
938ba435d666ec16e83d211ae3f5c2181271bfda | diff --git a/providers/dns/selectel/selectel.go b/providers/dns/selectel/selectel.go
index <HASH>..<HASH> 100644
--- a/providers/dns/selectel/selectel.go
+++ b/providers/dns/selectel/selectel.go
@@ -127,6 +127,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error {
// CleanUp removes a TXT record use... | fix: TXT records clean up for Selectel DNS provider (#<I>) | go-acme_lego | train |
7f8b379aa31672eae176b7c961a9b130e4c6f3d1 | diff --git a/src/Maxxscho/LaravelTcpdf/LaravelTcpdf.php b/src/Maxxscho/LaravelTcpdf/LaravelTcpdf.php
index <HASH>..<HASH> 100644
--- a/src/Maxxscho/LaravelTcpdf/LaravelTcpdf.php
+++ b/src/Maxxscho/LaravelTcpdf/LaravelTcpdf.php
@@ -164,10 +164,11 @@ class LaravelTcpdf extends TCPDF
* Custom Header
*
*... | Update LaravelTcpdf.php | maxxscho_laravel-tcpdf | train |
eac75a219b65b02c141bd51eab6a30e73e9d6cc9 | diff --git a/code/Debug/Model/Core/Email/Template.php b/code/Debug/Model/Core/Email/Template.php
index <HASH>..<HASH> 100644
--- a/code/Debug/Model/Core/Email/Template.php
+++ b/code/Debug/Model/Core/Email/Template.php
@@ -43,6 +43,10 @@ trait Sheep_Debug_Model_Core_Email_Template_Capture
$zendMail = $this->ge... | fixes #<I> - skip further execution when native mail method isn't used | madalinoprea_magneto-debug | train |
bf673005d218de41ae98ae9f4d8b472ac49cc126 | diff --git a/salt/modules/postgres.py b/salt/modules/postgres.py
index <HASH>..<HASH> 100644
--- a/salt/modules/postgres.py
+++ b/salt/modules/postgres.py
@@ -305,6 +305,7 @@ def _role_create(name,
superuser=False,
replication=False,
password=None,
+ ... | Added option to user and group create in postgres module
Can now provide a string of groups (comma seperated) to place the new
user/group in. | saltstack_salt | train |
db2d7de954ddf4bcb1e3440196750de008eb1020 | diff --git a/lib/classes/task/send_failed_login_notifications_task.php b/lib/classes/task/send_failed_login_notifications_task.php
index <HASH>..<HASH> 100644
--- a/lib/classes/task/send_failed_login_notifications_task.php
+++ b/lib/classes/task/send_failed_login_notifications_task.php
@@ -28,6 +28,9 @@ namespace core\... | MDL-<I> tasks: Use a senisible maximum time window for the task | moodle_moodle | train |
559130648a837588c99fedfd9dce8c1f1faa3812 | diff --git a/src/gulpglob.js b/src/gulpglob.js
index <HASH>..<HASH> 100644
--- a/src/gulpglob.js
+++ b/src/gulpglob.js
@@ -1,86 +1,17 @@
import gulp from 'gulp';
import path from 'path';
import isValidGlob from 'is-valid-glob';
-import {SingletonFactory} from 'singletons';
-
-const _ready = Symbol();
-
-class GulpGl... | Redefined GulpGlob as a Polyton
Currently singleton test fail for returned value of dest. Some
preprocessing is required before implementing the top level dest method. | jlenoble_gulpglob | train |
127522647df37f6d9f887443df7c2a6b68c47ad7 | diff --git a/app/templates/src/app.js b/app/templates/src/app.js
index <HASH>..<HASH> 100644
--- a/app/templates/src/app.js
+++ b/app/templates/src/app.js
@@ -1,18 +1,15 @@
-import Map from "can/map/";
-import route from "can/route/";
-import 'can/map/define/';
-import 'can/route/pushstate/';
+Import DefineMap from 'ca... | Update generators to work with can3 | donejs_generator-donejs | train |
0914b9d52257d183eaf2b02783bafc8cd02d562c | diff --git a/grimoire_elk/enriched/askbot.py b/grimoire_elk/enriched/askbot.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/enriched/askbot.py
+++ b/grimoire_elk/enriched/askbot.py
@@ -64,11 +64,10 @@ class AskbotEnrich(Enrich):
def get_identities(self, item):
""" Return the identities from an item ""... | [enrich-askbot] Replace list with yield
This code replaces the list used in the method get_identities with
a yield, thus reducing the memory footprint. | chaoss_grimoirelab-elk | train |
3c043338154fc2a660fc3f6035a8589899f4a644 | diff --git a/plugins/keep-markup/prism-keep-markup.js b/plugins/keep-markup/prism-keep-markup.js
index <HASH>..<HASH> 100644
--- a/plugins/keep-markup/prism-keep-markup.js
+++ b/plugins/keep-markup/prism-keep-markup.js
@@ -1,4 +1,4 @@
-(function (self, document) {
+(function () {
if (typeof self === 'undefined' || ... | Remove self & document from IIFE arguments (#<I>)
If self or document don't exist, they'll error instead of getting to the
checks.
Fixes #<I>. | PrismJS_prism | train |
058c74fc71d4aac333a59d245a35a65321cb66ad | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,11 @@
Changelog
=========
+0.13.4 (unreleased)
+-------------------
+
+- fix: `CreateAffinityGroup` allows empty `name`
+
0.13.3
------
diff --git a/affinity_groups.go b/affinity_groups.go
index... | affinity group: empty name should be accepted (#<I>) | exoscale_egoscale | train |
0ed21ca0eebbb8c82ff12864949023727b9d004c | diff --git a/aws/resource_aws_ses_receipt_rule_test.go b/aws/resource_aws_ses_receipt_rule_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_ses_receipt_rule_test.go
+++ b/aws/resource_aws_ses_receipt_rule_test.go
@@ -306,10 +306,6 @@ resource "aws_ses_receipt_rule" "first" {
`, srrsRandomInt)
var testAccA... | tests/resource/aws_ses_receipt_rule: Remove extraneous hardcoded S3 bucket resource in testAccAWSSESReceiptRuleActionsConfig | terraform-providers_terraform-provider-aws | train |
f24712ebf14f00c50e772cdea199ad671b48c012 | diff --git a/lib/wt2html/tt/LinkHandler.js b/lib/wt2html/tt/LinkHandler.js
index <HASH>..<HASH> 100644
--- a/lib/wt2html/tt/LinkHandler.js
+++ b/lib/wt2html/tt/LinkHandler.js
@@ -72,13 +72,14 @@ WikiLinkHandler.prototype.init = function() {
*
* @return {Object} The target info
*/
-WikiLinkHandler.prototype.getWik... | Simplify wikilink validation logic
* Stripping dot slash prefixes, to just have them fail later down the
line is wasteful.
* And, cleans up wikilink token handling a bit.
Change-Id: Ib<I>e<I>e<I>c<I>a1bc7b<I>d1a<I>d1d<I>c<I>b2b0 | wikimedia_parsoid | train |
58b704a3cd25a7fd5ecb9383b11cb64415b90ec4 | diff --git a/test/cli/cli.test.js b/test/cli/cli.test.js
index <HASH>..<HASH> 100644
--- a/test/cli/cli.test.js
+++ b/test/cli/cli.test.js
@@ -9,18 +9,16 @@ describe('cli', () => {
let stdout = ''
let stderr = ''
let error
- const env = process.env
+ const env = {}
env.NODE_ENV = '... | Simplify spawning of 'nuxt-generate' script in CLI test
Otherwise running the test multiple times would fail, because _some_ component
would make changes to ESM caches in the node_modules/ folder of the project
on the first run... | nuxt-community_nuxt-generate-cluster | train |
051a0cf733a59f6d5edd784bf49fd08fbea80349 | diff --git a/src/cattr/errors.py b/src/cattr/errors.py
index <HASH>..<HASH> 100644
--- a/src/cattr/errors.py
+++ b/src/cattr/errors.py
@@ -1,3 +1,15 @@
-from cattrs.errors import StructureHandlerNotFoundError
+from cattrs.errors import (
+ BaseValidationError,
+ ClassValidationError,
+ ForbiddenExtraKeysError,... | Expose the error types on the (deprecated) cattr.errors as well | Tinche_cattrs | train |
91c846756e5a0cc9e591c27fc6d5dbd7c1451a71 | diff --git a/config/src/main/java/org/springframework/security/config/authentication/PasswordEncoderParser.java b/config/src/main/java/org/springframework/security/config/authentication/PasswordEncoderParser.java
index <HASH>..<HASH> 100644
--- a/config/src/main/java/org/springframework/security/config/authentication/P... | Java 5: Unnecessary Boxing | spring-projects_spring-security | train |
06cf8995a680bda4eca8b531f5c26f180e6754ed | diff --git a/govarint_test.go b/govarint_test.go
index <HASH>..<HASH> 100644
--- a/govarint_test.go
+++ b/govarint_test.go
@@ -2,6 +2,7 @@ package govarint
import "bytes"
import "io"
+import "math/rand"
import "testing"
var fourU32 = []uint32{
@@ -183,3 +184,79 @@ func TestU32GroupVarint14(t *testing.T) {
}
... | Testing: Added uint<I> benchmarks for Base<I> and GroupVarint
For <I> million uint<I> values truncated to uint<I>:
+ Base<I> => <I> seconds to decode
+ GroupVarint => <I> seconds to decode
This is without optimizing the GroupVarint representation
The uint<I> values were used as they resemble delta encoded values. | Smerity_govarint | train |
3c5f22c87653dd790becf49e55dc99ef581a83b9 | diff --git a/ramesh.gemspec b/ramesh.gemspec
index <HASH>..<HASH> 100644
--- a/ramesh.gemspec
+++ b/ramesh.gemspec
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "fakefs"
spec.add_development_dependency "guard-rspec"
spec.add_development_dependency "rake"
- spec.add_develop... | Update to RSpec <I> | dtan4_ramesh | train |
500c11a9c27c74d75eeb63b5a711faa4a8aa93a7 | diff --git a/test/basic.test.js b/test/basic.test.js
index <HASH>..<HASH> 100644
--- a/test/basic.test.js
+++ b/test/basic.test.js
@@ -55,14 +55,18 @@ describe("retriever", function() {
})
});
- /*
+
it("retrieve srt from gz", function(done) {
- // TODO
- done();
+ retrieve("http://dl.opensubtitles.org/en/... | retriever: one more test for gz | Ivshti_node-subtitles-grouping | train |
e835d27bc857e636cf7127201180008dc896abd2 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -33,7 +33,7 @@ return array(
'author' => 'Open Assessment Technologies SA',
'requires' => array(
'generis' => '>=5.11.0',
- 'tao' => '>=17.5.0',
+ 'tao' ... | Merge remote-tracking branch 'remotes/origin/develop' into fix/TAO-<I>/rest-publisher-role
# Conflicts:
# manifest.php
# scripts/update/Updater.php | oat-sa_extension-tao-delivery-rdf | train |
7941e78406dfd8226ccdd8d95b2e152ed206a825 | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -35,6 +35,7 @@ func RunCustom(args []string, commands map[string]cli.CommandFactory) int {
case "job deployments", "job dispatch", "job history", "job promote", "job revert":
case "namespace list", "namespace delete", "names... | filter acl subcommands | hashicorp_nomad | train |
ebc7a11bd1417699719864990345ebb5406ad681 | diff --git a/languagetool-office-extension/src/main/java/org/languagetool/openoffice/ResultCache.java b/languagetool-office-extension/src/main/java/org/languagetool/openoffice/ResultCache.java
index <HASH>..<HASH> 100644
--- a/languagetool-office-extension/src/main/java/org/languagetool/openoffice/ResultCache.java
+++ ... | [LO extension] ResultCache description of one function changed | languagetool-org_languagetool | train |
2adc20a30b32e9b63c9035ed132b9194810b7706 | diff --git a/src/satosa/wsgi.py b/src/satosa/wsgi.py
index <HASH>..<HASH> 100644
--- a/src/satosa/wsgi.py
+++ b/src/satosa/wsgi.py
@@ -7,8 +7,8 @@ import sys
from werkzeug.debug import DebuggedApplication
from werkzeug.serving import run_simple
-from .proxy_server import ToBytesMiddleware, WsgiApplication
-from .sa... | Don't use relative imports in main module.
It will result in error:
'SystemError: Parent module '' not loaded, cannot perform relative import'. | IdentityPython_SATOSA | train |
d1529762af08396d73dcd7a07d927a9abc68ff87 | diff --git a/src/Devices.php b/src/Devices.php
index <HASH>..<HASH> 100644
--- a/src/Devices.php
+++ b/src/Devices.php
@@ -18,6 +18,7 @@ class Devices
const WINDOWS_PHONE_WNS = 6;
const SAFARI = 7;
const FIREFOX = 8;
+ const MACOS = 9;
protected $api;
@@ -89,6 +90,7 @@ class Devices
... | Add new "MACOS" device type | norkunas_onesignal-php-api | train |
c54da50b29958ca8f3d2257fd40f28424240f65f | diff --git a/lang/en_utf8/quiz.php b/lang/en_utf8/quiz.php
index <HASH>..<HASH> 100644
--- a/lang/en_utf8/quiz.php
+++ b/lang/en_utf8/quiz.php
@@ -408,9 +408,10 @@ $string['shufflequestions'] = 'Shuffle questions';
$string['significantfigures'] = ' with $a ';
$string['significantfiguresformat'] = 'significant figures... | An additional sorting order for category question list | moodle_moodle | train |
a3f36ffec5141a87025fa08e56de9efcff66aff8 | diff --git a/flaskext/mongoalchemy.py b/flaskext/mongoalchemy.py
index <HASH>..<HASH> 100644
--- a/flaskext/mongoalchemy.py
+++ b/flaskext/mongoalchemy.py
@@ -10,6 +10,7 @@
"""
from __future__ import absolute_import
+from math import ceil
from mongoalchemy import query
from mongoalchemy import document
from mong... | More on Pagination API and fixed a bug | cobrateam_flask-mongoalchemy | train |
649bc4e9ce3a4d7314ee7cb82a55431bdb14633f | diff --git a/Brain/emucorebrain/io/mechanisms/ins_mechanism.py b/Brain/emucorebrain/io/mechanisms/ins_mechanism.py
index <HASH>..<HASH> 100644
--- a/Brain/emucorebrain/io/mechanisms/ins_mechanism.py
+++ b/Brain/emucorebrain/io/mechanisms/ins_mechanism.py
@@ -4,6 +4,9 @@ import abc
# This is the "interface" class for a... | Version updated to <I> with minor changes to input mechanism and output mechanism abstract classes: Defined the CONTAINER_KEY constant in the abstract class itself. | GENIVI_GENIVI-GSoC-18 | train |
dadc3c6538dbacb18fe30e8d8fd8631da29beedd | diff --git a/pyof/v0x04/controller2switch/common.py b/pyof/v0x04/controller2switch/common.py
index <HASH>..<HASH> 100644
--- a/pyof/v0x04/controller2switch/common.py
+++ b/pyof/v0x04/controller2switch/common.py
@@ -53,6 +53,19 @@ class ControllerRole(Enum):
OFPCR_ROLE_SLAVE = 3
+class GroupCapabilities(Generic... | Minor correction
Moved GroupCapabilities class to correct position in the file. | kytos_python-openflow | train |
df8db1c9b8130cecc13ba0180ffdf572fc4ec4a4 | diff --git a/file_writer.go b/file_writer.go
index <HASH>..<HASH> 100644
--- a/file_writer.go
+++ b/file_writer.go
@@ -85,7 +85,7 @@ func (c *Client) CreateFile(name string, replication int, blockSize int64, perm
// acknowledged asynchronously, it is very important that Close is called after
// all data has been wri... | When appending, use the BlockLocation from the AppendResponseProto
Before, we were making an extra getBlockLocations request to get the
block location to write to. This worked fine except under kerberos,
where the append call had the correct access token for the block. The
fix also saves us a round trip. | colinmarc_hdfs | train |
f7e58c8c9bcb9981fdc8fd9af068669a187cdf3e | diff --git a/image_remove.go b/image_remove.go
index <HASH>..<HASH> 100644
--- a/image_remove.go
+++ b/image_remove.go
@@ -9,7 +9,7 @@ import (
)
// ImageRemove removes an image from the docker host.
-func (cli *Client) ImageRemove(ctx context.Context, imageID string, options types.ImageRemoveOptions) ([]types.Imag... | Generate ImageDeleteResponse from swagger spec. | docker_cli | train |
186b5170461e65f00773a46568fb14d13d092d95 | diff --git a/src/utils/ViewUtils.js b/src/utils/ViewUtils.js
index <HASH>..<HASH> 100644
--- a/src/utils/ViewUtils.js
+++ b/src/utils/ViewUtils.js
@@ -61,28 +61,23 @@ define(function (require, exports, module) {
/**
* Within a scrolling DOMElement, creates and positions a styled selection
- * div ... | Code review comments. Also added scrolling to the initial selection. | adobe_brackets | train |
c840cf6e7ead218828f1e24097b5de07169b83b7 | diff --git a/configure.py b/configure.py
index <HASH>..<HASH> 100755
--- a/configure.py
+++ b/configure.py
@@ -118,6 +118,8 @@ if platform == 'windows':
'/WX', # Warnings as errors.
'/wd4530', '/wd4100', '/wd4706',
'/wd4512', '/wd4800', '/wd4702', '/wd4819',
+ ... | disable a new warning that popped up on Windows
This pattern is safe as long as you're careful; we don't use it
very much. | ninja-build_ninja | train |
c5f47964dd5239847349ea12c788162c50239d7d | diff --git a/uproot/version.py b/uproot/version.py
index <HASH>..<HASH> 100644
--- a/uproot/version.py
+++ b/uproot/version.py
@@ -16,7 +16,7 @@
import re
-__version__ = "1.0.1"
+__version__ = "1.0.2"
version = __version__
version_info = tuple(re.split(r"[-\.]", __version__))
diff --git a/uproot/walker/localfi... | Explicitly close parallel files when they're no longer needed so that you don't run out of file handles before the garbage collector can get them all. | scikit-hep_uproot | train |
e33e88e60e1bdcea03c0f24dff1b92941cfe49c5 | diff --git a/otree_redwood/consumers.py b/otree_redwood/consumers.py
index <HASH>..<HASH> 100644
--- a/otree_redwood/consumers.py
+++ b/otree_redwood/consumers.py
@@ -1,7 +1,6 @@
from channels.generic.websocket import JsonWebsocketConsumer
from channels.layers import get_channel_layer
from asgiref.sync import async_... | add 'events' GenericRelation to Group
this makes it much simpler to run queries on Event, pretty much eliminating the need for any ContentType stuff.
also add some new methods `get_start_time`, `get_end_time` and `get_group_decisions_events`.
this makes it so that redwood users shouldn't have to ever directly run quer... | Leeps-Lab_otree-redwood | train |
cbf69d1cf0137dafb3c5c27c0b7e9570a2cc40fc | diff --git a/packages/neos-ui/src/index.js b/packages/neos-ui/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/neos-ui/src/index.js
+++ b/packages/neos-ui/src/index.js
@@ -173,6 +173,11 @@ function * application() {
message = 'Unknown error from unexpected JSON response. Check the logs for d... | BUGFIX: Internal server errors were not parsed (#<I>)
Internal server errors without the Flow stacktrace html
were not properly parsed and rendered.
Therefore the raw html was shown as error message. | neos_neos-ui | train |
166697664671ac29a16380ac308378b47569e051 | diff --git a/telethon/utils.py b/telethon/utils.py
index <HASH>..<HASH> 100644
--- a/telethon/utils.py
+++ b/telethon/utils.py
@@ -1131,7 +1131,7 @@ def stripped_photo_to_jpg(stripped):
Ported from https://github.com/telegramdesktop/tdesktop/blob/bec39d89e19670eb436dc794a8f20b657cb87c71/Telegram/SourceFiles/ui/i... | Fix-up stripped_photo_to_jpg from the previous commit | LonamiWebs_Telethon | train |
282b7ce1ed6f6ea2cc5c06e79ff80d37f4e88a43 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -279,9 +279,10 @@ function nthRoot(num, nArg, precArg) {
return x;
}
+// this function doesn't work after curve order 8.
function order(index,dim) {
var curve = 2
- var x = nthRoot(index, dim, 32)
+ var x =... | Add `precise` to set `m` for inverse. | bigeasy_xy | train |
2e723af513f0c6cb95924803b98f4f592da55c28 | diff --git a/src/main/java/org/cryptomator/siv/JceAesBlockCipher.java b/src/main/java/org/cryptomator/siv/JceAesBlockCipher.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/cryptomator/siv/JceAesBlockCipher.java
+++ b/src/main/java/org/cryptomator/siv/JceAesBlockCipher.java
@@ -24,12 +24,20 @@ import org.bouncy... | clearified use of JceAesBlockCipher | cryptomator_siv-mode | train |
617b3ed4b24b55f97df859b9dc5e1f6df51cc459 | diff --git a/web/modeshape-web-jcr-rest-client/src/test/java/org/modeshape/web/jcr/rest/client/json/JsonRestClientTest.java b/web/modeshape-web-jcr-rest-client/src/test/java/org/modeshape/web/jcr/rest/client/json/JsonRestClientTest.java
index <HASH>..<HASH> 100644
--- a/web/modeshape-web-jcr-rest-client/src/test/java/o... | Debugging test case that fails on server. | ModeShape_modeshape | train |
c96c7ba27ecaecb0a679a3627907a15199e81a1d | diff --git a/lib/sailthru.rb b/lib/sailthru.rb
index <HASH>..<HASH> 100644
--- a/lib/sailthru.rb
+++ b/lib/sailthru.rb
@@ -717,6 +717,46 @@ module Sailthru
api_post(:user, data)
end
+ # params
+ # template, String
+ # trigger_id, String
+ # Get an existing trigger
+ def get_trigger(template, ... | Add post/get trigger, post event | sailthru_sailthru-ruby-client | train |
31458fba6d1ff3eedbdb81ea4b45a7758dd2f15d | diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/aptpkg.py
+++ b/salt/modules/aptpkg.py
@@ -1,6 +1,11 @@
# -*- coding: utf-8 -*-
'''
Support for APT (Advanced Packaging Tool)
+
+.. note::
+
+ The ``python-apt`` package is required to be installed.
+
'''
... | Adding information to docstrings to indicate that the python-apt package needs to be installed for the aptpkg module to work and pkgrepo state to manage apt repositories. | saltstack_salt | train |
dfd663cafc876fd797612579213f9a28157e1948 | diff --git a/integration/assets/test_plugin_v7/test_plugin_v7.go b/integration/assets/test_plugin_v7/test_plugin_v7.go
index <HASH>..<HASH> 100644
--- a/integration/assets/test_plugin_v7/test_plugin_v7.go
+++ b/integration/assets/test_plugin_v7/test_plugin_v7.go
@@ -34,8 +34,10 @@ func (c *Test1) Run(cliConnection plug... | Add integration tests for CliCommand result
- We now assert that the result of running a command with CliCommand is
a []string of lines corresponding to the command output
- Adds pending test for the existing V6 behaviour that CliCommand should
also tee output to stdout
[#<I>](<URL>) | cloudfoundry_cli | train |
9f61fc8ab83d33bd123c522dbbfa49ca76be9bc6 | diff --git a/api/models/index.js b/api/models/index.js
index <HASH>..<HASH> 100644
--- a/api/models/index.js
+++ b/api/models/index.js
@@ -12,6 +12,9 @@ function process(modelDescriptions) {
_validateModelDescription(modelName, modelDescriptions[modelName])
_createModelConstructor(modelName, modelDescriptions[mod... | Instantiate global and local after all models have been processed | marcuswestin_fin | train |
ceeeba045ea73c12f4c4f0a7f5c3d678a2a80a58 | diff --git a/includes/old_messages.php b/includes/old_messages.php
index <HASH>..<HASH> 100644
--- a/includes/old_messages.php
+++ b/includes/old_messages.php
@@ -105,6 +105,7 @@ exit;
/* I18N: This message is deleted in webtrees-1.2.5 */ WT_I18N::translate('This option controls the appearance of the diagram.<ul><li>... | Add deleted message to old_messages.php | fisharebest_webtrees | train |
0fbdb455654fbfa7e09c128cac489d39bab53f17 | diff --git a/lib/fakefs/file_system.rb b/lib/fakefs/file_system.rb
index <HASH>..<HASH> 100644
--- a/lib/fakefs/file_system.rb
+++ b/lib/fakefs/file_system.rb
@@ -32,19 +32,6 @@ module FakeFS
end
end
- def find_recurser(dir, parts)
- return [] unless dir.respond_to? :[]
-
- pattern , *parts =... | recurser should be private... | fakefs_fakefs | train |
d7508828b1dda091006efcfafbca352c96ed2bb3 | diff --git a/amqpconsumer/events.py b/amqpconsumer/events.py
index <HASH>..<HASH> 100644
--- a/amqpconsumer/events.py
+++ b/amqpconsumer/events.py
@@ -84,8 +84,8 @@ class EventConsumer(object):
:rtype: pika.SelectConnection
"""
logger.debug('Connecting to %s', self._url)
- return pika.... | Fix all ordering issues for newer pika methods
Newer pika versions changed the ordering of some parameters in the
method signature. This is kind of hard to test so we keep running into
different issues. I've now just made sure that any pika function call
has the correct kwarg provided so ordering won't matter anymore. | ByteInternet_amqpconsumer | train |
8a16a1d6405ab2393a9a71cd382a3f0fcf701a78 | diff --git a/python_modules/dagster/dagster/core/definitions/run_status_sensor_definition.py b/python_modules/dagster/dagster/core/definitions/run_status_sensor_definition.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster/dagster/core/definitions/run_status_sensor_definition.py
+++ b/python_modules/dagster/da... | fix mypy error in run_status_sensor_definition (#<I>) | dagster-io_dagster | train |
c105a3d8821e815eb650a8efbaef1ee2b42a7db8 | diff --git a/src/java/com/threerings/whirled/spot/server/SpotProvider.java b/src/java/com/threerings/whirled/spot/server/SpotProvider.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/whirled/spot/server/SpotProvider.java
+++ b/src/java/com/threerings/whirled/spot/server/SpotProvider.java
@@ -1,8 +1,9 @@
... | Pass an object manager to the provider at construct time and use that one
rather than accessing the one in WhirledServer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train |
99e327ebe829a56d78fec3abaffdc81efa63f90a | diff --git a/server/src/main/java/org/jboss/as/server/deployment/module/SubDeploymentDependencyProcessor.java b/server/src/main/java/org/jboss/as/server/deployment/module/SubDeploymentDependencyProcessor.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/org/jboss/as/server/deployment/module/SubDeploymentDepen... | allow access to META-INF between deployment modules | wildfly_wildfly | train |
e60a3e7cae07d8aa72730bafead8db121ebcdc5b | diff --git a/migration/precheck.go b/migration/precheck.go
index <HASH>..<HASH> 100644
--- a/migration/precheck.go
+++ b/migration/precheck.go
@@ -309,8 +309,11 @@ func checkUnitAgentStatus(unit PrecheckUnit) error {
return errors.Annotatef(statusData.Err, "retrieving unit %s status", unit.Name())
}
agentStatus ... | Allow executing hooks during migration precheck. | juju_juju | train |
8eef1c3c1fcd865c81e8fad003bf188ffaf3fc93 | diff --git a/packages/shared-components/src/behaviors/ScrollShadow/ScrollShadow.js b/packages/shared-components/src/behaviors/ScrollShadow/ScrollShadow.js
index <HASH>..<HASH> 100644
--- a/packages/shared-components/src/behaviors/ScrollShadow/ScrollShadow.js
+++ b/packages/shared-components/src/behaviors/ScrollShadow/S... | Changed Modal to align with new styles; Removed unused library from ScrollShadow; | Bandwidth_shared-components | train |
4f5c81753f60a357b559a3f92dcb25b4a3dc679a | diff --git a/test/falcor/get/get.cache-only.spec.js b/test/falcor/get/get.cache-only.spec.js
index <HASH>..<HASH> 100644
--- a/test/falcor/get/get.cache-only.spec.js
+++ b/test/falcor/get/get.cache-only.spec.js
@@ -6,6 +6,8 @@ var Rx = require('rx');
var getTestRunner = require('./../../getTestRunner');
var testRunne... | Adding test to confirm that relative expiration works when initialized via Model constructor. | Netflix_falcor | train |
223abe7c5199dff6cdd6823d252e04d0bc668994 | diff --git a/lib/timerizer.rb b/lib/timerizer.rb
index <HASH>..<HASH> 100644
--- a/lib/timerizer.rb
+++ b/lib/timerizer.rb
@@ -262,6 +262,9 @@ end
# {Time} class monkeywrenched with {RelativeTime} support.
class Time
+ class TimeIsInThePastException < Exception; end
+ class TimeIsInTheFutureException < Exception;... | add Time#since, Time#until, and Time#between | kylewlacy_timerizer | train |
8de2722de49fea9f2c9e40b51ee79bd6cfdd3feb | diff --git a/shoebot/__init__.py b/shoebot/__init__.py
index <HASH>..<HASH> 100644
--- a/shoebot/__init__.py
+++ b/shoebot/__init__.py
@@ -263,10 +263,12 @@ def run(src,
create_kwargs = dict(vars=vars, namespace=namespace)
run_args = [src]
run_kwargs = dict(
- run_forever=window and (not close_win... | Clarify convoluted condition with a comment | shoebot_shoebot | train |
16223445e3caefcf47eed13d380873577d9b9b8d | diff --git a/federation.go b/federation.go
index <HASH>..<HASH> 100644
--- a/federation.go
+++ b/federation.go
@@ -28,6 +28,42 @@ type FederationUpstream struct {
}
//
+// GET /api/parameters/federation-upstream
+//
+
+// ListFederationUpstreams returns all federation upstreams
+func (c *Client) ListFederationUpstr... | Add ListFederationUpstreams* methods. | michaelklishin_rabbit-hole | train |
3b81fba8182420abf11581198dd49933513bc20d | diff --git a/core/REST/handler.js b/core/REST/handler.js
index <HASH>..<HASH> 100644
--- a/core/REST/handler.js
+++ b/core/REST/handler.js
@@ -562,57 +562,72 @@ exports.upload = function (path_array, res, para, req) {
}
*/
var uploaded = [];
-
+
+ if (typeof files.upload !== 'objec... | syhu/scalra: fix: /upload does not return uploaded file info if renaming to original file names is not performed | imonology_scalra | train |
1a808afceddcf7562b2e513439d27cf97915a360 | diff --git a/plugins/gcc/test-writer.js b/plugins/gcc/test-writer.js
index <HASH>..<HASH> 100644
--- a/plugins/gcc/test-writer.js
+++ b/plugins/gcc/test-writer.js
@@ -2,6 +2,7 @@
const java = require('./java-writer');
const path = require('path');
+const fs = require('fs');
const getTestDir = function(pack) {
... | feat(gcc): Write test options to JSON. | ngageoint_opensphere-build-resolver | train |
e6190c833f23191c331f1202011d28df0d587afc | diff --git a/libsubmit/tests/test_channels/test_ssh_1.py b/libsubmit/tests/test_channels/test_ssh_1.py
index <HASH>..<HASH> 100644
--- a/libsubmit/tests/test_channels/test_ssh_1.py
+++ b/libsubmit/tests/test_channels/test_ssh_1.py
@@ -7,20 +7,42 @@ def connect_and_list(hostname, username):
return out
-def test... | Adding more ssh tests | Parsl_libsubmit | train |
19c8eecfedad0fc6b41a57c6d57e0ac67a609583 | diff --git a/src/sb/PDO.php b/src/sb/PDO.php
index <HASH>..<HASH> 100644
--- a/src/sb/PDO.php
+++ b/src/sb/PDO.php
@@ -102,8 +102,7 @@ class PDO extends \PDO
}
//if the class_name is set return instances
-
- if(substr(ltrim($sql), 0, 1) != 'S'){
+ if(!preg_match("~^SELECT|EXEC|CALL~i",... | allowing EXEC, SELECT or CALL to return array from s2o | surebert_surebert-framework | train |
65d96ef58a4b260bfe8b1c2bce1f5402871fd2c9 | diff --git a/builtin/providers/openstack/resource_openstack_compute_instance_v2.go b/builtin/providers/openstack/resource_openstack_compute_instance_v2.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/openstack/resource_openstack_compute_instance_v2.go
+++ b/builtin/providers/openstack/resource_openstack_compute_... | provider/openstack: Account for a <I> reply from os-tenant-networks | hashicorp_terraform | train |
6c11be0304ceaf7040de25ab3add4e94dbeed5cc | diff --git a/task/backend/scheduler.go b/task/backend/scheduler.go
index <HASH>..<HASH> 100644
--- a/task/backend/scheduler.go
+++ b/task/backend/scheduler.go
@@ -805,11 +805,7 @@ func (r *runner) updateRunState(qr QueuedRun, s RunStatus, runLogger *zap.Logger
runLogger.Warn("Unhandled run state", zap.Stringer("stat... | fix(task): Remove timeout on task run updates (#<I>)
Now that the run status updates are transactional actions
We no longer have to add a timer to keep things on track.
This is causing a problem where some runs are showing up without a start or stop time if the system is busy.
I would rather have the scheduler ha... | influxdata_influxdb | train |
b8ea75cacb81c06ea4c3925a8cbb3dc2e8ae2eff | diff --git a/Library/ClassDefinition.php b/Library/ClassDefinition.php
index <HASH>..<HASH> 100644
--- a/Library/ClassDefinition.php
+++ b/Library/ClassDefinition.php
@@ -1912,16 +1912,39 @@ final class ClassDefinition extends AbstractClassDefinition
$classEntry = 'php_pdo_get_exception()';
... | #<I> - Update list of class entries for PHP extension 'date' | phalcon_zephir | train |
dadb4c80a3ad211bca3d4a9b55048cd9c417612e | diff --git a/storm/__init__.py b/storm/__init__.py
index <HASH>..<HASH> 100644
--- a/storm/__init__.py
+++ b/storm/__init__.py
@@ -2,15 +2,20 @@
from __future__ import print_function
-from .ssh_config import ConfigParser
-from .exceptions import StormValueError
-
from operator import itemgetter
import getpass
... | -reorganized imports and errors | emre_storm | train |
e1dbc036f9611e51da50fc85ed25c1c326b7dfb5 | diff --git a/indra/explanation/pathfinding/pathfinding.py b/indra/explanation/pathfinding/pathfinding.py
index <HASH>..<HASH> 100644
--- a/indra/explanation/pathfinding/pathfinding.py
+++ b/indra/explanation/pathfinding/pathfinding.py
@@ -340,14 +340,36 @@ def bfs_search(g, source_node, reverse=False, depth_limit=2, pa... | Update and test bfs_search_multiple_nodes | sorgerlab_indra | train |
d55598a83191ad630cecc5dd36a46ae7d409ccc9 | diff --git a/lark/load_grammar.py b/lark/load_grammar.py
index <HASH>..<HASH> 100644
--- a/lark/load_grammar.py
+++ b/lark/load_grammar.py
@@ -50,14 +50,14 @@ TOKENS = {
'_RPAR': '\)',
'_LBRA': '\[',
'_RBRA': '\]',
- 'OP': '[+*?]',
+ 'OP': '[+*?](?![a-z])',
'_COLON': ':',
'_OR': '\|',
... | Fixed aliases (broken by re-write of load_grammar) | lark-parser_lark | train |
19b6fb4e372ad725bc8c41560b412eb7d3ff9fd4 | diff --git a/js/browser.js b/js/browser.js
index <HASH>..<HASH> 100755
--- a/js/browser.js
+++ b/js/browser.js
@@ -135,7 +135,13 @@ var igv = (function (igv) {
this.reorderTracks();
if (this.cursorModel) {
+
this.cursorModel.initializeHistogram(trackView.track, function () {
+
+ ... | CURSOR. JSON track instantiation. Session loading. Track filter. | igvteam_igv.js | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.