diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
//! Functions to support processing request/response bodies
use std::path::Path;
+use anyhow::anyhow;
use bytes::Bytes;
use log::*;
@@ -55,8 +56,31 @@ pub fn process_object(
let result = if let Some(matcher_type) = obj.get("pact:matcher:type") {
debug!("detected pact:matcher:type, will configure a matcher");
if !skip_m... | chore(FFI): Array contains variants need to be recursivly processed | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -53,7 +53,7 @@ pub(crate) enum Api {
}
#[derive(Serialize)]
-struct OutputMetadataWrapper {
+struct OutputMetadataDto {
/// Message ID of the output
#[serde(rename = "messageId")]
message_id: String,
@@ -72,7 +72,7 @@ struct OutputMetadataWrapper {
amount: u64,
}
-impl From<OutputMetadata> for OutputMetadataWrapper ... | chore(bindings): rename Wrapper to Dto | null | iotaledger/iota.rs | Apache License 2.0 | Rust |
/* eslint-disable import/no-extraneous-dependencies */
-const merge = require('webpack-merge');
+const merge = require('deepmerge');
const { bsSettings } = require('./packages/testing-karma-bs');
const createBaseConfig = require('./karma.conf.js');
+const overwriteMerge = (destinationArray, sourceArray) => sourceArray;... | chore: temporary pin Firefox 72 as 73 mixes SystemJs/EsModules and fails | null | open-wc/open-wc | MIT License | JavaScript |
@@ -38,7 +38,7 @@ defmodule Logflare.LogEvent do
[] -> %{}
[metadata] -> metadata
end)
- |> mapper(source)
+ |> mapper()
%__MODULE__{}
|> cast(params, [:valid, :validation_error, :id, :body])
@@ -54,7 +54,7 @@ defmodule Logflare.LogEvent do
def make(params, %{source: source}) do
changeset =
%__MODULE__{}
- |> cast(mapp... | chore: remove compilation error | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -8,11 +8,12 @@ package org.gluu.oxauth.client.session;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
+import javax.ws.rs.client.ClientBuilder;
+import javax.ws.rs.client.WebTarget;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.g... | chore: fix after upgrade to resteasy 4 | null | gluufederation/oxtrust | MIT License | Java |
@@ -75,16 +75,6 @@ class Configuration {
const config = fs.readFileSync(this.location, {"encoding": "utf-8"}).toString();
const parsedConfig = JSON.parse(config);
- // BEGIN migration code to be removed with the next version
- if (parsedConfig.oobe === undefined) {
- Logger.info("Looks like this might be an existing Va... | chore: Remove config migration code | null | hypfer/valetudo | Apache License 2.0 | JavaScript |
@@ -338,6 +338,8 @@ class RichContentEditor extends Component {
autoCapitalize={autoCapitalize}
autoComplete={autoComplete}
autoCorrect={autoCorrect}
+ ariaActiveDescendantID={ariaActiveDescendantID}
+ ariaAutoComplete={ariaAutoComplete}
ariaControls={ariaControls}
ariaDescribedBy={ariaDescribedBy}
ariaExpanded={ariaEx... | chore(linter): RichContentEditor | null | wix/ricos | MIT License | JavaScript |
@@ -110,7 +110,7 @@ global.mainWindow = mainWindow = null
app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required')
// Polyfill for webview iframe isolation
-app.commandLine.appendSwitch('disable-site-isolation-trials', true)
+app.commandLine.appendSwitch('site-isolation-trial-opt-out', false)
// Fix ... | chore: misc api change | null | poooi/poi | MIT License | JavaScript |
@@ -168,8 +168,7 @@ public DefaultCloudServiceManager(
}
@PostConstruct
- private void a() {
- // register the default factory
+ private void registerDefaultServiceFactory() {
this.addCloudServiceFactory("jvm", JVMLocalCloudServiceFactory.class);
}
| chore: rename the cloud service post construct listener method | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -31,9 +31,12 @@ internal final class ComponentManager {
internal let apiContext: APIContext
+ internal let adyenContext: AdyenContext
+
internal weak var presentationDelegate: PresentationDelegate?
internal init(paymentMethods: PaymentMethods,
+ adyenContext: AdyenContext,
configuration: DropInComponent.Configuratio... | chore: DropIn: Inject adyen context within the components | null | adyen/adyen-ios | MIT License | Swift |
@@ -39,7 +39,7 @@ public class JibBuildService implements BuildService {
private final Logger LOGGER = LoggerFactory.getLogger();
- private final String JIB_VERSION = "2.0.0";
+ private final String JIB_VERSION = "3.1.4";
private final String BUILD = "build";
private final String DOCKER_BUILD = "dockerBuild";
private f... | chore: upgrade jib-maven-plugin | null | dekorateio/dekorate | Apache License 2.0 | Java |
#!/bin/bash
+# https://github.com/GoogleChrome/chrome-launcher/blob/master/docs/chrome-flags-for-tools.md
google-chrome-unstable \
+ --headless \
--no-sandbox \
- --disable-background-networking \
+ --enable-automation \
+ --in-process-gpu \
+ --single-process \
+ --disable-dev-shm-usage \
+ --disable-client-side-phish... | chore: update chromium entrypoint with latest automation flags | null | lwjgl/lwjgl3-www | BSD 3-Clause New or Revised License | Shell |
@@ -76,7 +76,7 @@ exports.updateUserListCount = functions.firestore.document('/lists/{uid}').onCre
user.stats = user.stats || {};
user.stats.listsCreated = user.stats.listsCreated || 0;
user.stats.listsCreated += 1;
- return transaction.update(userRef, {stats: user.stats})
+ return transaction.update(userRef, { stats: ... | chore: changed the way we handle deep link bots with SSR | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | JavaScript |
@@ -8,12 +8,6 @@ const isSauce = (isCi && isCron) || process.argv.includes('--sauce')
module.exports = function (config) {
const sauceLabsLaunchers = {
- sauce_safari: {
- base: 'SauceLabs',
- browserName: 'Safari',
- version: '9.0',
- platform: 'OS X 10.11'
- },
sauce_edge_15: {
base: 'SauceLabs',
browserName: 'Micros... | chore: remove Safari 9 SauceLabs platform, it's unstable | null | sweetalert2/sweetalert2 | MIT License | JavaScript |
@@ -82,8 +82,11 @@ public class FileController
String content = (String) systemSettingManager.getSystemSetting( SettingKey.CUSTOM_JS, StringUtils.EMPTY );
+ if ( content != null )
+ {
writer.write( content );
}
+ }
@RequestMapping( value = "/script", method = RequestMethod.POST, consumes = "application/javascript" )
@P... | chore: Prevent NP on get custom script and stylesheet | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -1417,6 +1417,20 @@ impl Allowlist for WindowAllowlistConfig {
check_feature!(self, features, set_focus, "window-set-focus");
check_feature!(self, features, set_icon, "window-set-icon");
check_feature!(self, features, set_skip_taskbar, "window-set-skip-taskbar");
+ check_feature!(self, features, set_cursor_grab, "wi... | chore: add cursor allowlist checks in `to_features` function | null | tauri-apps/tauri | Apache License 2.0 | Rust |
@@ -97,17 +97,7 @@ namespace Microsoft.Playwright.Tests
[PlaywrightTest("page-event-console.spec.ts", "should not fail for window object")]
public async Task ShouldNotFailForWindowObject()
{
- IConsoleMessage message = null;
- void EventHandler(object sender, IConsoleMessage e)
- {
- message = e;
- Page.Console -= Even... | chore(test): improve flaky console test | null | microsoft/playwright-dotnet | MIT License | C# |
@@ -25,14 +25,14 @@ func newPostMemberHandler(s platform.UserResourceMappingService, resourceType pl
return func(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
- req, err := decodePostOrgMemberRequest(ctx, r)
+ req, err := decodePostMemberRequest(ctx, r)
if err != nil {
EncodeError(ctx, err, w)
return
}
m... | chore(http): genericize references to orgs in user_resource_mapping_service | null | influxdata/influxdb | MIT License | Go |
@@ -21,7 +21,7 @@ const PropertyPaneHelpButton = withTheme(({ theme }: Props) => {
const selectedWidgetType = selectedWidget?.type || "";
const dispatch = useDispatch();
const displayName =
- WidgetFactory.widgetConfigMap.get(selectedWidgetType)?.name || "";
+ WidgetFactory.widgetConfigMap.get(selectedWidgetType)?.disp... | chore: Fix widget help links from the property pane | null | appsmithorg/appsmith | Apache License 2.0 | TypeScript |
@@ -379,8 +379,9 @@ def sync_user_email_addresses(user):
):
# Bail out
return
- EmailAddress.objects.create(
- user=user, email=email, primary=False, verified=False
+ # get_or_create() to gracefully handle races
+ EmailAddress.objects.get_or_create(
+ user=user, email=email, defaults={"primary": False, "verified": Fals... | chore(account): gracefully handle race in sync | null | pennersr/django-allauth | MIT License | Python |
@@ -176,7 +176,7 @@ defmodule Logflare.LqlParserTest do
]} = Parser.parse("timestamp:now", @default_schema)
# use diff to reduce test flakiness
- assert DateTime.diff(now_ndt(), now_out, :millisecond) |> abs() <= 1500
+ assert DateTime.diff(now_ndt(), now_out, :millisecond) |> abs() <= 150
for {qs, shorthand, start_val... | chore: reduce millisecond time diffing further | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -489,6 +489,10 @@ export const getPostType = async (search: number | string): Promise<string> => {
}
export const getPostBySlug = async (slug: string): Promise<any[]> => {
+ if (!isWordpressAPIEnabled) {
+ throw new JsonError(`Need wordpress API to match slug ${slug}`, 404)
+ }
+
try {
const type = await getPostType... | chore: Short-circuit getPostBySlug when no API is available | null | owid/owid-grapher | MIT License | TypeScript |
const { promisify } = require(`bluebird`)
-const crypto = require(`crypto`)
const _ = require(`lodash`)
const tmpDir = require(`os`).tmpdir()
const sharp = require(`./safe-sharp`)
@@ -7,6 +6,7 @@ const sharp = require(`./safe-sharp`)
const duotone = require(`./duotone`)
const { getPluginOptions, healOptions } = require... | chore(gatsby-plugin-sharp): Use createContentDigest helper | null | gatsbyjs/gatsby | MIT License | JavaScript |
@@ -44,12 +44,13 @@ defmodule Realtime.TransactionFilter do
case parse_relation_filter(relation) do
{:ok, filter} ->
Enum.any?(changes, fn change -> change_matches(event, filter, change) end)
+
{:error, msg} ->
- Logger.warn("Could not parse relation filter: #{inspect msg}")
+ Logger.warn("Could not parse relation filt... | chore: filter TransactionFilter | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -111,6 +111,7 @@ function initialize_test {
cecho "YELLOW" ">>>>>>>>>>>>"
cecho "YELLOW" " Running test - '${TEST_FILE}'"
+ cecho "YELLOW" " Workdir - ${PWD}/${TEST_NAME}"
cecho "YELLOW" ">>>>>>>>>>>>"
mkdir ${TEST_NAME} && cd ${TEST_NAME} && npm init -y 1>/dev/null 2>/dev/null
| chore: add workdir to installation tests | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -35,7 +35,7 @@ try:
except ImportError:
'Assuming that requirements are not yet installed'
-__version__ = '0.1.1'
+__version__ = '0.1.5'
__author__ = 'Neural Networks and Deep Learning lab, MIPT'
__description__ = 'An open source library for building end-to-end dialog systems and training chatbots.'
__keywords__ = [... | chore: update module version to 0.1.5 | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -41,7 +41,6 @@ pub fn exec(env: &dyn Environment, opts: CanisterBuildOpts) -> DfxResult {
env.get_cache().install()?;
let build_mode_check = opts.check;
- let _all = opts.all;
// Option can be None in which case --all was specified
let canister_names = config
| chore: remove unused variable | null | dfinity/sdk | Apache License 2.0 | Rust |
#!/usr/bin/env bash
set -e
+
+### MAVEN CENTRAL
if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
cp .travis/travis-settings.xml $HOME/.m2/settings.xml
cd repairnator
# pushing snapshot to https://oss.sonatype.org/content/repositories/snapshots/fr/inria/repairnator/
mvn deploy -DskipTests... | chore: continuous deployment to new DockerHub org repairnator | null | eclipse/repairnator | MIT License | Shell |
@@ -45,8 +45,8 @@ if (process.env.RPC_URL || process.env.CHAIN_ID) {
);
}
- if (process.env.BLOCK_EXPLORER) {
if (
+ process.env.BLOCK_EXPLORER &&
!process.env.BLOCK_EXPLORER.startsWith('http://') && //DevSkim: ignore DS137138
!process.env.BLOCK_EXPLORER.startsWith('https://')
) {
@@ -55,7 +55,6 @@ if (process.env.RPC_... | chore: block_explorer refactor | null | synthetixio/synpress | MIT License | JavaScript |
set -e
+echo "Using $(go version)"
+read -rp "Continue? (y/n) " ok
+if [ "$ok" != "y" ] && [ "$ok" != "Y" ] && [ "$ok" != "yes" ]; then
+ echo "Exiting"
+ exit 1
+fi
+
if [ ! -z "$(git status --porcelain)" ]; then
echo "The git workspace must be clean"
exit 1
| chore: show go version before performing release build | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -60,7 +60,7 @@ elif _sys.version_info >= (3, 8, 0) and _platform.system() == 'Darwin':
# this is managed by git tag and updated on every release
# NOTE: this represents the NEXT release version
-__version__ = '3.0.5'
+__version__ = '3.1.0'
# do not change this line manually
# this is managed by proto/build-proto.sh ... | chore: bump version to 3.1 | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -12,11 +12,11 @@ BRANCH=`git rev-parse --symbolic-full-name --abbrev-ref HEAD` &&
# Publish the current branch
if [ "$BRANCH" = "master" ]; then
- npm run build:docs &&
+ # npm run build:docs &&
- npx standard-version &&
+ # npx standard-version &&
- git push --follow-tags origin $BRANCH
+ git push origin $BRANCH #-... | chore: disable tags | null | millsp/ts-toolbelt | Apache License 2.0 | Shell |
use super::{U128, U256, U512, U64};
-use num_enum::{TryFromPrimitive, TryFromPrimitiveError};
use serde::{Deserialize, Serialize, Serializer};
use std::{
convert::{TryFrom, TryInto},
@@ -8,6 +7,12 @@ use std::{
};
use strum::{AsRefStr, EnumString, EnumVariantNames};
+// compatibility re-export
+#[doc(hidden)]
+pub use ... | chore(core): alias&export error as ParseChainError | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
{
public static class ApplicationSettings
{
- public static string version = "0.5.9";
+ public static string version = "0.6.0";
}
public static class Environment
| chore: update build version to 0.6.0 | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -40,7 +40,8 @@ defmodule Ash.Resource.Transformers.BelongsToAttribute do
if valid_opts? do
entity
else
- {:error, "Relationship cannot be a primary key unless it is also marked as required"}
+ {:error,
+ "Relationship cannot be a primary key unless it is also marked as `allow_nil? false`"}
end
add_entity(entity_or_e... | chore: better error message for allow_nil? belongs to primary key | null | ash-project/ash | MIT License | Elixir |
@@ -533,6 +533,26 @@ impl BlockNumber {
_ => None,
}
}
+
+ /// Returns `true` if a numeric block number is set
+ pub fn is_number(&self) -> bool {
+ matches!(self, BlockNumber::Number(_))
+ }
+
+ /// Returns `true` if it's "latest"
+ pub fn is_latest(&self) -> bool {
+ matches!(self, BlockNumber::Latest)
+ }
+
+ /// Re... | chore: add blocknumber convenience impls | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -106,7 +106,7 @@ fi
if [ -z "$SKIP_IMAGE_BUILD" ]; then
echo "info: building docker images"
- DOCKER_REGISTRY_PREFIX=$DOCKER_REGISTRY_PREFIX IMAGE_TAG=$IMAGE_TAG make image
+ DOCKER_REGISTRY_PREFIX=$DOCKER_REGISTRY_PREFIX IMAGE_TAG=$IMAGE_TAG UI=1 SWAGGER=1 make image
else
echo "info: skip building docker images"
fi... | chore: enable UI and swagger API in local_up_chaos_mesh.sh | null | chaos-mesh/chaos-mesh | Apache License 2.0 | Shell |
@@ -78,50 +78,34 @@ remove_sort_aggregate_window
remove_sort_join
# Other skipped tests
-buckets # unbounded
-columns # failing with differences
-cov # unbounded
-covariance # failing with differences
-cumulative_sum # failing with differences
-cumulative_sum_default # failing with differences
-cumulative_sum_noop # fa... | chore: update fluxtest skip list | null | influxdata/influxdb | MIT License | Shell |
+/*
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
+ * under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. Camunda licenses this file to you under the Apache License,
+ * Version ... | chore(examples): fix license header | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -158,6 +158,7 @@ impl tls_codec::Deserialize for MlsCiphertext {
}
}
+// TODO(#1053): Replace with `derive(TlsSerialize)`.
impl tls_codec::Serialize for MlsMessage {
fn tls_serialize<W: std::io::Write>(&self, writer: &mut W) -> Result<usize, tls_codec::Error> {
match self.body {
@@ -167,6 +168,7 @@ impl tls_codec::S... | chore: Add `TODO(#1053)` | null | openmls/openmls | MIT License | Rust |
@@ -6,6 +6,7 @@ set -e
# 1 general
# 2 insufficient perms
+DOPPLER_DOMAIN="cli.doppler.com"
DEBUG=0
INSTALL=1
CLEAN_EXIT=0
@@ -317,10 +318,6 @@ fi
log_debug "Detected format '$format'"
-url="https://cli.doppler.com/download?os=$os&arch=$arch&format=$format"
-sig_url="https://cli.doppler.com/download/signature?os=$os&ar... | chore: send signature verification status to download url | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -192,7 +192,7 @@ class DropInTests: XCTestCase {
XCTAssertNotNil(topVC)
XCTAssertEqual(topVC!.sections.count, 2)
XCTAssertEqual(topVC!.sections[0].items.count, 2)
- XCTAssertTrue(topVC!.sections[0].footer!.title.contains("Select payment method for the remaining amount"))
+ XCTAssertTrue(topVC!.sections[0].footer!.ti... | chore: Update broken content test | null | adyen/adyen-ios | MIT License | Swift |
@@ -616,18 +616,16 @@ function getRuleOptions(ruleConfig) {
* optimization of functions, so it's best to keep the try-catch as isolated
* as possible
* @param {string} text The text to parse.
- * @param {Object} config The ESLint configuration object.
+ * @param {Object} providedParserOptions Options to pass to the par... | chore: make parse() a pure function in Linter (refs | null | eslint/eslint | MIT License | JavaScript |
@@ -69,6 +69,8 @@ copyFiles() {
"${1}LICENSE|${2}application/files/root"
"${1}README.md|${2}application/files/root"
"${1}README-zh_CN.md|${2}application/files/root"
+ # mock
+ "${1}_mock/_user.ts|${2}application/files/root/_mock/"
# src
"${1}src/typings.d.ts|${2}application/files/src/"
"${1}src/environments|${2}applica... | chore: auto add _user of mock data | null | ng-alain/delon | MIT License | Shell |
@@ -199,8 +199,9 @@ func PhysicalRuleTestHelper(t *testing.T, tc *RuleTestCase, options ...cmp.Optio
pp, err := physicalPlanner.Plan(ctx, before)
if err != nil {
if tc.ValidateError != nil {
- if got, want := err, tc.ValidateError; !cmp.Equal(want, got, options...) {
- t.Fatalf("unexpected planner error -want/+got:\n%s... | chore: Accept cmp.Option when diffing the RuleTestCase.ValidateError | null | influxdata/flux | MIT License | Go |
@@ -4,7 +4,7 @@ import {
customAttribute,
INode,
bindingBehavior,
- IBindingBehavior,
+ BindingBehaviorInstance,
LifecycleFlags,
IScope,
IBinding,
@@ -25,7 +25,7 @@ describe('value-converters', function () {
@bindingBehavior({ name: 'woot1', aliases: ['woot13'] })
@alias(...['woot11', 'woot12'])
- class WootBehavior im... | chore(all): fix IBindingBehavior -> BindingBehaviorInstance name | null | aurelia/aurelia | MIT License | TypeScript |
@@ -13,13 +13,11 @@ if (process.env.NODE_ENV !== 'production') {
.oneOfType([PropTypes.object, PropTypes.string])
.isRequired;
- function alias(names, validate) {
- return (props, ...args) => { // eslint-disable-line
+ const alias = (names, validate) => (props, ...args) => { // eslint-disable-line
if (!names.split(' ')... | chore(eslint): fixes eslint errors | null | stalniy/casl | MIT License | JavaScript |
@@ -75,7 +75,7 @@ mod tests {
}
#[test]
fn test_bad_age() {
- // Test that "Mark.twenty" will return the default person due to an error in parsing age
+ // Test that "Mark,twenty" will return the default person due to an error in parsing age
let p = Person::from("Mark,twenty");
assert_eq!(p.name, "John");
assert_eq!(p.... | chore: Change point to comma in from_into.rs | null | rust-lang/rustlings | MIT License | Rust |
@@ -8,6 +8,10 @@ USERNAME=$2
JSDIR=$3
DEST_PATH="_latest_backup"
+echo "About to ssh to $USERNAME@$REMOTE/$JSDIR and download data to ./$DEST_PATH"
+read -p "Do you want to continue? [y/n] "
+[[ ! $REPLY =~ ^[Yy]$ ]] && exit 1
+
mkdir $DEST_PATH
cd $DEST_PATH
@@ -18,16 +22,28 @@ scp -r $USERNAME@$REMOTE:/etc/nginx/site... | chore(maintenance): ask for confirmation for each backup step | null | openwhyd/openwhyd | MIT License | Shell |
-import os
-
-
-dir = next(os.walk(os.getcwd()))
-
-print(dir[0], dir[1])
-
-for d in dir[1]:
- f_name = os.path.join(dir[0], d, f"tg_category_{'_'.join(d.lower().split())}.yml")
- with open(f_name, "w") as f:
- pass
-
-"""
-for subdir, dirs, files in os.walk(os.getcwd()):
- print(dirs)
-"""
| chore(repo): remove auxiliary script | null | tigergraph/gsql-graph-algorithms | Apache License 2.0 | Python |
@@ -29,7 +29,7 @@ public final class CardComponent: PaymentComponent, PresentableComponent, Locali
/// :nodoc:
internal var cardTypeProvider: AnyCardTypeProvider
- private var topElements: [CardType]
+ private static let maxCardsVisible = 4
private static let publicBinLenght = 6
private let throttler = Throttler(minimu... | chore: rename local variable | null | adyen/adyen-ios | MIT License | Swift |
@@ -84,7 +84,10 @@ class AmplifyCLIExecutionReporter {
// this ensures only alphanumeric values are in the file name
sanitizedSections.push(section.replace(/[^a-z0-9]/gi, '_').toLowerCase());
}
- const suffix = sanitizedSections.join('_');
+ let suffix = sanitizedSections.join('_');
+ if(suffix.length > 30){
+ suffix =... | chore: truncate long file names | null | aws-amplify/amplify-cli | Apache License 2.0 | JavaScript |
@@ -355,7 +355,7 @@ const HomeRoute = (props: RouteComponentProps) => (
<div className="d-flex flex-column flex-wrap flex-sm-row justify-content-center align-items-center">
<a
href="https://www.vpsserver.com/?utm_source=opencollective&utm_medium=github&utm_campaign=lwjgl"
- rel="noopener nofollow external"
+ rel="spons... | chore: change nofollow to sponsored | null | lwjgl/lwjgl3-www | BSD 3-Clause New or Revised License | TypeScript |
@@ -640,7 +640,9 @@ func OpenWith(path string, nLog, hLog, cLog appendable.Appendable, opts *Options
}
if validatedCLogEntry == nil {
- t.root = &leafNode{t: t, mut: false}
+ // even when starting with a fresh btree, it's better to make the changes in a copy of the node,
+ // so that you can rollback if necessary.
+ t.... | chore(embedded/tbtree): in-line documentation | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -8,7 +8,7 @@ import Foundation
/// :nodoc:
/// Used for testing code that causes fatalError
-public func fatalError(
+internal func fatalError(
_ message: @autoclosure () -> String = "",
file: StaticString = #file,
line: UInt = #line
| chore: Make fatalError wrapper function internal | null | adyen/adyen-ios | MIT License | Swift |
@@ -955,15 +955,11 @@ public class HistoricVariableInstanceTest extends PluggableProcessEngineTestCase
assertEquals("newValue", var.getValue());
- final List<HistoricDetail> historicDetails = processEngine.getHistoryService().createHistoricDetailQuery().list();
- assertEquals(2, historicDetails.size());
- for (Historic... | chore(test): fix test | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -28,7 +28,7 @@ setuptools.setup(
],
':sys_platform!="win32"': [
"posix_ipc>=1.0.4",
- "psutil==5.4.3",
+ "psutil>=5.4.3",
],
"mesh_viewer": [ 'vtk' ],
"skeleton_viewer": [ 'matplotlib' ],
| chore: unpin psutil | null | seung-lab/cloud-volume | BSD 3-Clause New or Revised License | Python |
@@ -45,7 +45,7 @@ export default webpackConfigBase({
publicPath: false
},
headers: {
- 'Content-Security-Policy': `script-src 'self' 'unsafe-inline' code.s4d.io; style-src 'self' 'unsafe-inline' code.s4d.io; media-src 'self' code.s4d.io *.clouddrive.com data: blob:; font-src 'self' code.s4d.io; img-src 'self' code.s4d.... | chore: add clouddrive and wbx2 to csp | null | webex/react-widgets | MIT License | JavaScript |
@@ -69,7 +69,7 @@ module.exports = async program => {
getConfigFile(program.directory, `gatsby-config`)
)
- const { pathPrefix: configPathPrefix } = config
+ const { pathPrefix: configPathPrefix } = config || {}
const pathPrefix = prefixPaths && configPathPrefix ? configPathPrefix : `/`
| chore: fallback for non-existing config | null | gatsbyjs/gatsby | MIT License | JavaScript |
@@ -25,11 +25,6 @@ type Props = {
*/
export const FrontCard = (props: Props) => {
const { trail, ...cardProps } = props;
-
- if (trail === undefined) {
- return <></>;
- }
-
const defaultProps: CardProps = {
linkTo: trail.url,
format: trail.format,
| chore: Remove unecessary undefined check in FrontCard | null | guardian/dotcom-rendering | Apache License 2.0 | TypeScript |
@@ -26,7 +26,7 @@ if ! ./scripts/pre-release.sh; then
fi
log "Bumping up MDC Web version to canary..."
-if ! npx lerna version premajor --no-git-tag-version --no-push --preid canary.$(git rev-parse --short HEAD) --yes; then
+if ! npx lerna version premajor --no-git-tag-version --no-push --preid canary.$(git rev-parse -... | chore: Update dependencies to be exact in canary release | null | material-components/material-components-web | MIT License | Shell |
@@ -14,6 +14,13 @@ fi
git clone --quiet --branch=apk https://niranjan94:$GITHUB_API_KEY@github.com/fossasia/open-event-orga-app apk > /dev/null
cd apk
+
+if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then
+ /bin/rm -f *
+else
+ /bin/rm -f app-debug.apk app-release.apk
+fi
+
\cp -r ../app/build/outputs/apk/*/**.apk .
\c... | chore: Change APK name | null | fossasia/open-event-organizer-android | Apache License 2.0 | Shell |
@@ -227,5 +227,22 @@ declare namespace Cypress {
waitForResources(
resources: Array<{ name: string; number?: number }> | undefined,
): Chainable<Subject>;
+ /**
+ * Assert that element top is within viewport
+ * @example
+ * cy.get('selector').topIsWithinViewport()
+ * cy.get('selector').topIsWithinViewport(800)
+ */
+... | chore: add missing types for viewport checks | null | synthetixio/synpress | MIT License | TypeScript |
@@ -25,11 +25,12 @@ import org.camunda.bpm.engine.RuntimeService;
import org.camunda.bpm.engine.batch.Batch;
import org.camunda.bpm.engine.exception.NullValueException;
import org.camunda.bpm.engine.history.HistoricProcessInstance;
-import org.camunda.bpm.engine.impl.HistoricProcessInstanceQueryImpl;
+import org.camund... | chore(rest): clean up | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -811,6 +811,7 @@ def reset_password(user):
frappe.clear_messages()
return 'not found'
+@frappe.whitelist()
def user_query(doctype, txt, searchfield, start, page_len, filters):
from frappe.desk.reportview import get_match_cond
| chore: add standard queries hooks to whitelist | null | frappe/frappe | MIT License | Python |
@@ -100,14 +100,14 @@ export class FacetChart
}
/**
- * Holds the intermediate render properties for chart views, as well as the intermediate chart
- * views themselves.
+ * Holds the intermediate render properties for chart views, before axes are synchronized,
+ * collapsed, aligned, etc.
*
* An example: a StackedArea... | chore(facets): update comment | null | owid/owid-grapher | MIT License | TypeScript |
@@ -16,20 +16,29 @@ async fn remote_store_get_table() {
let table_name = "my_awesome_table";
let other_table_name = "my_ordinary_table";
- let mut cluster = MiniCluster::create_shared(database_url).await;
+ let mut cluster = MiniCluster::create_shared2(database_url).await;
StepTest::new(
&mut cluster,
vec![
// Persist ... | chore: port remote end to end tests to new write path | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -7,7 +7,8 @@ rm -rf dist/*
pushd src
mkdir -p ../dist/cncjs/
-sed -i 's/\("version":\s*\)".*"/\1"'$VERSION'"/' package.json
+sed 's/\("version": \)".*"/\1"'$VERSION'"/' package.json > package.json.new
+mv -f package.json.new package.json
cp -af package.json ../dist/cncjs/
cross-env NODE_ENV=production babel "*.js" \... | chore: fix sed inline replacement issue across different platforms | null | cncjs/cncjs | MIT License | Shell |
@@ -22,11 +22,11 @@ course = create_or_update_course(
section_position += 1
section = create_or_update_section(
- title: "Basic Ruby",
- title_url: "Basic Ruby".parameterize,
+ title: "Introduction",
+ title_url: "Introduction".parameterize,
course_id: course.id,
position: section_position,
- description: "In this sect... | chore: Extract Introductory Ruby Lessons | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -39,6 +39,13 @@ export const BestBuy: Store = {
series: '3080',
url: 'https://www.bestbuy.com/site/asus-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-strix-graphics-card-black/6432445.p?skuId=6432445&intl=nosplash'
},
+ {
+ brand: 'evga',
+ cartUrl: 'https://api.bestbuy.com/click/-/6439300/cart',
+ model: 'xc3 black'... | chore(bestbuy): add 3070 models | null | jef/streetmerchant | MIT License | TypeScript |
@@ -112,7 +112,6 @@ extension ModalViewController {
guard preferredContentSize != .zero else { return frame }
let bottomPadding = max(abs(keyboardRect.height), view.safeAreaInsets.bottom)
- print("Bottom padding: \(view.safeAreaInsets)")
let expectedHeight = preferredContentSize.height + bottomPadding
func calculateFra... | chore: Remove test log | null | adyen/adyen-ios | MIT License | Swift |
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
+import java.util.LinkedList;
import java.util.List;
import java.util.Map;
+import java.util.NavigableMap;
+import java.util.NavigableSet;
import java.util.Optional;
+import java.util.Queue;
import java.util.Set;
-import java.util.SortedMa... | chore(driver): register object serializers for all collection types | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -42,7 +42,7 @@ pub struct SplitInfo {
impl Debug for SplitInfo {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
- f.debug_struct("FileInfo")
+ f.debug_struct("SplitInfo")
.field("seq_in_file", &self.seq_in_file)
.field("offset", &self.offset)
.field("size", &self.size)
| chore(format): fix typo | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -33,27 +33,29 @@ public protocol AdyenSessionDelegate: AnyObject {
/// Invoked when the action component opens a third party application outside the scope of the Adyen checkout,
/// e.g WeChat Pay Application.
- /// In which case you can for example stop any loading animations.
+ /// In which case you can, for examp... | chore: more clear description for session delegate | null | adyen/adyen-ios | MIT License | Swift |
@@ -26,6 +26,7 @@ var (
nrqlConditionBaseAggDelay = 2 // needed for setting pointer
nrqlConditionBaseAggTimer = 5 // needed for setting pointer
nrqlConditionBaseSlideBy = 30 // needed for setting pointer
+ nrqlConditionBaseValueFunction = NrqlConditionValueFunctions.SingleValue // needed for setting pointer
nrqlConditi... | chore(Alerts): add test for optional value function for static nrql conditions to support value function deprecation | null | newrelic/newrelic-client-go | Apache License 2.0 | Go |
@@ -8,16 +8,27 @@ import Adyen
// TODO: - Complete documentation
+/// Contains the details supplied by the BACS Direct Debit component.
public struct BACSDirectDebitDetails: PaymentMethodDetails {
+ /// The payment method type.
public let type: String
+ /// The BACS account's holder name.
public let holderName: String
... | chore: Docs for BACS Direct Debit details | null | adyen/adyen-ios | MIT License | Swift |
@@ -240,8 +240,6 @@ func (s *HTTPServer) deleteStack(w http.ResponseWriter, r *http.Request) {
}
func (s *HTTPServer) exportStack(w http.ResponseWriter, r *http.Request) {
- encoding := pkgEncoding(r.Header)
-
orgID, err := getRequiredOrgIDFromQuery(r.URL.Query())
if err != nil {
s.api.Err(w, r, err)
@@ -264,6 +262,8 @... | chore(pkger): fixup Accept/Content-Type header inspection in export endpoints | null | influxdata/influxdb | MIT License | Go |
-package internal
-
-import (
- "github.com/influxdata/influxdb/v2/models"
- "github.com/influxdata/influxdb/v2/pkg/bloom"
- "github.com/influxdata/influxdb/v2/pkg/estimator"
- "github.com/influxdata/influxdb/v2/tsdb"
- "github.com/influxdata/influxdb/v2/tsdb/index/tsi1"
-)
-
-// File is a mock implementation of a tsi1... | chore: remove unreferenced tsdb/index/internal package | null | influxdata/influxdb | MIT License | Go |
@@ -81,10 +81,6 @@ export function Dialog(props: DialogProps) {
);
}
-export default function DialogActions({
- children,
-}: {
- children: React.ReactNode;
-}) {
+export function DialogActions({ children }: { children: React.ReactNode }) {
return <div className={styles.dialogActions}>{children}</div>;
}
| chore(webapp): fix DialogActions export | null | pyroscope-io/pyroscope | Apache License 2.0 | TypeScript |
@@ -37,7 +37,7 @@ try:
except ImportError:
'Assuming that requirements are not yet installed'
-__version__ = '0.1.6'
+__version__ = '0.2.0'
__author__ = 'Neural Networks and Deep Learning lab, MIPT'
__description__ = 'An open source library for building end-to-end dialog systems and training chatbots.'
__keywords__ = [... | chore: update version to 0.2.0 | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
#include "AssUtils.h"
#include "frame_work_log.h"
-#include "string.h"
#include <algorithm>
+#include <climits>
+#include <cstdlib>
+#include <cstring>
+
using namespace Cicada;
@@ -24,11 +27,15 @@ void rskip_spaces(char **str, char *limit)
while ((p > limit) && ((p[-1] == ' ') || (p[-1] == '\t'))) --p;
*str = p;
}
+#i... | chore(build): fix build error | null | alibaba/cicadaplayer | MIT License | C++ |
. /usr/share/openclash/ruby.sh
/usr/share/openclash/yml_groups_name_get.sh
+LOGTIME=$(date "+%Y-%m-%d %H:%M:%S")
+LOG_FILE="/tmp/openclash.log"
yml_other_set()
{
- ruby -ryaml -E UTF-8 -e "Value = YAML.load_file('$4');
+ ruby -ryaml -E UTF-8 -e "
+ begin
+ Value = YAML.load_file('$4');
+ rescue Exception => e
+ print '... | chore: input error info | null | vernesong/openclash | MIT License | Shell |
@@ -9,6 +9,9 @@ this_commit=$(echo $BUILDKITE_COMMIT | tr -d '"')
tags=$(curl https://api.github.com/repos/uber-web/baseui/git/refs/tags?access_token=${GITHUB_AUTH_TOKEN})
latest_tagged_commit=$(echo $tags | jq '.[-1].object.sha' | tr -d '"')
+echo this commit: $this_commit
+echo latest tagged commit: $latest_tagged_co... | chore: adds debug logs to now deploy script | null | uber/baseweb | MIT License | Shell |
#!/bin/sh
-# Creates symlinks of hooks in .githooks directory in .git/hooks
-# If user already has hooks in .git/hooks then hooks from .githooks
-# will be added as separate files with different names and a command
-# to run these hooks will be added to the respective existing hooks
-# on the last line of the file.
+# ... | chore: doc refactoring for init_hooks.sh | null | skywinder/web3swift | Apache License 2.0 | Shell |
@@ -465,7 +465,7 @@ fn compile_sequential(
continue
}
let input = input
- .settings(opt_settings.clone().with_base_path(&paths.root))
+ .settings(opt_settings.clone())
.normalize_evm_version(&version)
.with_remappings(paths.remappings.clone())
.with_base_path(&paths.root)
| chore: remove redundant call | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -15,7 +15,7 @@ type Keeper struct {
legacyAmino *codec.LegacyAmino
key sdk.StoreKey
tkey sdk.StoreKey
- spaces map[string]types.Subspace
+ spaces map[string]*types.Subspace
}
// NewKeeper constructs a params keeper
@@ -25,7 +25,7 @@ func NewKeeper(cdc codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey
lega... | chore: change `Keeper.space` type to be same with cosmos-sdk | null | line/lbm-sdk | Apache License 2.0 | Go |
@@ -35,7 +35,7 @@ build_and_push_image() {
#@--- Build image for deployment ---@#
echo "++++++++ Start building image +++++++++"
- if [[ $TRAVIS_BRANCH == "develop" ]] || [[ $GITHUB_REF == "refs/heads/develop" ]]; then
+ if [[ $TRAVIS_BRANCH == "develop" ]] || [[ $GITHUB_REF == "refs/heads/develop" ]] || [[ $GITHUB_REF... | chore(ci): build and push docker image on PR branch | null | hikaya-io/activity | Apache License 2.0 | Shell |
@@ -9,7 +9,7 @@ class Platform extends Command {
this.usages = [
{ description: 'Change this channel\'s platform', parameters: ['platform'] },
];
- this.regex = new RegExp(`^${this.call}(?:\\s+(pc|ps4|xb1|swi))?(?:\\s+in\\s+(${captures.channel}|here))?$`, 'i');
+ this.regex = new RegExp(`^${this.call}(?:\\s+(${platform... | chore: update platform to inherit all platforms | null | wfcd/genesis | Apache License 2.0 | JavaScript |
@@ -17,12 +17,12 @@ export const allTemplates: Template[] = [
repos: [
{
uri: 'https://github.com/aerogear/graphback',
- branch: 'templates-0.16.0',
+ branch: 'templates-1.0.0',
path: '/templates/ts-react-apollo-client',
mountpath: "client"
}, {
uri: 'https://github.com/aerogear/graphback',
- branch: 'templates-0.16.0'... | chore: update templates release branch to v1 | null | aerogear/graphback | Apache License 2.0 | TypeScript |
@@ -253,7 +253,7 @@ namespace Cicada {
pFrameOut = nullptr;
for (auto &i : mStreamInfoList) {
- if (i->mPStream->isOpened() && i->selected && i->mPFrame == nullptr && !i->eos) {
+ if (i->mPStream->isOpened() && i->selected && i->mPFrame != nullptr && !i->eos) {
if (i->mPFrame->getInfo().streamIndex == index) {
pFrameOu... | chore(HLSManager): get frame from target stream if frame not null | null | alibaba/cicadaplayer | MIT License | C++ |
{
public static class ApplicationSettings
{
- public static string version = "0.6.6";
+ public static string version = "0.6.7";
}
public static class Environment
| chore: update build version to 0.6.7 | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -247,10 +247,16 @@ pub async fn clickhouse_handler_get(
.unwrap_or_else(|_| (vec![], vec![]));
let settings = context.get_settings();
- if settings.get_enable_new_processor_framework().unwrap() != 0
+ if settings
+ .get_enable_new_processor_framework()
+ .map_err(InternalServerError)?
+ != 0
&& !context.get_config()... | chore(handler): remove unwrap | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -27,8 +27,8 @@ import (
"github.com/influxdata/flux/codes"
"github.com/influxdata/flux/dependencies/feature"
"github.com/influxdata/flux/dependencies/filesystem"
+ "github.com/influxdata/flux/execute"
"github.com/influxdata/flux/execute/executetest"
- "github.com/influxdata/flux/execute/table"
"github.com/influxdata... | chore: make flux test use pretty formatting for diffs | null | influxdata/flux | MIT License | Go |
import * as React from 'react'
import { i18n } from '@kui-shell/core'
-import { Camera20, CameraAction20 } from '@carbon/icons-react'
+import { Camera16 as Camera, CameraAction16 as CameraAction } from '@carbon/icons-react'
import { ToastNotification, Tooltip } from 'carbon-components-react'
import { Event, NativeImage... | chore: screenshot icon size is inconsistent with the rest of the status stripe | null | ibm/kui | Apache License 2.0 | TypeScript |
@@ -71,6 +71,9 @@ extension CardComponent {
/// Installments options to present to the user.
public var installmentConfigration: InstallmentConfiguration?
+ /// The shopper's information to be prefilled.
+ public var shopperInformation: PrefilledShopperInformation?
+
/// Configuration of Card component.
/// - Parameter... | chore: shopper information as a property in card configuration | null | adyen/adyen-ios | MIT License | Swift |
@@ -24,4 +24,4 @@ zip -r $TEMP_FOLDER.zip $TEMP_FOLDER
rm -rf $TEMP_FOLDER
# Run gh-release to create a new release with our changelog changes and ZIP archive
-gh-release --t v$VERSION --repo arcgis-rest-js --owner ArcGIS -a $TEMP_FOLDER.zip
+gh-release --t v$VERSION --repo arcgis-rest-js --owner Esri -a $TEMP_FOLDER.z... | chore(publish): fix owner argument for gh-release | null | esri/arcgis-rest-js | Apache License 2.0 | Shell |
@@ -8,6 +8,7 @@ CLEAN_EXIT=0
USE_PACKAGE_MANAGER=1
VERIFY_SIGNATURE=1
FORCE_VERIFY_SIGNATURE=0
+DISABLE_CURL=0
tempdir=""
filename=""
@@ -233,6 +234,10 @@ for arg; do
VERIFY_SIGNATURE=1
FORCE_VERIFY_SIGNATURE=1
fi
+
+ if [ "$arg" = "--disable-curl" ]; then
+ DISABLE_CURL=1
+ fi
done
# identify OS
@@ -322,7 +327,7 @@ cu... | chore: add debug support for disabling curl in install.sh | null | dopplerhq/cli | Apache License 2.0 | Shell |
import * as React from 'react';
import { Omit } from 'utility-types';
import { PopperWrapper } from '@/utils';
+import { PopoverProps } from '@/index.type';
export type PositionType =
'top'
@@ -37,11 +38,11 @@ export interface TooltipProps extends DivProps {
/**
* Hides the `Popover` when its reference element is outsi... | chore(Tooltip): refactors tooltip props | null | innovaccer/design-system | MIT License | TypeScript |
@@ -160,16 +160,7 @@ impl DynVault for FilesystemVault {
Ok(md) if md.is_file() => {
fs::remove_file(path).map_err(|_| VaultFailErrorKind::IOError)?;
}
- Ok(_) => {}
- Err(e) => {
- eprintln!(
- "vault error: failed to check path ({:?}), {}",
- path.as_os_str(),
- e
- );
-
- return Err(VaultFailErrorKind::IOError.into(... | chore(rust): update vault trait impl to match trait | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -505,7 +505,6 @@ class Parser {
// We pass the `llhttp_parser` pointer address, the pointer address of buffer view data,
// and finally the length of bytes to parse.
// The return value is an error code or `constants.ERROR.OK`.
- // See https://github.com/dnlup/llhttp/blob/undici_wasm/src/native/api.c#L106
const ret... | chore: remove useless repo reference | null | nodejs/undici | MIT License | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.