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 |
|---|---|---|---|---|---|
cd5eb9390386f7898d6a368f09269046fcc6ea0b | diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/__init__.py
+++ b/salt/client/ssh/__init__.py
@@ -467,6 +467,8 @@ class SSH(object):
for default in self.defaults:
if default not in self.targets[host]:
... | Fix ssh-salt calls with scan roster for uncached clients
When using salt-ssh with a scanning roster uncached minions
lead to a traceback indicating an error creating the Single()
object.
Fix this error by ensuring that the target dictionary always
contains a host key and the appropriate value.
Fixes #<I> | saltstack_salt | train | py |
0d5cd9582fb5dd62d2ee6dbac714725410226c13 | diff --git a/bin/publish.js b/bin/publish.js
index <HASH>..<HASH> 100644
--- a/bin/publish.js
+++ b/bin/publish.js
@@ -44,7 +44,14 @@ function getNextBetaVersion() {
if (publishedVersions.length === 0) {
return `${packageJson.version}-${tag}1`;
}
- const latestPublishedVersion = publishedVersions.sort((a, b... | Base the next beta version on the correct current beta
Fixes #<I> | xtermjs_xterm.js | train | js |
a0720273ff2120119f0a3c7a9d6de77630c927da | diff --git a/gen/gen_ibv_loader.py b/gen/gen_ibv_loader.py
index <HASH>..<HASH> 100755
--- a/gen/gen_ibv_loader.py
+++ b/gen/gen_ibv_loader.py
@@ -132,6 +132,10 @@ HEADER = PREFIX + '''\
#include <infiniband/verbs.h>
#include <rdma/rdma_cma.h>
+{% for node in nodes -%}
+#undef {{ node.name }}
+{% endfor %}
+
names... | Forcibly undefined ibverbs functions after including the header
This should fix #<I>. | ska-sa_spead2 | train | py |
31056977ba4c35a2c9c54d6c254a96356a86cda2 | diff --git a/code/libraries/koowa/koowa.php b/code/libraries/koowa/koowa.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/koowa.php
+++ b/code/libraries/koowa/koowa.php
@@ -27,7 +27,7 @@ class Koowa
*
* @var string
*/
- const VERSION = '0.7.0-alpha-2';
+ const VERSION = '0.7.0-alpha-3... | Preparing for <I>-alpha-3 release | joomlatools_joomlatools-framework | train | php |
cfc8630fe717c9193fbd3bfa7e3ffbea1447c274 | diff --git a/inc/zip.php b/inc/zip.php
index <HASH>..<HASH> 100644
--- a/inc/zip.php
+++ b/inc/zip.php
@@ -26,9 +26,16 @@ class rah_backup_zip {
public function extract($filename, $target) {
$zip = new ZipArchive;
- $zip->open($filename);
- $zip->extractTo($target);
- $zip->close();
+
+ if(!$zip || !$zip->... | rah_backup_zip::extract() returns FALSE on failure.
Todo: still needs some file handling and checks. | gocom_rah_backup | train | php |
3f0c369dbb251c90feb9021fbdff3eea9be6eb46 | diff --git a/openquake/calculators/event_based_damage.py b/openquake/calculators/event_based_damage.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based_damage.py
+++ b/openquake/calculators/event_based_damage.py
@@ -188,7 +188,7 @@ class DamageCalculator(EventBasedRiskCalculator):
del df['ag... | Raised tolerance in sanity check | gem_oq-engine | train | py |
42edeeaabe0917b9299ab472fccd075bccf0486b | diff --git a/txmusicbrainz/__init__.py b/txmusicbrainz/__init__.py
index <HASH>..<HASH> 100644
--- a/txmusicbrainz/__init__.py
+++ b/txmusicbrainz/__init__.py
@@ -1 +1 @@
-__version__ = "0.1.0-dev"
+__version__ = "0.1.0" | Release <I> but this will change quickly. | Julian_txmusicbrainz | train | py |
76cf18fc1ef6c637defc6f4c372a02c2e7a3a086 | diff --git a/lib/shelly/client.rb b/lib/shelly/client.rb
index <HASH>..<HASH> 100644
--- a/lib/shelly/client.rb
+++ b/lib/shelly/client.rb
@@ -104,11 +104,11 @@ module Shelly
end
def add_ssh_key(ssh_key)
- post("/ssh_key", :ssh_key => ssh_key)
+ post("/ssh_keys", :ssh_key => ssh_key)
end
... | New url to ssh_keys, delete credentials after delete ssh_key from API [#<I>] | Ragnarson_shelly | train | rb,rb |
06bc801b03aff2feb7e11bdf589d6a079aced06d | diff --git a/lib/deadlink.rb b/lib/deadlink.rb
index <HASH>..<HASH> 100644
--- a/lib/deadlink.rb
+++ b/lib/deadlink.rb
@@ -7,8 +7,10 @@ require 'optparse'
module Deadlink
def self.scan()
- target_dir = ARGV[0]
+
opts = ARGV.getopts('','p')
+ target_dir = ARGV[0]
+
scanner = Scanner.new(target_di... | ARGV[0] is -p, should first run ARGV.getops | yutakakinjyo_deadlink | train | rb |
3f5355157f8ad0d76177206ef22cbe0f8077f0ee | diff --git a/src/TmpFile.php b/src/TmpFile.php
index <HASH>..<HASH> 100644
--- a/src/TmpFile.php
+++ b/src/TmpFile.php
@@ -18,7 +18,7 @@ final class TmpFile implements TmpFileInterface
$this->filename = tempnam(sys_get_temp_dir(), 'php');
if (false === $this->filename) {
- throw new \Runt... | Added getFilename() method to TmpFile | denisyukphp_tmpfile | train | php,php |
adf11c538131ba3396c51293bbaf9295a7505754 | diff --git a/src/java/com/threerings/presents/server/ReportManager.java b/src/java/com/threerings/presents/server/ReportManager.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/presents/server/ReportManager.java
+++ b/src/java/com/threerings/presents/server/ReportManager.java
@@ -21,9 +21,6 @@
package ... | Fixed index out of bounds exception. This was causing msoy aux reporters to never complete if the report type was not registered on the game server (e.g. servlet ony)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train | java |
4b6c39d337b8dabe3d03c89a5ce2bad460dfa768 | diff --git a/kv/txn.go b/kv/txn.go
index <HASH>..<HASH> 100644
--- a/kv/txn.go
+++ b/kv/txn.go
@@ -92,7 +92,7 @@ var (
// See: http://www.awsarchitectureblog.com/2015/03/backoff.html.
func BackOff(attempts int) int {
upper := int(math.Min(float64(retryBackOffCap), float64(retryBackOffBase)*math.Pow(2.0, float64(att... | kv: Change backoff time from Microseconds to Milliseconds | pingcap_tidb | train | go,go |
a00e5a1eb5d3b0a1d2c5e9e340553949f7b1a0ec | diff --git a/parser.go b/parser.go
index <HASH>..<HASH> 100644
--- a/parser.go
+++ b/parser.go
@@ -29,7 +29,6 @@ type State int
const (
STATE_NONE State = iota
STATE_SELECTOR
- STATE_DECLARE_BLOCK
STATE_PROPERTY
STATE_VALUE
) | STATE_DECLARE_BLOCK is no longer needed | vanng822_css | train | go |
a72d726e917e26d6c89d69b10f3608138864f236 | diff --git a/stan.go b/stan.go
index <HASH>..<HASH> 100644
--- a/stan.go
+++ b/stan.go
@@ -126,7 +126,7 @@ type conn struct {
pubAckChan chan (struct{})
opts Options
nc *nats.Conn
- ncOwned bool
+ ncOwned bool // STAN created the connection, so needs to close it.
}
... | Added comment to clarify ncOwned meaning | nats-io_nats-streaming-server | train | go |
2135513d733904210baff07d47a629ead0a05496 | diff --git a/lib/fishbans.rb b/lib/fishbans.rb
index <HASH>..<HASH> 100644
--- a/lib/fishbans.rb
+++ b/lib/fishbans.rb
@@ -9,7 +9,7 @@ module Fishbans
extend self
@client = HTTPClient.new
- @services = [
+ SERVICES = [
'mcbouncer',
'minebans',
'glizer',
@@ -35,7 +35,7 @@ module Fishbans
def ... | :package: Services array is now a constant | elifoster_fishbans-rb | train | rb |
dae5350b6d8a3b804ad7a437b1bc0a70d9997b97 | diff --git a/lib/rewrite_config.js b/lib/rewrite_config.js
index <HASH>..<HASH> 100644
--- a/lib/rewrite_config.js
+++ b/lib/rewrite_config.js
@@ -17,8 +17,8 @@ module.exports = function (sourceConfigPath, tempAssetPath, options) {
conf.selenium.port = options.localSeleniumPort;
conf.test_settings.default.sel... | patch selenium server version while launching up | TestArmada_magellan-nightwatch-plugin | train | js |
6c508d68aec222d3a4e108802689f8858ac0a1b8 | diff --git a/lib/link_thumbnailer/model.rb b/lib/link_thumbnailer/model.rb
index <HASH>..<HASH> 100644
--- a/lib/link_thumbnailer/model.rb
+++ b/lib/link_thumbnailer/model.rb
@@ -9,7 +9,7 @@ module LinkThumbnailer
def sanitize(str)
return unless str
- str.strip.gsub(/[\r\n\f]+/, "\n")
+ str.... | fix response sanitize function to clean UTF-8 data
forked from source repo to fix a bug (viz <URL>) | gottfrois_link_thumbnailer | train | rb |
52375ec2fb52c680fa5d4421fb1c33d915311811 | diff --git a/wigle/cmd.py b/wigle/cmd.py
index <HASH>..<HASH> 100644
--- a/wigle/cmd.py
+++ b/wigle/cmd.py
@@ -1,4 +1,4 @@
-from . import Wigle
+from . import Wigle, WigleRatelimitExceeded
import argparse
parser = argparse.ArgumentParser()
@@ -33,11 +33,15 @@ def search():
def notify_new_page(first):
... | Add specific cmdline error for exceeded quota | viraptor_wigle | train | py |
21c13f7ba6fa617119442ce510ce381ccddfe6ab | diff --git a/fs/fs.go b/fs/fs.go
index <HASH>..<HASH> 100644
--- a/fs/fs.go
+++ b/fs/fs.go
@@ -103,15 +103,18 @@ func NewFileSystem(
bucket gcs.Bucket) (ffs fuse.FileSystem, err error) {
// Set up the basic struct.
fs := &fileSystem{
- clock: clock,
- bucket: bucket,
- inodes: make(map[fuse.Ino... | Set up the index entry for the root. | jacobsa_timeutil | train | go |
ed17775cd3d6e3e48e603f780e6fc388033df821 | diff --git a/src/services/ArchitectService.php b/src/services/ArchitectService.php
index <HASH>..<HASH> 100644
--- a/src/services/ArchitectService.php
+++ b/src/services/ArchitectService.php
@@ -131,6 +131,11 @@ class ArchitectService extends Component
try {
if ($update) {
... | Put item in results when update fails. | Pennebaker_craft-architect | train | php |
15fe1cb5f434a5b4dcba49e3547365d705ac8f84 | diff --git a/lib/go/thrift/simple_json_protocol.go b/lib/go/thrift/simple_json_protocol.go
index <HASH>..<HASH> 100644
--- a/lib/go/thrift/simple_json_protocol.go
+++ b/lib/go/thrift/simple_json_protocol.go
@@ -909,6 +909,12 @@ func (p *TSimpleJSONProtocol) ParseBase64EncodedBody() ([]byte, error) {
}
line2 := line... | THRIFT-<I> binary data may cause a failure with JSON transport under specific circumstances
Client: Go
Patch: Jens Geyer | limingxinleo_thrift | train | go |
f2ef3058ce6ea5250a46b4869d4cd56a3876031c | diff --git a/src/Bkwld/Decoy/Models/Change.php b/src/Bkwld/Decoy/Models/Change.php
index <HASH>..<HASH> 100644
--- a/src/Bkwld/Decoy/Models/Change.php
+++ b/src/Bkwld/Decoy/Models/Change.php
@@ -242,14 +242,19 @@ class Change extends Base {
* @return array
*/
public function attributesForModal() {
- return ar... | Simplifying the title-fication of changes and showing null values
Leaving empties in there so the updating of values to NULL is displayed. | BKWLD_decoy | train | php |
6b345e1f52af3e61e2a998d2ed085c626a04404d | diff --git a/instaloader.py b/instaloader.py
index <HASH>..<HASH> 100755
--- a/instaloader.py
+++ b/instaloader.py
@@ -487,7 +487,7 @@ def download_node(node: Dict[str, Any], session: requests.Session, name: str,
if node["is_video"] and download_videos:
video_data = get_json('p/' + node["code"], session, ... | Adapt video downloading to new format
This should the video downloading issue reported at #<I>. | instaloader_instaloader | train | py |
f2e8420548fb8e469a8d84fba592ceb58b2619ae | diff --git a/lib/Resque/Job/Status.php b/lib/Resque/Job/Status.php
index <HASH>..<HASH> 100644
--- a/lib/Resque/Job/Status.php
+++ b/lib/Resque/Job/Status.php
@@ -49,7 +49,7 @@ class Status
*
* @var array<int>
*/
- protected static $valid = array(
+ public static $valid = array(
self::... | Altered scope from protected to global for better accessibility to states | vend_php-resque | train | php |
d1b69ea8697d721415c259ef8513ab699c6d3e96 | diff --git a/conn.go b/conn.go
index <HASH>..<HASH> 100644
--- a/conn.go
+++ b/conn.go
@@ -44,6 +44,10 @@ type Conn struct {
// A Socket is an operating-system specific implementation of netlink
// sockets used by Conn.
+//
+// Deprecated: the intent of Socket was to provide an abstraction layer for
+// testing, bu... | netlink: deprecate Socket interface | mdlayher_netlink | train | go,go |
840f4ecf29f2f221881bf323c328398737beaf35 | diff --git a/src/ContaoCommunityAlliance/Composer/Plugin/Plugin.php b/src/ContaoCommunityAlliance/Composer/Plugin/Plugin.php
index <HASH>..<HASH> 100644
--- a/src/ContaoCommunityAlliance/Composer/Plugin/Plugin.php
+++ b/src/ContaoCommunityAlliance/Composer/Plugin/Plugin.php
@@ -237,7 +237,7 @@ class Plugin
static::... | Second HOTFIX: handle custom patched Contao Versions properly. | contao-community-alliance_composer-plugin | train | php |
912824611b3f1ee8d9fdad6b7a269e7b42c8aec1 | diff --git a/lib/fluent/plugin/in_forward.rb b/lib/fluent/plugin/in_forward.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/plugin/in_forward.rb
+++ b/lib/fluent/plugin/in_forward.rb
@@ -25,13 +25,15 @@ module Fluent
class ForwardInput < Input
Plugin.register_input('forward', self)
+ LISTEN_PORT = 24224
+
... | in_forward: Define default listen port number in each plugin | fluent_fluentd | train | rb |
e6bac6d246f137409550cbc6715598abcb9dd033 | diff --git a/python/src/cm_api/endpoints/types.py b/python/src/cm_api/endpoints/types.py
index <HASH>..<HASH> 100644
--- a/python/src/cm_api/endpoints/types.py
+++ b/python/src/cm_api/endpoints/types.py
@@ -725,6 +725,7 @@ class ApiHdfsReplicationResult(BaseApiObject):
'jobDetailsUri' : ROAttr(),
'dryRu... | [dr] OPSAPS-<I> Expose failed list of files via API
Mathing change to the python clinet | cloudera_cm_api | train | py,py |
99e3a92d34c7f25f2fe023f2e51ced7952c6308d | diff --git a/internal/api.go b/internal/api.go
index <HASH>..<HASH> 100644
--- a/internal/api.go
+++ b/internal/api.go
@@ -171,8 +171,8 @@ func (c *context) FullyQualifiedAppID() string {
// TODO(dsymonds): Memoize this.
// gae_project has everything except the partition prefix.
- appID := string(mustGetMetadata(... | Add "instance/" to the start of the metadata path for App ID requests.
Change-Id: I4fdf<I>f<I>bff0c<I>c3d<I>b6bb<I>a2faa<I>d | golang_appengine | train | go |
aef91d21f276ad9e9a0ae8746eab29de9ec72fc5 | diff --git a/blocks/login/styles.php b/blocks/login/styles.php
index <HASH>..<HASH> 100644
--- a/blocks/login/styles.php
+++ b/blocks/login/styles.php
@@ -14,8 +14,9 @@
.block_login .loginform div {
margin:0.3em 0.8em;
text-align:right;
+ display:block;
}
-.block_login .btn input {
+.block_login .loginform d... | Merged login box fix for MDL-<I> | moodle_moodle | train | php |
221d74ea19c5b23bd1205192517b2afa3a22abee | diff --git a/src/tasks/gitignore/index.js b/src/tasks/gitignore/index.js
index <HASH>..<HASH> 100644
--- a/src/tasks/gitignore/index.js
+++ b/src/tasks/gitignore/index.js
@@ -3,11 +3,11 @@
const { lines } = require('mrm-core');
const ignores = [
- 'node_modules',
+ 'node_modules/',
'.DS_Store',
'Thumbs.db',
- '... | Fix(gitignore): Tweak patterns to match only folders | sapegin_mrm | train | js |
c5a52850b3e2d0d1823f36d8d3afd9dc849cfddd | diff --git a/actionpack/lib/sprockets/helpers/rails_helper.rb b/actionpack/lib/sprockets/helpers/rails_helper.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/sprockets/helpers/rails_helper.rb
+++ b/actionpack/lib/sprockets/helpers/rails_helper.rb
@@ -27,7 +27,7 @@ module Sprockets
if debug && asset = ass... | Remove redundant join and call to html_safe | rails_rails | train | rb |
7562dc56f831b1129e142751b035104c7b15475b | diff --git a/php/commands/site.php b/php/commands/site.php
index <HASH>..<HASH> 100644
--- a/php/commands/site.php
+++ b/php/commands/site.php
@@ -188,14 +188,24 @@ class Site_Command extends \WP_CLI\CommandWithDBObject {
RecursiveIteratorIterator::CHILD_FIRST
);
+ $files_to_unlink = $directories_to_delete... | Ensure the entire uploads directory is empty
Builds an array of files and directories to be removed, then removes
them. This ensures `RecursiveIteratorIterator` internal index isn't
messed up as we remove files. | wp-cli_export-command | train | php |
e8e0ac85368483f4a67381044d285e1a2f7947d1 | diff --git a/lib/active_scaffold/helpers/controller_helpers.rb b/lib/active_scaffold/helpers/controller_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/helpers/controller_helpers.rb
+++ b/lib/active_scaffold/helpers/controller_helpers.rb
@@ -29,7 +29,6 @@ module ActiveScaffold
parameters[:ei... | Fix returning to nested scaffold with polymorphic constraint | activescaffold_active_scaffold | train | rb |
0b8d6db40fba03a030b9c9f27c7e2620375a78d7 | diff --git a/pyemma/coordinates/data/featurizer.py b/pyemma/coordinates/data/featurizer.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/data/featurizer.py
+++ b/pyemma/coordinates/data/featurizer.py
@@ -447,7 +447,7 @@ class BackboneTorsionFeature(DihedralFeature):
self._psi_inds = indices[np.in1d(... | [coor/featurizer] fix bug in BackboneTorsions (returned (psi, psi) for each residue).
Luckily this has not been released in the prior version. | markovmodel_PyEMMA | train | py |
490a01db16aaa83d46f800d07b966f4474ba4668 | diff --git a/jupyter-js-widgets/src/widget_int.js b/jupyter-js-widgets/src/widget_int.js
index <HASH>..<HASH> 100644
--- a/jupyter-js-widgets/src/widget_int.js
+++ b/jupyter-js-widgets/src/widget_int.js
@@ -49,7 +49,10 @@ var IntSliderView = widget.DOMWidgetView.extend({
.hide();
this.$slider = ... | Fix broken int/float sliders,
The JS event was not triggering the callback. I think these
changes were caused by the small split. An accidental update
of components may have cause the problem. | jupyter-widgets_ipywidgets | train | js |
aa64482c9de78672b67e09adefe346e0e250d7af | diff --git a/src/pam/version.py b/src/pam/version.py
index <HASH>..<HASH> 100644
--- a/src/pam/version.py
+++ b/src/pam/version.py
@@ -1,3 +1,3 @@
-VERSION = '2.0.0'
+VERSION = '2.0.2'
AUTHOR = 'David Ford <david.ford@blue-labs.org>'
-RELEASED = '2022 March 10'
+RELEASED = '2022 March 17' | update the version to <I> | FirefighterBlu3_python-pam | train | py |
c623326abd2d35661134e6eae12cba12f11a2f00 | diff --git a/chui/chui.js b/chui/chui.js
index <HASH>..<HASH> 100644
--- a/chui/chui.js
+++ b/chui/chui.js
@@ -1764,16 +1764,20 @@ $.UIScrollingActive = false;
var checkmark = '<checkmark>✓</checkmark>';
item.insert(checkmark);
item.bind($.userAction, function() {
- listitems.each(function(... | Fixed problem where selection list items were selectable while scrolling. | chocolatechip-ui_chocolatechipui | train | js |
08341437e09524f757be435b185c564e8de8101d | diff --git a/src/data.js b/src/data.js
index <HASH>..<HASH> 100644
--- a/src/data.js
+++ b/src/data.js
@@ -178,11 +178,6 @@ function internalRemoveData( elem, name, pvt /* For internal use only */ ){
jQuery.extend({
cache: {},
- deletedIds: [],
-
- // Remove at next major release (1.9/2.0)
- uuid: 0,
-
// Unique... | Remove deprecated $.uuid and dunseled $.deletedIds. | jquery_jquery | train | js |
e0c38114e92c5e3941b5aeddd39f87cf574a02e9 | diff --git a/spec/private/vendor/facets/singular_spec.rb b/spec/private/vendor/facets/singular_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/private/vendor/facets/singular_spec.rb
+++ b/spec/private/vendor/facets/singular_spec.rb
@@ -35,6 +35,14 @@ describe Language::English::Inflect, "#singular" do
"news".singul... | Add cases that were failing in pluralization specs to singularization spec. | wycats_merb | train | rb |
5e6ffe6748871096632c7a788e94ca082f418a9c | diff --git a/python/sparknlp/functions.py b/python/sparknlp/functions.py
index <HASH>..<HASH> 100644
--- a/python/sparknlp/functions.py
+++ b/python/sparknlp/functions.py
@@ -7,7 +7,6 @@ import sparknlp
def map_annotations(f, output_type: DataType):
- sys.modules['sparknlp.annotation'] = sparknlp # Makes Annot... | Remove sys path redirection | JohnSnowLabs_spark-nlp | train | py |
1bd015ea4a3294940a22e37d864d8cbad77c2609 | diff --git a/lib/stripe/resources/checkout/session.rb b/lib/stripe/resources/checkout/session.rb
index <HASH>..<HASH> 100644
--- a/lib/stripe/resources/checkout/session.rb
+++ b/lib/stripe/resources/checkout/session.rb
@@ -4,6 +4,7 @@ module Stripe
module Checkout
class Session < APIResource
extend Strip... | Codegen for openapi <I>a<I>cd (#<I>) | stripe_stripe-ruby | train | rb |
d7b360f34358869cf3e126dd4e08691af0b13654 | diff --git a/lib/modules/apostrophe-areas/lib/api.js b/lib/modules/apostrophe-areas/lib/api.js
index <HASH>..<HASH> 100644
--- a/lib/modules/apostrophe-areas/lib/api.js
+++ b/lib/modules/apostrophe-areas/lib/api.js
@@ -514,7 +514,7 @@ module.exports = function(self, options) {
return false;
}
... | change preference to cloneable | apostrophecms_apostrophe | train | js |
32388802270f86e994f8445b3a0be1b52c72d44e | diff --git a/src/Toc/MessageBuilder.php b/src/Toc/MessageBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Toc/MessageBuilder.php
+++ b/src/Toc/MessageBuilder.php
@@ -82,6 +82,7 @@ class MessageBuilder
$body = [
'bizID' => $this->bizID,
'bizExtraID' => $this->bizExtraID,
+ ... | add shardingid in build | zanphp_nsq-client-copy | train | php |
c3569aef63067f9b76fd41df6fdf4bd66f602d05 | diff --git a/source/factory.js b/source/factory.js
index <HASH>..<HASH> 100644
--- a/source/factory.js
+++ b/source/factory.js
@@ -25,6 +25,7 @@ const NOOP = () => {};
* Options for creating a resource
* @typedef {UserOptions} PutOptions
* @property {Boolean=} overwrite - Whether or not to overwrite existing file... | Add missing documentation for maxContentLength option
This option was added in #<I> but not documented. | perry-mitchell_webdav-client | train | js |
b7de132d31e94832757ccf4770d5a7685e54c8e3 | diff --git a/tests/test_cookiecutter_generation.py b/tests/test_cookiecutter_generation.py
index <HASH>..<HASH> 100755
--- a/tests/test_cookiecutter_generation.py
+++ b/tests/test_cookiecutter_generation.py
@@ -298,4 +298,4 @@ def test_pycharm_docs_removed(cookies, context, use_pycharm, pycharm_docs_exist)
with ... | Compare boolean with is instead of equality | pydanny_cookiecutter-django | train | py |
fc546b65c814128197f1cca5d8cf0835094b42b6 | diff --git a/src/widgets/TbEditable.php b/src/widgets/TbEditable.php
index <HASH>..<HASH> 100644
--- a/src/widgets/TbEditable.php
+++ b/src/widgets/TbEditable.php
@@ -520,8 +520,8 @@ class TbEditable extends CWidget
//wrap in anonymous function for live update
if($this->liveTarget) {
- $s... | capsulate yiiEditable to prevent rebinding of ajaxUpdate.editable event | clevertech_YiiBooster | train | php |
0b62f85c49d2d4bf39c89ad815fb499d5227b284 | diff --git a/test/functional/ft_2_errors.rb b/test/functional/ft_2_errors.rb
index <HASH>..<HASH> 100644
--- a/test/functional/ft_2_errors.rb
+++ b/test/functional/ft_2_errors.rb
@@ -119,6 +119,11 @@ class FtProcessStatusTest < Test::Unit::TestCase
assert_equal 1, ps.errors.size
+ #p ps.expressions.size
+ ... | some debug output to understand error handling | jmettraux_ruote | train | rb |
e524dcac6d15831e87b347f89c796ecbf60ef27f | diff --git a/autocorrect/utils.py b/autocorrect/utils.py
index <HASH>..<HASH> 100644
--- a/autocorrect/utils.py
+++ b/autocorrect/utils.py
@@ -23,7 +23,7 @@ RE = '[A-Za-z]+'
def words_from_archive(filename, include_dups=False, map_case=False):
"""extract words from a text file in the archive"""
bz2 = os.path... | Fix problem when loading the txt files on windows
os.path.join('words', filename) created a windows like address while the tarfile package uses linux like file addresses | phatpiglet_autocorrect | train | py |
ff54b6bddcefab45339d8dc2b13776b92bdc04b9 | diff --git a/commands/limit_darwin.go b/commands/limit_darwin.go
index <HASH>..<HASH> 100644
--- a/commands/limit_darwin.go
+++ b/commands/limit_darwin.go
@@ -75,8 +75,8 @@ func tweakLimit() {
jww.ERROR.Println("Unable to obtain rLimit", err)
}
if rLimit.Cur < rLimit.Max {
- rLimit.Max = 10000
- rLimit.Cur = 1... | commands: Adjust rlimit to <I>
See #<I> | gohugoio_hugo | train | go |
a7bc31b011586f09ec3151c3b23ec39353018e62 | diff --git a/command/node_drain_test.go b/command/node_drain_test.go
index <HASH>..<HASH> 100644
--- a/command/node_drain_test.go
+++ b/command/node_drain_test.go
@@ -238,7 +238,7 @@ func TestNodeDrainCommand_Monitor(t *testing.T) {
require.Contains(out, fmt.Sprintf("Alloc %q draining", a.ID))
}
- expected :=... | fix broken test expectation from message change (#<I>) | hashicorp_nomad | train | go |
2c11b37fbd19ab07816b7d46e671f7b618f5ef9c | diff --git a/lib/uploaders/BaseUploader.php b/lib/uploaders/BaseUploader.php
index <HASH>..<HASH> 100644
--- a/lib/uploaders/BaseUploader.php
+++ b/lib/uploaders/BaseUploader.php
@@ -48,7 +48,9 @@ class BaseUploader extends Model
*/
public static function normalizeSize($size)
{
- switch (strtoupp... | php7 notice on normalize file size | ExtPoint_yii2-file | train | php |
d34a8246bdf0b0012bb89b2f01ab8b39d2134f04 | diff --git a/extract.py b/extract.py
index <HASH>..<HASH> 100755
--- a/extract.py
+++ b/extract.py
@@ -14,8 +14,7 @@ class FSBExtractor:
def init_parser(self):
parser = argparse.ArgumentParser(description=self.description)
- parser.add_argument('fsb_file',
- nargs='*', type=argparse.FileType('rb'), default=[s... | Drop argparse.FileType usage in the extractor
argparse opens all the files at once which leaks handles like crazy. | HearthSim_python-fsb5 | train | py |
8e1519ef264ef96e9227d3e0589d979e0d773de3 | diff --git a/src/bundle/eZ/RichText/Renderer.php b/src/bundle/eZ/RichText/Renderer.php
index <HASH>..<HASH> 100644
--- a/src/bundle/eZ/RichText/Renderer.php
+++ b/src/bundle/eZ/RichText/Renderer.php
@@ -542,14 +542,14 @@ class Renderer implements RendererInterface
new AuthorizationAttribute(
... | EZP-<I>: Fixed rendering of embed locations (#<I>) | ezsystems_ezplatform-richtext | train | php |
0ac0a0a268b071925a8461e6ea7c8b05cca4e621 | diff --git a/client/state/reader/posts/normalization-rules.js b/client/state/reader/posts/normalization-rules.js
index <HASH>..<HASH> 100644
--- a/client/state/reader/posts/normalization-rules.js
+++ b/client/state/reader/posts/normalization-rules.js
@@ -42,7 +42,6 @@ import waitForImagesToLoad from 'lib/post-normalize... | Reader: Stop inlining one-liner posts (#<I>)
They've never really worked well and cause confusion. | Automattic_wp-calypso | train | js |
ef5069210ff7946e783a5810d422d593926782b7 | diff --git a/pip_utils/dependents.py b/pip_utils/dependents.py
index <HASH>..<HASH> 100644
--- a/pip_utils/dependents.py
+++ b/pip_utils/dependents.py
@@ -21,7 +21,7 @@ def dependencies(dist, recursive=False, info=False):
def case_sorted(items):
"""Return unique list sorted in case-insensitive order."""... | Replace useless use of set comprehension with set() | brbsix_pip-utils | train | py |
ab9035acd261fa79dd95138b2d25e7990490f1c4 | diff --git a/telethon/tl/tlobject.py b/telethon/tl/tlobject.py
index <HASH>..<HASH> 100644
--- a/telethon/tl/tlobject.py
+++ b/telethon/tl/tlobject.py
@@ -15,7 +15,11 @@ def _datetime_to_timestamp(dt):
dt = dt.replace(tzinfo=timezone.utc)
# We use .total_seconds() method instead of simply dt.timestamp(), ... | Make large dates wrap around
Closes #<I>. | LonamiWebs_Telethon | train | py |
1311a320a8bbc6688ee2de3b5d08a7db7f7e4df4 | diff --git a/plenum/server/replica.py b/plenum/server/replica.py
index <HASH>..<HASH> 100644
--- a/plenum/server/replica.py
+++ b/plenum/server/replica.py
@@ -1782,7 +1782,7 @@ class Replica(HasActionQueue, MessageProcessor, HookManager):
self.discard(msg, reason="Checkpoint already stable", logMethod=self... | INDY-<I>: fix condition of discard checkpoints in processing | hyperledger_indy-plenum | train | py |
c8bff6a08a5784c3c81e5f5c73fd7ce0ecf8f2f6 | diff --git a/pythonforandroid/archs.py b/pythonforandroid/archs.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/archs.py
+++ b/pythonforandroid/archs.py
@@ -176,7 +176,7 @@ class Archx86(Arch):
class Archx86_64(Arch):
arch = 'x86_64'
- toolchain_prefix = 'x86'
+ toolchain_prefix = 'x86_64'
comm... | Allow x<I>_<I> To Build (#<I>)
* Update build.py
* Use Proper Toolchain | kivy_python-for-android | train | py,py |
89a52df01c0431ec377f6ad25e05ba4feed80888 | diff --git a/server/src/main/java/com/bazaarvoice/auth/hmac/server/RequestDecoder.java b/server/src/main/java/com/bazaarvoice/auth/hmac/server/RequestDecoder.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/com/bazaarvoice/auth/hmac/server/RequestDecoder.java
+++ b/server/src/main/java/com/bazaarvoice/auth/h... | Removed check for available bytes in input stream. (#<I>)
The method InputStream.available() by default returns 0 available bytes. It is considered
an estimate and should not be used as a gauge to determine more data should be read. Instead
opting to always read until the end of the stream denoted by a -1 has been r... | bazaarvoice_jersey-hmac-auth | train | java |
019efa8b866c871e09c763bb5603ad97c508c8e4 | diff --git a/chess/engine.py b/chess/engine.py
index <HASH>..<HASH> 100644
--- a/chess/engine.py
+++ b/chess/engine.py
@@ -1581,9 +1581,10 @@ class UciProtocol(Protocol):
if ponder and best.move and best.ponder:
self.pondering = True
- engine.board.... | Use full move stack for UCI pondering | niklasf_python-chess | train | py |
2cc92f09ce7b2f73d5cbc09f5ae4f31f3f9ae3b4 | diff --git a/lib/FusePump/Cli/Logger.php b/lib/FusePump/Cli/Logger.php
index <HASH>..<HASH> 100644
--- a/lib/FusePump/Cli/Logger.php
+++ b/lib/FusePump/Cli/Logger.php
@@ -21,6 +21,7 @@ class Logger
);
public static $errorColour = 'red';
+ public static $eol = PHP_EOL;
/**
* Output log messag... | Define end of line as static variable | FusePump_cli.php | train | php |
b40f423d574fd69c96f358a68b4b63fb2b5fbb4b | diff --git a/kappa/function.py b/kappa/function.py
index <HASH>..<HASH> 100644
--- a/kappa/function.py
+++ b/kappa/function.py
@@ -76,10 +76,10 @@ class Function(object):
if 'vpc_config' in self._config:
if 'security_group_ids' in self._config['vpc_config']:
sgids = self._config['... | Fix vpc_config parameters
Boto expects SecurityGroupIds and SubnetIds to be arrays instead of a strings separated with ",". | garnaat_kappa | train | py |
8087e29b4b075962aadf70d00eb809ad84ec1fe7 | diff --git a/lib/rule/tech.js b/lib/rule/tech.js
index <HASH>..<HASH> 100644
--- a/lib/rule/tech.js
+++ b/lib/rule/tech.js
@@ -6,6 +6,8 @@ var legacyTech = [
'cobol',
'cvs',
/front\s*page/,
+ 'rcs',
+ 'sccs',
'sourcesafe',
/vb\s*6/,
/visual\s*basic\s*6/, | Add RCS and SCSS to legacy technology
Resolves #<I> | rowanmanning_joblint | train | js |
fafead7c858b5c872f028004ff05c57d96adbaae | diff --git a/recommender/synth.py b/recommender/synth.py
index <HASH>..<HASH> 100644
--- a/recommender/synth.py
+++ b/recommender/synth.py
@@ -29,7 +29,8 @@ common = gcp.CommonTemplates()
for version in versions:
library = gapic.py_library(
"recommender", version,
- include_protos=True
+ in... | chore(recommender): correct config path in synth file for recommender (#<I>) | googleapis_google-cloud-python | train | py |
fe7bafb98f024d6e02aaeed66cd9aaf09d9390f7 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -62,9 +62,9 @@ author = u'Andres Weber'
# built documents.
#
# The short X.Y version.
-version = u'1.0.5'
+version = u'1.1.4'
# The full version, including alpha/beta/rc tags.
-release = u'1.0.5'
+release =... | Version up in conf and version.py | AndresMWeber_Nomenclate | train | py,py |
8fbea0fe4d93bc58ec554bfeef3d873136f8a5b0 | diff --git a/src/Symfony/Component/Process/PhpExecutableFinder.php b/src/Symfony/Component/Process/PhpExecutableFinder.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Process/PhpExecutableFinder.php
+++ b/src/Symfony/Component/Process/PhpExecutableFinder.php
@@ -34,8 +34,8 @@ class PhpExecutableFinder
... | [Process] fixed HHVM usage on the CLI | symfony_symfony | train | php |
7c4092eecb616eb658907e4e96561721abf0073e | diff --git a/src/LearnositySdk/Request/DataApi.php b/src/LearnositySdk/Request/DataApi.php
index <HASH>..<HASH> 100644
--- a/src/LearnositySdk/Request/DataApi.php
+++ b/src/LearnositySdk/Request/DataApi.php
@@ -76,10 +76,12 @@ class DataApi
} else {
throw new Exception(Json::encode($data))... | Fixed endless loop due to the new next token, only request recursive if data is not empty | Learnosity_learnosity-sdk-php | train | php |
6cc5135d2d7100684b4d3741b7be0927c7698159 | diff --git a/ocrmypdf/pipeline.py b/ocrmypdf/pipeline.py
index <HASH>..<HASH> 100644
--- a/ocrmypdf/pipeline.py
+++ b/ocrmypdf/pipeline.py
@@ -806,6 +806,7 @@ def copy_final(
from shutil import copyfileobj
with open(input_file, 'rb') as input_stream:
copyfileobj(input_stream, sys.stdout.b... | Output to stdout: ensure stdout is flushed to prevent truncation errors | jbarlow83_OCRmyPDF | train | py |
3374987b06c8320957dbdfd87070082a050353a7 | diff --git a/lib/ohm/redis.rb b/lib/ohm/redis.rb
index <HASH>..<HASH> 100644
--- a/lib/ohm/redis.rb
+++ b/lib/ohm/redis.rb
@@ -53,7 +53,7 @@ module Ohm
PROCESSOR_IDENTITY = lambda { |reply| reply }
PROCESSOR_CONVERT_TO_BOOL = lambda { |reply| reply == 0 ? false : reply }
- PROCESSOR_SPLIT_KEYS = lambda {... | Adapt keys command to new reply type | soveran_ohm | train | rb |
5eb893f72d189a7ad82c9a6f45873e2317f202d5 | diff --git a/actionpack/lib/action_controller/rack_process.rb b/actionpack/lib/action_controller/rack_process.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/rack_process.rb
+++ b/actionpack/lib/action_controller/rack_process.rb
@@ -189,6 +189,8 @@ end_msg
if @body.respond_to?(:call)
... | Don't use deprecated String#each | rails_rails | train | rb |
528410a8d881c9900bf17d6cbb402d119168a06f | diff --git a/gradlePlugin/src/main/java/com/github/spotbugs/internal/spotbugs/FindBugsClasspathValidator.java b/gradlePlugin/src/main/java/com/github/spotbugs/internal/spotbugs/FindBugsClasspathValidator.java
index <HASH>..<HASH> 100644
--- a/gradlePlugin/src/main/java/com/github/spotbugs/internal/spotbugs/FindBugsClas... | Fixed version pattern to work also with "spotbugs-<I>-SNAPSHOT.jar" | spotbugs_spotbugs | train | java |
f1d787f409b883b39a6f69e32a82f36634c3a35d | diff --git a/test/engine_test.rb b/test/engine_test.rb
index <HASH>..<HASH> 100644
--- a/test/engine_test.rb
+++ b/test/engine_test.rb
@@ -158,8 +158,8 @@ context "Rabl::Engine" do
}
scope = Object.new
scope.instance_variable_set :@user, User.new(:name => 'leo', :city => 'LA', :age => 12)
- ... | Correct compare hashes converted to strings using Ruby <I> (closes #<I>) | nesquena_rabl | train | rb |
0a13d16e4743305986e833c531c72d1b3c8d99b0 | diff --git a/examples/navigation-guards/app.js b/examples/navigation-guards/app.js
index <HASH>..<HASH> 100644
--- a/examples/navigation-guards/app.js
+++ b/examples/navigation-guards/app.js
@@ -52,7 +52,7 @@ const router = new VueRouter({
// and check them in a global before hook
{ path: '/bar', component: B... | Fix a typo in examples (#<I>)
canDeactivate => beforeRouteLeave | vuejs_vue-router | train | js |
faf222f62ae748b7ebd964cd04a4e579022032ca | diff --git a/dftimewolf/lib/state.py b/dftimewolf/lib/state.py
index <HASH>..<HASH> 100644
--- a/dftimewolf/lib/state.py
+++ b/dftimewolf/lib/state.py
@@ -192,7 +192,7 @@ class DFTimewolfState(object):
if errors:
print('dfTimewolf encountered one or more errors:')
for error, critical in errors:
- ... | Fix #<I> (#<I>) | log2timeline_dftimewolf | train | py |
74d78c5444891d378633ddbc333b88d4cf7cff94 | diff --git a/react/rollup.config.js b/react/rollup.config.js
index <HASH>..<HASH> 100644
--- a/react/rollup.config.js
+++ b/react/rollup.config.js
@@ -4,10 +4,11 @@ import resolve from 'rollup-plugin-node-resolve';
import commonjs from "rollup-plugin-commonjs";
export default {
+ external: ['react', 'react-dom'],
... | rollup to build commonjs format instead of es | sparkdesignsystem_spark-design-system | train | js |
722313b9e7b6f1eb6f69eda868bfaa9df3147f71 | diff --git a/search/plugins/ezsolr/ezsolr.php b/search/plugins/ezsolr/ezsolr.php
index <HASH>..<HASH> 100644
--- a/search/plugins/ezsolr/ezsolr.php
+++ b/search/plugins/ezsolr/ezsolr.php
@@ -527,7 +527,7 @@ class eZSolr implements ezpSearchEngine
if ( !empty( $translationsToRemove ) )
{
- ... | Fix EZP-<I>: Solr returns wrong results after object language deletion
Corrected parameter mistake (even if it worked with a contentObject. | ezsystems_ezfind | train | php |
8b25fccb0dcee7ded92ba81b560d9867d472b0c1 | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/gui/AnalysisRun.java b/findbugs/src/java/edu/umd/cs/findbugs/gui/AnalysisRun.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/gui/AnalysisRun.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/gui/AnalysisRun.java
@@ -36,6 +36,7 @@ public clas... | Added support for keeping track of the current sort order of the
run's tree model.
git-svn-id: <URL> | spotbugs_spotbugs | train | java |
7b4428b330442af23757b3c4d511abfc3d66b45a | diff --git a/closure/goog/vec/float32array.js b/closure/goog/vec/float32array.js
index <HASH>..<HASH> 100644
--- a/closure/goog/vec/float32array.js
+++ b/closure/goog/vec/float32array.js
@@ -38,7 +38,7 @@ goog.provide('goog.vec.Float32Array');
* @constructor
*/
goog.vec.Float32Array = function(p0) {
- this.length... | Ensure Array-like types have a properly typed 'length' property in
preparation for cl/<I>.
-------------
Created by MOE: <URL> | google_closure-library | train | js,js |
4303e5b0b0115c7fd951448a7089c5fd5683a407 | diff --git a/bin/cmd.js b/bin/cmd.js
index <HASH>..<HASH> 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -11,5 +11,6 @@ if (flag === '--version') {
standard({
cwd: process.cwd(),
+ bare: flag === '--bare' || flag === '-b',
verbose: flag === '--verbose' || flag === '-v'
})
diff --git a/index.js b/index.js
index ... | add bare option to help debug issues in `standard` | standard_standard-engine | train | js,js |
8e26bb4ba7a29374f1af1d5bd63ec14258dcd227 | diff --git a/ceph_deploy/hosts/centos/install.py b/ceph_deploy/hosts/centos/install.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/hosts/centos/install.py
+++ b/ceph_deploy/hosts/centos/install.py
@@ -6,6 +6,8 @@ def install(distro, version_kind, version, adjust_repos):
release = distro.release
machine = di... | call `yum clean` when installing in RHEL/CentOS | ceph_ceph-deploy | train | py |
7890b7945d8e0247a6a6a2ff5f374f47c9467953 | diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/Eloquent/Model.php
+++ b/src/Illuminate/Database/Eloquent/Model.php
@@ -1155,9 +1155,9 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonS... | revert PR <I> breaking change (#<I>) | laravel_framework | train | php |
1904033ae19c8d1a1ba037bc408a1f6c13f09988 | diff --git a/ui/CommandManager.js b/ui/CommandManager.js
index <HASH>..<HASH> 100644
--- a/ui/CommandManager.js
+++ b/ui/CommandManager.js
@@ -29,7 +29,7 @@ export default class CommandManager {
this._initialize()
// on any update we will recompute
- this.editorSession.onUpdate(this._onSessionUpdate, thi... | Update CommandManager on 'pre-render'
Because it depends on everything which should be done
as model or state update, but before any tool is rendered. | substance_substance | train | js |
2bff60c27318bb722cc677413d0c793f63ea71e3 | diff --git a/lib/runt/sugar.rb b/lib/runt/sugar.rb
index <HASH>..<HASH> 100644
--- a/lib/runt/sugar.rb
+++ b/lib/runt/sugar.rb
@@ -83,6 +83,20 @@
#
# DIWeek.new(Friday)
#
+# === DIMonth
+#
+# self.<lowercase ordinal>_<day name>()
+#
+# Example:
+#
+# self.first_saturday()
+# self.last_tuesday()
+#... | Yet more improved documentation for sugari part III | mlipper_runt | train | rb |
2e0266301251183839cbfb14572f54f56d927c0b | diff --git a/src/Bootstrap/RegisterProviders.php b/src/Bootstrap/RegisterProviders.php
index <HASH>..<HASH> 100644
--- a/src/Bootstrap/RegisterProviders.php
+++ b/src/Bootstrap/RegisterProviders.php
@@ -16,6 +16,7 @@ use LaravelZero\Framework\Components;
use Illuminate\Contracts\Foundation\Application;
use NunoMaduro... | Reverts removal of summary service provider | laravel-zero_framework | train | php |
5ebe3adcdfdac7008f2597fa33d438bcb314155a | diff --git a/lib/node-rules.js b/lib/node-rules.js
index <HASH>..<HASH> 100644
--- a/lib/node-rules.js
+++ b/lib/node-rules.js
@@ -7,12 +7,33 @@
function RuleEngine(rules) {
- this.rules = rules;
+ this.rules = [];
+
+ if(typeof(rules) != "undefined") {
+ this.register(rules);
+... | added Rules.register to add new rules. Fixes #<I> | mithunsatheesh_node-rules | train | js |
4a186249275f4c8b410714f0b892e318fe22c238 | diff --git a/src/Symfony/Component/Validator/Constraints/Url.php b/src/Symfony/Component/Validator/Constraints/Url.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Validator/Constraints/Url.php
+++ b/src/Symfony/Component/Validator/Constraints/Url.php
@@ -14,5 +14,5 @@ namespace Symfony\Component\Validator\C... | [Validator] removed ftp and ftps from default url protocols | symfony_symfony | train | php |
2ed84dc31473e17273fa9f0740e64d2abac952cd | diff --git a/library/Theme/FileUploads.php b/library/Theme/FileUploads.php
index <HASH>..<HASH> 100644
--- a/library/Theme/FileUploads.php
+++ b/library/Theme/FileUploads.php
@@ -44,6 +44,10 @@ class FileUploads
*/
public function mimeTypes($mimes)
{
+ // Archives
+ $mimes['zip'] = 'applic... | Allow archive (zip, gzip) in file upload | helsingborg-stad_Municipio | train | php |
2377c32a13f11ae4a295480871a750be075051bc | diff --git a/mapsforge-samples-android/src/main/java/org/mapsforge/samples/android/DownloadCustomLayerViewer.java b/mapsforge-samples-android/src/main/java/org/mapsforge/samples/android/DownloadCustomLayerViewer.java
index <HASH>..<HASH> 100644
--- a/mapsforge-samples-android/src/main/java/org/mapsforge/samples/android... | DownloadCustomLayerViewer: change user agent | mapsforge_mapsforge | train | java |
e555abb8ec8b828f386921616b943b7953e861bd | diff --git a/xcffib/__init__.py b/xcffib/__init__.py
index <HASH>..<HASH> 100644
--- a/xcffib/__init__.py
+++ b/xcffib/__init__.py
@@ -111,6 +111,7 @@ class List(Protobj):
while cur < size:
item = typ(parent, cur)
cur += item.bufsize
+ self.list.append(item)... | Actually add the create object to the list | tych0_xcffib | train | py |
d503b807d5f7037a1f5bb8621887d6c792113cd9 | diff --git a/cmd/kubeadm/app/preflight/checks.go b/cmd/kubeadm/app/preflight/checks.go
index <HASH>..<HASH> 100644
--- a/cmd/kubeadm/app/preflight/checks.go
+++ b/cmd/kubeadm/app/preflight/checks.go
@@ -986,12 +986,16 @@ func RunJoinNodeChecks(execer utilsexec.Interface, cfg *kubeadmapi.NodeConfigura
criCtlChecker)... | Fix adding FileContentCheck
Current code adds FileContentCheck only for the first API
Server mentioned in the command line. The test is never added
as net.ParseIP always fails because <address>:<port> is passed
to it instead of <address>.
Fixed both issues by introducing a loop over all API Servers
and splitting <add... | kubernetes_kubernetes | train | go |
75cda2fe647c03bb305ccf23c3f743944a2e7af5 | diff --git a/aws_google_auth/google.py b/aws_google_auth/google.py
index <HASH>..<HASH> 100644
--- a/aws_google_auth/google.py
+++ b/aws_google_auth/google.py
@@ -255,9 +255,11 @@ class Google:
raise ExpectedGoogleException('Invalid username or password')
if "signin/rejected" in sess.url:
- ... | Update bgresponse copy to mention logged out state | cevoaustralia_aws-google-auth | train | py |
487d52d17e968a769e3ba420a8bcf1b7b50f603d | diff --git a/test/test_mock.rb b/test/test_mock.rb
index <HASH>..<HASH> 100644
--- a/test/test_mock.rb
+++ b/test/test_mock.rb
@@ -8,13 +8,17 @@ describe Muack::Mock do
'obj'
end
+ ensure_reset = lambda{
+ [obj, moo].each do |o|
+ o.methods.select{ |m| m.to_s.start_with?('__muack_mock') }.
+ s... | need to make sure everything is reset even if verify==false | godfat_muack | train | rb |
c2d1f99e7eebcc61f97ba06e40f5fb534169223b | diff --git a/run.go b/run.go
index <HASH>..<HASH> 100644
--- a/run.go
+++ b/run.go
@@ -206,7 +206,7 @@ func Run(f func(*Image) error, width, height, scale int, title string) error {
// As t is not accurate 1/60[sec], errors are accumulated
// (generally, errors are positive values).
// To make the FPS stabl... | ui: less error adjustment is better | hajimehoshi_ebiten | train | go |
73fda057e2243a7c8f5e4799217116a95b8502c8 | diff --git a/indra/util/statement_presentation.py b/indra/util/statement_presentation.py
index <HASH>..<HASH> 100644
--- a/indra/util/statement_presentation.py
+++ b/indra/util/statement_presentation.py
@@ -419,6 +419,7 @@ class BasicStats(StmtStatRow):
self._count = 0
self.__stmt_hashes = set()
... | Only create the source dict once. | sorgerlab_indra | train | py |
bc0c02453e1746083173301857edfc7fdccb8a9c | diff --git a/sos/report/plugins/openvswitch.py b/sos/report/plugins/openvswitch.py
index <HASH>..<HASH> 100644
--- a/sos/report/plugins/openvswitch.py
+++ b/sos/report/plugins/openvswitch.py
@@ -79,11 +79,11 @@ class OpenVSwitch(Plugin):
# Capture DPDK and other parameters
"ovs-vsctl -t 5 get ... | [openvswitch] ensure -t 5 for ovs-vsctl where needed
Most instances of ovs-vsctl were run without a previous check. If
the vswitchd is in a hung state, the command may never timeout. Ensure
that most places are using the timeout option. | sosreport_sos | train | py |
0a14294887c8e412c7ba069d5e9f2394e3149953 | diff --git a/gobgpd/main.go b/gobgpd/main.go
index <HASH>..<HASH> 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -237,6 +237,7 @@ func main() {
if config.CheckPolicyDifference(policyConfig, &newConfig.Policy) {
log.Info("Policy config is updated")
bgpServer.UpdatePolicy(newConfig.Policy)
+ pol... | gobgpd: update policyConfig when checked policy difference | osrg_gobgp | train | go |
6a986008606470f2a794e01038ec12c10ee97c9f | diff --git a/v2/option.go b/v2/option.go
index <HASH>..<HASH> 100644
--- a/v2/option.go
+++ b/v2/option.go
@@ -17,6 +17,14 @@ type Option interface {
// as a string, else it will be the long name.
Name() string
+ // ShortName always returns the short name of the option, or "" if there
+ // is no short name. The ... | Add LongName and ShortName methods to the Option interface. | pborman_getopt | train | go |
679f2e12df5e56a41e2460f88ac44a2710fa2752 | diff --git a/web/handlers/get_preferences_for_user.go b/web/handlers/get_preferences_for_user.go
index <HASH>..<HASH> 100644
--- a/web/handlers/get_preferences_for_user.go
+++ b/web/handlers/get_preferences_for_user.go
@@ -12,21 +12,19 @@ import (
type GetPreferencesForUser struct {
PreferencesFinder services.Prefer... | Removes unneccessary struct field from handler | cloudfoundry-incubator_notifications | train | go |
37e1e7439155a5dc81d15c565430cbf40760c371 | diff --git a/tests/test_perf_tracking.py b/tests/test_perf_tracking.py
index <HASH>..<HASH> 100644
--- a/tests/test_perf_tracking.py
+++ b/tests/test_perf_tracking.py
@@ -15,6 +15,7 @@
import collections
import heapq
+import logging
import operator
import unittest
@@ -37,6 +38,8 @@ from zipline.utils.factory im... | TST: Add logging of sim params for perf tracker tests.
These tests use the random simulation parameters, which is leading
to an intermittent failure.
We may want to consider removing the randomness, but in the meantime
the randomness is exposing a case where the cost basis is not the value
expected, so logging the si... | quantopian_zipline | train | py |
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.