diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
+package execution
+
+import (
+ "context"
+ "fmt"
+
+ "github.com/newrelic/newrelic-cli/internal/install/types"
+)
+
+type MockFailingRecipeExecutor struct {
+ result bool
+}
+
+func NewMockFailingRecipeExecutor() *MockFailingRecipeExecutor {
+ return &MockFailingRecipeExecutor{
+ result: false,
+ }
+}
+
+func (m *Moc... | chore(install): include new mock executor that always fails | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -60,9 +60,15 @@ class CnCborStackConan(ConanFile):
cmake.build()
def package(self):
- self.copy("LICENSE", dst='licenses', src=os.path.join(self._source_subfolder, "license"))
+ self.copy("LICENSE", dst="licenses", src=self._source_subfolder)
cmake = self._configure_cmake()
cmake.install()
+ os.remove(os.path.join(s... | chore: remvoe cmake config stuff | null | conan-io/conan-center-index | MIT License | Python |
@@ -11,7 +11,7 @@ const tsconfig = require(tsconfigPath);
// Register TS compilation.
require('ts-node').register({
- project: tsconfigPath
+ project: tsconfigPath,
});
// The gulp tsconfig file maps specific imports to relative paths. In combination with ts-node
@@ -19,7 +19,7 @@ require('ts-node').register({
// to th... | chore(prettier): Re-formatted gulpfile.js and typings.d.ts | null | dynatrace-oss/barista | Apache License 2.0 | JavaScript |
protected static final Map<String, String> LOGGING_OPTIONS = Map.of(
"max-file", "1",
"max-size", "5m",
- "compress", "false");
+ "compress", "false",
+ "mode", "non-blocking");
// drop some kernel capabilities which no normal minecraft server could ever need for anything
protected static final Capability[] DROPPED_CAP... | chore: make docker logging a bit more efficient | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
-import React from 'react'
+import React, { useState } from 'react'
import { Form, Input, Select, List, Textarea } from '~components/common/form'
+import { AlertInfobox } from '~components/common/infobox'
export default () => {
+ const [name, setName] = useState(false)
+ const [email, setEmail] = useState(false)
+ cons... | chore: Require fields in volunteer form | null | covid19tracking/website | Apache License 2.0 | JavaScript |
"""Tests for importing model evaluations."""
import json
-from unittest import mock
import os
+from unittest import mock
import google.auth
from google.cloud import aiplatform
from google_cloud_pipeline_components.container.experimental.evaluation.import_model_evaluation import main
from google_cloud_pipeline_component... | chore(components): Fix imports | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -457,7 +457,7 @@ public class VaadinServletContextInitializer
.getProperty("vaadin.whitelisted-packages") == null) {
getLogger().info(
"Due to slow search it is recommended to use the whitelisted-packages feature to make scanning faster.\n\n"
- + "See 'Flow / Integrations / Using Vaadin with Spring / Vaadin Spring C... | chore: Add whitelisted-packages' docs URL to logs | null | vaadin/flow | Apache License 2.0 | Java |
@@ -152,6 +152,59 @@ func TestCacheKVIteratorBounds(t *testing.T) {
require.Equal(t, 4, i)
}
+func TestCacheKVReverseIteratorBounds(t *testing.T) {
+ st := newCacheKVStore()
+
+ // set some items
+ nItems := 5
+ for i := 0; i < nItems; i++ {
+ st.Set(keyFmt(i), valFmt(i))
+ }
+
+ // iterate over all of them
+ itr := st... | chore: add cachekv tests | null | cosmos/cosmos-sdk | Apache License 2.0 | Go |
@@ -25,12 +25,14 @@ export const PriceDatabase = () => {
<PriceDatabaseMeta />
<PriceDatabaseSearch />
+
<Media lessThan="sm">
<Spacer mt={4} />
</Media>
<Media greaterThanOrEqual="sm">
<Separator mt={4} />
</Media>
+
<PriceDatabaseBenefits />
</Flex>
</AuctionResultsFilterContextProvider>
| chore: Add new lines between price database sections | null | artsy/force | MIT License | TypeScript |
@@ -40,19 +40,19 @@ return [
'channels' => [
'stack' => [
'driver' => 'stack',
- 'channels' => ['single'],
+ 'channels' => ['daily'],
'ignore_exceptions' => false,
],
'single' => [
'driver' => 'single',
- 'path' => storage_path('logs/acorn.log'),
+ 'path' => storage_path('logs/application.log'),
'level' => env('LOG_LEV... | chore(config-log): use generic `application.log` | null | roots/sage | MIT License | PHP |
@@ -47,4 +47,4 @@ PWD=$(pwd)
configPath="$PWD"/scripts/couchdb-config/10-single-node.ini
docker run -p 5984:5984 -d --network AriesTestNetwork --name AriesCouchDBStorageTest -v "$configPath":/opt/couchdb/etc/local.d/config.ini -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password couchdb:3.1.0 >/dev/null
-docker run -p 80... | chore: Update EDV image used in EDV REST storage provider unit tests | null | hyperledger/aries-framework-go | Apache License 2.0 | Shell |
@@ -137,8 +137,8 @@ public class ObserverImpl implements ObserverMethod, Comparable<ObserverMethod>
final Class<?> argumentType = argumentTypes[i];
arguments[i] = manager.resolve(argumentType);
if (RuntimeLogger.DEBUG && arguments[i] == null) {
- log.warning(String.format("Argument %d for %s#%s is null. Observer method... | chore: fix the argument number on observer warning | null | arquillian/arquillian-core | Apache License 2.0 | Java |
@@ -167,7 +167,7 @@ export async function register(context: vscode.ExtensionContext, client: BaseLan
}
// check @types/node > 18.8.0
- if (vueMod && semver.gte(vueMod.json.version, '3.0.0') && semver.lte(vueMod.json.version, '3.2.40')) {
+ if (vueMod && semver.gte(vueMod.json.version, '3.0.0') && semver.lte(vueMod.json... | chore(doctor): bump warns vue version | null | johnsoncodehk/volar | MIT License | TypeScript |
@@ -306,7 +306,7 @@ export const ManageSubscriptions: React.FC = () => {
<div className="field is-grouped is-grouped-right">
<div className="control">
<button
- className="button has-text-primary"
+ className="ub-button button has-text-primary"
disabled={!Object.keys(subscriptions).length}
onClick={() => {
sendMessage(... | chore(options): add a missing style | null | iorate/ublacklist | MIT License | TypeScript |
@@ -1376,6 +1376,8 @@ const maybeAddPathPrefix = (path, pathPrefix) => {
* plugin](/plugins/gatsby-plugin-s3/). Alternatively, you can use
* [this plugin](/plugins/gatsby-plugin-meta-redirect/) to generate meta redirect
* html files for redirecting on any static file host.
+ * Keep the redirects configuration in sync w... | chore(gatsby): Adjust information about `trailingSlash` for `createRedirect` | null | gatsbyjs/gatsby | MIT License | JavaScript |
@@ -78,13 +78,13 @@ dependencies {
api(kotlin("scripting-compiler"))
// https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib-jdk8
- implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.21")
+ implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.30")
// https://github.com/ToxicMushroom/Jag... | chore(deps): bump hikaricp, bump kotlin | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -30,7 +30,7 @@ import java.lang.annotation.Target;
* Place this annotation onto the class extending
* {@link com.vaadin.flow.component.WebComponentExporter}. This flags all the
* embedded components from that exporter to be preserved on refresh. Due to the
- * challenge of uniquely identifying embedded components th... | chore: Update PreserveOnRefresh's javadoc | null | vaadin/flow | Apache License 2.0 | Java |
@@ -184,33 +184,6 @@ impl OutputFeatures {
self.recovery_byte = recovery_byte;
}
- /// Provides the ability to add the recovery byte to an older version of serialized json output features. We need
- /// to add the non-optional 'recovery_byte' field to a persisted protocol that contains serialized json output
- /// feat... | chore: remove unused add_recovery_byte_to_serialized_data_if_needed function | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -22,7 +22,6 @@ import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
-import net.jcip.annotations.NotThreadSafe;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
@@ -47,9 +46,10 @@ import static org.mockito.Mockito.when;
/**
* Test event util functionalit... | chore: keep hard reference to UI instance to avoid its GC-ion | null | vaadin/flow | Apache License 2.0 | Java |
@@ -203,49 +203,49 @@ class TestEventProducer(unittest.TestCase):
reset_configuration(producer_url)
- def test_inner_mapping(self):
- producer = get_remote_site()
- event_producer = frappe.get_doc('Event Producer', producer_url)
- event_producer.producer_doctypes = []
- inner_mapping = [
- {
- 'local_fieldname':'role_n... | chore: Comment out possibly problematic test | null | frappe/frappe | MIT License | Python |
@@ -925,8 +925,11 @@ mod tests {
be_ok().value(vec![DateTimePatternToken::Era(2)]));
expect!(parse_pattern("GGGGG")).to(
be_ok().value(vec![DateTimePatternToken::Era(5)]));
- expect!(parse_pattern("GGGGGG")).to(
- be_err().value("Parsing datetime pattern 'GGGGGG' failed with error - Parsing Failure: TooManyPatternLette... | chore: fix for failing parse_era test on CI | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -32,9 +32,6 @@ class RenderFlexParentData extends RenderLayoutParentData {
/// Flex basis
String flexBasis;
- // align-items
- CrossAxisAlignment crossAxisAlignment;
-
@override
String toString() => '${super.toString()}; flexGrow=$flexGrow; flexShrink=$flexShrink; flexBasis=$flexBasis';
}
@@ -186,53 +183,23 @@ bool ... | chore: add flexbox layout logic algorithm in comment | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -482,6 +482,11 @@ async fn exprs_to_datavalue<'a>(
metadata: MetadataRef,
) -> Result<Vec<DataValue>> {
let schema_fields_len = schema.fields().len();
+ if exprs.len() > schema_fields_len {
+ return Err(ErrorCode::LogicalError(
+ "Column count shouldn't be more than the number of schema",
+ ));
+ }
if exprs.len() < ... | chore: insert colums more the the table shouldn't panic | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -88,6 +88,30 @@ public class SpeakerRepositoryTest {
.assertError(throwable -> throwable.getMessage().equals(Constants.NO_NETWORK));
}
+ @Test
+ public void shouldReturnConnectionErrorOnGetSpeakerWithReload() {
+ when(repository.isConnected()).thenReturn(false);
+
+ Observable<Speaker> speakerObservable = speakerRep... | chore: Update speakers repository tests | null | fossasia/open-event-organizer-android | Apache License 2.0 | Java |
@@ -21,7 +21,7 @@ export interface CaptionProps extends BaseProps {
*/
hide?: boolean;
/**
- * Adds default top margin
+ * Adds default top margin of 4px
* @default false
*/
withInput?: boolean;
| chore: adds withInput description in caption | null | innovaccer/design-system | MIT License | TypeScript |
@@ -25,12 +25,22 @@ function patch_ffmpeg() {
git_am_patch ../../contribute/ffmpeg/0006-flv-add-extensions-for-H.265-HEVC.patch
}
+function git_apply_patch() {
+ git apply $1
+ if [[ $? -ne 0 ]]; then
+ print_warning "patch error, may be patched"
+ git am --abort
+ fi
+}
+
function patch_dav1d() {
cd ${DAV1D_SOURCE_DIR... | chore(external): use git apply to pathc av1 | null | alibaba/cicadaplayer | MIT License | Shell |
@@ -12,10 +12,23 @@ import XCTest
class PreApplePayComponentTests: XCTestCase {
+ var analyticsProviderMock: AnalyticsProviderMock!
+ var amount: Amount!
+ var paymentMethod: ApplePayPaymentMethod!
+ var context: AdyenContext!
+ var paymentComponentDelegate: PaymentComponentDelegateMock!
var sut: PreApplePayComponent!
... | chore: Test submit method in PreApplePayComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -51,18 +51,23 @@ const componentName = process.env.ANGULAR ? 'builder-component-element' : 'build
const isShopify = Boolean((window as any).Shopify);
if (Builder.isIframe) {
+ // tslint:disable-next-line
importReact();
+ // tslint:disable-next-line
importWidgets();
if (isShopify) {
+ // tslint:disable-next-line
impo... | chore(webcomponents): ignore tslint warnings | null | builderio/builder | MIT License | TypeScript |
@@ -28,11 +28,10 @@ for PREFIX in $(find /opt/_internal/ -mindepth 1 -maxdepth 1 \( -name 'cpython*'
ABI_TAG=$(${PREFIX}/bin/python ${MY_DIR}/python-tag-abi-tag.py)
ln -s ${PREFIX} /opt/python/${ABI_TAG}
# Make versioned python commands available directly in environment.
- PYVERS=$(${PREFIX}/bin/python -c "import sys; ... | chore: remove code duplication in finalize.sh | null | pypa/manylinux | MIT License | Shell |
@@ -246,7 +246,7 @@ abstract class Element extends Node
// move element back to document flow
if (prevPosition == 'absolute' ||
prevPosition == 'fixed' ||
- (prevPosition == 'sticky' && stickyFixed)) {
+ (prevPosition == 'sticky')) {
// Find positioned element to remove
ContainerRenderObjectMixin parentRenderObject = r... | chore: not judge sticky | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -5,29 +5,8 @@ module.exports = function(api) {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: [
['@babel/plugin-proposal-object-rest-spread', { loose: true }],
- '@babel/plugin-transform-runtime',
'@babel/plugin-proposal-class-properties',
'babel-plugin-styled-components',
],
- env: {
- test: {
- pr... | chore(other): remove unneeded babel config entries | null | telus/tds-core | MIT License | JavaScript |
// found in the THIRD-PARTY file.
use std::cmp::min;
-use std::fmt;
use std::num::Wrapping;
use std::sync::atomic::{fence, Ordering};
@@ -26,26 +25,14 @@ pub(super) const VIRTQ_DESC_F_WRITE: u16 = 0x2;
// The Virtio Spec 1.0 defines the alignment of VirtIO descriptor is 16 bytes,
// which fulfills the explicit constrai... | chore: add thiserror::Error for QueueError | null | firecracker-microvm/firecracker | Apache License 2.0 | Rust |
set -e
echo "Removing stale node_modules"
-# npm run lerna exec --loglevel info -- npm prune
-npm run lerna clean --yes
\ No newline at end of file
+npm run lerna exec --loglevel info -- npm prune
\ No newline at end of file
| chore(ci): back to npm prune instead of lerna clean as travis expects human input even when the --ye | null | serenity-js/serenity-js | Apache License 2.0 | Shell |
@@ -19,13 +19,16 @@ public final class BasicPersonalInfoFormComponent: AbstractPersonalInformationCo
/// - Parameters:
/// - paymentMethod: The payment method.
/// - apiContext: The component's API context.
+ /// - adyenContext: The Adyen context.
/// - configuration: The component's configuration.
public init(paymentM... | chore: AdyenContext in BasicPersonalInfoFormComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -45,41 +45,45 @@ class MockApiClient {
}
}
+ /**
+ * Returns true iff ${fieldName} of ${record} contains the substring ${fieldValue} (case-insensitive)
+ */
+ static doesRecordMatch = (record, fieldName, fieldValue) => `${record[fieldName].toLowerCase()}`.includes(fieldValue.toLowerCase())
+
/**
* Return a promise t... | chore(table): some tidying up of AsyncTable story | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -5,10 +5,11 @@ echo "Removing stale node_modules"
npm run lerna exec --loglevel info -- npm prune
echo "[DEBUG] list node_modules"
-ls -lah node_modules/
-
-echo "[DEBUG] list node_modules"
-ls -lah packages/serenity-js/node_modules/
+ls -lah node_modules/ | grep phantomjs-prebuilt
+echo "[DEBUG] install tree"
+sudo... | chore(ci): debugging phantomjs on Travis | null | serenity-js/serenity-js | Apache License 2.0 | Shell |
@@ -4,7 +4,7 @@ defmodule Ash.Resource.Dsl do
describe: """
Declares an attribute on the resource.
- For more information, see {{link:ash:guide:topics/attributes.md}}
+ For more information, see {{link:ash:guide:Attributes}}
""",
examples: [
"""
| chore: fix guide reference | null | ash-project/ash | MIT License | Elixir |
@@ -24,7 +24,6 @@ import static com.b2international.snowowl.snomed.datastore.index.entry.SnomedCom
import static com.b2international.snowowl.snomed.datastore.index.entry.SnomedComponentDocument.Fields.ACTIVE_MEMBER_OF;
import static com.google.common.collect.Sets.newHashSet;
-import java.io.IOException;
import java.uti... | chore: use new `Query.searcher` convenience method in ecl eval | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -7,12 +7,17 @@ use crate::ranked_map::RankedMap;
use super::Error;
+const SCHEMA_KEY: &str = "schema";
+const WORDS_KEY: &str = "words";
+const SYNONYMS_KEY: &str = "synonyms";
+const RANKED_MAP_KEY: &str = "ranked-map";
+
#[derive(Clone)]
pub struct MainIndex(pub(crate) InnerRawIndex);
impl MainIndex {
pub fn schem... | chore: Use const names to avoid typos | null | meilisearch/meilisearch | MIT License | Rust |
@@ -149,10 +149,12 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {
settings.lock_log = logging::LOCK_LOG_FILE;
settings.delete_old = logging::DELETE_OLD_LOG_FILE;
#else
- settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG;
+ settings.logging_dest =
+ logging::LOG_TO_SYSTEM_DEBUG_LOG | logging::LO... | chore: fix logging to stderr | null | electron/electron | MIT License | C++ |
@@ -15,8 +15,16 @@ export class ShopNamePipe implements PipeTransform {
if (typeof name === 'string') {
return this.lazyData.getEntry('shops').pipe(
switchMap(shops => {
- const id = +Object.keys(shops).find((k) => shops[k].en === name);
- return this.lazyData.getI18nName('shops', id);
+ const id = Object.keys(shops).f... | chore: pipe crash fix | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -154,6 +154,12 @@ function Swap(initialState: InferGetServerSidePropsType<typeof getServerSideProp
setInput1('')
}, [])
+ useEffect(() => {
+ window.dataLayer.push({
+ event: 'chain',
+ })
+ }, [chainId])
+
return (
<>
<TradeProvider
| chore(apps/swap): move test event to swap index page | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -307,7 +307,7 @@ func Open(path string, opts *Options) (*TBtree, error) {
appendableOpts := multiapp.DefaultOptions().
WithReadOnly(opts.readOnly).
- WithSynced(false).
+ WithRetryableSync(false).
WithFileSize(opts.fileSize).
WithFileMode(opts.fileMode).
WithWriteBufferSize(opts.flushBufferSize).
@@ -1363,7 +1363,7 ... | chore(embedded/tbtree): use non-retryable sync | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -8,10 +8,10 @@ class AwsSamCli < Formula
sha256 "1ed43d5ad695c98886128ea376e0a98c37a92f11144b060be1eb052797665b2f"
head "https://github.com/awslabs/aws-sam-cli.git", :branch => "develop"
bottle do
- root_url "https://github.com/awslabs/aws-sam-cli/releases/download/v0.34.0/"
+ root_url "https://github.com/awslabs/aw... | chore: Updating bottles to SAM CLI v0.35.0 | null | aws/homebrew-tap | Apache License 2.0 | Ruby |
@@ -172,7 +172,7 @@ def launch_setup(context, *args, **kwargs):
name="openscenario_interpreter",
output="screen",
parameters=make_parameters(),
- # on_exit=Shutdown(),
+ on_exit=Shutdown(),
),
Node(
package="openscenario_preprocessor",
| chore(launch): add on_exit flag to interpreter | null | tier4/scenario_simulator_v2 | Apache License 2.0 | Python |
@@ -82,11 +82,15 @@ class Wprelease
'tags',
'.ctags',
'.tags_sorted_by_file',
+ '.php_cs.dist',
+ '.build',
+ 'deploy_key.enc',
'wprelease.yml',
'podlove.sublime-workspace',
'podlove.sublime-project',
'publisher.sublime-workspace',
'publisher.sublime-project',
+ 'publisher.code-workspace',
'js/admin/dc.js', # it's pack... | chore: exclude some files from release | null | podlove/podlove-publisher | MIT License | Ruby |
#!/bin/bash
-rm -fr dt
-
-git clone --depth=1 https://github.com/DefinitelyTyped/DefinitelyTyped.git dt &&
-
-npx ts-node scr/tools/dt-update-version.ts &&
-
-cd dt &&
-
-git commit -am "dependents testing" &&
-
-npm i &&
-
-npm test
+#rm -fr dt
+#
+#git clone --depth=1 https://github.com/DefinitelyTyped/DefinitelyType... | chore(scripts): temporarily disable dt tests | null | millsp/ts-toolbelt | Apache License 2.0 | Shell |
@@ -1673,10 +1673,14 @@ func (t *TBtree) SyncSnapshot() (*Snapshot, error) {
}
func (t *TBtree) Snapshot() (*Snapshot, error) {
- return t.SnapshotSince(0)
+ return t.SnapshotRenewIfOlderThanTs(0)
}
-func (t *TBtree) SnapshotSince(ts uint64) (*Snapshot, error) {
+func (t *TBtree) SnapshotRenewIfOlderThanTs(snapshotNotO... | chore(embedded/tbtree): parametrize snapshot creation specs | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -672,17 +672,6 @@ describe('QuickAccess', () => {
expect(getByTestId('quick-access-result(go/dashboard)')).toHaveClass(
'result activeResult'
);
-
- // when now pressing up again, we should not cycle through history but
- // instead move the selection to the last element in the list
- searchInput = getByTestId('quic... | chore: comment out failing test | null | commercetools/merchant-center-application-kit | MIT License | JavaScript |
grep -rl 'opentelemetry-exporter-prometheus' extra-requirements.txt | xargs sed -i 's/opentelemetry-exporter-prometheus==1.12.0/opentelemetry-exporter-prometheus==1.12.0rc1/g'
grep -rl 'opentelemetry-exporter-otlp-proto-grpc' extra-requirements.txt | xargs sed -i 's/opentelemetry-exporter-otlp-proto-grpc==1.13.0/opente... | chore: fix old docs script | null | jina-ai/jina | Apache License 2.0 | Shell |
@@ -4,21 +4,16 @@ import (
"github.com/flanksource/karina/pkg/platform"
)
-const MinioNamespace = "minio"
const Namespace = "ldap"
func Install(platform *platform.Platform) error {
- if platform.Ldap != nil && !platform.Ldap.Disabled && platform.Ldap.E2E.Mock {
+ if platform.Ldap == nil || platform.Ldap.Disabled || !pl... | chore: fix apacheds install | null | flanksource/karina | Apache License 2.0 | Go |
@@ -45,6 +45,35 @@ use std::{
#[cfg(feature = "conduit_bin")]
use rocket::{get, post, put};
+#[derive(Clone, Debug, PartialEq)]
+enum FederationDestination {
+ Literal(SocketAddr),
+ Named(String, String),
+}
+
+impl FederationDestination {
+ fn into_url(self) -> String {
+ match self {
+ Self::Literal(addr) => format!... | chore: cleanup string-based code in find_actual_destination | null | timokoesters/conduit | Apache License 2.0 | Rust |
import * as React from "react";
-import { Text, View, StyleSheet, Pressable } from "react-native";
+import { Text, View, StyleSheet, TouchableHighlight } from "react-native";
import { Audio } from "expo-av";
import { AntDesign } from "@expo/vector-icons";
import Slider from "@react-native-community/slider";
@@ -119,9 +... | chore(audioplayer): replace pressable w touchablehighlight | null | draftbit/react-native-jigsaw | MIT License | TypeScript |
@@ -116,9 +116,9 @@ dependencies {
// https://mvnrepository.com/artifact/io.ktor/ktor-client-cio
- implementation("io.ktor:ktor:1.4.3")
- implementation("io.ktor:ktor-client-okhttp:1.4.3")
- implementation("io.ktor:ktor-server-netty:1.4.3")
+ implementation("io.ktor:ktor:1.5.0")
+ implementation("io.ktor:ktor-client-ok... | chore(deps): update ktor | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -23,7 +23,7 @@ read_sha256_from_nix_sources() {
SHA256_BASE32=$(jq -r .'"'"$KEY"'".sha256' "$NIX_SOURCES_JSON")
- nix to-base16 --type sha256 "$SHA256_BASE32"
+ nix-hash --to-base16 --type sha256 "$SHA256_BASE32"
}
read_url_from_nix_sources() {
| chore: use nix-hash --to-base16 not nix --to-base16 | null | dfinity/sdk | Apache License 2.0 | Shell |
@@ -213,20 +213,12 @@ internal class CardViewController: FormViewController {
append(items.button)
}
- // TODO: - Prefilling logic for fillable items
private func prefill() {
guard let shopperInformation = configuration.shopperInformation else { return }
- // 1. Billing address
shopperInformation.billingAddress.map { i... | chore: Remove guiding comments | null | adyen/adyen-ios | MIT License | Swift |
@@ -43,7 +43,7 @@ class MalDisplayFragment : Fragment() {
type = ItemType.getTypeForInternalId(arguments!!.getInt(itemTypeBundleId))
sharedPref = SharedPref(requireContext())
- val api = if (sharedPref.getPrimaryService() == SupportedService.Kitsu) {
+ val api: MalimeApi = if (sharedPref.getPrimaryService() == Supporte... | chore(maldisplayfragment): cleanup getting which api to use in the maldisplayfragment | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -12,8 +12,7 @@ import (
type DiskStats struct {
ps system.PS
- // Legacy support
- LegacyMountPoints []string `toml:"mountpoints"`
+ LegacyMountPoints []string `toml:"mountpoints" deprecated:"0.10.2;2.0.0;use 'mount_points' instead"`
MountPoints []string `toml:"mount_points"`
IgnoreFS []string `toml:"ignore_fs"`
| chore(inputs/disk): add deprecation notice to legacy mountpoints setting | null | influxdata/telegraf | MIT License | Go |
@@ -5,7 +5,9 @@ import (
"io/fs"
)
-//go:embed data
+// By default, go embed does not embed files that starts with `_` that's why we need to use *
+
+//go:embed data/* data/assets/*
var GuiData embed.FS
var GuiFS = func() fs.FS {
| chore(gui): embed files that starts underscore | null | kumahq/kuma | Apache License 2.0 | Go |
@@ -2,24 +2,14 @@ import {hashMessage} from 'ethers/utils';
import {AllocationItem, Allocation, Participant} from './types';
-export function calculateChannelId(
- participants: Participant[],
- allocations: Allocation[],
- appDefinition: string,
- appData: string
-): string {
- // This `message` construction revolves ... | chore: update channel ID calculation | null | statechannels/statechannels | MIT License | TypeScript |
@@ -2185,7 +2185,7 @@ export class OPCUAServer extends OPCUABaseServer {
// --- check that provided session matches session attached to channel
if (channel.channelId !== session.channelId) {
if (!(request instanceof ActivateSessionRequest)) {
- errorLog(chalk.red.bgWhite("ERROR: channel.channelId !== session.channelId"... | chore: improve error message in server | null | node-opcua/node-opcua | MIT License | TypeScript |
@@ -303,7 +303,7 @@ impl Expression {
} => {
let mut func_name = op.clone();
if *distinct {
- func_name += "Distinct";
+ func_name += "_distinct";
}
let mut fields = Vec::with_capacity(args.len());
| chore(bug): fix combinators in sql analyze | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -165,6 +165,8 @@ impl InsertInterpreter {
let catalog_name = self.plan.catalog_name.clone();
let context = self.ctx.clone();
let append_entries = self.ctx.consume_precommit_blocks();
+
+ // We must put the commit operation to global runtime, which will avoid the "dispatch dropped without returning error" in tower
le... | chore(insert): add comment | null | datafuselabs/databend | Apache License 2.0 | Rust |
class EksAnywhere < Formula
desc "CLI for managing EKS Anywhere Kubernetes clusters"
homepage "https://github.com/aws/eks-anywhere"
- version "0.7.0"
+ version "0.7.2"
if OS.mac?
- url "https://anywhere-assets.eks.amazonaws.com/releases/eks-a/5/artifacts/eks-a/v0.7.0/darwin/amd64/eksctl-anywhere-v0.7.0-darwin-amd64.tar... | chore: update eks anywhere homebrew formula to v0.7.2 | null | aws/homebrew-tap | Apache License 2.0 | Ruby |
@@ -18,6 +18,8 @@ package com.vaadin.flow.server.frontend;
import java.io.File;
import java.io.IOException;
+import java.lang.annotation.Annotation;
+import java.lang.reflect.InvocationTargetException;
import java.util.HashSet;
import java.util.Set;
@@ -51,12 +53,20 @@ public class TaskCopyTemplateFiles implements Fall... | chore: use reflection when getting annotations of templates | null | vaadin/flow | Apache License 2.0 | Java |
@@ -168,20 +168,6 @@ defmodule MoonWeb.Components.LeftMenu do
<SidebarLink route={Pages.Components.ToastPage}>Toast</SidebarLink>
<SidebarLink route={Pages.Components.TooltipPage}>Tooltip</SidebarLink>
<SidebarLink route={Pages.Components.TypographyPage}>Typography</SidebarLink>
- <Accordion
- is_content_inside={false}... | chore: hide the deprecated typography from the sidebar | null | coingaming/moon | MIT License | Elixir |
@@ -93,7 +93,7 @@ where
at: Option<BlockHash>,
) -> RpcResult<BalanceWrapper<Balance>>;
- #[rpc(name = "vaultRegistry_getRequiredCollateralForVaultWithCustomThreshold")]
+ #[method(name = "vaultRegistry_getRequiredCollateralForVaultWithCustomThreshold")]
fn get_required_collateral_for_vault_with_custom_threshold(
&self... | chore(pervault-secure-thresholds): fix RPC definition | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -240,6 +240,7 @@ class PFElement extends HTMLElement {
/**
* Returns a boolean statement of whether or not that slot exists in the light DOM.
*
+ * @param {String|Array} name The slot name.
* @example this.hasSlot("header");
*/
hasSlot(name) {
@@ -261,7 +262,7 @@ class PFElement extends HTMLElement {
);
} else {
thi... | chore: remove unreachable array case from hasSlot | null | patternfly/patternfly-elements | MIT License | JavaScript |
@@ -299,7 +299,10 @@ export function AppProviders({ children }: { children: ReactNode }) {
connectorOpts={{
//bridge: 'https://bridge.interus.net',
//bridge: 'https://pancakeswap.bridge.walletconnect.org/',
- bridge: 'https://tequila-walletconnect.terra.dev/',
+ bridge: 'https://walletconnect.terra.dev/',
+ //bridge: o... | chore: change walletconnect server | null | anchor-protocol/anchor-web-app | Apache License 2.0 | TypeScript |
@@ -57,6 +57,7 @@ export class Cache {
const futureError = new Meteor.Error(500, `saveAllToDatabase never called`)
this._activeTimeout = Meteor.setTimeout(() => {
logger.error(futureError)
+ logger.error(futureError.stack)
}, 2000)
}
}
| chore: better tracing | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -25,6 +25,7 @@ NotificationsFaC.propTypes = {
showApiErrorNotification: PropTypes.func.isRequired,
showUnexpectedErrorNotification: PropTypes.func.isRequired,
};
+NotificationsFaC.displayName = 'NotificationsFaC';
export const isNotificationVisible = (activePlugin, notificationPlugin) => {
// When the notification i... | chore(app-shell/notifications-connector): add display name | null | commercetools/merchant-center-application-kit | MIT License | JavaScript |
@@ -22,6 +22,18 @@ else
exit 1
fi
+
+if [ "$(uname -m)" == "x86_64" ]; then
+ MACHINE="x86_64"
+elif [ "$(uname)" == "aarch64" ]; then
+ MACHINE="aarch64"
+else
+ echo "This machine architecture is not supported."
+ exit 1
+fi
+
+
+
for x in curl cut tar gzip sudo; do
which $x > /dev/null || (echo "Unable to continue. ... | chore(install): add support for aarch64 machines | null | newrelic/newrelic-cli | Apache License 2.0 | Shell |
@@ -280,10 +280,7 @@ impl Chain {
ArbitrumTestnet => {
("https://api-testnet.arbiscan.io/api", "https://testnet.arbiscan.io")
}
- ArbitrumGoerli => (
- "https://goerli-rollup-explorer.arbitrum.io/api",
- "https://goerli-rollup-explorer.arbitrum.io",
- ),
+ ArbitrumGoerli => ("https://api-goerli.arbiscan.io/api", "https... | chore: use arbiscan urls for arbitrum goerli | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -23,7 +23,8 @@ use std::{
iter::FromIterator,
};
use stencila_schema::{
- Array, BlockContent, Boolean, InlineContent, Integer, ListItem, Node, Null, Number, Object,
+ Array, BlockContent, Boolean, CodeError, InlineContent, Integer, ListItem, Node, Null, Number,
+ Object, TableCell, TableRow,
};
use strum::{AsRefStr... | chore(Patches): Handle more types when serializing `Operation` | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -52,6 +52,9 @@ public final class TerminologyResourceRequest<R> extends DelegatingRequest<Servi
super(next);
this.toolingId = toolingId;
this.resourceUriOrPath = resourceUriOrPath;
+ if (resourceUriOrPath.startsWith(Branch.MAIN_PATH) && Strings.isNullOrEmpty(toolingId)) {
+ throw new BadRequestException("Reflective ... | chore: move reflective access check to ctor time | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -73,7 +73,15 @@ const Duplicate: React.FC<Props> = ({ slug, collection, id }) => {
locale,
depth: 0,
});
- const localizedDoc = await res.json();
+ let localizedDoc = await res.json();
+
+ if (typeof collection.admin.hooks?.beforeDuplicate === 'function') {
+ localizedDoc = await collection.admin.hooks.beforeDuplica... | chore: ensures beforeDuplicate works on each locale | null | payloadcms/payload | MIT License | TypeScript |
@@ -145,4 +145,20 @@ class BACSDirectDebitItemsFactoryTests: XCTestCase {
let identifier = try XCTUnwrap(amountConsentToggleItem.identifier)
XCTAssertEqual(expectedIdentifier, identifier)
}
+
+ func testCreateLegalConsentToggleShouldReturnItemWithCorrectProperties() throws {
+ // Given
+ let expectedTitle = "I confirm ... | chore: Test createLegalConsentToggle method | null | adyen/adyen-ios | MIT License | Swift |
@@ -12,16 +12,19 @@ use ockam_core::compat::sync::Arc;
pub type QueueN<T, const N: usize> = MpMcQueue<T, N>;
pub type Queue<T> = QueueN<T, 16>;
-pub fn channel<T>(length: usize) -> (Sender<T>, Receiver<T>) {
+/// At present all channels are statically allocated with a fixed size
+/// of `16`.
+///
+/// This means that ... | chore(rust): implement review feedback | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -18,7 +18,7 @@ const CHECK_INTERVAL = 5000
const CACHE_DIR = path.resolve(__dirname, '.cache')
const NO_NOTES = 'No notes'
-const FOLLOW_REPOS = [ 'electron/electron', 'electron/libchromiumcontent', 'electron/node' ]
+const FOLLOW_REPOS = [ 'electron/electron', 'electron/node' ]
const breakTypes = new Set(['breaking... | chore: remove libcc from release not generator | null | electron/electron | MIT License | JavaScript |
-#!/bin/bash
-set -o errexit #abort if any command fails
-me=$(basename "$0")
-
-help_message="\
-Usage: $me [-c FILE] [<options>]
-Deploy generated files to a git branch.
-
-Options:
-
- -h, --help Show this help information.
- -v, --verbose Increase verbosity. Useful for debugging.
- -e, --allow-empty Allow deploymen... | chore(infrastructure): Remove unused scripts/deploy.sh | null | trimox/angular-mdc-web | MIT License | Shell |
@@ -26,8 +26,6 @@ public let kMetaDataDescription = "mdDescription"
public let kMetaDataDate = "mdDate"
public let kMetaDataArtwork = "mdArtwork"
-// Disable default plugins
-public let kDisableDefaultPlugins = "disableDefaultPlugins"
struct OptionsUnboxer {
let options: Options
| chore: remove unused option | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -82,7 +82,7 @@ func (c *clusterInfoUpdater) updateClusters() {
}
return nil
})
- log.Infof("Successfully saved info of %d clusters", len(clustersFiltered))
+ log.Debugf("Successfully saved info of %d clusters", len(clustersFiltered))
}
func (c *clusterInfoUpdater) updateClusterInfo(cluster appv1.Cluster, info *cache... | chore: Change log level in updateClusters() from info to debug | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -4,15 +4,16 @@ import org.apache.commons.lang.StringUtils;
import org.camunda.bpm.spring.boot.starter.annotation.EnableProcessApplication;
import org.springframework.context.ApplicationContext;
-import java.util.*;
+import java.util.Collections;
+import java.util.Map;
import java.util.Map.Entry;
+import java.util.Ob... | chore(starter): remove unused import & cleanup imports | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -285,7 +285,7 @@ addMigrationSteps('0.19.0', [
ensureCollectionProperty('Studios', {}, 'settings.sofieUrl', null, 'text', 'Sofie URL',
'Enter the URL to the Sofie Core (that\'s what\'s in your browser URL,), example: https://slsofie without trailing /, short form server name is OK.', undefined, 'studio.settings.sofi... | chore: fix a label in 0.19.0 migration | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -74,7 +74,6 @@ class Mappy
$obj = new MapPosition();
-
try {
$obj->setHash($hash)
->setType($pos->Type)
@@ -101,7 +100,7 @@ class Mappy
$saved++;
} catch (\Exception $e) {
// ignore
- return $e->getMessage();
+ return 0;
}
}
return $saved;
| chore: let's mute this annoying Y error | null | xivapi/xivapi.com | MIT License | PHP |
@@ -29,8 +29,6 @@ package org.hisp.dhis.webapi.controller.tracker;
*/
import lombok.extern.slf4j.Slf4j;
-import org.hisp.dhis.commons.timer.SystemTimer;
-import org.hisp.dhis.commons.timer.Timer;
import org.hisp.dhis.dxf2.webmessage.WebMessage;
import org.hisp.dhis.render.RenderService;
import org.hisp.dhis.scheduling.... | chore: Revert 8879 testing features | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -28,6 +28,12 @@ var eom = &errOnMarshal{}
// Ensure that returning an error doesn't suddenly allocate and waste bytes.
// See https://github.com/cosmos/cosmos-sdk/issues/8537
func TestNewAnyWithCustomTypeURLWithErrorNoAllocation(t *testing.T) {
+ // This tests continues to fail inconsistently.
+ //
+ // Example: htt... | chore: disable TestNewAnyWithCustomTypeURLWithErrorNoAllocation | null | cosmos/cosmos-sdk | Apache License 2.0 | Go |
@@ -19,12 +19,6 @@ describe('template-compiler.harmony.spec.ts \n\tharmoninous combination', functi
assert.isSchedulerEmpty(true);
});
- this.afterEach(async function () {
- const ctx = TestContext.createHTMLTestContext();
- await new Promise(r => ctx.dom.window.requestAnimationFrame(r));
- await new Promise(r => ctx.d... | chore: move wait to test instead of after each | null | aurelia/aurelia | MIT License | TypeScript |
/*
- * Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2011-2021 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -240,11 +240,6 @@ public final class Taxonomies {
}
pri... | chore(cleanup): remove debug output | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -96,7 +96,7 @@ class FormTextItemViewTests: XCTestCase {
wait(for: [maximumLengthExpectation], timeout: 1)
}
- func testValidationAccessoryIsNoneWhenValueIsEmpty() {
+ func testValidationStatusIsNoneWhenValueIsEmpty() {
let validationExpectation = XCTestExpectation(description: "Expect validator.isValid() to be call... | chore: added more unit test assertions in FormTextItemViewTests | null | adyen/adyen-ios | MIT License | Swift |
@@ -133,7 +133,7 @@ final class SQLiteModelTree {
childrenIds.add(cursor.getString(index));
} while (cursor.moveToNext());
}
- } catch (DataStoreException | SQLiteException exception) {
+ } catch (SQLiteException exception) {
// Don't cut the search short. Populate rest of the tree.
LOG.warn("Failed to query children o... | chore: remove DataStoreException from catch since try body never throws | null | aws-amplify/amplify-android | Apache License 2.0 | Java |
@@ -61,7 +61,7 @@ var ErrCorruptedIndex = errors.New("corrupted index")
var ErrTxSizeGreaterThanMaxTxSize = errors.New("tx size greater than max tx size")
var ErrCorruptedAHtree = errors.New("appendable hash tree is corrupted")
var ErrKeyNotFound = tbtree.ErrKeyNotFound
-var ErrExpiredEntry = fmt.Errorf("%w: expired en... | chore(embedded/store): fix expiration error declaration | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -49,7 +49,7 @@ pub trait CommandArg<'de, R: Runtime>: Sized {
/// Automatically implement [`CommandArg`] for any type that can be deserialized.
impl<'de, D: Deserialize<'de>, R: Runtime> CommandArg<'de, R> for D {
- fn from_command(command: CommandItem<'de, R>) -> Result<Self, InvokeError> {
+ fn from_command(comman... | chore: small tweak to the serde CommandArg impl for cargo 1.61.0-nightly | null | tauri-apps/tauri | Apache License 2.0 | Rust |
@@ -52,7 +52,7 @@ import com.vaadin.flow.server.frontend.installer.ProxyConfig;
*/
public class FrontendTools {
- public static final String DEFAULT_NODE_VERSION = "v16.0.0";
+ public static final String DEFAULT_NODE_VERSION = "v16.3.0";
public static final String DEFAULT_PNPM_VERSION = "5";
| chore: Use latest Node (16.3.0) | null | vaadin/flow | Apache License 2.0 | Java |
@@ -150,7 +150,8 @@ public abstract class BaseUmaProtectionService implements IProtectionService, Se
}
Response processUmaAuthorization(String authorization, ResourceInfo resourceInfo) throws Exception {
- List<String> scopes = getRequestedScopes(resourceInfo);
+ List<String> scopes = null;
+// scopes = getRequestedSco... | chore: request only required UMA scopes | null | gluufederation/oxtrust | MIT License | Java |
@@ -35,7 +35,7 @@ import org.camunda.bpm.model.bpmn.BpmnModelInstance;
import org.junit.Test;
import org.junit.runners.Parameterized;
-public class ModificationBatchAuthTest extends BatchCreationAuthorizationTest {
+public class ModificationBatchAuthorizationTest extends BatchCreationAuthorizationTest {
@Parameterized.... | chore(engine): fix typo and adjust class name | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -23,6 +23,7 @@ if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then
echo "Push to master branch detected, signing the app..."
cp app-release-unsigned.apk app-release-unaligned.apk
jarsigner -tsa http://timestamp.comodoca.com/rfc3161 -sigalg SHA1withRSA -digestalg SHA1 -keystore ../scripts/key.jks -storepass $STORE_PAS... | chore: Remove apk before zipaligning | null | fossasia/pslab-android | Apache License 2.0 | Shell |
@@ -394,7 +394,7 @@ class DefaultAccountAdapter(object):
backend = b
break
elif not backend and hasattr(b, "get_user"):
- # Pick the first vald one
+ # Pick the first valid one
backend = b
backend_path = ".".join([backend.__module__, backend.__class__.__name__])
user.backend = backend_path
| chore(account/adapter): Correct spelling in comment | null | pennersr/django-allauth | MIT License | Python |
@@ -27,13 +27,14 @@ import org.camunda.bpm.engine.authorization.ProcessInstancePermissions;
import org.camunda.bpm.engine.authorization.Resource;
import org.camunda.bpm.engine.authorization.Resources;
import org.camunda.bpm.engine.authorization.TaskPermissions;
-import org.camunda.bpm.engine.impl.ProcessEngineLogger;
-... | chore(engine): add javadoc to resource type util | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -49,9 +49,7 @@ class SettingsFragment : Fragment() {
"Teacher",
"Student",
"Viewer",
- "Admin",
- "Listener",
- "Speaker"
+ "Admin"
)
const val ENV_PROD = "prod-init"
| chore: remove non-edtech roles | null | 100mslive/100ms-android | MIT License | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.