diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -523,6 +523,26 @@ func (suite *IntegrationTestSuite) TestValidateBalance() {
suite.Require().Error(suite.bankKeeper.ValidateBalance(ctx, addr2))
}
+func (suite *IntegrationTestSuite) TestSendCoins_Invalid_SendLockedCoins() {
+ ctx := suite.ctx
+ balances := sdk.NewCoins(newFooCoin(50))
+ addr := sdk.AccAddress([]byt... | chore: add `TestSendCoins_Invalid_SendLockedCoins` to tests/integration | null | cosmos/cosmos-sdk | Apache License 2.0 | Go |
@@ -21,7 +21,7 @@ function pushDirToBranch(dir, branch, callback) {
ghpages.publish(path.resolve(path.join(process.cwd(), dir)), {
branch,
repo: ORIGIN,
- message: `Update dms v${pkg.version}., ${new Date()}!`,
+ message: `Update uiw v${pkg.version}., ${new Date()}!`,
}, (err) => {
load.stop();
if (err) {
| chore: Update deploy commit | null | uiwjs/uiw | MIT License | JavaScript |
@@ -69,6 +69,8 @@ async function getLogsByChartId(chartId: number): Promise<ChartRevision[]> {
const getReferencesByChartId = async (
chartId: number
): Promise<PostReference[]> => {
+ if (!wpdb.isWordpressDBEnabled) return []
+
const rows = await db.queryMysql(
`
SELECT config->"$.slug" AS slug
| chore: Disable failing refs call if wordpress is disabled | null | owid/owid-grapher | MIT License | TypeScript |
@@ -11,7 +11,11 @@ then
git clone --quiet --branch=apk https://fossasia:$GITHUB_API_KEY@github.com/fossasia/susi_android apk > /dev/null
ls
cd apk
+ if [ "$CIRCLE_BRANCH" == "$PUBLISH_BRANCH" ]; then
/bin/rm -f *
+ else
+ /bin/rm -f app-fdroid-debug.apk app-playStore-debug.apk app-playStore-release.apk app-fdroid-relea... | chore: Make separate apks for dev and master | null | fossasia/susi_android | Apache License 2.0 | Shell |
@@ -10,6 +10,7 @@ import com.netflix.spinnaker.keel.clouddriver.model.Subnet
import com.netflix.spinnaker.keel.retrofit.RETROFIT_NOT_FOUND
import com.netflix.spinnaker.keel.retrofit.RETROFIT_SERVICE_UNAVAILABLE
import io.mockk.mockk
+import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import org.jun... | chore(tests): disable flaky cert cache tests | null | spinnaker/keel | Apache License 2.0 | Kotlin |
@@ -222,9 +222,10 @@ export const features = defineFeatures({
echoFlagKey: "AREnableArtworksFromNonArtsyArtists",
},
AREnableCreateArtworkAlert: {
- readyForRelease: false,
+ readyForRelease: true,
description: "Enable Create Alert on Artwork pages",
showInAdminMenu: true,
+ echoFlagKey: "AREnableCreateArtworkAlert",
}... | chore(FX-3985): mark AREnableCreateArtworkAlert as ready for release | null | artsy/eigen | MIT License | TypeScript |
@@ -110,7 +110,7 @@ class BirthdayService(
// Get guild timezone (GMT if none set)
val guildZone = daoManager.timeZoneWrapper.getTimeZone(guild.idLong)
- val guildTZ = TimeZone.getTimeZone(if (guildZone.isBlank()) "GMT" else guildZone)
+ val guildTZ = TimeZone.getTimeZone(guildZone.ifBlank { "GMT" })
// Get birthday ch... | chore: some cleanup | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -52,10 +52,13 @@ func TestORM(t *testing.T) {
require.NoError(t, err)
var returnedSpec job.Job
- err = gdb.
- Preload("OffchainreportingOracleSpec").
- Where("id = ?", jb.ID).First(&returnedSpec).Error
+ var OCROracleSpec job.OffchainReportingOracleSpec
+
+ err = db.Get(&returnedSpec, "SELECT * FROM jobs WHERE jobs.... | chore: replcae all gorm queries within job_orm_test | null | smartcontractkit/chainlink | MIT License | Go |
@@ -47,7 +47,7 @@ import Foundation
Handling multiple WeChatPaySDKAction's in parallel is not supported.
""")
- Analytics.sendEvent(components: "wechatpaySDK", flavor: _isDropIn ? .dropIn : .components, context: apiContext)
+ Analytics.sendEvent(component: "wechatpaySDK", flavor: _isDropIn ? .dropIn : .components, cont... | chore: Fix error in AdyenWeChatPay | null | adyen/adyen-ios | MIT License | Swift |
@@ -11,6 +11,7 @@ export const Switch: React.FC<Props> = (props) => {
return (
<div className="switch">
<div
+ data-testid="ICO"
className={
props.loading
? 'icon-container loading'
@@ -25,6 +26,7 @@ export const Switch: React.FC<Props> = (props) => {
<div>ICO</div>
</div>
<div
+ data-testid="ICNS"
className={
props.lo... | chore: add data-testid | null | sprout2000/elephicon | MIT License | TypeScript |
# Normalize params
[ ! -z "$1" ] && PACKAGE_VERSION="$1" || PACKAGE_VERSION=$NPM_PACKAGE_VERSION;
-[ ! -z "$2" ] && CANARY="--canary=beta";
+[ ! -z "$2" ] && [ "$2" != "null" ] && CANARY="--canary=beta" || CANARY="";
if [ -f $PACKAGE_VERSION ]; then
echo "You must specify a version to create the changelog"
| chore: missing in changelog | null | salesforce/lwc | MIT License | Shell |
-#!/bin/bash
-# find and replace in each markdown file:
-# 1. pattern: "(../docs/.*)" becomes "(.*)"
-# example: "(../docs/middleware.html)" becomes "(middleware.html)"
-# example: "(../docs/middleware.html#something)" becomes "(middleware.html#something)"
-# example: "(../docs/typescript/nested.html)" becomes "(typesc... | chore: remove semplify-relative-links.sh temporary script | null | automattic/mongoose | MIT License | Shell |
@@ -82,8 +82,7 @@ export default class IntentBulkInsert extends React.Component {
disabled={saving}
onChange={this.onTextChanged}
/>
- <br />
- <br />
+ <Message info content='Select an existing intent or type to create a new one' />
<IntentDropdown
intents={intents}
setIntent={newIntent => this.setState({ intent: newI... | chore(bulk-insert): Added a tip to create/add an intent | null | botfront/botfront | Apache License 2.0 | JavaScript |
@@ -116,10 +116,10 @@ pub struct SingleDocComment {
pub value: String,
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Clone)]
pub struct SourceUnit(pub Vec<SourceUnitPart>);
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Clone)]
pub enum SourceUnitPart {
ContractDefinition(Box<ContractDefinition>)... | chore: add missing clone derives | null | hyperledger-labs/solang | Apache License 2.0 | Rust |
@@ -19,6 +19,7 @@ import java.io.Serializable;
import java.util.Set;
import com.b2international.index.query.Expression;
+import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.collect.Iterables;
/**
@@ -30,18 +31,51 @@ public abstract class TermFilter implements Serializable {
private static final... | chore(javadoc): update javadoc in TermFilter | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -435,7 +435,8 @@ public class NodeUpdateImportsTest extends NodeUpdateTestUtil {
Assert.assertEquals(expectedJsModules, jsModules.toJson());
Assert.assertEquals(expectedCssImports, cssImports.toJson());
- String actual = FileUtils.readFileToString(tokenFile, StandardCharsets.UTF_8);
+ String actual = FileUtils.readF... | chore: mvn formatter:format | null | vaadin/flow | Apache License 2.0 | Java |
#
# As a last resort, use `log.Info(fmt.Sprintf(""))`.
-set -eu
+set -eux
from=$(git merge-base --fork-point origin/master)
count=$(git diff "$from" -- '*.go' | grep '^+' | grep -v '\(fmt\|errors\).Errorf' | grep -c '\(Debug\|Info\|Warn\|Warning\|Error\)f' || true)
| chore: add debugging to check-logging.sh | null | argoproj/argo-workflows | Apache License 2.0 | Shell |
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
+from __future__ import print_function
import os
import platform
@@ -12,8 +13,12 @@ import setuptools.command.build_ext
import setuptools.command.install
from setuptools import setup, Extension
+
+if sys.version_info < (3,):
# Note:... | chore: cleanup setup.py | null | scikit-hep/awkward-1.0 | BSD 3-Clause New or Revised License | Python |
@@ -10,7 +10,7 @@ import (
)
var (
- version = "1.4.1" // manually set semantic version number
+ version = "1.4.2" // manually set semantic version number
commitHash string // automatically set git commit hash
commitTime string // automatically set git commit time
| chore: bump v1.4.2 | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -9,20 +9,21 @@ import OverviewCard, { OverviewItemData } from '../../components/Card/OverviewCa
import { localeNumberString } from '../../utils/number'
import { isMobile } from '../../utils/screen'
import getNervosDao from '../../service/app/nervosDao'
+import { shannonToCkb } from '../../utils/util'
const DervosDao... | chore: convert nervos dao capacity related fileds to ckb | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -8,6 +8,7 @@ use crate::RouterService;
/// This struct provides is a wrapper around the internal router
/// implementation, with methods for getting information about the current
/// route.
+#[derive(Clone)]
pub struct UseRoute {
router: Rc<RouterService>,
}
@@ -82,7 +83,7 @@ pub fn use_route(cx: &ScopeState) -> &Us... | chore: add docs to router UseRouteListener | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -50,9 +50,11 @@ for pr in $PRs; do
ISSUES+=("$id")
done
+if (( ${#ISSUES[@]} > 0 )); then
# Remove duplicate IDs
# This can happen when we release using a separate branch (e.g. patch releases)
mapfile -t ISSUES < <(printf "%s\n" "${ISSUES[@]}" | sort -u)
+fi
echo "Creating milestone $LATEST_TAG in github.com/$REPO"
... | chore: handle error when there's no issue to tag | null | cloudskiff/driftctl | Apache License 2.0 | Shell |
@@ -108,7 +108,7 @@ const DraftPattern = (props) => {
return (
<div className="fs-sa">
- <section style={{ margin: '1rem' }}>
+ <section>
<Draft
{...patternProps}
design={design}
| chore(components): Fixed margin issue in workbench | null | freesewing/freesewing | MIT License | JavaScript |
@@ -320,7 +320,8 @@ class ServiceRootGroupModal extends React.Component<
const data = groupFormDataFromGraphql(groupData.data.group);
this.setState({
data,
- originalData: JSON.parse(JSON.stringify(data))
+ originalData: JSON.parse(JSON.stringify(data)),
+ expandAdvancedSettings: !data.enforceRole
});
},
error: () => {... | chore(ServiceRootGroupModal): expand advanced settings for legacy group | null | dcos/dcos-ui | Apache License 2.0 | TypeScript |
@@ -18,6 +18,7 @@ package com.vaadin.flow.router;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
+import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import java.util.List;
import java.util.stream.Collectors;
@@ -93,10 +94,9 @@ public class RouteNotFoundError extends Compon... | chore: Close input stream after using it | null | vaadin/flow | Apache License 2.0 | Java |
@@ -86,9 +86,6 @@ export type DocumentActionDialogProps =
export interface DocumentActionDescription {
tone?: ButtonTone
dialog?: DocumentActionDialogProps | false | null
- // @todo: remove the following types for v3 GA
- /** @deprecated Use `dialog` */
- modal?: never
disabled?: boolean
icon?: React.ReactNode | React.... | chore(core): remove deprecated document action types | null | sanity-io/sanity | MIT License | TypeScript |
@@ -40,6 +40,16 @@ export default class DirectoryTree extends React.Component<DirectoryTreeProps, D
expandAction: 'click',
};
+ static getDerivedStateFromProps(nextProps: DirectoryTreeProps) {
+ if ('expandedKeys' in nextProps) {
+ return { expandedKeys: nextProps.expandedKeys };
+ }
+ if ('selectedKeys' in nextProps) ... | chore(DirectoryTree): migrate to new lifecycle method | null | ant-design/ant-design | MIT License | TypeScript |
@@ -364,6 +364,7 @@ public class GameRunner {
}
/**
+ * @deprecated
* Adds an AI to the next game to run.
* <p>
*
@@ -387,6 +388,7 @@ public class GameRunner {
}
/**
+ * @deprecated
* Adds an AI to the next game to run.
* <p>
*
| chore(GameRunner): deprecating JavaAgents | null | codingame/codingame-game-engine | MIT License | Java |
@@ -31,7 +31,6 @@ import org.gluu.oxauth.client.OpenIdConfigurationClient;
import org.gluu.oxauth.client.OpenIdConfigurationResponse;
import org.gluu.oxauth.client.OpenIdConnectDiscoveryClient;
import org.gluu.oxauth.client.OpenIdConnectDiscoveryResponse;
-import org.gluu.oxauth.model.util.SecurityProviderUtility;
impo... | chore: sycn with oxAuth | null | gluufederation/oxtrust | MIT License | Java |
@@ -21,25 +21,28 @@ print('Testing %d packages...' % len(packages))
# Test the packages & write the results to a CSV file.
PROD_ENV_VARS = {
- 'ATLAS_SERVICE_URL': "https://atlas-a.wbx2.com/admin/api/v1",
- 'CONVERSATION_SERVICE_URL': "https://conv-a.wbx2.com/conversation/api/v1",
- 'ENCRYPTION_SERVICE_URL': "https://e... | chore(test.py): add color to distinguish console output | null | webex/webex-js-sdk | MIT License | Python |
@@ -1922,6 +1922,7 @@ defmodule Ash.Filter do
Context Resource: #{inspect(context)}
Context Relationship Path: #{inspect(context[:relationship_path])}
+ At Path: #{inspect(at_path)}
Path: #{inspect(path)}
Related: #{inspect(related)}
Expression: #{inspect(exists)}
| chore: log `at_path` in exists error message | null | ash-project/ash | MIT License | Elixir |
@@ -34,7 +34,7 @@ export class GatheredByExtractor extends AbstractExtractor<GatheredBy> {
}
protected doExtract(item: Item, itemData: ItemData): GatheredBy {
- const gatheringItem = Object.keys(gatheringItems).map(key => gatheringItems[key]).find(g => g.itemId);
+ const gatheringItem = Object.keys(gatheringItems).map(... | chore: small fix for gathering extractor | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -1032,8 +1032,7 @@ impl<T: Config> Pallet<T> {
///
/// * `chain_id` - BlockChain identifier
/// * `block_height` - current block height
- // FIXME: made pub for testing
- pub fn get_last_retarget_time(chain_id: u32, block_height: u32) -> Result<u64, DispatchError> {
+ fn get_last_retarget_time(chain_id: u32, block_h... | chore: make retarget time function private to the module again | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -131,10 +131,10 @@ export class DefaultSkippingScene extends Scene {
cssColor: `rgb(${valueTo}, ${valueTo}, ${valueTo})`,
width: rectSize,
height: rectSize,
- x: game.width - rectSize / 2 - i * (rectSize + margin) - marginRight,
- y: game.height - rectSize / 2 - marginBottom,
- anchorX: 0.5,
- anchorY: 0.5,
+ x: gam... | chore: change anchor to (1.0, 1.0) | null | akashic-games/akashic-engine | MIT License | TypeScript |
@@ -87,7 +87,10 @@ func DetectConfigManagementPlugin(ctx context.Context, repoPath string, env []st
var cmpClient pluginclient.ConfigManagementPluginServiceClient
pluginSockFilePath := common.GetPluginSockFilePath()
- log.Debugf("pluginSockFilePath is: %s", pluginSockFilePath)
+ log.WithFields(log.Fields{
+ common.Secu... | chore: Add security logging in util/app | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -157,6 +157,11 @@ def mc_integrate(func: Callable, limits: ztyping.LimitsType, axes: Optional[ztyp
std = std / (ifloat + 1.) * ifloat + znp.std(y) / (ifloat + 1.)
ntot_float = znp.asarray(ntot, dtype=znp.float64)
+ # estimating the error of QMC is non-trivial
+ # (https://www.degruyter.com/document/doi/10.1515/mcma-... | chore: add comment in integration uncertainty | null | zfit/zfit | BSD 3-Clause New or Revised License | Python |
set -eo pipefail
-$(aws ecr get-login --region us-east-2 | sed 's/-e none //')
+aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin 410797082306.dkr.ecr.us-east-2.amazonaws.com
| chore(fargate): update ecr-login.sh | null | instana/nodejs-sensor | MIT License | Shell |
@@ -12,7 +12,7 @@ import { ComponentMode } from './app/startup';
describe('app', function () {
eachCartesianJoin([
- ['app', 'enhance'] as ('app' | 'enhance')[],
+ ['app', 'enhance'] as ['app' , 'enhance'],
[ComponentMode.class, ComponentMode.instance,],
], function (method, componentMode) {
$it(`has some readonly text... | chore: post-review changes part 2 | null | aurelia/aurelia | MIT License | TypeScript |
@@ -4,7 +4,7 @@ const {runInPackage} = require('./package');
function npmPublishPackage(pkgName, pkgPath) {
return runInPackage({
- constructCommand: (targetPath) => `cd ${path.resolve(targetPath)} && npm pack --access public`,
+ constructCommand: (targetPath) => `cd ${path.resolve(targetPath)} && npm publish --access ... | chore(tooling): fix publish from dry run | null | webex/react-widgets | MIT License | JavaScript |
@@ -16,7 +16,7 @@ import zipfile
# The current test/decompression data version in use
current_test_data = 'test_data_v5'
-current_decomp_data = 'decomp_data_v6'
+current_decomp_data = 'decomp_data_v7'
def parse_argv():
parser = argparse.ArgumentParser(add_help=False)
| chore(tools): bump decompression data version | null | nfrechette/acl | MIT License | Python |
@@ -8,6 +8,8 @@ rustc --version
cargo install --force cbindgen
rm -rf ./include
+rustup toolchain install nightly-2022-12-01
+
echo -------------------------------------
echo - Build library with CMake
echo -------------------------------------
@@ -17,9 +19,6 @@ cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . -v
cd .... | chore: fix FFI CI build | null | pact-foundation/pact-reference | MIT License | Shell |
@@ -22,12 +22,11 @@ class DynamoDbClientTest extends TestCase
public function testRegisterSessionHandlerReturnsHandler()
{
- $this->markTestSkipped();
$client = $this->getTestSdk()->createDynamoDb();
- $sh = $client->registerSessionHandler(['locking' => true]);
- $this->assertInstanceOf(
+ @$sh = $client->registerSessi... | chore: re-enable sessionhandler unit test | null | aws/aws-sdk-php | Apache License 2.0 | PHP |
@@ -698,8 +698,8 @@ public class CacheRefreshTimer {
return true;
}
- log.error("Skipping target entries update. Destination server schema doesn't has next attributes: '{}'",
- targetAttributesSet);
+ log.error("Skipping target entries update. Destination server schema doesn't has next attributes: '{}', target OC: '{}'... | chore: add more log information to CR validation schema | null | gluufederation/oxtrust | MIT License | Java |
@@ -9,13 +9,13 @@ import tarfile
import zipfile
from io import BytesIO
from tempfile import mktemp
-import warnings
+from warnings import warn
from scrapy.exceptions import ScrapyDeprecationWarning
from scrapy.responsetypes import responsetypes
-warnings.warn(
+warn(
'scrapy.downloadermiddlewares.decompression is depre... | chore: import only used function | null | scrapy/scrapy | BSD 3-Clause New or Revised License | Python |
@@ -187,9 +187,9 @@ public abstract class AbstractDevServerRunner implements DevModeHandler {
reuseExistingPort(port);
return;
} else {
- getLogger().warn(
+ getLogger().warn(String.format(
"%s port '%d' is defined but it's not working properly. Using a new free port...",
- getServerName(), port);
+ getServerName(), po... | chore: Fix logging output | null | vaadin/flow | Apache License 2.0 | Java |
@@ -7,16 +7,13 @@ npx tsc -p tsconfig.d.json -d
npx rollup -c rollup.config.types.js
# Replace export with closing brace for module declaration
-sed -i.bak '$s/export {.*};/}/' lib/index.d.ts
+sed -i='' '$s/export {.*};/}/' lib/index.d.ts
# Replace declare's with export's
-sed -i.bak 's/declare/export/g' lib/index.d.ts... | chore: yarn type:gen now works on all platforms without hacks | null | solana-labs/solana-web3.js | MIT License | Shell |
@@ -2,13 +2,15 @@ import { module, test } from 'qunit';
import FormatRelative from 'ember-intl/-private/formatters/format-relative';
module('format-relative', function (hooks) {
- let IntlRelativeTimeFormat;
+ let IntlRelativeTimeFormat: unknown;
hooks.beforeEach(function () {
+ // @ts-expect-error
IntlRelativeTimeForm... | chore(tests): migrate `formatters` | null | ember-intl/ember-intl | MIT License | TypeScript |
@@ -39,6 +39,8 @@ defmodule Ash.Actions.Sort do
calc ->
{module, opts} = calc.calculation
+ Code.ensure_compiled!(module)
+
if function_exported?(module, :expression, 2) do
if Ash.DataLayer.data_layer_can?(resource, :expression_calculation_sort) do
calculation_sort(
| chore: ensure calc module compiled (shouldn't have to do this) | null | ash-project/ash | MIT License | Elixir |
@@ -192,6 +192,7 @@ OUTDIR="$(mktemp -d)/${HOSTNAME}"
collectCloudProviderJson
collectDirLogs /var/log
collectDirLogs /var/log/azure
+collectDirLogs /var/log/kubeaudit
collectDir /etc/kubernetes/manifests
collectDir /etc/kubernetes/addons
collectDaemonLogs kubelet.service
| chore: get-logs collects audit logs | null | azure/aks-engine | MIT License | Shell |
@@ -78,7 +78,7 @@ func cmdWrite(f *globalFlags, opt genericCLIOpts) *cobra.Command {
cmd.PersistentFlags().StringVar(&writeFlags.Format, "format", "", "Input format, either lp (Line Protocol) or csv (Comma Separated Values). Defaults to lp unless '.csv' extension")
cmd.PersistentFlags().StringArrayVar(&writeFlags.Heade... | chore(doc): apply proofreading | null | influxdata/influxdb | MIT License | Go |
@@ -48,8 +48,8 @@ import (
"k8s.io/client-go/kubernetes"
)
-func TestCreatePullRequest(t *testing.T) {
+func setupTestPullRequestOperation(t *testing.T) (operations.PullRequestOperation) {
_, _, _, commonOpts, _ := getFakeClientsAndNs(t)
testOrgName := "testowner"
@@ -79,109 +79,81 @@ func TestCreatePullRequest(t *test... | chore: use a common setupTestPullRequestOperation func | null | jenkins-x/jx | Apache License 2.0 | Go |
@@ -405,6 +405,14 @@ pub mod pallet {
&mut local_ctx,
status_change,
);
+
+ Self::emit(
+ local_ctx.xtx_id,
+ Some(local_ctx.xtx),
+ &Self::account_id(),
+ &vec![],
+ None,
+ );
});
// Go over pending Bids to discover whether
@@ -754,11 +762,7 @@ pub mod pallet {
accepted_as_best_bid,
);
- // ToDo: Remove below after e... | chore: remove obsolete insurance event and connect XTransactionReadyForExec | null | t3rn/t3rn | Apache License 2.0 | Rust |
import 'package:quiver/collection.dart';
-final _functionRegExp = RegExp(r'^[a-zA-Z_]+\(.+\)$', caseSensitive: false);
+final _functionRegExp = RegExp(r'^[a-zA-Z_]+\(.+\)$');
final _functionStart = '(';
final _functionEnd = ')';
final _functionNotationUrl = 'url';
@@ -40,13 +40,16 @@ class CSSFunction {
return _functio... | chore: core prettier | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -93,7 +93,7 @@ impl StageTableSink {
let output_format = fmt.create_format(table_info.schema(), format_settings);
let mut max_file_size = table_info.stage_info.copy_options.max_file_size;
if max_file_size == 0 {
- // 5G per file by default
+ // 64M per file by default
max_file_size = 64 * 1024 * 1024;
}
| chore(unload): update comments | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -34,6 +34,7 @@ use GuzzleHttp\ClientInterface;
use GuzzleHttp\Ring\Client\StreamHandler;
use Psr\Cache\CacheItemPoolInterface;
use Psr\Http\Message\RequestInterface;
+use Psr\Http\Message\ResponseInterface;
use Psr\Log\LoggerInterface;
use Monolog\Logger;
use Monolog\Handler\StreamHandler as MonologStreamHandler;
| chore: fix class reference in docblock | null | googleapis/google-api-php-client | Apache License 2.0 | PHP |
#!/bin/bash
+
+TARGET="."
+
if [ -n "$1" ]; then
- cd $1
- echo "Found folder $1"
+ TARGET="$1"
fi
-for PBF in $(find . -type f | grep proto$)
+
+echo "Target folder is: $TARGET"
+
+for PBF in $(find $TARGET -type f | grep proto$)
do
echo $PBF
PFILE=$(basename $PBF)
| chore: specify target | null | ava-labs/avalanchego | BSD 3-Clause New or Revised License | Shell |
@@ -97,27 +97,22 @@ internal func generateRSAPublicKey(with modulus: Data, exponent: Data) -> Data {
exponentLengthOctets.count + exponentBytes.count + 2).encodedOctets()
// Combine the two sets of data into a single container
- var builder: [CUnsignedChar] = []
- let data = NSMutableData()
-
+ let bytesArray: [UInt8] ... | chore: small refactoring in CommonCryptoHelpers.swift | null | adyen/adyen-ios | MIT License | Swift |
@@ -10,10 +10,6 @@ import UIKit
/// :nodoc:
public final class FormToggleItemView: FormValueItemView<Bool, FormToggleItemStyle, FormToggleItem> {
- private enum Layout {
- static let switchWidth: CGFloat = 40.0
- }
-
// MARK: - UI elements
private lazy var stackView: UIStackView = {
@@ -32,6 +28,7 @@ public final class... | chore: Set content compression priority on switch view | null | adyen/adyen-ios | MIT License | Swift |
@@ -100,14 +100,6 @@ main() {
success "${SCENARIO_DIR} applied to ${MASTER_HOST} (master) and ${SLAVE_HOSTS} (slaves)"
fi
- if [[ "${IS_TEST_ONLY:-}" == 1 ]]; then
- # force use of this scenario
- run_test_loop "${SCENARIO}"
- else
- # autodetect scenario
- run_test_loop
- fi
-
success "End of perturb"
}
@@ -118,42 +11... | chore: removed test loop function and calling | null | kubernetes-simulator/simulator | Apache License 2.0 | Shell |
@@ -72,7 +72,7 @@ pub fn snapshot_logs() -> (Vec<Entry<LogEntry>>, Vec<String>) {
},
];
let want = vec![
- "[2, 0, 0, 0, 0, 0, 0, 0, 5]:{\"name\":\"\",\"endpoint\":{\"addr\":\"\",\"port\":0},\"grpc_api_advertise_host\":null}", // Nodes
+ "[2, 0, 0, 0, 0, 0, 0, 0, 5]:{\"name\":\"\",\"endpoint\":{\"addr\":\"\",\"port\":0... | chore(meta): fix test: Node.grpc_api_advertise_address | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -13,12 +13,31 @@ open class PXAccountMoneyDto: NSObject, Codable {
open var invested: Bool = false
open var cardTitle: String?
open var sliderTitle: String?
+ open var cardType: PXAccountMoneyTypes?
+ open var color: String?
+ open var paymentMethodImageURL: String?
+ open var gradientColors: [String]?
- public init... | chore: parsing displayInfo for account_money | null | mercadopago/px-ios | MIT License | Swift |
@@ -137,8 +137,7 @@ class GeoCategoryConfigurationTests: XCTestCase {
let amplifyConfig = AmplifyConfiguration(geo: geoConfig)
try Amplify.configure(amplifyConfig)
- throw XCTSkip("Fatal error throw is not compatible with async methods")
- let registry = TypeRegistry.register(type: MockGeoCategoryPlugin.self) { _ in Mo... | chore(geo): Fix unit tests with preConditionFailure | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -13,6 +13,9 @@ public final class StoredPaymentMethodComponent: PaymentComponent, PresentableCo
/// :nodoc:
public let apiContext: APIContext
+ /// The Adyen context.
+ public var adyenContext: AdyenContext
+
/// :nodoc:
public var paymentMethod: PaymentMethod { storedPaymentMethod }
@@ -21,9 +24,11 @@ public final ... | chore: Inject AdyenContext in StoredPaymentMethodComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -108,8 +108,6 @@ ElectronBrowserContext::ElectronBrowserContext(const std::string& partition,
in_memory_(in_memory),
ssl_config_(network::mojom::SSLConfig::New()),
weak_factory_(this) {
- // TODO(nornagon): remove once https://crbug.com/1048822 is fixed.
- base::ScopedAllowBlockingForTesting allow_blocking;
user_age... | chore: remove ScopedAllowBlockingForTesting | null | electron/electron | MIT License | C++ |
@@ -1324,8 +1324,7 @@ public class Binder<BEAN> implements Serializable {
/**
* Sets the field value by invoking the getter function on the given
- * bean. The default listener attached to the field will be removed for
- * the duration of this update.
+ * bean.
*
* @param bean
* the bean to fetch the property value fro... | chore: Remove obsolete comment and assert in Binder | null | vaadin/flow | Apache License 2.0 | Java |
@@ -26,8 +26,7 @@ module.exports = function(defaults) {
babel: babelOptions,
'ember-cli-babel': {
- includePolyfill:
- process.env.EMBER_ENV === 'production' || Boolean(process.env.CI)
+ includePolyfill: process.env.EMBER_ENV === 'production'
},
prember: {
| chore(build): drop polyfill for CI | null | machty/ember-concurrency | MIT License | JavaScript |
/* eslint-disable functional/immutable-data */
/* eslint-disable import/no-commonjs */
-const fs = require('fs');
+const util = require('util');
+const exec = util.promisify(require('child_process').exec);
+const fs = require('fs').promises;
const path = require('path');
module.exports = {
monorepo: {
mainVersionFile: ... | chore(release): configure shipjs to use lerna | null | algolia/algoliasearch-client-javascript | MIT License | JavaScript |
@@ -87,10 +87,6 @@ public class DevModeUsageStatistics {
getLogger().debug("Telemetry enabled");
storage.access(() -> {
- if (instance != null) {
- getLogger().warn("init should only be called once");
- }
-
instance = new DevModeUsageStatistics(projectFolder, storage);
// Make sure we are tracking the right project
Str... | chore: Remove warning about stats init | null | vaadin/flow | Apache License 2.0 | Java |
@@ -10,7 +10,7 @@ export NODE_OPTIONS="--max-old-space-size=4096 ${NODE_OPTIONS:-}"
/bin/bash ./install.sh
-npx lerna publish --force-publish=* --skip-npm --skip-git --repo-version ${ver}
+npx lerna version --force-publish=* --no-git-tag-version --no-push ${ver}
# Update CHANGELOG.md only at the root
cat > /tmp/context... | chore: update deprecated `lerna publish` usage | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -20,11 +20,11 @@ const writeFile = promisify(fs.writeFile);
const {
BENCHMARK_REPO = 'https://github.com/salesforce/lwc.git',
BENCHMARK_REF = 'master',
- BENCHMARK_AUTO_SAMPLE_CONDITIONS = '25%', // how much difference we want to determine between A and B
+ BENCHMARK_AUTO_SAMPLE_CONDITIONS = '1%', // how much differ... | chore(perf-benchmarks): tweak default constants | null | salesforce/lwc | MIT License | JavaScript |
@@ -138,26 +138,18 @@ public struct AmountComponents {
private static func extractAmountComponents(
from formattedString: String
) -> (currency: String, value: String)? {
- guard let regexp = try? NSRegularExpression(
- pattern: "(\\d+(?:[.,\\s]\\d+)+)",
- options: []
- ), let match = regexp.firstMatch(
- in: formatted... | chore: Use 'string.range(of' when splitting amount into components | null | adyen/adyen-ios | MIT License | Swift |
@@ -232,15 +232,41 @@ func (app *BaseApp) EndBlock(req abci.RequestEndBlock) (res abci.ResponseEndBloc
return res
}
-// PrepareProposal implements the ability for the application to verify and/or modify transactions in a block proposal.
+// PrepareProposal implements the PrepareProposal ABCI method and returns a
+// Re... | chore: improve ABCI 1.0 godocs | null | cosmos/cosmos-sdk | Apache License 2.0 | Go |
@@ -1319,11 +1319,7 @@ func (d *db) ReplicateTx(ctx context.Context, exportedTx []byte, skipIntegrityCh
return nil, ErrNotReplica
}
-<<<<<<< HEAD
hdr, err := d.st.ReplicateTx(ctx, exportedTx, skipIntegrityCheck, waitForIndexing)
-=======
- hdr, err := d.st.ReplicateTx(ctx, exportedTx, true, false)
->>>>>>> 51dfa473 (ch... | chore(pkg/database): upgrade after rebasing | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -5,7 +5,7 @@ cd "${curDir}/../" || return
check() {
# gofmt
echo "CHECK: gofmt, check code formats"
- result=$(find . -name '*.go' -print0 | xargs gofmt -s -l -d 2>/dev/null)
+ result=$(find . -name '*.go' -print0 | xargs -0 gofmt -s -l -d 2>/dev/null)
if [[ ${#result} -gt 0 ]]; then
echo "${result}"
echo "CHECK: pl... | chore: fix script to check code format | null | dragonflyoss/dragonfly | Apache License 2.0 | Shell |
@@ -2,6 +2,7 @@ package snake
import (
"context"
+ "fmt"
"net/http"
"os"
"os/signal"
@@ -68,7 +69,7 @@ func New(cfg *conf.Config) *Application {
// Run start a app
func (a *Application) Run() {
- log.Infof("Start to listening the incoming requests on http address: %s", conf.Conf.App.Addr)
+ fmt.Printf("Listening and se... | chore: update start msg | null | go-eagle/eagle | MIT License | Go |
@@ -44,7 +44,7 @@ export interface IEventAggregator extends EventAggregator {}
/**
* Enables loosely coupled publish/subscribe messaging.
*/
-export class EventAggregator implements IEventAggregator {
+export class EventAggregator {
/** @internal */
public readonly eventLookup: Record<string, ((message: unknown, channe... | chore(eventaggregator): remove circular type ref | null | aurelia/aurelia | MIT License | TypeScript |
@@ -212,12 +212,6 @@ class MeetingViewModel(
}
}
- override fun onReconnected() {
- }
-
- override fun onReconnecting(error: HMSException) {
- }
-
override fun onRoomUpdate(type: HMSRoomUpdate, hmsRoom: HMSRoom) {
HMSLogger.d(TAG, "join:onRoomUpdate type=$type, room=$hmsRoom")
}
| chore: cleanup unused callbacks | null | 100mslive/100ms-android | MIT License | Kotlin |
@@ -73,7 +73,7 @@ func (r TerminalStatusReporter) ReportComplete(status *StatusRollup) error {
fmt.Println(msg)
for _, entityGUID := range status.EntityGUIDs {
- fmt.Printf("\n\thttps://one.newrelic.com/redirect/entity/%s\n", entityGUID)
+ fmt.Printf("\n https://one.newrelic.com/redirect/entity/%s\n", entityGUID)
}
fmt... | chore(install): use spaces instead of tabs for guid output | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -29,11 +29,6 @@ function run_regression_against_framework_version() {
exit 1
fi
- if [[ ! "${CANDIDATE_VERSION}" =~ "rc" ]]; then
- echo "Unexpected CANDIDATE_VERSION: ${CANDIDATE_VERSION}. Must be set to a pre-release version. Did you forget to run './bump-candiate.sh' before packing?"
- exit 1
- fi
-
SUPPORTED_FRA... | chore: Remove CANDIDATE_VERSION check from regression tests | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -108,7 +108,7 @@ output('recipes', () => db('Recipe', false).map(recipe => {
return {
id,
amount,
- ilvl: +db('Item', null, true).findById(id)['Level{Item}']
+ ilvl: id < 20 ? 0 : +db('Item', null, true).findById(id)['Level{Item}']
}
}).filter(a => a)
const totalIlvl = ingredients.reduce((sum, { amount, ilvl }) => s... | chore(extractor): fix crystals' quality to 0 | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | JavaScript |
@@ -9,7 +9,7 @@ class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
let options = [kSourceUrl : "http://clappr.io/highline.mp4", kPosterUrl : "http://clappr.io/poster.png"]
- player = Player(options: options)
+ player = Player(options: options as Options)
listenToPlayerEvents()
@@... | chore(swift3): complete project's Clappr_Example target migration | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
#include "shell/renderer/printing/print_render_frame_helper_delegate.h"
+#include <utility>
+
#include "content/public/renderer/render_frame.h"
#include "extensions/buildflags/buildflags.h"
#include "third_party/blink/public/web/web_element.h"
@@ -49,9 +51,9 @@ bool PrintRenderFrameHelperDelegate::OverridePrint(
// ins... | chore: modernize base::Value usage in shell/renderer/printing | null | electron/electron | MIT License | C++ |
*/
package net.kyori.adventure.identity;
-import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
/**
@@ -38,11 +37,6 @@ public interface PlayerIdentified extends Identified {
* @return the player identity
* @since 4.12.0
*/
- @Contract(pure = true)
- @NotNull PlayerIdentity playerIdentity(... | chore: Remove duplicate method for identity override | null | kyoripowered/adventure | MIT License | Java |
@@ -515,6 +515,16 @@ storiesOf("CustomWidgets").add(
})
);
+storiesOf("RangeSlider").add(
+ "default",
+ wrapWithHits({
+ template: `
+ <ng-ais-range-slider attributeName="price">
+ </ng-ais-range-slider>
+ `
+ })
+);
+
start({
projectName: "Angular InstantSearch",
projectLink: "https://github.com/algolia/angular-insta... | chore(dev-novel): add `ng-ais-range-slider` example | null | algolia/angular-instantsearch | MIT License | TypeScript |
@@ -244,7 +244,7 @@ trait Auditable
return call_user_func([$userResolver, 'resolveId']);
}
- throw new AuditingException('Invalid User resolver, UserResolver FQCN expected');
+ throw new AuditingException('Invalid UserResolver implementation');
}
/**
| chore(Auditable): update resolveUserId() exception message | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -2,7 +2,7 @@ import * as fs from 'fs-extra';
import { Octokit } from '@octokit/core';
import { Octokit as octo } from '@octokit/rest';
-import * as throttling from '@octokit/plugin-throttling';
+import { throttling } from '@octokit/plugin-throttling';
import { Tag, Commit, Package, Author, GitHubAuth } from '../@typ... | chore: Fix octokit plugin import | null | webhintio/hint | Apache License 2.0 | TypeScript |
@@ -4,6 +4,7 @@ import { PeripheralDeviceAPI } from '../lib/api/peripheralDevice'
import { PeripheralDevices } from '../lib/collections/PeripheralDevices'
import * as _ from 'underscore'
import { getCurrentTime } from '../lib/lib'
+import { logger } from './logging'
let lowPrioFcn = (fcn: (...args) => any, ...args: any... | chore: added logging to cronjob | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -219,6 +219,13 @@ class AutoRepeat(Document):
new_doc.set('to_date', to_date)
def get_next_schedule_date(self, schedule_date, for_full_schedule=False):
+ """
+ Returns the next schedule date for auto repeat after a recurring document has been created.
+ Adds required offset to the schedule_date param and returns the... | chore: added a docstring for the get_next_schedule_date method | null | frappe/frappe | MIT License | Python |
@@ -15,7 +15,7 @@ export class LayoutRowFilter {
static IS_GC_TRADE = new LayoutRowFilter(row => row.tradeSources !== undefined && row.tradeSources
.find(source => source.trades
- .find(trade => [20, 21, 22].indexOf(trade.currencyId) > -1) !== undefined) !== undefined, 'IS_GC_TRADE');
+ .find(trade => [20, 21, 22].inde... | chore: fixed GC seals filter | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -16,7 +16,8 @@ const AddressHashCardPanel = styled.div`
display: flex;
flex-direction: row;
align-items: center;
- overflow-x: hidden;
+ overflow: hidden;
+ position: relative;
@media (max-width: 700px) {
height: 50px;
@@ -74,7 +75,8 @@ const AddressHashCardPanel = styled.div`
#address_hash__value {
color: #ffffff;
... | chore: Fix title copy issue | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -77,7 +77,6 @@ export class CraftingReplayService {
success: this.isSuccess(packet)
});
}
- console.log(replay);
return replay;
}, null),
filter(replay => replay && !!replay.endTime && replay.steps.length > 0),
| chore: log clear | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
import builtins
import json
+from unittest import mock
-import mock
from absl.testing import parameterized
from kfp.registry import ApiAuth
from kfp.registry import RegistryClient
| chore(sdk): use unittest.mock instead of mock | null | kubeflow/pipelines | Apache License 2.0 | Python |
*
******************************************************************************/
-package io.questdb.cutlass.line.udp;
+package org.questdb;
+import io.questdb.cutlass.line.udp.LineProtoSender;
import io.questdb.network.Net;
import io.questdb.std.Os;
-import org.junit.Ignore;
-import org.junit.Test;
+import io.questdb... | chore: line UDP test code | null | questdb/questdb | Apache License 2.0 | Java |
@@ -108,6 +108,10 @@ private void OnEnable()
{
debugString = "DEBUG&";
}
+ else
+ {
+ debugString = "DISABLE_AUTH&";
+ }
Application.OpenURL($"http://localhost:8080/tetra.html?{debugString}position={startInCoords.x}%2C{startInCoords.y}&ws=ws%3A%2F%2Flocalhost%3A5000%2Fdcl");
}
| chore: add `DISABLE_AUTH` param to `WSSController` url | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -158,7 +158,7 @@ export function callersFlamebearer(
// 1. we first make a regular tree
subtrees.forEach((v, i) => {
- totalNode.children.push(arrayToTree(v, targetFunctionTotals[i]));
+ totalNode.children.push(arrayToTree(v.reverse(), targetFunctionTotals[i]));
});
// 2. that allows us to use the same dedup functio... | chore(frontend): sandwich view fix | null | pyroscope-io/pyroscope | Apache License 2.0 | TypeScript |
@@ -74,7 +74,6 @@ export const menuPanelStyles = composes(
}
&:hover, &:global([aria-expanded="true"]) {
- font-weight: 600;
& Icon {
opacity: 1;
}
| chore(core-dialogs): menu styles | null | dbeaver/cloudbeaver | Apache License 2.0 | TypeScript |
@@ -2,13 +2,14 @@ package commands
import (
"fmt"
+ "os"
+ "testing"
+ "time"
+
"github.com/argoproj/gitops-engine/pkg/utils/kube"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
- "os"
- "testing"
- "time"
"github.com/argoproj/gitops-engine/pkg/... | chore: Print application table test | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -17,7 +17,9 @@ import org.camunda.bpm.model.bpmn.BpmnModelInstance;
import org.camunda.bpm.model.bpmn.builder.*;
import org.camunda.bpm.model.bpmn.instance.*;
import org.camunda.bpm.model.bpmn.instance.Process;
+import org.camunda.bpm.model.bpmn.instance.bpmndi.BpmnShape;
import org.camunda.bpm.model.xml.Model;
+imp... | chore(modify/test): remove bpmn shape when removing flow node | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -228,20 +228,22 @@ class CapacitorConfig {
}
__handleSSLonAndroid (add) {
- const capacitorSrcPath = appPaths.resolve.capacitor(
- 'android/app/src/main/java'
- )
+ const capacitorSrcPath = appPaths.resolve.capacitor('android/app/src/main/java')
let mainActivityPath = fg.sync(`**/MainActivity.java`, { cwd: capacitor... | chore(app): small style refactoring to capacitor-config | null | quasarframework/quasar | MIT License | JavaScript |
#!/bin/bash
set -e
-set +x
+set -x
trap "cd $(pwd -P)" EXIT
SCRIPT_PATH="$(cd "$(dirname "$0")" ; pwd -P)"
@@ -25,18 +25,18 @@ function build {
cd ${SCRIPT_PATH}
mkdir -p ./output/playwright-${SUFFIX}
- tar -xzvf ./output/playwright.tgz -C ./output/playwright-${SUFFIX}/
+ tar -xzf ./output/playwright.tgz -C ./output/pl... | chore: fix randomly crashing build-playwright-driver.sh | null | microsoft/playwright | Apache License 2.0 | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.