diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -98,37 +98,53 @@ public class ConvertPolymerCommand implements AutoCloseable {
CommandExecutionException {
Path lookupPath = getLookupPath();
+ int totalCount = 0;
+ int convertedCount = 0;
+ int skippedCount = 0;
+ int failedCount = 0;
+
for (Path filePath : getFilePathsByGlob(lookupPath, SERVER_GLOB)) {
try {
+ to... | chore: show some statistics after Polymer to Lit conversion | null | vaadin/flow | Apache License 2.0 | Java |
@@ -67,17 +67,6 @@ main() {
parse_arguments "$@"
validate_arguments "$@"
- if [[ "${IS_AUTOPOPULATE:-}" == 1 ]]; then
- if ! command doctl >/dev/null; then
- error "Please install doctl from https://github.com/digitalocean/doctl"
- fi
-
-# if [[ "${DIGITALOCEAN_ACCESS_TOKEN:-}" == "" ]]; then
-# warning "Please export ... | chore: removed digital ocean references | null | kubernetes-simulator/simulator | Apache License 2.0 | Shell |
#!/bin/bash
-# rm -fr dt
+rm -fr dt
-# git clone --depth=1 https://github.com/DefinitelyTyped/DefinitelyTyped.git dt &&
+git clone --depth=1 https://github.com/DefinitelyTyped/DefinitelyTyped.git dt &&
-# npx ts-node scr/tools/dt-update-version.ts &&
+npx ts-node scr/tools/dt-update-version.ts &&
-# cd dt &&
+cd dt &&
... | chore: test re-enable dt | null | millsp/ts-toolbelt | Apache License 2.0 | Shell |
@@ -93,7 +93,11 @@ class Item extends ManualHelper
foreach ($recipes as $recipe) {
if ($recipe->ItemResult->ID == $item->ID) {
$item->Recipes = $item->Recipes ?? array();
- $item->Recipes[] = $recipe;
+ $item->Recipes[] = [
+ 'ID' => $recipe->ID,
+ 'ClassJobID' => $recipe->ClassJob->ID,
+ 'Level' => $recipe->RecipeLeve... | chore: way lighter recipe linking for better embeds | null | xivapi/xivapi.com | MIT License | PHP |
@@ -17,6 +17,7 @@ import live.hms.video.payload.HMSStreamInfo
import live.hms.video.webrtc.HMSRTCAudioTrack
import live.hms.video.webrtc.HMSRTCMediaStreamConstraints
import live.hms.video.webrtc.HMSRTCVideoTrack
+import java.lang.Exception
import java.util.*
import kotlin.collections.ArrayList
@@ -331,7 +332,12 @@ clas... | chore: record lateinit non-fatal exception | null | 100mslive/100ms-android | MIT License | Kotlin |
@@ -14,7 +14,7 @@ package_name() {
# Doesn't use 'npm view' as that is slow. Direct curl'ing npmjs is better
package_exists_on_npm() {
pkg=$1
- ver=${2:-} # optional
+ ver=$2 # optional
curl -I 2>/dev/null https://registry.npmjs.org/$pkg/$ver | head -n 1 | grep 200 >/dev/null
}
@@ -32,13 +32,10 @@ jsii_package_dirs=$(l... | chore: revert "chore: compat checks fail if a release has happened" | null | aws/aws-cdk | Apache License 2.0 | Shell |
-import ResizeObserver from 'resize-observer-polyfill';
-import { polyfill as scrollToPolyfill } from 'smoothscroll-polyfill';
-
-// @ts-ignore
-window.ResizeObserver = ResizeObserver;
-
-// required for scrollTo methods
-scrollToPolyfill();
| chore: drop support for Edge Legacy | null | sap/ui5-webcomponents-react | Apache License 2.0 | TypeScript |
@@ -112,17 +112,31 @@ class BERTBaseEmbeddings(PyTorchEmbeddings):
class BERTEmbeddings(BERTBaseEmbeddings):
def __init__(self, name, **kwargs):
+ """BERT sequence embeddings, used for a feature-ful representation of finetuning sequence tasks.
+
+ If operator == 'concat' result is [B, T, #Layers * H] other size the lay... | chore: the bert sequence embeddings bug is fixed | null | dpressel/mead-baseline | Apache License 2.0 | Python |
@@ -229,6 +229,7 @@ mod tests {
use env_logger;
#[test]
+ #[cfg(not(target_os = "windows"))]
fn manager_should_start_and_shutdown_mock_server() {
env_logger::try_init().unwrap_or(());
let mut manager = ServerManager::new();
@@ -252,7 +253,7 @@ mod tests {
// The tokio runtime is now out of tasks
drop(manager);
- let mi... | chore: skip test that fails intermittently on Windows | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -7,7 +7,7 @@ import { templateController } from '../custom-attribute';
@templateController('replaceable')
export class Replaceable<T extends INode = INode> {
- public readonly id: number;
+ public readonly id: number = nextId('au$component');
public readonly view: IController<T>;
@@ -18,8 +18,6 @@ export class Repla... | chore(replaceable): move id to property | null | aurelia/aurelia | MIT License | TypeScript |
@@ -138,14 +138,15 @@ function ensure_docker_container {
zip \
unzip
+ # We will use clang-12 for all arm64 native builds.
if [[ "${BUILD_FLAVOR}" == *"-arm64" ]]; then
apt-get install -y clang-12
fi
- # Ubuntu 18 installs Python 3.6 as Python3 by default; this, however,
- # fails to run Firefox build scripts.
- # Inst... | chore: fix WebKit ubuntu 18.04 build | null | microsoft/playwright | Apache License 2.0 | Shell |
#!/bin/bash
-# Copyright 2017 The Kubernetes Authors.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable ... | chore: update codegen script for Go moudule compat | null | kong/kubernetes-ingress-controller | Apache License 2.0 | Shell |
@@ -8,7 +8,7 @@ async fn influxql_returns_error() {
let table_name = "the_table";
// Set up the cluster ====================================
- let mut cluster = MiniCluster::create_shared(database_url).await;
+ let mut cluster = MiniCluster::create_shared2(database_url).await;
StepTest::new(
&mut cluster,
@@ -18,7 +18,... | chore: Update influxql end to end tests to kafkaless write path | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -23,7 +23,7 @@ class MutationEventExtensionsTest: BaseDataStoreTests {
/// - When: The sent model matches the received model and the first pending mutation event version is `nil`.
/// - Then: The pending mutation event version should be updated to the received model version of 1.
func testSentModelWithNilVersion_Rec... | chore(datastore): skipping flaky tests | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -75,7 +75,7 @@ add_action('after_setup_theme', function () {
/**
* Register the editor color gradient presets.
- * @link https://developer.wordpress.org/block-editor/developers/themes/theme-support/#block-color-palettes
+ * @link https://developer.wordpress.org/block-editor/developers/themes/theme-support/#block-gra... | chore(theme): Fix docblock link | null | roots/sage | MIT License | PHP |
@@ -7,7 +7,6 @@ import (
"github.com/flanksource/commons/console"
"github.com/flanksource/karina/pkg/platform"
"github.com/flanksource/karina/pkg/types"
- "github.com/flanksource/kommons"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc" // Import kubernetes oidc auth plugin... | chore: improve flux test | null | flanksource/karina | Apache License 2.0 | Go |
@@ -70,30 +70,6 @@ class AuditableTest extends TestCase
$model->toAudit();
}
- /**
- * Test the toAudit() method to FAIL (Audit event method missing).
- *
- * @expectedException RuntimeException
- * @expectedExceptionMessage Unable to handle "foo" event, auditFooAttributes() method missing
- *
- * @return void
- */
- p... | chore(Auditable): remove test for impossible case | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -205,7 +205,6 @@ export const AddressScriptContent = styled.div`
width: 100%;
padding: 18px 30px 10px 25px;
font-size: 16px;
- font-weight: bold;
color: #4d4d4d;
@media (max-width: 700px) {
@@ -233,7 +232,7 @@ export const ScriptLabelItemPanel = styled.div`
> div {
margin-left: 8px;
- color: #888888;
+ color: rgb(77... | chore(ui): remove code hash font weight | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -164,8 +164,11 @@ public class UserEntity implements User, Serializable, DbEntity, HasDbRevision {
public boolean checkPasswordAgainstPolicy(PasswordPolicy policy) {
- CheckPasswordAgainstPolicyResult result = Context.getProcessEngineConfiguration().getIdentityService().checkPasswordAgainstPolicy(policy, newPassword... | chore(engine): cleanup code slightly related to password policy | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -48,9 +48,9 @@ const runWhenInstalled = (packages, pathForCmd, ...args) => {
module.exports = function promptForInstallation(packages, ...args) {
const nameOfPackage = "@webpack-cli/" + packages;
- let packageIsInstalled = true;
- let pathForCmd = "../../packages/init";
- /* try {
+ let packageIsInstalled = false;
+... | chore: reset prompting for cmd | null | webpack/webpack-cli | MIT License | JavaScript |
@@ -65,7 +65,7 @@ open class FullscreenButton: MediaControlPlugin {
button.bindFrameToSuperviewBounds()
}
- @objc func toggleFullscreenButton() {
+ @objc open func toggleFullscreenButton() {
if isOnFullscreen {
core?.trigger(InternalEvent.userRequestExitFullscreen.rawValue)
} else {
| chore: altering method visibility | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -18,6 +18,7 @@ package com.vaadin.flow.component.internal;
import java.io.Serializable;
import java.util.ArrayDeque;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
@@ -78,6 +79,7 @@ import com.vaadin.flow.server.frontend.Fallbac... | chore: add call thread debug logging | null | vaadin/flow | Apache License 2.0 | Java |
@@ -302,7 +302,10 @@ class LongNameAlerts(AlertGenerator):
"voluptate velit esse cillum dolore eu fugiat "
"nulla pariatur. Excepteur sint occaecat cupidatat"
" non proident, sunt in culpa qui officia deserunt"
- " mollit anim id est laborum")
+ " mollit anim id est laborum vvvvvvvvveeeeeeeeeeee"
+ "errrrrrrrrrrrrrrrrr... | chore(demo): add a very long word inside annotation to the demo | null | prymitive/karma | Apache License 2.0 | Python |
@@ -276,18 +276,6 @@ module.exports = {
},
{
name: 'Content',
- sections: [
- {
- name: 'Terms and Conditions',
- components() {
- return [
- path.resolve('packages/TermsAndConditions/TermsAndConditions.jsx'),
- path.resolve('packages/TermsAndConditions/Footnote/Footnote.jsx'),
- path.resolve('packages/TermsAndConditio... | chore(config): move TermsAndConditions to its own category styleguidist | null | telus/tds-core | MIT License | JavaScript |
@@ -14,6 +14,7 @@ use std::{
use async_trait::async_trait;
use serde::{de::DeserializeOwned, Serialize};
use thiserror::Error;
+use tracing::trace;
/// [RetryPolicy] defines logic for which [JsonRpcClient::Error] instances should
/// the client retry the request and try to recover from.
@@ -137,6 +138,7 @@ where
retry_... | chore(providers): add traces to retry provider | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -155,6 +155,29 @@ class AmplifyPublisherTests: XCTestCase {
sink.cancel()
}
+ func testCreateFromAmplifyAsyncThrowingSequenceSuccess() async throws {
+ let input = Array(1...100)
+ let sequence = createAmplifyAsyncThrowingSequence(elements: input)
+ var output = [Int]()
+ let finished = expectation(description: "com... | chore: add test for Amplify.publisher.create with an AmplifyAsyncThrowingSequence | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -452,7 +452,7 @@ func Test_Environment_Deployment_Integration(t *testing.T) {
deployedStack := output.Stacks[0]
expectedResultsForKey := map[string]func(*awsCF.Output){
"EnabledFeatures": func(output *awsCF.Output) {
- require.Equal(t, ",,", aws.StringValue(output.OutputValue), "no env features enabled by default")
... | chore(integ): fix broken integ test | null | aws/copilot-cli | Apache License 2.0 | Go |
@@ -90,7 +90,7 @@ JSContext::~JSContext() {
}
}
- // Manual free nods bound by document.
+ // Manual free nodes bound by document.
{
struct list_head *el, *el1;
list_for_each_safe(el, el1, &document_job_list) {
| chore: fix typeo | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -120,7 +120,10 @@ describe('Environment template Api', () => {
})
})
- describe('Template installation/validation', () => {
+ describe('Template installation/validation', function () {
+ // Increase timeout to wait for template installations to finish
+ this.timeout(5000)
+
let space: Space
let environment: Environm... | chore: wait for env template installations to finish[MONET-1055] | null | contentful/contentful-management.js | MIT License | TypeScript |
@@ -179,13 +179,6 @@ export const teardownPeerSetup = async (peerSetup: PeerSetup): Promise<void> =>
await Promise.all([peerEngines.a.destroy(), peerEngines.b.destroy()]);
await Promise.all([DBAdmin.dropDatabase(aEngineConfig), DBAdmin.dropDatabase(bEngineConfig)]);
} catch (error) {
- if (error.message === 'aborted') ... | chore: remove unneeded error swallowing | null | statechannels/statechannels | MIT License | TypeScript |
@@ -182,31 +182,44 @@ const getNotes = (combined, separate, combinedTestHosp, separateTestHosp) => {
return notesList
}
-const NotesAndDownloads = ({
- slug,
- stateAbbreviation,
- stateName,
+const Notes = ({
combinedData,
separateData,
combinedTestHosp,
separateTestHosp,
-}) => {
- const notesList = getNotes(
+}) => ... | chore: break out notes component | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -858,11 +858,16 @@ class TestBigQuery(unittest.TestCase):
@unittest.skipIf(pyarrow is None, "Requires `pyarrow`")
def test_load_table_from_dataframe_w_explicit_schema(self):
# Schema with all scalar types.
+ # TODO: Uploading DATETIME columns currently fails, thus that field type
+ # is temporarily removed from the ... | chore: temporarily adjust failing system test | null | googleapis/python-bigquery | Apache License 2.0 | Python |
@@ -12,9 +12,8 @@ import Config
# config :realtime, RealtimeWeb.Endpoint,
# url: [host: "realtime.dev", port: 80]
-log_level = System.get_env("LOG_LEVEL", "warning") |> String.to_atom()
-
-config :logger, log_level,
+# Do not print debug messages in production
+config :logger, :warning,
format: "$time [$level] $message... | chore: Revert "feat: add LOG_LEVEL env var for prod" | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -63,7 +63,7 @@ pub fn login_new_client(
password: String,
) -> anyhow::Result<Arc<Client>> {
let builder = new_client_builder(base_path, username.clone())?;
- let user = Box::<UserId>::try_from(username)?;
+ let user = UserId::parse(username)?;
// First we need to log in.
RUNTIME.block_on(async move {
let client = b... | chore: Replace new usage of Box<UserId> | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -192,7 +192,7 @@ public class JwtBearerTokenTest extends DhisControllerWithJwtTokenAuthTest
setupGoogleProvider( GOOGLE_CLIENT_ID );
assertInvalidTokenError(
- "An error occurred while attempting to decode the Jwt: Jwt expired at 2021-03-05T16:19:50Z",
+ "An error occurred while attempting to decode the Jwt: Signed ... | chore: Fix broken JWT test | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -11,11 +11,13 @@ buildscript {
}
plugins {
- kotlin("jvm").version("1.3.21")
- kotlin("plugin.jpa").version("1.3.21")
- kotlin("plugin.noarg").version("1.3.21")
- kotlin("plugin.spring").version("1.3.21")
- kotlin("plugin.allopen").version("1.3.21")
+ val kotlinVersion = "1.3.21"
+
+ kotlin("jvm").version(kotlinVers... | chore(server): avoid repeating variables | null | zalando/zally | MIT License | Kotlin |
@@ -238,8 +238,8 @@ class Trainer:
# upper bound
# heuristic: loss increased between stop-K and stop
- # so we'd rather bound the learning rate around mid-range
- upper = lrs[stop - K // 2]
+ # so we'd rather bound the learning rate at stop-K.
+ upper = lrs[stop - K]
# lower bound. make sure there is at least one order... | chore: add safety margin in "auto LR" | null | pyannote/pyannote-audio | MIT License | Python |
@@ -9,20 +9,25 @@ defmodule Commanded.Aggregates.DefaultLifespan do
@behaviour Commanded.Aggregates.AggregateLifespan
+ alias Commanded.Aggregates.AggregateLifespan
+
@doc """
Aggregate will run indefinitely once started.
"""
+ @impl AggregateLifespan
def after_event(_event), do: :infinity
@doc """
Aggregate will run i... | chore: add to DefaultLifespan | null | commanded/commanded | MIT License | Elixir |
@@ -21,13 +21,16 @@ public final class QiwiWalletComponent: AbstractPersonalInformationComponent {
/// - Parameters:
/// - paymentMethod: The Qiwi Wallet payment method.
/// - apiContext: The component's API context.
+ /// - adyenContext: The Adyen context.
/// - configuration: The component's configuration.
public ini... | chore: AdyenContext in QiwiWalletComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -480,7 +480,7 @@ func (s *ImmuServer) Stop() error {
//CloseDatabases closes all opened databases including the consinstency checker
func (s *ImmuServer) CloseDatabases() error {
- s.stopCorruptionChecker()
+ //s.stopCorruptionChecker()
if s.sysDb != nil {
s.sysDb.Close()
| chore(pkg/server): disable cc | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -528,10 +528,10 @@ function updateSegmentFromIngestData (
logger.debug(adLibPiece)
},
afterUpdate (adLibPiece) {
- logger.debug('updated piece ' + adLibPiece._id)
+ logger.debug('updated adLibPiece ' + adLibPiece._id)
},
afterRemove (adLibPiece) {
- logger.debug('deleted piece ' + adLibPiece._id)
+ logger.debug('del... | chore: log trace fix | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -111,6 +111,8 @@ export const L3rdFloatingInspector: React.FunctionComponent<IProps> = ({
<td className="mini-inspector__value">{item.value}</td>
</tr>
))}
+ {/* Disable the timing information for now, since it's not being used.
+ To be eventually removed, if noone complains -- Jan Starzak, 2021/09/30
<tr>
<td class... | chore: disable timing info in graphics hover inspector | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -896,6 +896,7 @@ public class VariableTest {
}
@Test
+ @Ignore
public void shouldSerializeObjectTypedVariableWithXmlDataSerializationFormat() throws Exception {
// given
ExternalTask externalTaskMock = MockProvider.createExternalTaskWithoutVariables();
@@ -1188,6 +1189,7 @@ public class VariableTest {
}
@Test
+ @Ign... | chore(client): ignore test cases | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -108,13 +108,8 @@ internal final class ComponentManager {
guard storedComponents.isEmpty,
paidComponents.isEmpty,
regularComponents.count == 1,
- let regularComponent = regularComponents.first else { return nil }
- let cannotSkipPaymentList = regularComponent is InstantPaymentComponent
- if cannotSkipPaymentList {
-... | chore: fix after review | null | adyen/adyen-ios | MIT License | Swift |
@@ -553,7 +553,7 @@ func (e *Ec2Infoer) GetServiceImages(service, region string) ([]types.Image, err
serviceImages := make([]types.Image, 0)
switch service {
case svcEks:
- for _, k8sVersion := range []string{"1.16", "1.17", "1.18", "1.19", "1.20", "1.21"} {
+ for _, k8sVersion := range []string{"1.19", "1.20", "1.21"}... | chore: removed unsupported EKS k8s versions | null | banzaicloud/cloudinfo | Apache License 2.0 | Go |
-import { existsSync } from 'node:fs';
import { resolve } from 'node:path';
import { Worker } from 'node:worker_threads';
import type { WorkerReceivedMessage } from '../utils';
@@ -21,7 +20,9 @@ export function initWorkerIfNeeded() {
});
const workerPath = resolve(__dirname, './file-storage-worker.js');
- const exists ... | chore: disable worker for memory storage | null | apify/apify-js | Apache License 2.0 | TypeScript |
@@ -5,6 +5,12 @@ const yaml = require('js-yaml')
const { error, info, verbose } = require('./logger')
const validateHelpers = require('./validate')
+/**
+ *
+ * @param {object} inputs
+ * @param {strinh} projectRoot
+ * @returns string
+ */
function getToken(inputs, projectRoot) {
const { args, envs } = inputs
const op... | chore: document method | null | codecov/uploader | Apache License 2.0 | JavaScript |
@@ -65,7 +65,6 @@ public final class SnomedDescriptionConverter extends BaseRevisionResourceConver
result.setTerm(input.getTerm());
result.setSemanticTag(input.getSemanticTag());
result.setTypeId(input.getTypeId());
- result.setType(new SnomedConcept(input.getTypeId()));
result.setScore(input.getScore());
if (input.get... | chore(api): make sure type field is null when not requesting the typeId | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -38,13 +38,13 @@ final class DenyAccessListener
public function onSecurity(RequestEvent $event): void
{
- $this->checkSecurity($event->getRequest(), 'security', false);
+ $this->checkSecurity($event->getRequest(), 'security');
}
public function onSecurityPostDenormalize(RequestEvent $event): void
{
$request = $event... | chore: cleanup backward compatibility DenyAccessListener | null | api-platform/core | MIT License | PHP |
@@ -87,9 +87,7 @@ class UrlStatTest extends StreamWrapperTestCase
public function testIsExecutable()
{
- // php returns false for is_executable if the file is a directory
- // https://github.com/php/php-src/blob/master/ext/standard/filestat.c#L907
- $this->assertFalse(is_executable(self::$dirUrl));
+ $this->assertTrue(... | chore: [Storage] fix UrlStatTest::testIsExecutable | null | googleapis/google-cloud-php | Apache License 2.0 | PHP |
cargo clean
mkdir -p ../target/artifacts
cargo build --release
+rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
rustup run nightly cbindgen \
--config cbindgen.toml \
--crate pact_ffi \
| chore: fix FFI release build | null | pact-foundation/pact-reference | MIT License | Shell |
@@ -10,7 +10,7 @@ import {redispatchEvent} from '@material/web/controller/events.js';
import {FormController, getFormValue} from '@material/web/controller/form-controller.js';
import {stringConverter} from '@material/web/controller/string-converter.js';
import {ariaProperty} from '@material/web/decorators/aria-property... | chore(text-field): refactor templates for SSR | null | material-components/material-components-web-components | Apache License 2.0 | TypeScript |
@@ -167,6 +167,9 @@ void evaluateQuickjsByteCode(int contextId, Uint8List bytes) {
}
void parseHTML(int contextId, String code) {
+ if(KrakenController.getControllerOfJSContextId(contextId) == null) {
+ return;
+ }
Pointer<Utf8> nativeCode = code.toNativeUtf8();
try {
_parseHTML(contextId, nativeCode, code.length);
| chore: parseHTML should determine whether contextId is valid | null | openkraken/kraken | Apache License 2.0 | Dart |
set -e
-VERSION=$(git describe --abbrev=0)
-
-echo "Building macOS pkg"
-
-pkg_name="doppler.pkg"
-final_pkg_name="doppler_${VERSION}_macOS_amd64.pkg"
-
-# we must use the GitHub release id
-github_release_id=$(curl --silent --show-error https://api.github.com/repos/DopplerHQ/cli/releases/latest | jq '.id')
-
-# build ... | chore: stop publishing macOS pkg file | null | dopplerhq/cli | Apache License 2.0 | Shell |
-import React from 'react'
+import React, { Fragment } from 'react'
import DesignIcon from 'shared/components/icons/design'
import { useTranslation } from 'next-i18next'
-import {Picker, PickerLink} from 'shared/components/picker'
-
+import { Popover, Transition } from '@headlessui/react'
+import { ChevronDownIcon } fr... | chore(lab): Updated design picker | null | freesewing/freesewing | MIT License | JavaScript |
@@ -24,6 +24,7 @@ use common_macros::databend_main;
use common_meta_sled_store::init_sled_db;
use common_meta_store::MetaStoreProvider;
use common_tracing::init_logging;
+use common_tracing::set_panic_hook;
use databend_meta::api::GrpcServer;
use databend_meta::api::HttpService;
use databend_meta::configs::Config;
@@ -... | chore(meta/bin): record panic in log | null | datafuselabs/databend | Apache License 2.0 | Rust |
context('Delete Plugin List with the Drawer', () => {
const timeout = 5000;
+ const selector = {
+ pluginCardBordered: '.ant-card-bordered',
+ drawer: '.ant-drawer-content',
+ selectDropdown: '.ant-select-dropdown',
+ codeMirrorMode: "[data-cy='code-mirror-mode']",
+ selectJSON: '.ant-select-dropdown [label=JSON]',
+ d... | chore: refactored test create-delete-in-drawer-plugin | null | apache/apisix-dashboard | Apache License 2.0 | JavaScript |
@@ -52,8 +52,8 @@ func (w *ErasuredNamespacedMerkleTree) Push(data []byte, idx rsmt2d.SquareIndex)
panic("pushed past predetermined square size")
}
- // use the parity namespace if the cell is not in Q0 of the extended
- // datasquare
+ // use the parity namespace if the cell is not in Q0 of the extended datasquare
+ /... | chore(ipld/plugin): add comment for tail padding | null | lazyledger/lazyledger-core | Apache License 2.0 | Go |
@@ -130,8 +130,8 @@ mv $TEMP_PROJECT_PATH/$DERIVED_DATA_PATH/Build/Products/Release-iphonesimulator/
# Generate the DocC html pages
$(xcrun --find docc) process-archive \
transform-for-static-hosting $FINAL_DOC_PATH/$FRAMEWORK_NAME.doccarchive \
---output-path docc-Docs \
---hosting-base-path adyen.github.io/adyen-ios/... | chore: small fix to generate_docc_documentation.sh script | null | adyen/adyen-ios | MIT License | Shell |
@@ -64,6 +64,7 @@ import org.camunda.bpm.engine.test.util.ProcessEngineTestRule;
import org.camunda.bpm.engine.test.util.ProvidedProcessEngineRule;
import org.camunda.bpm.engine.variable.VariableMap;
import org.camunda.bpm.engine.variable.Variables;
+import org.junit.After;
import org.junit.Before;
import org.junit.Rul... | chore(engine): reset time after tests | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -577,7 +577,7 @@ class Document(BaseDocument):
def get_permlevel_access(self, permission_type='write'):
if not hasattr(self, "_has_access_to"):
- self._has_access_to = frappe._dict()
+ self._has_access_to = {}
if not self._has_access_to.get(permission_type):
self._has_access_to[permission_type] = []
| chore: No need for frappe._dict() | null | frappe/frappe | MIT License | Python |
@@ -18,18 +18,21 @@ impl AddressSet {
self.0.iter()
}
- /// Turn this set into an iterator
- #[allow(clippy::should_implement_trait)]
- pub fn into_iter(self) -> impl Iterator<Item = Address> {
- self.0.into_iter()
- }
-
/// Take the first address of the set.
pub fn first(&self) -> Address {
self.0.first().cloned().unw... | chore(rust): implement into iterator for address set | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -2,6 +2,7 @@ require(`@babel/register`)({
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: ['@babel/plugin-transform-runtime'],
})
+
const { DateTime } = require('luxon')
const algoliaQueries = require('./src/utilities/algolia').queries
@@ -30,7 +31,7 @@ module.exports = {
resolve: `gatsby-plugin-algo... | chore: update env var for admin key | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -40,7 +40,7 @@ public class FetchAndLockHandlerImpl implements Runnable, FetchAndLockHandler {
protected static final long MAX_BACK_OFF_TIME = Long.MAX_VALUE;
protected static final long MAX_TIMEOUT = 1800000; // 30 minutes
- protected BlockingQueue<FetchAndLockRequest> queue = new ArrayBlockingQueue<FetchAndLockReq... | chore(engine-rest-jaxrs2): make queue capacity twice bigger | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -2,72 +2,118 @@ import {ExportNs} from './export-ns';
const {userAgent, vendor, platform} = window.navigator;
-/**
- * Device detection utility
- * @readonly
- */
-@ExportNs('DeviceDetector')
-export abstract class DeviceDetector {
// IE Detection
- public static readonly isTrident = /trident/i.test(userAgent);
- pu... | chore(patch): tree-shakable version of `DeviceDetector` created | null | exadel-inc/esl | MIT License | TypeScript |
@@ -2966,6 +2966,15 @@ public abstract class ProcessEngineConfigurationImpl extends ProcessEngineConfig
return this;
}
+ public BpmnParseFactory getBpmnParseFactory() {
+ return bpmnParseFactory;
+ }
+
+ public ProcessEngineConfigurationImpl setBpmnParseFactory(BpmnParseFactory bpmnParseFactory) {
+ this.bpmnParseFacto... | chore(engine): add getter/setter for bpmnParseFactory in engine configuration | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -528,7 +528,7 @@ class LabelingTask(object):
if log:
loss_avg /= batches_per_epoch
- writer.add_scalar('train/loss/epoch', loss_avg,
+ writer.add_scalar('train/loss', loss_avg,
global_step=epoch)
writer.add_scalar('train/scheduler/lr', scheduler.lr[0],
global_step=epoch)
| chore: rename "train/loss/epoch" to "train/loss" | null | pyannote/pyannote-audio | MIT License | Python |
@@ -92,6 +92,7 @@ export default function processImage({file, thumbnailMaxWidth, thumbnailMaxHeigh
},
file);
const parts = canvas.toDataURL(`image/png`).split(`,`);
+ // Thumbnail uploads were failing with common/base64 decoding
const byteString = atob(parts[1]);
const buffer = new ArrayBuffer(byteString.length);
| chore(plugin-conversation): add comment regarding base64 | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -44,6 +44,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.vaadin.flow.component.UI;
+import com.vaadin.flow.component.page.Page;
import com.vaadin.flow.function.DeploymentConfiguration;
import com.vaadin.flow.i18n.I18NProvider;
import com.vaadin.flow.internal.CurrentInstance;
@@ -839,6 +840,... | chore: clarify javadocs for VaadinSession::close | null | vaadin/flow | Apache License 2.0 | Java |
import { Color } from 'tns-core-modules/color/color';
import { ad } from 'tns-core-modules/utils/utils';
import { ViewBase } from 'tns-core-modules/ui/page/page';
+import * as application from 'application';
let isPostLollipopVar: boolean = undefined;
export function isPostLollipop() {
@@ -187,7 +188,7 @@ export functi... | chore: android utils | null | nativescript-community/ui-material-components | Apache License 2.0 | TypeScript |
package org.questdb;
-import io.questdb.cairo.CairoConfiguration;
-import io.questdb.cairo.CairoEngine;
-import io.questdb.cairo.DefaultCairoConfiguration;
-import io.questdb.cairo.TableWriter;
+import io.questdb.cairo.*;
import io.questdb.griffin.SqlCompiler;
import io.questdb.griffin.SqlException;
import io.questdb.l... | chore(cairo): commit benchmark | null | questdb/questdb | Apache License 2.0 | Java |
import eu.cloudnetservice.cloudnet.node.console.handler.Toggleable;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
+import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Collection;
-import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
im... | chore: improve and cleanup default console style | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -426,13 +426,17 @@ class EmailAccount(Document):
If no thread id is found and `append_to` is set for the email account,
it will create a new parent transaction (e.g. Issue)"""
- parent = self.find_parent_from_in_reply_to(communication, email) or None
+ parent = None
+
+ parent = self.find_parent_from_in_reply_to(com... | chore: revert code changes | null | frappe/frappe | MIT License | Python |
@@ -64,6 +64,6 @@ return [
'amazon' => [
'developers' => 'https://www.dropbox.com/developers/documentation',
'icon' => 'icon-amazon',
- 'enabled' => true,
+ 'enabled' => false,
],
];
| chore: disabled amazon oAuth | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -4,6 +4,7 @@ import (
"bytes"
"context"
"errors"
+ "strconv"
"strings"
"unicode"
)
@@ -93,3 +94,37 @@ type DBRPMappingFilter struct {
RetentionPolicy *string
Default *bool
}
+
+func (f DBRPMappingFilter) String() string {
+ var s strings.Builder
+ s.WriteString("{")
+
+ s.WriteString("cluster:")
+ if f.Cluster != ni... | chore: Add string method to dbrp mapper filter | null | influxdata/influxdb | MIT License | Go |
#!/bin/bash
+# Make sure user is logged in to npm
+npm whoami || exit 1
+
# Extract the version from lerna.json (this was updated by `npm run release:prepare`)
VERSION=$(node --eval "console.log(require('./lerna.json').version);")
| chore(publish): check for npm login before allowing publish | null | esri/arcgis-rest-js | Apache License 2.0 | Shell |
@@ -52,8 +52,8 @@ allprojects {
}
tasks.withType(DokkaTask::class.java).all {
- outputFormat = "javadoc"
- outputDirectory = "$buildDir/javadoc"
+ outputFormat = "html"
+ outputDirectory = "$buildDir/dokka-html"
reportUndocumented = false
}
| chore(server): Build javadoc jar using dokka html format | null | zalando/zally | MIT License | Kotlin |
@@ -178,7 +178,7 @@ export default class DevServer extends Server {
})
}
if (fs.existsSync(pathJoin(this.dir, 'static'))) {
- console.warn(
+ Log.warn(
`The static directory has been deprecated in favor of the public directory. https://nextjs.org/docs/messages/static-dir-deprecated`
)
}
@@ -207,7 +207,7 @@ export defau... | chore(server): improve dev logs formatting | null | vercel/next.js | MIT License | TypeScript |
@@ -281,10 +281,9 @@ fn ping_okay() -> Result<(), AgentError> {
// expected to hit the server at ~ 0ms and ~ 400 ms, and then shut down at 600ms, so we check that
// the server got two requests.
fn ping_error() -> Result<(), AgentError> {
- let read_mock = mock("GET", "/api/v1/read")
- .expect(2)
- .with_status(500)
- ... | chore: fix flaky cargo test | null | dfinity/sdk | Apache License 2.0 | Rust |
@@ -8,8 +8,13 @@ if [ ! -f ".env" ]; then
cp .env.oss .env
fi
-# start server in the background in development mode
-NODE_ENV=development nohup yarn start &
+# prepare a production build
+if [ ! -f server.dist.js ]; then
+ yarn build
+fi
+
+# start server in the background in production mode
+NODE_ENV=production nohup ... | chore: restore smoke scripts | null | artsy/force | MIT License | Shell |
@@ -65,9 +65,7 @@ const setPullRequest = (commit, owner, repo, number) => {
const getNoteFromClerk = async (number, owner, repo) => {
const comments = await getComments(number, owner, repo)
- if (!comments && !comments.data) {
- return
- }
+ if (!comments || !comments.data) return
const CLERK_LOGIN = 'release-clerk[bot... | chore: fix falsy comments edge case in release notes | null | electron/electron | MIT License | JavaScript |
@@ -238,11 +238,14 @@ class UserWeb extends UserPlatform {
ActionCodeSettings? actionCodeSettings,
]) async {
_assertIsSignedOut(auth);
-
+ try {
await _webUser.verifyBeforeUpdateEmail(
newEmail,
convertPlatformActionCodeSettings(actionCodeSettings),
);
+ } catch (e) {
+ throw getFirebaseAuthException(e);
+ }
}
}
| chore(auth, web): catch native error verifyBeforeUpdateEmail() | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
// The Clippy tool is a collection of lints to analyze your code
// so you can catch common mistakes and improve your Rust code.
//
+// For these exercises the code will fail to compile when there are clippy warnings
+// check clippy's suggestions from the output to solve the exercise.
// Execute `rustlings hint clippy... | chore: add explanatory comment to clippy1 | null | rust-lang/rustlings | MIT License | Rust |
@@ -324,6 +324,7 @@ spec:
openebs.io/persistent-volume-claim: {{ .Volume.pvc }}
openebs.io/version: {{ .CAST.version }}
openebs.io/cas-template-name: {{ .CAST.castName }}
+ openebs.io/storage-pool-claim: {{ .Config.StoragePoolClaim.value }}
annotations:
{{- if eq $isMonitor "true" }}
openebs.io/volume-monitor: "true"
| chore(install): Add spc in target deployment label | null | openebs/maya | Apache License 2.0 | Go |
@@ -238,6 +238,12 @@ extension Web3 {
return await parse(string)
}
+ // TODO: throws errors instead of returning `nil`
+ /// Attempts to parse given string as EIP681 code.
+ /// Note: that ENS addresses as paramteres will be attempted to be resolved into Ethereum addresses.
+ /// Thus, make sure that given raw EIP681 c... | chore: EIP681 docs + more descriptive log message | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -25,8 +25,8 @@ use common_fuse_meta::meta::Versioned;
use common_meta_app::schema::TableInfo;
use opendal::Operator;
+use crate::fuse_segment::read_segments;
use crate::io::BlockCompactor;
-use crate::io::MetaReaders;
use crate::io::SegmentWriter;
use crate::io::TableMetaLocationGenerator;
use crate::operations::App... | chore: try to fast the compact | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -85,7 +85,7 @@ def rename_doc(
return
if old==new:
- frappe.errprint(_("Failed: {0} to {1} no changes made.").format(old, new))
+ frappe.errprint(_("Ignored: {0} to {1} no changes made because old and new name are the same.").format(old, new))
return
force = cint(force)
| chore(rename_doc): Consistent error message for no change | null | frappe/frappe | MIT License | Python |
@@ -318,6 +318,16 @@ struct TimelineEventMetadata {
encryption_info: Option<EncryptionInfo>,
}
+#[derive(Clone)]
+enum TimelineEventKind {
+ Message { content: AnyMessageLikeEventContent },
+ RedactedMessage,
+ Redaction { redacts: OwnedEventId, content: RoomRedactionEventContent },
+ // FIXME: Split further for state ... | chore: Move impl for type after its definition | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -151,9 +151,9 @@ extension SideEffectContext: AnySideEffectContext {
}
/**
- Type erasure for `SideEffect`
+ Type erasure for `SideEffect` and `ReturningSideEffect`
- - seeAlso: `SideEffect`
+ - seeAlso: `SideEffect`, `ReturningSideEffect`
*/
public protocol AnySideEffect: Dispatchable {
/**
@@ -167,8 +167,34 @@ pub... | chore: add proper documentation for ReturningSideEffect | null | bendingspoons/katana-swift | MIT License | Swift |
@@ -14,6 +14,9 @@ public final class BoletoComponent: PaymentComponent, LoadingComponent, Presenta
/// :nodoc:
public let apiContext: APIContext
+ /// :nodoc:
+ public let adyenContext: AdyenContext
+
/// :nodoc:
public weak var delegate: PaymentComponentDelegate?
@@ -42,13 +45,17 @@ public final class BoletoComponent:... | chore: AdyenContext in Boleto component | null | adyen/adyen-ios | MIT License | Swift |
@@ -20,6 +20,7 @@ use OwenIt\Auditing\Tests\Models\Article;
class AuditableObserverTest extends AuditingTestCase
{
/**
+ * @group AuditableObserver::retrieved
* @group AuditableObserver::created
* @group AuditableObserver::updated
* @group AuditableObserver::deleted
@@ -51,6 +52,11 @@ class AuditableObserverTest extend... | chore(AuditableObserver): test the retrieved event | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -22,21 +22,21 @@ class ModuleManager {
ModuleManager(this.controller, this.contextId) {
if (!inited) {
- defineNewModule('AsyncStorage', AsyncStorageModule(this));
- defineNewModule('Clipboard', ClipBoardModule(this));
- defineNewModule('Connection', ConnectionModule(this));
- defineNewModule('DeviceInfo', DeviceInf... | chore: defineNewModule --> defineModule | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -120,7 +120,8 @@ class WebSocketLink extends Link {
this.graphQLSocketMessageDecoder = _defaultGraphQLSocketMessageDecoder,
this.initialPayload,
this.inactivityTimeout,
- }) : assert(uri == null || (channelGenerator == null)) {
+ }) : assert((uri == null && channelGenerator != null) ||
+ (uri != null && channelGener... | chore: better (correct) assertion | null | gql-dart/gql | MIT License | Dart |
//! Defines the codec trait for decoding/encoding nodes
use eyre::{bail, Result};
+use std::{
+ fs::File,
+ io::{BufReader, BufWriter, Read, Write},
+ path::Path,
+};
use stencila_schema::Node;
// Export for use by other crates
@@ -13,11 +18,53 @@ pub use stencila_schema;
/// converting nodes to/from strings, files, re... | chore(Rust): Add more `to_*` and `from_*` methods to crate | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -475,6 +475,10 @@ public class ProcessInstanceQueryImpl extends AbstractVariableQueryImpl<ProcessI
return isLeafProcessInstances;
}
+ public String[] getTenantIds() {
+ return tenantIds;
+ }
+
@Override
public ProcessInstanceQuery or() {
if (this != queries.get(0)) {
| chore(engine): add tenant ids getter for process instance query | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -12,6 +12,7 @@ import io.github.config4k.extract
/**
* Utility class for checking cases of strings against configured requirements.
*/
+@Suppress("TooManyFunctions")
class CaseChecker(
val cases: Map<String, Regex>,
val propertyNames: CaseCheck? = null,
| chore(server): Suppressed warnings to address Codacy complaints | null | zalando/zally | MIT License | Kotlin |
@@ -293,7 +293,7 @@ public class VaadinRouteScope extends AbstractScope implements UIInitListener {
if (!getNavigationListener().hasNavigationOwner(owner)) {
throw new IllegalStateException(String.format(
"Route owner '%s' instance is not available in the "
- + "active navigaiton components chain: the scope defined by ... | chore: fix typo in the exception message | null | vaadin/flow | Apache License 2.0 | Java |
@@ -52,6 +52,7 @@ class CreateAdminUserCommand extends Command
if ($this->checkIfAdminUserExists($email)) {
$this->io->error(sprintf('Admin user with email address %s already exists.', $email));
+
return COMMAND::FAILURE;
}
| chore: add blank line | null | sylius/sylius | MIT License | PHP |
@@ -78,7 +78,6 @@ publish_docker_images_with_arch_suffix() {
TAGS=("${FOCAL_TAGS[@]}")
elif [[ "$FLAVOR" == "jammy" ]]; then
TAGS=("${JAMMY_TAGS[@]}")
- else
else
echo "ERROR: unknown flavor - $FLAVOR. Must be either 'bionic' or 'focal'"
exit 1
| chore: fix publish_docker.sh | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -316,6 +316,10 @@ impl Index {
self.cache.load().schema.clone()
}
+ pub fn ranked_map(&self) -> RankedMap {
+ self.cache.load().ranked_map.clone()
+ }
+
pub fn synonyms_index(&self) -> SynonymsIndex {
self.synonyms_index.clone()
}
| chore: export ranked map | null | meilisearch/meilisearch | MIT License | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.