hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
43e91a990f7e7645420c8ee848e34a9413a74d84 | diff --git a/generators/client/template_helpers.go b/generators/client/template_helpers.go
index <HASH>..<HASH> 100644
--- a/generators/client/template_helpers.go
+++ b/generators/client/template_helpers.go
@@ -114,7 +114,7 @@ func (g *Generator) templFBase64Encode(v string) string {
func (g *Generator) templFGenera... | (#<I>) Single character fix for generated code | choria-io_go-choria | train | go |
0dfc689e8405b12470899088bd0d0abbe661451f | diff --git a/lib/praxis/tasks/api_docs.rb b/lib/praxis/tasks/api_docs.rb
index <HASH>..<HASH> 100644
--- a/lib/praxis/tasks/api_docs.rb
+++ b/lib/praxis/tasks/api_docs.rb
@@ -46,7 +46,11 @@ class RestfulDocGenerator
def initialize( definition )
@controller_config = definition
- @version = controller_... | Fixed doc generation to create a more appropriate directory name (i.e. unversioned instead of 'n/a' ) for controllers and mediatypes without a version. | praxis_praxis | train | rb |
8f8fa3528ebaf8ebb6faaef5e4baf7449f9f4890 | diff --git a/src/EventExport/Command/ExportEventsAsPDF.php b/src/EventExport/Command/ExportEventsAsPDF.php
index <HASH>..<HASH> 100644
--- a/src/EventExport/Command/ExportEventsAsPDF.php
+++ b/src/EventExport/Command/ExportEventsAsPDF.php
@@ -2,8 +2,8 @@
namespace CultuurNet\UDB3\EventExport\Command;
-use CultuurN... | III-<I>: Sorted use statements in ExportEventsAsPDF.php alphabetically. | cultuurnet_udb3-php | train | php |
3c44fc3e6bc81b77c611078907d62070cdb0e873 | diff --git a/rdopkg/utils/specfile.py b/rdopkg/utils/specfile.py
index <HASH>..<HASH> 100644
--- a/rdopkg/utils/specfile.py
+++ b/rdopkg/utils/specfile.py
@@ -325,11 +325,10 @@ class Spec(object):
"""Return a tuple (version, number_of_commits) that are parsed
from the patches_base in the specfile.
... | specfile: convert to using get_magic_comment
* now that we have functionality swap out duplicate
regex for get_magic_comment method which is available
* replace duplicate logic in get_patches_base and get_patches_ignore_regex
Change-Id: Id<I>da2be1b9a<I>d4f<I> | softwarefactory-project_rdopkg | train | py |
f1da98692b6ca63b4dfaa11bc6e6a43598b1aa3b | diff --git a/invenio_oaiserver/query.py b/invenio_oaiserver/query.py
index <HASH>..<HASH> 100644
--- a/invenio_oaiserver/query.py
+++ b/invenio_oaiserver/query.py
@@ -86,7 +86,7 @@ def get_records(**kwargs):
scroll_id = response.get('_scroll_id')
# clean descriptor on last page
- if page * pe... | query: fix undefined variable name
* Fixes typo in `page_` variable name. (closes #<I>) | inveniosoftware_invenio-oaiserver | train | py |
814cfa7a3873629c598871c8f95aaaabf0497e6b | diff --git a/test/sass/engine_test.rb b/test/sass/engine_test.rb
index <HASH>..<HASH> 100755
--- a/test/sass/engine_test.rb
+++ b/test/sass/engine_test.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
-require 'test_helper'
-require 'sass/test_helper'
+require File.dirname(__FILE__) + '/../test_helper'
... | Allow engine_test to be run directly. | sass_ruby-sass | train | rb |
88582316b192b567e9f232b371f162e090bbb9ae | diff --git a/daemon/daemon_test.go b/daemon/daemon_test.go
index <HASH>..<HASH> 100644
--- a/daemon/daemon_test.go
+++ b/daemon/daemon_test.go
@@ -340,16 +340,15 @@ func TestDaemon_NotifyChange(t *testing.T) {
}
// Check that history was written to
- var e []event.Event
w.Eventually(func() bool {
- e, _ = even... | Fix race in test expectations
Can be commit and sync, we only care about sync. | weaveworks_flux | train | go |
780d70241f52656b5058c8426d58c32b86c3e1cc | diff --git a/hazelcast/src/main/java/com/hazelcast/jmx/ObjectNameSpec.java b/hazelcast/src/main/java/com/hazelcast/jmx/ObjectNameSpec.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/jmx/ObjectNameSpec.java
+++ b/hazelcast/src/main/java/com/hazelcast/jmx/ObjectNameSpec.java
@@ -33,7 +33,7 @@... | Hints for concurrent code analysis
* Made NAME_DOMAIN final since it is a constant.
git-svn-id: <URL> | hazelcast_hazelcast | train | java |
a6fdd72e85dca01fe50fc7d3f17d903c4779577d | diff --git a/tests/Klein/Tests/DataCollection/RouteCollectionTest.php b/tests/Klein/Tests/DataCollection/RouteCollectionTest.php
index <HASH>..<HASH> 100644
--- a/tests/Klein/Tests/DataCollection/RouteCollectionTest.php
+++ b/tests/Klein/Tests/DataCollection/RouteCollectionTest.php
@@ -190,4 +190,31 @@ class RouteColle... | Adding a new test to describe the behavior that
we're expecting in this bug-fix | klein_klein.php | train | php |
85d4b81e03b6bb3e5ef4bae8ae5813a15278453b | diff --git a/tokbox.go b/tokbox.go
index <HASH>..<HASH> 100755
--- a/tokbox.go
+++ b/tokbox.go
@@ -22,7 +22,7 @@ import (
"golang.org/x/net/context"
jwt "github.com/dgrijalva/jwt-go"
- "github.com/twinj/uuid"
+ "github.com/myesui/uuid"
)
const (
@@ -104,7 +104,7 @@ func (t *Tokbox) jwtToken() (string, error) ... | Updated uuid library | pjebs_tokbox | train | go |
2d8124410943c0c1fdbf7729b339006cb95d343b | diff --git a/spaceship/lib/spaceship/spaceauth_runner.rb b/spaceship/lib/spaceship/spaceauth_runner.rb
index <HASH>..<HASH> 100644
--- a/spaceship/lib/spaceship/spaceauth_runner.rb
+++ b/spaceship/lib/spaceship/spaceauth_runner.rb
@@ -57,6 +57,16 @@ module Spaceship
puts("")
puts("Example:")
puts("... | [spaceship] copy cookie to clipboard (#<I>)
* copy cookie to clipboard
* text copy change
* Update spaceauth_runner.rb
* :cop:
* :cop:
* Update spaceship/lib/spaceship/spaceauth_runner.rb | fastlane_fastlane | train | rb |
550d492af9d5722cbbf64d847f11f6ebebaedc1e | diff --git a/src/base/baseMouseAnnotationTool.js b/src/base/baseMouseAnnotationTool.js
index <HASH>..<HASH> 100644
--- a/src/base/baseMouseAnnotationTool.js
+++ b/src/base/baseMouseAnnotationTool.js
@@ -3,6 +3,8 @@ import baseAnnotationTool from './baseAnnotationTool.js';
export default class extends baseAnnotationToo... | bool to indicate tools derived from mouseAnnotationTool create annotations | cornerstonejs_cornerstoneTools | train | js |
b75c3988ae0b7895d781ecb7398f12af89bc1e7c | diff --git a/src/js/Form.js b/src/js/Form.js
index <HASH>..<HASH> 100644
--- a/src/js/Form.js
+++ b/src/js/Form.js
@@ -280,6 +280,9 @@ define( function( require, exports, module ) {
// before itemsetUpdate
this.langs.init();
+ // after repeat.init() so that template co... | fixed: repeats no longer shown on separate page in pages mode when they have field-list appearance, closes #<I> | enketo_enketo-core | train | js |
44bcc402775473315064abb136b3791f9f951251 | diff --git a/lib/yard_types/version.rb b/lib/yard_types/version.rb
index <HASH>..<HASH> 100644
--- a/lib/yard_types/version.rb
+++ b/lib/yard_types/version.rb
@@ -1,3 +1,3 @@
module YardTypes
- VERSION = "0.1.0"
+ VERSION = "0.1.1"
end | <I>
All because I yanked <I> just to squash a commit in it. Sometimes I
forget that rubygems.org != geminabox, and I can't just rm a gem and
push it again. =) | pd_yard_types | train | rb |
b3c4218d4193eed4ec5bc9d0fd098f403e6f54ee | diff --git a/googleanalytics/columns.py b/googleanalytics/columns.py
index <HASH>..<HASH> 100644
--- a/googleanalytics/columns.py
+++ b/googleanalytics/columns.py
@@ -24,10 +24,10 @@ DIMENSIONS = {
}
PYSLUG_OVERRIDES = {
- '1dayUsers': 'active_1day_users',
- '7dayUsers': 'active_7day_users',
- '14dayUsers'... | Change override names to camelcase. | debrouwere_google-analytics | train | py |
60c85597283d1597b0d609a6929cb924caab8805 | diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java b/byte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java
index <HASH>..<HASH> 100644
--- a/byte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java
+++ b/byte-buddy-dep/src/main/java/net/bytebud... | Fixed incorrect default matcher for synthetic types. | raphw_byte-buddy | train | java |
39d2702e70bf11d6a0e4650adfb09ea9b1d70680 | diff --git a/cpsk/__init__.py b/cpsk/__init__.py
index <HASH>..<HASH> 100644
--- a/cpsk/__init__.py
+++ b/cpsk/__init__.py
@@ -29,8 +29,9 @@ class Drive(object):
self.lines = []
def __repr__(self):
- return ' >> '.join(map(str,self.lines)) + \
- ' ({0}, {1})'.format(self.duration, s... | output encoded with utf8 | Adman_python-cpsk-api | train | py |
bd585702d1e44ea2254c5069d8575976e07f9754 | diff --git a/src/java/org/apache/cassandra/avro/AvroValidation.java b/src/java/org/apache/cassandra/avro/AvroValidation.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/avro/AvroValidation.java
+++ b/src/java/org/apache/cassandra/avro/AvroValidation.java
@@ -348,7 +348,7 @@ public class AvroValidati... | extract array from ByteBuffer in AvroValidation.validateIndexClauses. Patch by gdusbabek, reviewed by brandonwilliams
git-svn-id: <URL> | Stratio_stratio-cassandra | train | java |
b8caae8e86610ee3d7cbb6f8c06a388b366d2b02 | diff --git a/src/Client/Base.php b/src/Client/Base.php
index <HASH>..<HASH> 100644
--- a/src/Client/Base.php
+++ b/src/Client/Base.php
@@ -188,13 +188,17 @@ abstract class Base implements IClient
"Invalid auth type: $authType"
);
}
- list($code, $headers, $body) = $... | fixing overwriting headers and body variables | PortaText_php-sdk | train | php |
97edc768ff1c3619c6cea852966f3f24383e0851 | diff --git a/app/helpers/admin/base_helper.rb b/app/helpers/admin/base_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/admin/base_helper.rb
+++ b/app/helpers/admin/base_helper.rb
@@ -233,7 +233,7 @@ module Admin::BaseHelper
end
def display_pagination(collection, cols)
- if WillPaginate::ViewHelpers.t... | Fix page count check in admin helper.
The WillPaginate::ViewHelpers.total_pages_for_collection method does not
exist anymore. Replaced with collection.total_pages. | publify_publify | train | rb |
a1a1c7020dbde949bb5ad657f6fd9a9e9721e952 | diff --git a/src/Type/Object.php b/src/Type/Object.php
index <HASH>..<HASH> 100644
--- a/src/Type/Object.php
+++ b/src/Type/Object.php
@@ -24,6 +24,23 @@ use Frozensheep\Synthesize\Exception\ClassException;
class Object extends Type {
/**
+ * Class Contructor
+ *
+ * @param mixed $mixValue An optional value to set... | Creating the object on setup so you dont have to do it manually.
Needs to add a config option to not do this if you dont want it. | frozensheep_synthesize | train | php |
bac8e42eae10f04a4866684024f7a8729c1c57d0 | diff --git a/resize.go b/resize.go
index <HASH>..<HASH> 100644
--- a/resize.go
+++ b/resize.go
@@ -9,14 +9,12 @@ import "C"
import (
"errors"
"math"
- "runtime"
)
// Resize is used to transform a given image as byte buffer
// with the passed options.
func Resize(buf []byte, o Options) ([]byte, error) {
def... | fix(resize): runtime.KeepAlive is only Go | h2non_bimg | train | go |
158018ebe57f65d6059c2d7b4c29e4c22b1017fa | diff --git a/CodingStandard/Sniffs/Classes/ClassCreateInstanceSniff.php b/CodingStandard/Sniffs/Classes/ClassCreateInstanceSniff.php
index <HASH>..<HASH> 100644
--- a/CodingStandard/Sniffs/Classes/ClassCreateInstanceSniff.php
+++ b/CodingStandard/Sniffs/Classes/ClassCreateInstanceSniff.php
@@ -60,7 +60,8 @@ class Class... | Fixed "each" function deprication in PHP 7.x | aik099_CodingStandard | train | php |
0ad394b3a399a3728787aa7a59de0fbc5a6e86ee | diff --git a/package/js-image-zoom.js b/package/js-image-zoom.js
index <HASH>..<HASH> 100644
--- a/package/js-image-zoom.js
+++ b/package/js-image-zoom.js
@@ -304,7 +304,7 @@
backgroundRight = offsetY * scaleY;
backgroundPosition = '-' + backgroundTop + 'px ' + '-' + background... | Moved the lense movement via transform to make it more performant and fix CLS issue | malaman_js-image-zoom | train | js |
d00c50f07762c133255c8db0a4a86e266b6d8050 | diff --git a/lib/kashi/client.rb b/lib/kashi/client.rb
index <HASH>..<HASH> 100644
--- a/lib/kashi/client.rb
+++ b/lib/kashi/client.rb
@@ -138,7 +138,7 @@ module Kashi
end
# API access
- tests = client.tests(method: :get)
+ tests = client.tests
tests_by_id = tests.each_with_object({}) d... | Fix a glitch by invalid calling method on exporting tests | wata-gh_kashi | train | rb |
d73612b01899ee00fb7fcefe0fe3419f6a661b46 | diff --git a/mbuild/formats/hoomd_simulation.py b/mbuild/formats/hoomd_simulation.py
index <HASH>..<HASH> 100644
--- a/mbuild/formats/hoomd_simulation.py
+++ b/mbuild/formats/hoomd_simulation.py
@@ -73,7 +73,9 @@ def create_hoomd_simulation(structure, ref_distance=1.0, ref_mass=1.0,
raise ValueError("Please pa... | Don't initialize hoomd context if already initialized | mosdef-hub_mbuild | train | py |
af3832d73696835128a56685a2a56d42640d959a | diff --git a/library/src/android/support/v4/app/Fragment.java b/library/src/android/support/v4/app/Fragment.java
index <HASH>..<HASH> 100644
--- a/library/src/android/support/v4/app/Fragment.java
+++ b/library/src/android/support/v4/app/Fragment.java
@@ -16,6 +16,7 @@
package android.support.v4.app;
+import androi... | A fragment immediate activity can be stored only as an activity. | JakeWharton_ActionBarSherlock | train | java |
8abfdc2a19cb4ac654c60dbd3ddccf4a1ab85ad0 | diff --git a/lib/event_sourcery/event_store/postgres/optimised_event_poll_waiter.rb b/lib/event_sourcery/event_store/postgres/optimised_event_poll_waiter.rb
index <HASH>..<HASH> 100644
--- a/lib/event_sourcery/event_store/postgres/optimised_event_poll_waiter.rb
+++ b/lib/event_sourcery/event_store/postgres/optimised_ev... | Only add to the queue if it's empty to prevent unnecessary growth of the queue | envato_event_sourcery | train | rb |
24cf5a70e79b06803f05c69677b206779955b30f | diff --git a/lib/connection.js b/lib/connection.js
index <HASH>..<HASH> 100644
--- a/lib/connection.js
+++ b/lib/connection.js
@@ -21,17 +21,7 @@ function Connection(r, options, resolve, reject) {
if (!helper.isPlainObject(options)) options = {};
this.host = options.host || r._host;
this.port = options.port ||... | Revert changes that were meant for <I> | neumino_rethinkdbdash | train | js |
9a1a1034385369d4006a5223aa236da2984d44d2 | diff --git a/peer.go b/peer.go
index <HASH>..<HASH> 100644
--- a/peer.go
+++ b/peer.go
@@ -1,4 +1,4 @@
-// package peer implements an object used to represent peers in the ipfs network.
+// Package peer implements an object used to represent peers in the ipfs network.
package peer
import (
@@ -7,7 +7,7 @@ import (
... | Fixes some minor linting issues | libp2p_go-libp2p-peer | train | go |
e860907724ede52bf798d22d157ddc86f9c4646b | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -7,6 +7,9 @@ $LOAD_PATH.unshift("#{dir}/")
$LOAD_PATH.unshift("#{dir}/lib") # a spec-specific test lib dir
$LOAD_PATH.unshift("#{dir}/../lib")
+# Don't want puppet getting the co... | [#<I>] Avoid passing rake and autotest args to puppet tests
Autotest was failing on puppet apply tests because it was reading
autotest's args as the manifest file and then erroring because it wasn't
a valid file. | puppetlabs_puppet | train | rb |
b006183443cbf18c90db2faf1b4d81088824fbbd | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -514,7 +514,7 @@ Webtask.prototype.run = function (options, cb) {
[config.method](this.url + config.path)
.query(config.query);
- if (config.payload) request = request.send(config.payload... | Normalize: payload -> body | auth0_sandboxjs | train | js |
2880c984b2fc1a4c7882c5e5ec43a308f448d455 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,8 @@ def get_dependencies(env_yml_file):
conda_dependencies = []
package_map = {
'pytables': 'tables', # insert 'tables' instead of 'pytables'
- 'yaafe': ''
+ 'yaafe': '',
+ '... | Do not add Essentia in pip installable files | Parisson_TimeSide | train | py |
22b5744e2d5c586d1fc929063d68daa51b00bb10 | diff --git a/lib/websocket_rails/channel.rb b/lib/websocket_rails/channel.rb
index <HASH>..<HASH> 100644
--- a/lib/websocket_rails/channel.rb
+++ b/lib/websocket_rails/channel.rb
@@ -16,12 +16,11 @@ module WebsocketRails
def trigger(event_name,data={},options={})
options.merge! :channel => name
- eve... | Remove left over event_data= from Channel#trigger | websocket-rails_websocket-rails | train | rb |
62e810240128516244067ec59dc1ada2ae602d2a | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -59,6 +59,12 @@ RSpec.configure do |config|
config.include Spree::TestingSupport::ControllerRequests, type: :controller
config.include Spree::TestingSupport::UrlHelpers
+ co... | Precompile assets for feature specs
I've been seeing a lot of failures on Travis that seem to be due to
timeouts on the first feature spec with assets precompiling. This should
force the assets to be compiled before we attempt to run the tests. | StemboltHQ_solidus-adyen | train | rb |
a9d83b5bb260c304dcf68764098e934d71e4f6fd | diff --git a/LeanMapper/Entity.php b/LeanMapper/Entity.php
index <HASH>..<HASH> 100644
--- a/LeanMapper/Entity.php
+++ b/LeanMapper/Entity.php
@@ -85,7 +85,7 @@ abstract class Entity
foreach ($this->getCurrentReflection()->getEntityProperties() as $property) {
if ($property->hasDefaultValue()) {
$propert... | Allowed to initialize private members with default value | Tharos_LeanMapper | train | php |
e2216a0936fd4804e421b8faadbcd4f15af2ac4c | diff --git a/cmd/retry.go b/cmd/retry.go
index <HASH>..<HASH> 100644
--- a/cmd/retry.go
+++ b/cmd/retry.go
@@ -61,17 +61,22 @@ var globalRandomSource = rand.New(&lockedRandSource{
func newRetryTimer(unit time.Duration, cap time.Duration, jitter float64, doneCh chan struct{}) <-chan int {
attemptCh := make(chan int)
... | exponentialBackoffWait returns zero after some retries, limit attempt number inside (#<I>) | minio_minio | train | go |
e0af6e3478dc7a72b081c63a7eddc3cb261828da | diff --git a/salt/modules/mount.py b/salt/modules/mount.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mount.py
+++ b/salt/modules/mount.py
@@ -379,6 +379,7 @@ def set_fstab(
# Try to guess right criteria for auto....
# NOTE: missing some special fstypes here
specialFSes = frozenset([
+ ... | Added 'none' to the set of specialFSes
Fixes #<I> | saltstack_salt | train | py |
357301e4481dc4fc59232dbeb90202f0a4b3b77e | diff --git a/src/lib/gtkui/configwindow.py b/src/lib/gtkui/configwindow.py
index <HASH>..<HASH> 100644
--- a/src/lib/gtkui/configwindow.py
+++ b/src/lib/gtkui/configwindow.py
@@ -1316,7 +1316,10 @@ close and reopen the AutoKey window.\nThis message is only shown once per sessio
dlg.destroy()
def on_... | Add Unity to the list of environments messing with the Super key
[GTK] Enable toggling of row collapse/expand status
git-svn-id: <URL> | autokey_autokey | train | py,py |
6e3174488c1d0e99324bde25a7e2984ac1db6a25 | diff --git a/core/FrontController.php b/core/FrontController.php
index <HASH>..<HASH> 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -264,7 +264,13 @@ class FrontController
if (self::shouldRethrowException()) {
throw $e;
}
- ... | Ignore nested exception. | matomo-org_matomo | train | php |
bc8f4551adc4a4a311cfa0fd5642531a258ac77a | diff --git a/packaging/settings.py b/packaging/settings.py
index <HASH>..<HASH> 100644
--- a/packaging/settings.py
+++ b/packaging/settings.py
@@ -425,6 +425,10 @@ CELERYBEAT_SCHEDULE.update({
},
})
+for app in INSTALLED_APPS:
+ if app.startswith('nodeconductor_'):
+ LOGGING['loggers'][app] = LOGGING[... | Add loggers for nc plugins to settings
- itacloud-<I> | opennode_waldur-core | train | py |
0f388282a391e7904ac4bce8847b60caf2652dad | diff --git a/lib/tire/results/pagination.rb b/lib/tire/results/pagination.rb
index <HASH>..<HASH> 100644
--- a/lib/tire/results/pagination.rb
+++ b/lib/tire/results/pagination.rb
@@ -48,6 +48,15 @@ module Tire
alias :num_pages :total_pages
alias :offset_value :offset
+ def first_page?
+ c... | Improved support for Kaminari pagination
* Added `first_page?` and `last_page?` methods for <<URL> | karmi_retire | train | rb,rb |
c9dd0ea8c68e38060c4d718fe9f7d9c19f1d095c | diff --git a/src/HasDependencies.php b/src/HasDependencies.php
index <HASH>..<HASH> 100644
--- a/src/HasDependencies.php
+++ b/src/HasDependencies.php
@@ -58,9 +58,28 @@ trait HasDependencies
$this->extractChildFields($childField->meta['fields']);
} else {
if (array_search... | add 'sometimes' rule for child fields | epartment_nova-dependency-container | train | php |
5daffa84009ec7745b514b3f4ceb6604d78918ee | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -44,7 +44,7 @@ const QrcodeVue = {
return createElement(
'div',
{
- class: className,
+ class: this.class || className,
attrs: { value, level, background, foreground },... | fix: rename className to class | scopewu_qrcode.vue | train | js |
8de7112ec7b9c13821a101f62e1180d86eadac92 | diff --git a/src/Downloader.php b/src/Downloader.php
index <HASH>..<HASH> 100644
--- a/src/Downloader.php
+++ b/src/Downloader.php
@@ -24,6 +24,7 @@ class Downloader
{
private $composer;
private $io;
+ private $sess;
public function __construct(Composer $composer, IoInterface $io)
{
@@ -38,8 +... | added a random session number for analytics purpose | symfony_flex | train | php |
e8f5afaa53862bc682f9b8b2abd2702a84c98565 | diff --git a/ReText/window.py b/ReText/window.py
index <HASH>..<HASH> 100644
--- a/ReText/window.py
+++ b/ReText/window.py
@@ -978,6 +978,9 @@ class ReTextWindow(QMainWindow):
return
printer = self.standardPrinter()
preview = QPrintPreviewDialog(printer, self)
+ # Remove Dialog flag, then add a maximize butt... | Add a maximize button to the print preview dialog
(using some bitwise magic) | retext-project_retext | train | py |
091e05941500c78c03a2d1dd9c5013bb79da7fda | diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/views.py
+++ b/openquake/calculators/views.py
@@ -1032,7 +1032,7 @@ def view_delta_loss(token, dstore):
df = dstore.read_df('agg_loss_table', 'event_id',
dic... | Fixed view_delta_loss | gem_oq-engine | train | py |
3732cef4ca8cb68d7d764b0734510196d6e32ae4 | diff --git a/angr/analyses/disassembly.py b/angr/analyses/disassembly.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/disassembly.py
+++ b/angr/analyses/disassembly.py
@@ -591,8 +591,13 @@ class Disassembly(Analysis):
self.raw_result_map['hooks'][block.addr] = hook
else:
- cs = sel... | Disassembly: Support disassembling THUMB code. | angr_angr | train | py |
7c6a77af586d60faee76f64ec4cf0bf325fef53c | diff --git a/test/renderer/middleware-spec.js b/test/renderer/middleware-spec.js
index <HASH>..<HASH> 100644
--- a/test/renderer/middleware-spec.js
+++ b/test/renderer/middleware-spec.js
@@ -8,7 +8,7 @@ chai.use(sinonChai);
describe('The error middleware', () => {
- it('errors with a payload message when given', ... | chore(tests): Fix poor description. | nteract_nteract | train | js |
2203ad7fcaa337da3d9700cbbc342d961be18eee | diff --git a/lib/gitlab/cli_helpers.rb b/lib/gitlab/cli_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/gitlab/cli_helpers.rb
+++ b/lib/gitlab/cli_helpers.rb
@@ -80,7 +80,7 @@ class Gitlab::CLI
#
# @return [String]
def actions_table
- owners = method_owners.map {|m| m[:owner].gsub('Gitlab::Client::... | Fix headings in action_table. | NARKOZ_gitlab | train | rb |
df1e8a1204db0e3df704fcc7aead167f2425a3a1 | diff --git a/src/Navigation.php b/src/Navigation.php
index <HASH>..<HASH> 100644
--- a/src/Navigation.php
+++ b/src/Navigation.php
@@ -88,9 +88,7 @@ class Navigation {
* @return string|false If the navigation class is set will return a string else will return false
*/
public function getNavigationClass... | Remove if string as will always be string | AdamB7586_menu-builder | train | php |
f97464916f0364c9a52c8294490370a6a42cf4bd | diff --git a/tests/test_all_fixes.py b/tests/test_all_fixes.py
index <HASH>..<HASH> 100644
--- a/tests/test_all_fixes.py
+++ b/tests/test_all_fixes.py
@@ -29,7 +29,7 @@ def collect_all_test_fixtures():
# subdirectory, only run the fixer of the subdirectory name, else run
# all fixers.
for in_... | Get fixture to run from dirname.
... as it has already been written in the comment. | pytest-dev_unittest2pytest | train | py |
607cd9a082a1bdba44d359a42ec408c96dce643f | diff --git a/pages/managers.py b/pages/managers.py
index <HASH>..<HASH> 100644
--- a/pages/managers.py
+++ b/pages/managers.py
@@ -20,6 +20,10 @@ from datetime import datetime
ISODATE_FORMAT = '%Y-%m-%dT%H:%M:%S.%f' # for parsing dates from JSON
+# This affects how content is saved
+CATEGORY_INSTALLED = 'pages.plu... | Category is different from revision, it must be deleted | batiste_django-page-cms | train | py |
d9371ace4647326aacf96016b540a9961ce18f40 | diff --git a/server_integration_test.go b/server_integration_test.go
index <HASH>..<HASH> 100644
--- a/server_integration_test.go
+++ b/server_integration_test.go
@@ -320,6 +320,10 @@ Actual unit tests
// starts an ssh server to test. returns: host string and port
func testServer(t *testing.T, useSubsystem bool, re... | skipping integration tests for server unless specified | pkg_sftp | train | go |
10c6072aaedf6f4162c6a98b6c7129db6439f2fd | diff --git a/src/main/java/com/buschmais/jqassistant/commandline/task/AnalyzeTask.java b/src/main/java/com/buschmais/jqassistant/commandline/task/AnalyzeTask.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/buschmais/jqassistant/commandline/task/AnalyzeTask.java
+++ b/src/main/java/com/buschmais/jqassistant/com... | pass rule parameters to execution in CLI | buschmais_jqa-commandline-tool | train | java |
5306765c7fe2a4f46ab0019b05a16892fc7e25cb | diff --git a/lxd/images.go b/lxd/images.go
index <HASH>..<HASH> 100644
--- a/lxd/images.go
+++ b/lxd/images.go
@@ -99,6 +99,13 @@ func unpack(file string, path string) error {
} else if strings.HasPrefix(extension, ".squashfs") {
command = "unsquashfs"
args = append(args, "-f", "-d", path, "-n")
+
+ mem, err :... | Tweak squashfs for low-memory systems
On low-memory systems (below 2GB of RAM), limit unsquashfs to a single
CPU and to <I>% of the RAM for its fragment size.
Closes #<I> | lxc_lxd | train | go |
2bcb20483309d9047d1a9ea6cc91b6d735d5ffea | diff --git a/core/src/main/java/com/orientechnologies/orient/core/record/impl/ORecordBytes.java b/core/src/main/java/com/orientechnologies/orient/core/record/impl/ORecordBytes.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/record/impl/ORecordBytes.java
+++ b/core/src/main/ja... | Contribution by Sylvain to fix issue <I> | orientechnologies_orientdb | train | java |
e6fae2b1c8f1cb210d15d9ea309ff395ca6c2541 | diff --git a/library/CM/Maintenance/Cli.php b/library/CM/Maintenance/Cli.php
index <HASH>..<HASH> 100644
--- a/library/CM/Maintenance/Cli.php
+++ b/library/CM/Maintenance/Cli.php
@@ -61,10 +61,10 @@ class CM_Maintenance_Cli extends CM_Cli_Runnable_Abstract {
'CM_Session::deleteExpired' => f... | Replace CM_Stream_Video with CM_VideoStream | cargomedia_cm | train | php |
514904392cd32d17bc7fc99e1d22711fc6d055ef | diff --git a/audio/writerplayer.go b/audio/writerplayer.go
index <HASH>..<HASH> 100644
--- a/audio/writerplayer.go
+++ b/audio/writerplayer.go
@@ -168,9 +168,6 @@ func (p *writerPlayer) loop() {
}
func (p *writerPlayer) read() ([]byte, bool) {
- p.m.Lock()
- defer p.m.Unlock()
-
if p.context.hasError() {
retur... | audio: Bug fix: Deadlock at acquiring the semaphore
Closes #<I> | hajimehoshi_ebiten | train | go |
48d853e2654a21f709a3feb1c766466acf002e6c | diff --git a/test/support/utils.rb b/test/support/utils.rb
index <HASH>..<HASH> 100644
--- a/test/support/utils.rb
+++ b/test/support/utils.rb
@@ -20,7 +20,6 @@ module Byebug
# enter 'b 12', ->{"disable #{breakpoint.id}"}, 'cont'
#
def enter(*messages)
- messages = messages.first.is_a?(Array) ? me... | Remove unnecessary line
Don't really need that flexibility. | deivid-rodriguez_byebug | train | rb |
a7b0a802d7a43258e14a7702756469ff14cc37c0 | diff --git a/python/src/mapreduce/status.py b/python/src/mapreduce/status.py
index <HASH>..<HASH> 100755
--- a/python/src/mapreduce/status.py
+++ b/python/src/mapreduce/status.py
@@ -284,12 +284,12 @@ class ResourceHandler(webapp.RequestHandler):
real_path, content_type = self._RESOURCE_MAP[relative]
path = o... | Support having the zipfile not be the first thing on the path.
Now we have genfiles/third_party.zip/...
Now we *do* assume zipfiles end with .zip, and .zip-things are zipfiles.
That's probably ok.
Auditor: kamens,alpert
Test plan:
Did a non-standard deploy and visited:
<URL> | GoogleCloudPlatform_appengine-mapreduce | train | py |
8e53c933257e14367128cd859a4f12161b9ee4a5 | diff --git a/test/com/google/javascript/jscomp/CheckAccessControlsTest.java b/test/com/google/javascript/jscomp/CheckAccessControlsTest.java
index <HASH>..<HASH> 100644
--- a/test/com/google/javascript/jscomp/CheckAccessControlsTest.java
+++ b/test/com/google/javascript/jscomp/CheckAccessControlsTest.java
@@ -1279,6 +1... | CheckAccessControlsTest: add 3 tests to document current behavior.
Currently, Closure Compiler issues a warning when a name or property ends in a trailing underscore but is declared to be something other than @private. There are many tests exercising this behavior for properties, but (surprisingly) none for names. Thi... | google_closure-compiler | train | java |
1431356efe1e24d680414589e51c196537b0c302 | diff --git a/widgets/builderlist/builderlist.js b/widgets/builderlist/builderlist.js
index <HASH>..<HASH> 100644
--- a/widgets/builderlist/builderlist.js
+++ b/widgets/builderlist/builderlist.js
@@ -13,8 +13,9 @@ Dashing.widgets.BuilderList = function(dashboard) {
rivets.binders.color = function(el, value) {
- ... | Don't append class names, clobber. | mverteuil_widget-party | train | js |
7ac0b92af57781939fa601f0ab1c12de865a8fe2 | diff --git a/gcsio/src/main/java/com/google/cloud/hadoop/gcsio/StorageResourceId.java b/gcsio/src/main/java/com/google/cloud/hadoop/gcsio/StorageResourceId.java
index <HASH>..<HASH> 100644
--- a/gcsio/src/main/java/com/google/cloud/hadoop/gcsio/StorageResourceId.java
+++ b/gcsio/src/main/java/com/google/cloud/hadoop/gc... | Remove duplicate group from regexp. | GoogleCloudPlatform_bigdata-interop | train | java |
c4529b8700fb1cc2de5e06b9177147581e0e69d5 | diff --git a/select2.js b/select2.js
index <HASH>..<HASH> 100644
--- a/select2.js
+++ b/select2.js
@@ -2084,7 +2084,7 @@ the specific language governing permissions and limitations under the Apache Lic
isPlaceholderOptionSelected: function() {
var placeholderOption;
- if (!this.opts.p... | fix missing placeholder. closes #<I> | select2_select2 | train | js |
9dc24fc60bff8417ca3c3c2b29bd0bdb41013f06 | diff --git a/lib/analytical/modules/mixpanel.rb b/lib/analytical/modules/mixpanel.rb
index <HASH>..<HASH> 100644
--- a/lib/analytical/modules/mixpanel.rb
+++ b/lib/analytical/modules/mixpanel.rb
@@ -12,7 +12,7 @@ module Analytical
init_location(location) do
js = <<-HTML
<!-- Analytical In... | Use #protocol to load mixpanel so that IE doesn't have a cow. | jkrall_analytical | train | rb |
583eccf49365d03ddb1a82d378be0cb18b5f04ba | diff --git a/lib/html2haml/exec.rb b/lib/html2haml/exec.rb
index <HASH>..<HASH> 100644
--- a/lib/html2haml/exec.rb
+++ b/lib/html2haml/exec.rb
@@ -212,7 +212,7 @@ END
@module_opts[:html_style_attributes] = true
end
- opts.on("--ruby19-hashes", "Use Ruby 1.9-style attributes when possible.")... | Rename "ruby<I>-hashes" to "ruby<I>-attributes" for consistency | haml_html2haml | train | rb |
3dc7ede53fc41c47a61e60e275227f336f0bfe32 | diff --git a/spec/lib/onebox/layout_spec.rb b/spec/lib/onebox/layout_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/onebox/layout_spec.rb
+++ b/spec/lib/onebox/layout_spec.rb
@@ -3,7 +3,36 @@ require "spec_helper"
describe Onebox::Layout do
let(:cache) { Moneta.new(:Memory, expires: true, serializer: :json) }
... | start writing spec for .template_path [#<I>] | discourse_onebox | train | rb |
e7dcb0fcccaa59ab8dcdbdf20d592d904586ca1d | diff --git a/lib/formslib.php b/lib/formslib.php
index <HASH>..<HASH> 100644
--- a/lib/formslib.php
+++ b/lib/formslib.php
@@ -80,7 +80,7 @@ class moodleform {
if ($validated === null) {
$internal_val = $this->_form->validate();
- $moodle_val = $this->validation($this->_form->exportVa... | moodleform->validation() receives slashed $data now to make it similar to data_submitted() and prevent potential SQL injections | moodle_moodle | train | php |
4b453f5be6a50f9ec2aebd093b3b054a96e3234e | diff --git a/src/ol/interaction/selectinteraction.js b/src/ol/interaction/selectinteraction.js
index <HASH>..<HASH> 100644
--- a/src/ol/interaction/selectinteraction.js
+++ b/src/ol/interaction/selectinteraction.js
@@ -1,4 +1,5 @@
goog.provide('ol.interaction.Select');
+goog.provide('ol.interaction.SelectFilterFunctio... | Adding missing provide for SelectFilterFunction | openlayers_openlayers | train | js |
2bc8811e6298c7bc77d448e8ba9bcc431c0e394f | diff --git a/tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php b/tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php
+++ b/tests/Doctrine/Tests/ORM/Tools/Pagina... | DDC-<I> - renamed test method for clarity | doctrine_orm | train | php |
b6ddf319aaf2b42d28dedffbc5a3685b58b69c2f | diff --git a/pyt/ast_helper.py b/pyt/ast_helper.py
index <HASH>..<HASH> 100644
--- a/pyt/ast_helper.py
+++ b/pyt/ast_helper.py
@@ -2,16 +2,32 @@
Useful when working with the ast module."""
import ast
import os
+import subprocess
BLACK_LISTED_CALL_NAMES = ['self']
+def convert_to_3(path):
+ """Convert pyt... | Convert python 2 file to python 3
This closes #<I> and #<I> | python-security_pyt | train | py |
1aaab1d987ad0e9951e08ee63c9079ccb2a38769 | diff --git a/bootstrap-wysiwyg.js b/bootstrap-wysiwyg.js
index <HASH>..<HASH> 100644
--- a/bootstrap-wysiwyg.js
+++ b/bootstrap-wysiwyg.js
@@ -26,8 +26,9 @@
updateToolbar = function () {
if (options.activeToolbarClass) {
$(options.toolbarSelector).find(toolbarBtnSelector).each(function () {
- var co... | Fixed formatBlock buttons being not highlighted in the toolbar | steveathon_bootstrap-wysiwyg | train | js |
c2cd445b68786366309b72d2ca8e59beb34642a7 | diff --git a/tests/Alcaeus/MongoDbAdapter/Mongo/MongoDateTest.php b/tests/Alcaeus/MongoDbAdapter/Mongo/MongoDateTest.php
index <HASH>..<HASH> 100644
--- a/tests/Alcaeus/MongoDbAdapter/Mongo/MongoDateTest.php
+++ b/tests/Alcaeus/MongoDbAdapter/Mongo/MongoDateTest.php
@@ -38,7 +38,12 @@ class MongoDateTest extends TestCa... | Don't compare DateTime objects directly | alcaeus_mongo-php-adapter | train | php |
8806997f17344d5c9219b8a061c9ebc78bf648c1 | diff --git a/moxy-compiler/src/main/java/com/arellomobile/mvp/compiler/MvpCompiler.java b/moxy-compiler/src/main/java/com/arellomobile/mvp/compiler/MvpCompiler.java
index <HASH>..<HASH> 100644
--- a/moxy-compiler/src/main/java/com/arellomobile/mvp/compiler/MvpCompiler.java
+++ b/moxy-compiler/src/main/java/com/arellomo... | [feature] Fixed some annotation processor warning | Arello-Mobile_Moxy | train | java |
14bf45747ddd40a8e6f0514b649b08519a21ace2 | diff --git a/mod/quiz/editlib.php b/mod/quiz/editlib.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/editlib.php
+++ b/mod/quiz/editlib.php
@@ -405,6 +405,8 @@ function quiz_print_question_list($quiz, $pageurl, $allowdelete, $reordertool,
$a = '<input name="moveselectedonpagetop" type="text" size="2" ' .
... | MDL-<I> quiz editing: top move button on the order and paging tab does not work.
It is strange that processes the submission already handles the submitted data from this change to the HTML. | moodle_moodle | train | php |
64fe7b74d60e7fa65d1dfaf93073b4ecc2ca4902 | diff --git a/CodingStandard/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php b/CodingStandard/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php
index <HASH>..<HASH> 100644
--- a/CodingStandard/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php
+++ b/CodingStandard/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php
@... | Changing error code in "ControlStructureSpacing" sniff to be more consistent | aik099_CodingStandard | train | php |
dc70a295f22a9ebb75449293c6b5eb56ad3dd1a5 | diff --git a/lavalink.py b/lavalink.py
index <HASH>..<HASH> 100644
--- a/lavalink.py
+++ b/lavalink.py
@@ -8,6 +8,11 @@ import websockets
__version__ = '1.0.1'
+class InvalidTrack(Exception):
+ def __init__(self, message):
+ super(InvalidTrack, self).__init__(message)
+
+
class IGeneric:
d... | Throw if a bad track is passed | Devoxin_Lavalink.py | train | py |
0dccfc7f131f4b2991b40fdc7f3ed06f34dd7f04 | diff --git a/scripts/jenkins-build.py b/scripts/jenkins-build.py
index <HASH>..<HASH> 100644
--- a/scripts/jenkins-build.py
+++ b/scripts/jenkins-build.py
@@ -24,6 +24,6 @@ bh.setuppy_develop()
# run tests & coverage
bh.vepycall(
'nosetests', 'tests', '--with-xunit',
- '--with-coverage', '--cover-package=blaz... | get rid of conflicting options in nose tests call
Error was:
ERROR: You can not use both --with-xcover and --with-coverage.
Using --with-xcover implies --with-coverage | blazelibs_blazeutils | train | py |
c1b3ce12dbe7617e1faab94df02d1502ef8befed | diff --git a/nerdamer.core.js b/nerdamer.core.js
index <HASH>..<HASH> 100644
--- a/nerdamer.core.js
+++ b/nerdamer.core.js
@@ -2066,7 +2066,7 @@ var nerdamer = (function() {
symbol1.convert(PL);
symbol1.attach(symbol2);
}
- ... | Bug fix for addition of CPs
If two symbols are of group CP were being added the assumption was incorrectly made that the left hand side would be the lower power. Now both symbols are checked to make sure that they are both indeed linear. | jiggzson_nerdamer | train | js |
bc694b47613ef081318816ed19e5f940b0baa34d | diff --git a/mod/feedback/classes/responses_table.php b/mod/feedback/classes/responses_table.php
index <HASH>..<HASH> 100644
--- a/mod/feedback/classes/responses_table.php
+++ b/mod/feedback/classes/responses_table.php
@@ -267,7 +267,7 @@ class mod_feedback_responses_table extends table_sql {
$tableheaders = $... | MDL-<I> mod_feedback: Return all the items responses
The WS should receive all the item responses for all the attempts. | moodle_moodle | train | php |
7d3cc0d2ff8029193633ad135d74c583bca9722c | diff --git a/src/database/migrations/2016_07_04_000030_create_geonames_geonames_table.php b/src/database/migrations/2016_07_04_000030_create_geonames_geonames_table.php
index <HASH>..<HASH> 100644
--- a/src/database/migrations/2016_07_04_000030_create_geonames_geonames_table.php
+++ b/src/database/migrations/2016_07_04... | Increase cc2 to <I> char length and population to bigInteger | yurtesen_geonames | train | php |
6e0c3cb65fc0fdb064c743d176a620e3ca446dfb | diff --git a/cors.go b/cors.go
index <HASH>..<HASH> 100644
--- a/cors.go
+++ b/cors.go
@@ -83,6 +83,10 @@ func New(options Options) *Cors {
// Default is all origins
normOptions.AllowedOrigins = []string{"*"}
}
+ if len(normOptions.AllowedHeaders) == 1 {
+ // Add some sensible defaults
+ normOptions.AllowedHe... | Add some sensible defaults for headers | rs_cors | train | go |
695aa9cfac74fd096f4b605ccb7ebfa4ed150bc9 | diff --git a/sunspot_solr/lib/sunspot/solr/server.rb b/sunspot_solr/lib/sunspot/solr/server.rb
index <HASH>..<HASH> 100644
--- a/sunspot_solr/lib/sunspot/solr/server.rb
+++ b/sunspot_solr/lib/sunspot/solr/server.rb
@@ -1,4 +1,3 @@
-require 'shellwords'
require 'set'
require 'tempfile'
require 'sunspot/solr/java'
@@ ... | No need to escape arguments if passed explicitly
The use of Shellwords caused the sunspot-solr stop command to stop
working, because the exec call first created an intermediate system
shell, to handle escaped parameters. The registered pid is that of the
shell, terminating the shell does not terminate the java command... | sunspot_sunspot | train | rb |
b72730c53dc74a777cb0147276d54b9f1a3f8aa9 | diff --git a/lib/multimarkdown-cli/tilt_plugin.rb b/lib/multimarkdown-cli/tilt_plugin.rb
index <HASH>..<HASH> 100644
--- a/lib/multimarkdown-cli/tilt_plugin.rb
+++ b/lib/multimarkdown-cli/tilt_plugin.rb
@@ -27,7 +27,7 @@ module MultiMarkdownCLI
end
end
- Tilt.register Template, 'multimarkdown'
+ Tilt.regist... | add mmd as a valid extension | gabysbrain_rb-MultiMarkdown-cli | train | rb |
111f019769c7f08aa7d55789f8934c018befb637 | diff --git a/lib/webaccessadmin_lib.py b/lib/webaccessadmin_lib.py
index <HASH>..<HASH> 100644
--- a/lib/webaccessadmin_lib.py
+++ b/lib/webaccessadmin_lib.py
@@ -909,11 +909,13 @@ def perform_accesspolicy(req, callback='yes', confirm=0):
account_policy[1] = "Users can register new accounts. Admin users must activ... | WebAccess: fix Access policy page
* When CFG_ACCESS_CONTROL_LEVEL_SITE was set to the valid value
of 3 or CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS was set to the valid
value of 5, accessing the Access policy page of WebAccess Admin
interface would have caused an unhandled exception. This is now
fixed. Thanks to Alex... | inveniosoftware_invenio-access | train | py |
f4fdafdd2c1285876868be611b762f1af95aeb27 | diff --git a/glances/glances.py b/glances/glances.py
index <HASH>..<HASH> 100755
--- a/glances/glances.py
+++ b/glances/glances.py
@@ -941,14 +941,16 @@ class GlancesStatsServer(GlancesStats):
self._init_host()
self.all_stats["host"] = self.host
+ # Init the process list
+ self.process... | New pocesses class for server | nicolargo_glances | train | py |
975cec9c8c2824ccc6de95ed2be45ac4409039e8 | diff --git a/lib/restbase.js b/lib/restbase.js
index <HASH>..<HASH> 100644
--- a/lib/restbase.js
+++ b/lib/restbase.js
@@ -50,6 +50,21 @@ RESTBase.prototype._makeChild = function(req) {
RESTBase.prototype.request = function (req) {
+ // Protect the sys api from direct access
+ // Could consider opening this ... | Disallow direct requests to the /{domain}/sys api
This is where our internal modules live, so unconditionally disallow direct
access from the outside. Additional unconditional ACL checks happen at the
path level (ex: per domain), as well as in each sys module. The main
contribution of this block is that it disallows d... | wikimedia_restbase | train | js |
ec639c9f4ce7f0095c58b2ba07cb1da26dffd208 | diff --git a/cluster/kubernetes/resource/resource.go b/cluster/kubernetes/resource/resource.go
index <HASH>..<HASH> 100644
--- a/cluster/kubernetes/resource/resource.go
+++ b/cluster/kubernetes/resource/resource.go
@@ -6,6 +6,7 @@ import (
yaml "gopkg.in/yaml.v2"
"github.com/weaveworks/flux"
+ fluxerr "github.com... | Make yaml parsing failure a User error
This allows us to detect when fluxd returns an error due to user
fault, and use a 4xx instead of 5xx status code. | weaveworks_flux | train | go |
1d4e72b028e107bc713c6efeb2db6d2e124b8fbc | diff --git a/scheduler/scheduler_intgr_test.go b/scheduler/scheduler_intgr_test.go
index <HASH>..<HASH> 100644
--- a/scheduler/scheduler_intgr_test.go
+++ b/scheduler/scheduler_intgr_test.go
@@ -357,7 +357,7 @@ func (suite *SchedulerIntegrationTestSuite) TestSchedulerDriverStatusUpdatedEven
defer req.Body.Close()
... | fix data race flake in scheduler integration test | mesos_mesos-go | train | go |
7dd9ab4046edf0ca685bef045de7d0c1abbbeb28 | diff --git a/tests/nistbeacon/test_nistbeacon.py b/tests/nistbeacon/test_nistbeacon.py
index <HASH>..<HASH> 100644
--- a/tests/nistbeacon/test_nistbeacon.py
+++ b/tests/nistbeacon/test_nistbeacon.py
@@ -227,7 +227,14 @@ class TestNistBeacon(TestCase):
# noinspection PyTypeChecker
self.assertFalse(Nist... | Patch calls in check_majority | urda_nistbeacon | train | py |
0f932b412aff085a33dd58a64d17b118232e9844 | diff --git a/components/popup/position.js b/components/popup/position.js
index <HASH>..<HASH> 100644
--- a/components/popup/position.js
+++ b/components/popup/position.js
@@ -174,7 +174,8 @@ export default function position(attrs) {
}
if (maxHeight === MaxHeight.SCREEN || maxHeight === 'screen') {
- styles.m... | RG-<I> Position: Incorrect calculation of max height for popup with maxHeight=SCREEN
Former-commit-id: <I>b<I>ac<I>c<I>fe<I>e0ca<I>beb<I>a | JetBrains_ring-ui | train | js |
169b24b7eb1757cc90b3f9d0ce39ad48a64646ad | diff --git a/cluster/cluster.go b/cluster/cluster.go
index <HASH>..<HASH> 100644
--- a/cluster/cluster.go
+++ b/cluster/cluster.go
@@ -80,6 +80,7 @@ type Cluster struct {
// The parameter Scheduler defines the scheduling strategy, and cannot change.
// It is optional, when set to nil, the cluster will use a round rob... | cluster/cluster.go: passing storage to scheduler. | tsuru_docker-cluster | train | go |
d332511da4e3b865489491fadd2a2c07586990b1 | diff --git a/discoverd/client/client.go b/discoverd/client/client.go
index <HASH>..<HASH> 100644
--- a/discoverd/client/client.go
+++ b/discoverd/client/client.go
@@ -310,8 +310,9 @@ func (s *serviceSet) setServices(services map[string]*Service) {
}
func (s *serviceSet) Addrs() []string {
- list := make([]string, 0... | discoverd: Fix race in Addrs | flynn_flynn | train | go |
a76b839c9cc6dc843f4ecb77b36833c0f4de10b0 | diff --git a/timeside/grapher/render_analyzers.py b/timeside/grapher/render_analyzers.py
index <HASH>..<HASH> 100644
--- a/timeside/grapher/render_analyzers.py
+++ b/timeside/grapher/render_analyzers.py
@@ -92,14 +92,13 @@ class DisplayAnalyzer(Grapher):
return NewGrapher
-
# From here define new Grapher ... | Render AubioPitch grapher only if Aubio is available | Parisson_TimeSide | train | py |
87dc3bb0fe16e476587f927b55b9ea66ec6a39ec | diff --git a/resource_aws_rds_cluster.go b/resource_aws_rds_cluster.go
index <HASH>..<HASH> 100644
--- a/resource_aws_rds_cluster.go
+++ b/resource_aws_rds_cluster.go
@@ -125,8 +125,9 @@ func resourceAwsRDSCluster() *schema.Resource {
},
"master_password": {
- Type: schema.TypeString,
- Optional: tr... | provider/aws: Add sensitive attribute in master_password (#<I>) | terraform-providers_terraform-provider-aws | train | go |
4272c7c340e2303fa38231aaceb5ecc0d1f8c0aa | diff --git a/lib/tugboat/middleware/custom_logger.rb b/lib/tugboat/middleware/custom_logger.rb
index <HASH>..<HASH> 100644
--- a/lib/tugboat/middleware/custom_logger.rb
+++ b/lib/tugboat/middleware/custom_logger.rb
@@ -26,7 +26,7 @@ module Tugboat
private
def filter(output)
- unless ENV['DEBUG'] ... | Change logic around detection of filtering logs
Before logic was dependant on environment variables being strings, this is much better :<I>: | petems_tugboat | train | rb |
f95a0bf8f749d335044b9be6ba304f4b0a95f208 | diff --git a/lib/paper_trail/frameworks/rails/controller.rb b/lib/paper_trail/frameworks/rails/controller.rb
index <HASH>..<HASH> 100644
--- a/lib/paper_trail/frameworks/rails/controller.rb
+++ b/lib/paper_trail/frameworks/rails/controller.rb
@@ -95,7 +95,11 @@ module PaperTrail
user_present = user_for_paper_t... | Add filename to whodunnit warning | paper-trail-gem_paper_trail | train | rb |
20510d332dc5145aa23b4ad4a7c2aed7f7d9e839 | diff --git a/rope/base/taskhandle.py b/rope/base/taskhandle.py
index <HASH>..<HASH> 100644
--- a/rope/base/taskhandle.py
+++ b/rope/base/taskhandle.py
@@ -17,7 +17,6 @@ class BaseJobSet(ABC):
def check_status(self) -> None:
pass
- @abstractmethod
@utils.deprecated('Just use JobSet.job_name attri... | Don't require implementation of deprecated methods | python-rope_rope | train | py |
2c73ec2f6a08115ee42acf15effdb36973e4fcc8 | diff --git a/lib/perpetuity/mongodb/query_expression.rb b/lib/perpetuity/mongodb/query_expression.rb
index <HASH>..<HASH> 100644
--- a/lib/perpetuity/mongodb/query_expression.rb
+++ b/lib/perpetuity/mongodb/query_expression.rb
@@ -16,7 +16,7 @@ module Perpetuity
end
def to_db
- send @comparator
+... | Prefer public_send over send | jgaskins_perpetuity | train | rb |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.