diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -195,9 +195,9 @@ Is your router accepting the correct message type? (ockam_core::RouterMessage)",
async fn run_mailbox(mut rx: Receiver<RelayMessage>, mb_tx: Sender<RelayMessage>) {
// Relay messages into the worker mailbox
while let Some(enc) = rx.recv().await {
- match mb_tx.send(enc.clone()).await {
- Ok(x) => x,... | chore(rust): avoid relay message cloning | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -21,13 +21,13 @@ import { logger } from '$Logger';
function mapStateToProperties( state ) {
return {
safeBrowserApp: state.safeBrowserApp,
- pWeb: state.pWeb
+ pWeb: state.pWeb,
};
}
function mapDispatchToProperties( dispatch ) {
const actions = {
- ...SafeBrowserAppActions
+ ...SafeBrowserAppActions,
};
return bind... | chore(lint): lint fixing | null | maidsafe/sn_browser | BSD 3-Clause New or Revised License | TypeScript |
@@ -273,42 +273,28 @@ class RenderFlexLayout extends RenderLayoutBox {
}
}
- double flowAwarePaddingStart() {
+ double flowAwareMainAxisPadding() {
if (CSSFlex.isHorizontalFlexDirection(flexDirection)) {
return _startIsTopLeft(flexDirection) ? paddingLeft : paddingRight;
}
return _startIsTopLeft(flexDirection) ? paddin... | chore: rename function for readability | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -575,7 +575,7 @@ root: %x at index: %d
Args: cobra.MinimumNArgs(1),
},
&cobra.Command{
- Use: "verify index hash",
+ Use: "check-consistency index hash",
Short: "Check consistency for the specified index and hash",
Aliases: []string{"c"},
RunE: func(cmd *cobra.Command, args []string) error {
| chore: rename command "verify" to "check-consistency" | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -490,7 +490,7 @@ impl From<BytecodeHash> for SettingsMetadata {
/// Determines the hash method for the metadata hash that is appended to the bytecode.
///
-/// While solc's default is `Ipfs`, see <https://docs.soliditylang.org/en/latest/using-the-compiler.html#compiler-api>, the default for this type is `None` to en... | chore: make ipfs the default bytecodehash again | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -25,6 +25,7 @@ export abstract class MLKitCameraView extends MLKitCameraViewBase {
protected rotation;
protected lastVisionImage;
private detector: any;
+ private camera;
disposeNativeView(): void {
super.disposeNativeView();
@@ -34,6 +35,18 @@ export abstract class MLKitCameraView extends MLKitCameraViewBase {
}
th... | chore(Android): Release camera in disposeNativeView | null | eddyverbruggen/nativescript-plugin-firebase | MIT License | TypeScript |
@@ -365,6 +365,12 @@ describe('HierarchyList', () => {
fireEvent.click(saveButton);
+ fireEvent.click(moveText);
+
+ const cancelText = screen.queryAllByText('Cancel');
+
+ fireEvent.click(cancelText[0]);
+
fireEvent.click(expandIcons[0]);
const listItems = screen.queryAllByRole('listitem');
| chore(hierarchylist): raise test coverage | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -144,12 +144,8 @@ open class FormViewController: UIViewController, Localizable, KeyboardObserver,
}
private func getAllValidatableItems() -> [ValidatableFormItem] {
- let visibleItems = itemManager.topLevelItem.filter { item in
- if let hidableItem = (item as? Hidable), hidableItem.isHidden.wrappedValue {
- return f... | chore: Refactor how visible items are gotten | null | adyen/adyen-ios | MIT License | Swift |
@@ -29,12 +29,5 @@ export const BFormRadio = /*#__PURE__*/ extend({
bvGroup() {
return this.getBvGroup()
}
- },
- watch: {
- computedLocalChecked(newValue, oldValue) {
- if (!looseEqual(newValue, oldValue)) {
- this.$emit(MODEL_EVENT_NAME, newValue)
- }
- }
}
})
| chore(form-radio): remove useless watcher | null | bootstrap-vue/bootstrap-vue | MIT License | JavaScript |
@@ -62,7 +62,6 @@ export default part => {
)
macro('scalebox', { at: points.scalebox })
- /*
// Figure out where notches go
let q1 = new Path().move(points.bicepsRight)._curve(points.capQ1Cp1, points.capQ1)
let q1Len = q1.length()
@@ -84,7 +83,6 @@ export default part => {
}
snippets.frontNotch = new Snippet('notch', p... | chore(breanna): Enabled sleevecap notches again | null | freesewing/freesewing | MIT License | JavaScript |
@@ -75,7 +75,7 @@ def main(event, context):
'-c',
'git clone $$REPO_URL && cd $$REPO_NAME && git checkout $$COMMIT_SHA && git status',
]
- if not PR_NUMBER or _HEAD_REPO_URL:
+ if not (PR_NUMBER or _HEAD_REPO_URL):
logging.warn('Unable to infer PR number via Cloud Build. Trying via GH API')
# get list of github PRs tha... | chore: Fix condition bug in comment bot | null | googlecloudplatform/cloud-foundation-toolkit | Apache License 2.0 | Python |
@@ -33,6 +33,7 @@ let dependencies: [Package.Dependency] = [
url: "https://github.com/mattgallagher/CwlPreconditionTesting.git",
.upToNextMinor(from: "2.1.0"))
]
+let swiftSettings: [SwiftSetting]? = [.define("DEV_PREVIEW_BUILD")]
let amplifyTargets: [Target] = [
.target(
@@ -121,7 +122,8 @@ let apiTargets: [Target] = ... | chore: adds DEV_PREVIEW_BUILD build flag to Package.swift for all plugin targets | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -59,6 +59,6 @@ return [
'apple' => [
'developers' => 'https://www.dropbox.com/developers/documentation',
'icon' => 'icon-apple',
- 'enabled' => true,
+ 'enabled' => false,
],
];
| chore: disabled Apple OAuth | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -89,10 +89,10 @@ impl Partitions {
}
pub fn reshuffle(&self, executors: Vec<String>) -> Result<HashMap<String, Partitions>> {
- let mut executors_sort = executors;
- executors_sort.sort();
+ let mut executors_sorted = executors;
+ executors_sorted.sort();
- let executor_nums = executors_sort.len();
+ let num_executo... | chore(partition): rename vars | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -413,7 +413,7 @@ class Pipeline(object):
def __init__(self, dsk):
super(Pipeline, self).__init__()
- # TODO -- check that at least one input depends on 'input_buffer'
+ # TODO -- check that at least one input depends on 'input'
self.dsk = dsk
self.t_ = Segment(0, 0)
@@ -423,19 +423,19 @@ class Pipeline(object):
def ... | chore: rename `input_buffer` to `input` | null | pyannote/pyannote-audio | MIT License | Python |
@@ -28,6 +28,7 @@ import io.questdb.mp.MPSequence;
import io.questdb.std.Unsafe;
import org.junit.Assert;
import org.junit.Before;
+import org.junit.BeforeClass;
import org.junit.Test;
import java.sql.Connection;
@@ -38,11 +39,18 @@ import static io.questdb.test.tools.TestUtils.assertEventually;
public class PGFlushQue... | chore(test): fix flaky flush query cache tests for pg wire | null | questdb/questdb | Apache License 2.0 | Java |
@@ -19,11 +19,11 @@ use Illuminate\Support\Facades\Config;
use Mockery;
use Orchestra\Testbench\TestCase;
use OwenIt\Auditing\Contracts\Auditable;
+use OwenIt\Auditing\Exceptions\AuditingException;
use OwenIt\Auditing\Models\Audit;
use OwenIt\Auditing\Tests\Stubs\AuditableStub;
use OwenIt\Auditing\Tests\Stubs\AuditStub... | chore(Auditable): update tests to reflect changes to the exceptions being thrown | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -219,8 +219,7 @@ const Widget: FC<Swap> = ({
return
}
- void router.replace(
- {
+ void router.replace({
pathname: router.pathname,
query: {
...router.query,
@@ -236,10 +235,7 @@ const Widget: FC<Swap> = ({
srcUseBentoBox,
dstUseBentoBox,
},
- }
- // undefined,
- // { shallow: true }
- )
+ })
}, [
dstChainId,
dstTok... | chore(apps/swap): add debug logs | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -53,6 +53,7 @@ internal final class StoredCardComponent: PaymentComponent, PresentableComponent
flavor: _isDropIn ? .dropin : .components,
context: apiContext
)
+ sendTelemetryEvent()
let manager = StoredCardAlertManager(paymentMethod: storedCardPaymentMethod,
apiContext: apiContext,
@@ -74,4 +75,12 @@ internal fina... | chore: Telemetry event on StoredCardComponent when alert is created | null | adyen/adyen-ios | MIT License | Swift |
@@ -57,13 +57,16 @@ import java.util.Set;
import java.util.UUID;
import java.util.stream.Collectors;
+import static com.appsmith.server.acl.AclPermission.ASSIGN_PERMISSION_GROUPS;
import static com.appsmith.server.acl.AclPermission.EXECUTE_DATASOURCES;
import static com.appsmith.server.acl.AclPermission.MANAGE_APPLICAT... | chore: Refactored `validCreateWorkspaceTest` test case to ensure EE test case scenario also passed by moving away from absolute assertions to containsAll way of expression | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -36,8 +36,10 @@ const Menus = () => {
},
{
type: LinkType.Outer,
- name: t('navbar.faucet'),
- url: 'https://faucet.nervos.org',
+ // name: t('navbar.faucet'),
+ // url: 'https://faucet.nervos.org',
+ name: '',
+ url: '',
},
]
}, [t])
| chore: hide faucet menu | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -22,6 +22,8 @@ import java.util.Collections;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.params.ParameterizedTest;
+import org.junit.jupiter.params.provider.CsvSource;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.test... | chore(ApplicationRegistry): add missing tests for getStatus | null | codecentric/spring-boot-admin | Apache License 2.0 | Java |
@@ -535,6 +535,12 @@ export function deserialize(
for (let i = 0, len = positions.length - 1; i < len; i++) {
let block = blocks[i];
if (block.type === "text") {
+ annotations.push(
+ new ParseAnnotation({
+ start: positions[i],
+ end: positions[i] + 1,
+ })
+ );
continue;
}
let AnnotationClass = schemaForItem(block, D... | chore: wrap text block object replacement characters in a parse annotation | null | condenast/atjson | Apache License 2.0 | TypeScript |
@@ -29,12 +29,7 @@ const addresses: any[] = [
}
];
-const findBiggestId = () => addresses.reduce((biggest, curr) => {
- if (curr.id > biggest) {
- return curr.id;
- }
- return biggest;
-}, 0);
+const findBiggestId = () => addresses.reduce((highest, { id }) => Math.max(highest, id), 0);
const disableOldDefault = () => {... | chore: simplified findBiggestId | null | vuestorefront/vue-storefront | MIT License | TypeScript |
@@ -165,7 +165,7 @@ export const WithdrawInfoPanel = styled.div`
case 'medium':
return '190px'
default:
- return '80px'
+ return '85px'
}
}};
| chore: adjust nervos dao popover width | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -138,7 +138,7 @@ exports['browser-api'] = gulp.series(
browserApi
);
exports['polymer-build'] = gulp.series(clean, build);
-exports.default = gulp.series(browserApi, build);
+exports.default = gulp.series(clean, browserApi, build);
process.on('unhandledRejection', r => {
console.error('UNHANDLED PROMISE REJECTION:\n... | chore(gulp): re-add mistakenly deleted clean step | null | nodecg/nodecg | MIT License | JavaScript |
@@ -31,6 +31,8 @@ class JsonProblemAsDefaultResponseRule {
private fun responsesPerOperation(context: Context): Collection<Pair<Operation, Map<String, ApiResponse>>> =
context.api.paths.values
- .flatMap { it.readOperations().orEmpty()
- .map { operation -> Pair(operation, operation.responses.orEmpty()) } }
+ .flatMap ... | chore: formatting the code | null | zalando/zally | MIT License | Kotlin |
@@ -8,6 +8,7 @@ export NODE_OPTIONS="--max-old-space-size=4096 ${NODE_OPTIONS:-}"
root=$PWD
PACMAK=${PACMAK:-jsii-pacmak}
+ROSETTA=${ROSETTA:-jsii-rosetta}
TMPDIR=${TMPDIR:-$(dirname $(mktemp -u))}
distdir="$PWD/dist"
rm -fr ${distdir}
@@ -29,7 +30,7 @@ function lerna_scopes() {
# Compile examples with respect to "decd... | chore: allow specifying rosetta location in pack | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -30,15 +30,7 @@ export PATH=~/.mint/bin:$PATH
mint install ezura/spell-checker-for-swift@5.3.0
-typokana "Adyen" | processOutPut $OUT_PUT_FILE_NAME
-typokana "AdyenActions" | processOutPut $OUT_PUT_FILE_NAME
-typokana "AdyenCard" | processOutPut $OUT_PUT_FILE_NAME
-typokana "AdyenComponents" | processOutPut $OUT_PUT... | chore: small fix to spell_check.sh | null | adyen/adyen-ios | MIT License | Shell |
@@ -34,13 +34,6 @@ import org.camunda.bpm.model.bpmn.BpmnModelInstance;
public class DatabaseFlushTest extends ConcurrencyTestCase {
- public static final BpmnModelInstance ONE_TASK_PROCESS = Bpmn
- .createExecutableProcess("process")
- .startEvent()
- .userTask()
- .endEvent()
- .done();
-
public static final BpmnMode... | chore(engine): remove unused process from DatabaseFlushTest | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -7,9 +7,11 @@ defmodule Logflare.SqlTest do
@project_id "logflare-dev-238720"
@env "test"
setup do
+ # TODO: remove once 1-1 functionality reached
start_supervised!(SQL)
on_exit(fn ->
+ # TODO: remove unboxing once 1-1 functionality reached
Sandbox.unboxed_run(Logflare.Repo, fn ->
Logflare.Repo.delete_all(Logflare.U... | chore: add in inline docs for v1 SQL | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -82,7 +82,7 @@ export async function launchBrowserServer(
...passedOptions,
}
- if (!options.sandbox) {
+ if (!options.sandbox && ['chrome', 'chromium'].includes(options.browser)) {
options.args.push('--no-sandbox')
}
@@ -90,7 +90,9 @@ export async function launchBrowserServer(
console.dir(options)
}
+ if (options.b... | chore: only allow option 'no-sandbox' for chrome/chromium | null | flood-io/element | Apache License 2.0 | TypeScript |
@@ -32,7 +32,7 @@ import io.questdb.std.Unsafe;
public class RawTCPILPSenderMain {
public static void main(String[] args) {
- final String ilp = "dhl_plug,building=ba1aa618-4de4-40be-a4f7-72e341274b91,floor=a3979437-5d95-4f4d-8ef2-ace635cffce4,label=144c8537-db16-11e9-a374-0e9c62fb84fe,room=d534235d-d253-4aaa-8e40-eb8d... | chore(test): removed mac address from git | null | questdb/questdb | Apache License 2.0 | Java |
@@ -22,7 +22,7 @@ import java.util.List;
import com.vaadin.flow.component.HasElement;
/**
- * Event created before navigation happens.
+ * Event created after navigation completed.
*
* @author Vaadin Ltd
* @since 1.0
| chore: Fix AfterNavigationEvent JavaDoc | null | vaadin/flow | Apache License 2.0 | Java |
@@ -12,7 +12,7 @@ if [ "$BRANCH" = "master" ]; then
npx sort-package-json &&
# Bump the version & changelogs
- # npx standard-version &&
+ npx standard-version &&
git push origin $BRANCH #--follow-tags
else
| chore: re-enable standard-version | null | millsp/ts-toolbelt | Apache License 2.0 | Shell |
@@ -28,6 +28,7 @@ import com.b2international.snowowl.snomed.cis.SnomedIdentifiers;
import com.b2international.snowowl.snomed.common.SnomedConstants.Concepts;
import com.b2international.snowowl.snomed.common.SnomedTerminologyComponentConstants;
import com.b2international.snowowl.snomed.core.domain.SnomedDescriptions;
+i... | chore(snomed): reduce the loaded documents by loading only the relevant | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
#nullable disable
using System;
+using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Runtime.Serialization;
+using osu.Framework.Extensions.EnumExtensions;
using osu.Framework.Utils;
namespace osu.Game.Rulesets.Scoring
@@ -135,6 +137,8 @@ public enum ... | chore(osu.Game): provide ordering index for `HitResult` | null | ppy/osu | MIT License | C# |
@@ -224,6 +224,7 @@ class Trainer:
writer.add_scalar(f'auto_lr/loss', losses[-1], global_step=i)
writer.add_scalar(f'auto_lr/lr', lrs[-1], global_step=i)
+ # increase learning rate
for param_group in optimizer.param_groups:
param_group['lr'] *= factor
@@ -333,7 +334,7 @@ class Trainer:
# whenever the loss is exploding.... | chore: move Trainer to pyannote.audio.train.trainer module | null | pyannote/pyannote-audio | MIT License | Python |
@@ -285,7 +285,7 @@ public void installModule(
// validate the downloaded file
var checksum = ChecksumUtil.fileShaSum(target);
- if (!checksum.equals(entry.sha3256())) {
+ if (!CloudNet.instance().dev() && !checksum.equals(entry.sha3256())) {
FileUtil.delete(target);
source.sendMessage(I18n.trans("cloudnet-install-modu... | chore(node): do not validate module checksums when running in development mode | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
+###############################################################################################
+# Android Runtime build script for CI.
+# This file is used by the CI only and it's not meant for regular development.
+###############################################################################################
+
+ech... | chore: add jenkins ci build script | null | nativescript/android-runtime | Apache License 2.0 | Shell |
import 'should'
-import * as csv from '../lib/index'
-import * as transform from 'stream-transform/lib/index'
-import {Options, Transformer} from 'stream-transform/lib/index'
+import {transform} from '../lib/index'
describe('API Types', () => {
@@ -10,8 +8,8 @@ describe('API Types', () => {
it('stream', () => {
// With... | chore(csv): ts: update test | null | adaltas/node-csv | MIT License | TypeScript |
@@ -41,7 +41,7 @@ const isDev = process.env.NODE_ENV === 'development';
const extPath = path.join(
os.homedir(),
- '/Library/Application\\ Support/Google/Chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/4.10.1_0'
+ '/Library/Application Support/Google/Chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi... | chore: openDevtools on development | null | sprout2000/elephicon | MIT License | TypeScript |
@@ -2,7 +2,7 @@ defmodule Ash.Error.Changes.InvalidAttribute do
@moduledoc "Used when an invalid value is provided for an attribute change"
use Ash.Error.Exception
- def_ash_error([:field, :message], class: :invalid)
+ def_ash_error([:field, :message, :private_vars], class: :invalid)
defimpl Ash.ErrorKind do
def id(_),... | chore: add back `private_vars` for `InvalidAttribute` | null | ash-project/ash | MIT License | Elixir |
@@ -18,7 +18,7 @@ class AuditableTest extends TestCase
*
* @return void
*/
- public function testAuditableToAuditFailInvalidAuditEvent()
+ public function testToAuditFailInvalidAuditEvent()
{
$model = new AuditableModelStub();
@@ -36,7 +36,7 @@ class AuditableTest extends TestCase
*
* @return void
*/
- public function ... | chore(AuditableTest): rename methods | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -629,7 +629,7 @@ public class PropServerConfiguration implements ServerConfiguration {
// deprecated
this.pgNetIdleConnectionTimeout = getLong(properties, env, PropertyKey.PG_NET_IDLE_TIMEOUT, 300_000);
this.pgNetIdleConnectionTimeout = getLong(properties, env, PropertyKey.PG_NET_CONNECTION_TIMEOUT, this.pgNetIdleCo... | chore(conf): make default value of pg.net.connection.queue.timeout consistent with configuration file (300s) | null | questdb/questdb | Apache License 2.0 | Java |
@@ -31,7 +31,46 @@ protected override IEnumerator SetUp()
}
[UnityTest]
- public IEnumerator DisableModifiersOnTeleportedAvatars()
+ public IEnumerator NotApplyModifierIfNoAvatarDetected()
+ {
+ yield return null;
+
+ mockAvatarModifier.DidNotReceiveWithAnyArgs().ApplyModifier(null);
+ }
+
+ [UnityTest]
+ public IEnume... | chore: AvatarModifierArea test | null | decentraland/explorer | Apache License 2.0 | C# |
private static final boolean NO_NATIVE_TRANSPORT = Boolean.getBoolean("cloudnet.no-native");
private static final NettyTransport CURR_NETTY_TRANSPORT = NettyTransport.availableTransport(NO_NATIVE_TRANSPORT);
// var int codec
- private static final int[] VAR_INT_LENGTHS = new int[33];
private static final SilentDecoderE... | chore: remove some unneeded VarInt codec stuff | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -583,8 +583,9 @@ class KeyChainManager {
}
}
- /// This function will removed
- @Deprecated("This function will removed")
+ /// This function is deprecated and will be removed in upcoming version
+ @Deprecated(
+ "This function is deprecated and will be removed in upcoming version")
Future<BiometricStorageFile> getB... | chore: deprecated message updated | null | atsign-foundation/at_client_sdk | BSD 3-Clause New or Revised License | Dart |
@@ -33,14 +33,24 @@ class LodestoneCharacterController extends AbstractController
if (empty(trim($request->get('name')))) {
throw new NotAcceptableHttpException('You must provide a name to search.');
}
+ $rediskey = "lodestone_search_json_response_v6_" . preg_replace('/\s+/', '_', $request->get('name'));
+ $cache = Red... | chore: cache layer for lodestone search | null | xivapi/xivapi.com | MIT License | PHP |
@@ -46,4 +46,5 @@ npx lessc css/mathlive-fonts.less dist/mathlive-fonts.css
echo -e "$LINECLEAR$CHECK Static CSS built${RESET}"
# Do dev build and watch
-node ./scripts/start.js
+node ./scripts/start.js&
+npx tsc --watch --noEmit --preserveWatchOutput
| chore: run tsc in the background during `start` | null | arnog/mathlive | MIT License | Shell |
@@ -162,7 +162,7 @@ protected void stopProcess() {
} catch (IllegalThreadStateException | InterruptedException ignored) { // force shutdown the process
}
// force destroy the process now - not much we can do here more than that
- this.process.destroyForcibly();
+ this.process.toHandle().destroyForcibly();
this.process ... | chore(node): Use process handle to monitor service processes | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -178,8 +178,16 @@ pub async fn streaming_load(
)),
}
}
+ InsertInputSource::StreamingWithFormat(_, _, _) => Err(poem::Error::from_string(
+ "'INSERT INTO $table FORMAT <type> is now only supported in clickhouse handler,\
+ please use 'FILE_FORMAT = (type = <type> ...)' instead.",
+ StatusCode::BAD_REQUEST,
+ )),
_no... | chore: refine error message about old format streaming load | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -112,7 +112,7 @@ open class FormValueItemView<ValueType, Style, ItemType: FormValueItem<ValueType
transitionView.frame.size.width = 0.0
addSubview(transitionView)
- let context = AnimationContext(animationKey: separatorHighlightingAnimationKey,
+ let context = AnimationContext(animationKey: Animation.separatorHighli... | chore: refactored separatorHighlightingAnimationKey constant into an enum | null | adyen/adyen-ios | MIT License | Swift |
@@ -30,12 +30,12 @@ module.exports = function(eleventyConfig) {
* see changes before deployed.
*/
- let pathPrefix = "/docs/head";
+ let pathPrefix = "/docs/head/";
if (process.env.CONTEXT === "deploy-preview") {
- pathPrefix = "";
+ pathPrefix = "/";
} else if (process.env.BRANCH === "latest") {
- pathPrefix = "/docs/... | chore: add trailing slash to `pathPrefix` | null | eslint/eslint | MIT License | JavaScript |
@@ -19,7 +19,7 @@ public extension ENS {
self.web3 = web3
switch web3.provider.network {
case .Mainnet?:
- registryContractAddress = EthereumAddress("0x314159265dd8dbb310642f98f50c066173c1259b")
+ registryContractAddress = EthereumAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e")
case .Rinkeby?:
registryContractAdd... | chore: ENS Registry migration | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -20,6 +20,12 @@ chmod -R 755 ./$PIPELINE_ID
# mv logo_white.svg ./$PIPELINE_ID/static/images/logo.svg
# mv favicon.ico ./$PIPELINE_ID/static/images/favicon.ico
+find ./$PIPELINE_ID -type f -name '*.html' -exec sed -i -e '#ara is a free and open source project under#d' {} \;
+find ./$PIPELINE_ID -type f -name '*.html... | chore: fix internal strings | null | kubeinit/kubeinit | Apache License 2.0 | Shell |
@@ -28,7 +28,7 @@ class CSSStyleDeclaration {
CSSStyleDeclaration({Map<String, dynamic> style}) {
if (style != null) {
style.forEach((property, dynamic value) {
- if (value != null) this.setProperty(property, value: value.toString());
+ if (value != null) setProperty(property, value: value.toString());
});
}
}
@@ -42,1... | chore: bind gitlab, to | null | openkraken/kraken | Apache License 2.0 | Dart |
{
public static class ApplicationSettings
{
- public static string version = "0.5.7";
+ public static string version = "0.5.8";
}
public static class Environment
| chore: update build version to 0.5.8 | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -35,46 +35,6 @@ class InsertStatement<DataClass> {
});
}
- GenerationContext _createContext(DataClass entry, bool replace) {
- final map = table.entityToSql(entry)
- ..removeWhere((_, value) => value == null);
-
- final ctx = GenerationContext(database);
- ctx.buffer
- ..write('INSERT ')
- ..write(replace ? 'OR REPL... | chore: Rearrange methods | null | simolus3/drift | MIT License | Dart |
@@ -65,7 +65,7 @@ constexpr long128_t operator+(long128_t lhs, long128_t rhs) {
return signed_add_carry(long128_t(lhs.hi + rhs.hi, lhs.lo + rhs.lo), lhs);
}
-inline constexpr double cast_positive(long128_t v) {
+inline double cast_positive(long128_t v) {
return static_cast<double>(v.lo) + ldexp(static_cast<double>(v.hi... | chore: fix constexpr context for ldexp which is constexpr only since C++23 | null | questdb/questdb | Apache License 2.0 | C++ |
-import { ArtistCollectionsRailTestsQuery } from "__generated__/ArtistCollectionsRailTestsQuery.graphql"
-import { GenericArtistSeriesRail } from "app/Components/GenericArtistSeriesRail"
-import { CardRailCard } from "app/Components/Home/CardRailCard"
-import { GlobalStoreProvider } from "app/store/GlobalStore"
+import... | chore: use RNTL for ArtistCollectionsRail tests | null | artsy/eigen | MIT License | TypeScript |
@@ -76,7 +76,6 @@ func (s *SetImageExtender) makeSetImageForm(sel string) *tview.Form {
}
for name, containerImage := range originalImages {
f.AddInputField(name, containerImage.Image, 0, nil, func(changed string) {
- log.Info().Msgf("changed : %v", changed)
formSubmitResult[name] = ContainerImage{ContainerType: contai... | chore(set_image): fix logs | null | derailed/k9s | Apache License 2.0 | Go |
@@ -47,6 +47,6 @@ for test in $(cd ${scriptdir} && ls test-*.sh); do
echo "${test}"
echo "============================================================================================"
- # /bin/bash ${scriptdir}/${test}
+ /bin/bash ${scriptdir}/${test}
done
| chore(cli): resurrect integ test execution | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -51,7 +51,6 @@ import java.io.InputStream;
import java.util.Collections;
import java.util.concurrent.TimeUnit;
-import io.reactivex.rxjava3.core.Completable;
import io.reactivex.rxjava3.core.Observable;
import io.reactivex.rxjava3.core.Single;
import io.reactivex.rxjava3.observers.TestObserver;
@@ -123,13 +122,8 @@ ... | chore(rxbindings): attempt to fix transient test failures where progressConsumer emits 4 values instead of expected 5 | null | aws-amplify/amplify-android | Apache License 2.0 | Java |
@@ -94,13 +94,22 @@ class Admin::PagesController < Admin::AdminController
render :formats => [:xml]
end
+ def is_public_profile_disabled
+ if !@viewed_user.nil? && current_user != @viewed_user
+ user = Carto::User.find_by(id: @viewed_user.id)
+ return user.has_feature_flag?('disable_public_profile_page')
+ end
+ end
+
... | chore: include datasets & maps routes | null | cartodb/cartodb | BSD 3-Clause New or Revised License | Ruby |
import * as React from 'react';
import {Box, safelySpreadBoxProps} from '@twilio-paste/box';
-import {PaddingProps} from '@twilio-paste/style-props';
+import {PaddingProps, isSpaceTokenProp} from '@twilio-paste/style-props';
-export interface CardProps extends React.HTMLAttributes<''>, PaddingProps {}
+export interface... | chore(card): component propTypes cleanup pass | null | twilio-labs/paste | MIT License | TypeScript |
@@ -16,5 +16,12 @@ int main() {
auto date3 = 22_d/March/2015;
std::cout << date3 << '\n';
+ try {
+ auto tz = date::current_zone()->name();
+ std::cout << "timezone: " << tz << std::endl;
+ } catch (const std::exception & e) {
+ std::cout << "exception caught " << e.what() << std::endl;
+ }
+
return EXIT_SUCCESS;
}
| chore: use some tz code | null | conan-io/conan-center-index | MIT License | C++ |
@@ -59,15 +59,15 @@ export function crc16xmodem(buf: Buffer, previous?: number): number {
for (var index = 0; index < buf.length; index++) {
const byte = buf[index];
- let code = crc >>> 8 & 0xFF;
+ let code = (crc >>> 8) & 0xff;
- code ^= byte & 0xFF;
+ code ^= byte & 0xff;
code ^= code >>> 4;
- crc = crc << 8 & 0xFFF... | chore: fix prettier linting | null | ledgerhq/ledgerjs | Apache License 2.0 | JavaScript |
@@ -157,6 +157,7 @@ func (r *RunContext) loadInitialContextValues() {
r.SetContextValue("isDev", IsDev())
r.SetContextValue("os", runtime.GOOS)
r.SetContextValue("ciPlatform", ciPlatform())
+ r.SetContextValue("cliPlatform", os.Getenv("INFRACOST_CLI_PLATFORM"))
r.SetContextValue("ciScript", ciScript())
r.SetContextValu... | chore: add env var to set cliPlatform context | null | infracost/infracost | Apache License 2.0 | Go |
@@ -21,6 +21,8 @@ use OwenIt\Auditing\Contracts\Auditable;
use OwenIt\Auditing\Exceptions\AuditableTransitionException;
use OwenIt\Auditing\Exceptions\AuditingException;
use OwenIt\Auditing\Models\Audit;
+use OwenIt\Auditing\Redactors\Left;
+use OwenIt\Auditing\Redactors\Right;
use OwenIt\Auditing\Tests\Models\Article;... | chore(Auditable): increase test coverage | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -15,7 +15,7 @@ module.exports = {
rules: [
{
test: /\.m?js$/,
- exclude: [/node_modules(?!([\/\\]universal\-router))/],
+ exclude: [/node_modules(?!([\/\\]universal\-router)|([\/\\]graphlibrary))/],
use: [
{
loader: 'babel-loader',
| chore: kpc design for blog | null | ksc-fe/kpc | MIT License | JavaScript |
@@ -285,6 +285,8 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN
$directory = getcwd() . DIRECTORY_SEPARATOR . array_pop($parts);
}
+ $io->writeError('<info>Creating a "' . $packageName . '" project at "' . $directory . '"</info>');
+
$fs = new Filesystem();
if (file_exists($director... | chore: Improve create-project install UX | null | composer/composer | MIT License | PHP |
@@ -7,6 +7,7 @@ def nuke_prefix():
client = boto3.client('s3')
paginator = client.get_paginator('list_object_versions')
object_delete_list = []
+ print(f"Remove all objects prefixed with s3://{BUCKET_NAME}/{PREFIX}")
for object_response_itr in paginator.paginate(Bucket=BUCKET_NAME, Prefix=PREFIX):
if 'DeleteMarkers' in... | chore: Add confirmation of configuration to delete-all-versions script | null | openneuroorg/openneuro | MIT License | Python |
@@ -14,7 +14,7 @@ module Messages
def content
"Hey #{username}, your project #{lesson_name} has a broken link in your submission. " \
- "Please update it by #{submission_deletion_date} so it doesn\'t get removed!"
+ "Please update it by #{submission_deletion_date} so it doesn't get removed!"
end
def url
| chore: fix failing rubocop bump | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -5,14 +5,14 @@ scriptdir=$(cd $(dirname $0) && pwd)
# Download (parts of) the cfn-lint repo that we use to enhance our model
intermediate="$(mktemp -d)/tmp.zip"
-url="https://github.com/aws-cloudformation/cfn-lint/archive/master.zip"
+url="https://github.com/aws-cloudformation/cfn-lint/archive/refs/heads/main.zip"
e... | chore: update cfn-lint download link | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -1078,17 +1078,14 @@ func (n *innerNode) split() (node, error) {
newNode := &innerNode{
t: n.t,
- nodes: make([]node, len(n.nodes)-splitIndex),
+ nodes: n.nodes[splitIndex:],
_maxKey: n._maxKey,
maxSize: n.maxSize,
mut: true,
}
- copy(newNode.nodes, n.nodes[splitIndex:])
newNode.updateTs()
- nodes := make([]node, sp... | chore(embeddded/tbtree): reduce mem allocs | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -171,7 +171,7 @@ public final class DropInComponent: NSObject,
}
private func didSelectCancelButton(isRoot: Bool, component: PresentableComponent) {
- guard !paymentInProgress else { return }
+ guard !paymentInProgress || component is Cancellable else { return }
if isRoot {
self.delegate?.didFail(with: ComponentErro... | chore: fix for AwaitComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -81,6 +81,8 @@ describe('Exporting a Project', function() {
cy.contains('Endpoints').click();
cy.dataCy('endpoints-environment-menu').should('exist');
cy.dataCy('project-settings-menu-import-export').click();
+ cy.wait(2000);
+ cy.dataCy('project-settings-menu-import-export').click();
cy.dataCy('project-settings-men... | chore: fix export rasa test | null | botfront/botfront | Apache License 2.0 | JavaScript |
@@ -350,7 +350,7 @@ fn watch(exercises: &[Exercise], verbose: bool) -> notify::Result<WatchStatus> {
let (tx, rx) = channel();
let should_quit = Arc::new(AtomicBool::new(false));
- let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_secs(2))?;
+ let mut watcher: RecommendedWatcher = Watcher::new(tx, D... | chore(watch): decrease watch delay | null | rust-lang/rustlings | MIT License | Rust |
@@ -33,17 +33,19 @@ let package = Package(
name: \"TempProjectTests\",
dependencies: [
\"TempProject\",
+ .product(name: \"Adyen\", package: \"Adyen\"),
+ .product(name: \"AdyenCard\", package: \"Adyen\"),
.product(name: \"AdyenDropIn\", package: \"Adyen\"),
.product(name: \"AdyenWeChatPay\", package: \"Adyen\")]),
]
)... | chore: small change in test-SPM-integration.sh script | null | adyen/adyen-ios | MIT License | Shell |
@@ -36,7 +36,7 @@ public final class SnomedConceptSearchRequestBuilder extends SnomedComponentSear
implements TermFilterSupport<SnomedConceptSearchRequestBuilder> {
/**
- * Special term based sort key for
+ * Special term based sort key for sorting by preferred term based on locale and term.
*/
public static final Stri... | chore(javadoc): minor javadoc change in concept search request builder | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -34,9 +34,7 @@ var Command = &cobra.Command{
}
client.WithClientAndProfile(func(nrClient *newrelic.NewRelic, profile *credentials.Profile) {
- if profile == nil {
- log.Fatal(errors.New("default profile has not been set"))
- }
+ assertProfileIsValid(profile)
// Wire up the recipe installer with dependency injection.... | chore(install): assert profile region is US | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -11,7 +11,7 @@ const HTML_TAGS =
'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +
'canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,' +
'th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,' +
- 'option,output,progress,select,textarea,details,dialog,m... | chore(shared): menuitem tag has been deprecated | null | vuejs/vue-next | MIT License | TypeScript |
@@ -53,9 +53,7 @@ import okhttp3.RequestBody;
*
* @version v2
* @see <a href="http://www.ibm.com/watson/developercloud/language-translator.html">Language Translator</a>
- * @deprecated Language Translator v3 is now available. The v2 Language Translator API will no longer be available
*/
-@Deprecated
public class Langua... | chore(Language Translator v2): Add generated changes | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -102,7 +102,7 @@ defmodule Ash.Actions.ManagedRelationships do
index},
{changeset, instructions} ->
opts = Ash.Changeset.ManagedRelationshipHelpers.sanitize_opts(relationship, opts)
- opts = Keyword.put(opts, :authorize?, engine_opts[:authorize?] && opts[:authorize?])
+ opts = Keyword.put(opts, :authorize?, !!(engin... | chore: always set `authorize?` to a boolean when managing relationships | null | ash-project/ash | MIT License | Elixir |
@@ -29,27 +29,18 @@ public class IncidentInstanceHandler implements MigratingInstanceParseHandler<In
public void handle(MigratingInstanceParseContext parseContext, IncidentEntity incident) {
if (incident.getConfiguration() == null
&& (isFailedJobIncident(incident) || isExternalTaskIncident(incident))) {
- handleCallAct... | chore(migration): remove code duplication | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -61,8 +61,7 @@ class MyValenstate(commands.Cog):
embed_text = f"You have {len(matches)} more matches, these being {leftovers}."
elif len(matches) == 1:
embed_title = "But there's another one!"
- leftovers = str(matches)
- embed_text = f"You have another match, this being {leftovers}."
+ embed_text = f"You have anoth... | chore: Update myvalenstate.py | null | python-discord/sir-lancebot | MIT License | Python |
@@ -565,10 +565,11 @@ func (aof *AppendableFile) sync() error {
err = aof.f.Sync()
if aof.retryableSync && err != nil {
- // prevent data lost when fsync fails
- // buffered data is going to be attempt to be re-written
- // in following flushing and sync calls.
// Buffer space is not freed when there is an error during... | chore(embedded/appendable): improve explanatory comment inside sync method | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -4,7 +4,7 @@ use std::collections::BTreeMap;
use k256::SecretKey;
-/// Returns the private developer keys <https://docs.moonbeam.network/snippets/code/setting-up-node/dev-accounts/>
+/// Returns the private developer keys <https://docs.moonbeam.network/builders/get-started/networks/moonbeam-dev/#pre-funded-developme... | chore(core): update moonbeam url | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -2,13 +2,9 @@ import * as Environment from "~/node_common/environment";
import * as Utilities from "~/node_common/utilities";
import * as Data from "~/node_common/data";
import * as Constants from "~/node_common/constants";
-import * as Serializers from "~/node_common/serializers";
-import * as Social from "~/node_c... | chore(node_common/managers/viewer): remove unused code | null | filecoin-project/slate | MIT License | JavaScript |
@@ -103,8 +103,8 @@ impl Output for Project<'_> {
)?;
write!(
w,
- "\n Authority access route: {:?}",
- self.authority_access_route
+ "\n Authority access route: {}",
+ self.authority_access_route.as_deref().unwrap_or("N/A")
)?;
write!(
w,
| chore(rust): improve cowstr display | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -81,7 +81,7 @@ pub enum IndexeddbStoreError {
/// Sometimes Migrations can't proceed without having to drop existing
/// data. This allows you to configure, how these cases should be handled.
#[allow(dead_code)]
-#[derive(PartialEq, Clone, Debug)]
+#[derive(Clone, Debug, PartialEq, Eq)]
pub enum MigrationConflictStr... | chore(indexeddb): Appease clippy | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -410,5 +410,5 @@ func formulaNameFor(name string) string {
name = strings.ReplaceAll(name, "_", " ")
name = strings.ReplaceAll(name, ".", "_")
name = strings.ReplaceAll(name, "@", "AT")
- return strings.ReplaceAll(strings.Title(name), " ", "")
+ return strings.ReplaceAll(strings.Title(name), " ", "") // nolint:stati... | chore: ignore deprecated strings.Title warn | null | goreleaser/goreleaser | MIT License | Go |
@@ -199,9 +199,7 @@ defmodule Logflare.Mixfile do
defp aliases do
[
setup: [
- "deps.get",
- "cmd elixir --sname orange --cookie monster -S mix ecto.setup",
- "run priv/repo/seeds.exs"
+ "cmd elixir --sname orange --cookie monster -S mix do deps.get, ecto.setup, ecto.seed",
],
start: [
"cmd env $(cat .dev.env|xargs) PO... | chore: fix dev setup alias, split out ecto seeding to separate command | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -38,6 +38,7 @@ import java.util.LinkedHashSet;
import java.util.List;
import java.util.stream.Collectors;
+import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.vaadin.experimental.FeatureFlags;
@@ -112,7 +113,16 @@ public class PwaRegistry implements Serializable {
: new PwaConfiguration(pwa, useV14Bo... | chore: log initialization time for PWARegistry | null | vaadin/flow | Apache License 2.0 | Java |
@@ -39,10 +39,9 @@ public extension EIP712Hashable {
}
private func dependencies() -> [EIP712Hashable] {
- let dependencies = Mirror(reflecting: self).children
+ Mirror(reflecting: self).children
.compactMap { $0.value as? EIP712Hashable }
.flatMap { [$0] + $0.dependencies() }
- return dependencies
}
private func encod... | chore: removed return keyword from a function with one expression only | null | skywinder/web3swift | Apache License 2.0 | Swift |
import logging
from datetime import datetime, timedelta
-from typing import Type
+from typing import Optional, Type
from airflow_monitor.common.airflow_data import (
DagRunsFullData,
@@ -21,7 +21,7 @@ LONG_REQUEST_TIMEOUT = 300
logger = logging.getLogger(__name__)
-def _min_start_time(start_time_window: int) -> datetim... | chore: enable pylint "logging-fstring-interpolation" rule | null | databand-ai/dbnd | Apache License 2.0 | Python |
@@ -26,8 +26,6 @@ const SSH_STYLES = css`
display: flex;
flex-direction: column;
flex: 1;
- padding-top: 16px;
- padding-bottom: 16px;
overflow: auto;
}
`;
@@ -96,7 +94,7 @@ export const SSH: TabContainerPanelComponent<IConnectionFormTabProps> = observer
return styled(styles)(
<SubmittingForm onSubmit={form.save}>
- <C... | chore(core-connections): connection form styles | null | dbeaver/cloudbeaver | Apache License 2.0 | TypeScript |
@@ -4,7 +4,8 @@ set -ex
pushd github/google-cloud-php
-composer --no-interaction --no-ansi --no-progress update
+# retry composer update command on fail up to 3 times.
+for i in $(seq 1 3); do composer --no-interaction --no-ansi --no-progress update && s=0 && break || s=$? && sleep 15; done; (exit $s)
SHORT_JOB_NAME=${... | chore: retry composer update on fail | null | googleapis/google-cloud-php | Apache License 2.0 | Shell |
@@ -214,29 +214,44 @@ public class ExternalTaskQueryTest extends PluggableProcessEngineTestCase {
@Deployment(resources = "org/camunda/bpm/engine/test/api/externaltask/parallelExternalTaskProcess.bpmn20.xml")
public void testQueryByBusinessKey() {
// given
+ String topicName1 = "topic1";
+ String topicName2 = "topic2";... | chore(engine): update external tasks query business key filter tests | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.