diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -25,8 +25,8 @@ export class DocsMenu {
renderVersionSwitch() {
if (
- (this.page?.productRootLink?.title === "Amplify Libraries" ||
- this.page?.productRootLink?.title === "AWS Mobile SDK") &&
+ (this.page?.productRootLink?.route === "/lib" ||
+ this.page?.productRootLink?.route === "/sdk") &&
this.selectedFilters?.... | chore: improve mechanism for determining when to display switcher | null | aws-amplify/docs | Apache License 2.0 | TypeScript |
@@ -27,7 +27,7 @@ dbnd_vendors_list = [
setuptools.setup(
name="dbnd",
package_dir={"": "src"},
- python_requires=">=3.6, <=3.10",
+ python_requires=">=3.6, <3.11",
install_requires=[
"tzlocal",
"six",
| chore: fix to support python 3.10 for web [MR!7505] | null | databand-ai/dbnd | Apache License 2.0 | Python |
@@ -122,7 +122,7 @@ class TimeIndicatorTests: QuickSpec {
}
}
- describe("when playback is ready") {
+ describe("when playback receives didUpdateDuration event") {
var coreStub: CoreStub!
var timeIndicator: TimeIndicator!
| chore: adjusting test description | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -1297,7 +1297,7 @@ public class GitServiceCEImpl implements GitServiceCE {
.flatMap(application1 -> addAnalyticsForGitOperation(
AnalyticsEvents.GIT_CHECKOUT_REMOTE_BRANCH.getEventName(),
application1,
- application1.getGitApplicationMetadata().getIsRepoPrivate()
+ Boolean.TRUE.equals(application1.getGitApplicationM... | chore: Fix analytics NPE for checkout remote branch flow | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -42,7 +42,10 @@ module.exports = [
$scope.variables = $scope.decisionInstance.inputs.map(function(
variable
) {
- const variableValue = variable.type === 'Date' ? (new Date(variable.value)) : variable.value;
+ const variableValue =
+ variable.type === 'Date'
+ ? new Date(variable.value)
+ : variable.value;
return {
... | chore(tasklist): fix eslint error breaking assembly build | null | camunda/camunda-bpm-platform | Apache License 2.0 | JavaScript |
@@ -2,6 +2,7 @@ package google_test
import (
"testing"
+ "time"
"github.com/snyk/driftctl/test"
"github.com/snyk/driftctl/test/acceptance"
@@ -17,6 +18,8 @@ func TestAcc_Google_StorageBucketIAMMember(t *testing.T) {
},
Checks: []acceptance.AccCheck{
{
+ // New resources are not visible immediately through GCP API after... | chore: add retry backoff to acc test | null | cloudskiff/driftctl | Apache License 2.0 | Go |
@@ -603,12 +603,16 @@ const generateAngularIndex = async () => {
const modules = [];
exports.push(`export {_$, localize} from './components/utils';`, '');
for (let key in metadata) {
+ // ignore App and Code
+ if (key === 'app' || key === 'code') continue;
+
const moduleName = `${key[0].toUpperCase() + key.substring(1)... | chore: ignore App & Code, export KpcBrowserModule | null | ksc-fe/kpc | MIT License | JavaScript |
+/*
+ * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "... | chore(api): add unit test to prove serialization deserialization works | null | aws-amplify/amplify-android | Apache License 2.0 | Java |
# License: MIT. See LICENSE
import unittest
+
import frappe
-from frappe.utils import global_search
-from frappe.test_runner import make_test_objects
+from frappe.custom.doctype.property_setter.property_setter import make_property_setter
from frappe.desk.page.setup_wizard.install_fixtures import update_global_search_do... | chore(test): Cleanup imports for global search | null | frappe/frappe | MIT License | Python |
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
- 'type-enum': [1, 'always', ['chore', 'feat', 'fix', 'docs']]
+ 'type-enum': [1, 'always', ['chore', 'feat', 'fix', 'docs']],
+ 'scope-case': [2, 'always', ['pascal-case', 'lowercase']]
}
}
| chore: adjust commitlint to support PascalCase in scope | null | toptal/picasso | MIT License | JavaScript |
@@ -59,13 +59,8 @@ const getCountry = function () {
const createRewriter = async function ({ distDir, projectDir, jwtSecret, jwtRoleClaim, configPath }) {
let matcher = null
- const configFiles = [
- ...new Set(
- [path.resolve(distDir, '_redirects'), path.resolve(projectDir, '_redirects'), configPath].filter(
- (confi... | chore: refactor redirects file path logic | null | netlify/cli | MIT License | JavaScript |
@@ -139,7 +139,7 @@ public class DeploymentHelper {
} else if (server.equals("websphere")) {
return Maven.configureResolver()
.workOffline()
- .loadPomFromFile("pom.xml", "was80")
+ .loadPomFromFile("pom.xml", "was85")
.resolve("com.fasterxml.jackson.datatype:jackson-datatype-joda")
.using(new RejectDependenciesStrateg... | chore(was85): remove was80 profile reference | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -4,8 +4,7 @@ set -o errexit
get_version_at_git_rev () {
local REV=$1
- local GIT_OUTPUT=$(git show $REV:./package.json)
- local VERSION=$(echo $GIT_OUTPUT | node -r fs -e 'console.log(JSON.parse(fs.readFileSync("/dev/stdin", "utf-8")).version);')
+ local VERSION=$(node -r child_process -e "console.log(JSON.parse(chi... | chore: ensure prebuild revision check works on windows as well | null | mongodb/libmongocrypt | Apache License 2.0 | Shell |
@@ -747,12 +747,12 @@ func (c *immuClient) VerifiedSet(ctx context.Context, key []byte, value []byte)
return nil, err
}
- tx := schema.TxFrom(verifiableTx.Tx)
-
- if len(tx.Entries()) != 1 {
+ if verifiableTx.Tx.Metadata.Nentries != 1 {
return nil, store.ErrCorruptedData
}
+ tx := schema.TxFrom(verifiableTx.Tx)
+
inclu... | chore(pkg/client): validate returned entries from metadata | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -19,16 +19,6 @@ export function SizeObserver({ type = 'div', children, ...rest }: Props) {
height: undefined,
})
- const safeSetSize = React.useCallback(function safeSetSize(rect: DOMRectReadOnly) {
- // requestAnimationFrame fixes "ResizeObserver loop limit exceeded" error
- requestAnimationFrame(() =>
- setSize({
... | chore: deprecate safeSetSize | null | enixcoda/gitako | MIT License | TypeScript |
// found in the THIRD-PARTY file.
use std::collections::HashMap;
-use std::fmt;
use std::sync::{Arc, Mutex};
#[cfg(target_arch = "aarch64")]
@@ -33,46 +32,37 @@ use vm_allocator::{AddressAllocator, AllocPolicy, IdAllocator};
use vm_memory::GuestAddress;
/// Errors for MMIO device manager.
-#[derive(Debug)]
+#[derive(De... | chore: add thiserror::Error for mmio::Error | null | firecracker-microvm/firecracker | Apache License 2.0 | Rust |
@@ -91,11 +91,11 @@ fn convert_line_protocol_good_input_filename() {
assert
.success()
- .stderr(predicate::str::contains("convert starting"))
- .stderr(predicate::str::contains(
+ .stdout(predicate::str::contains("convert starting"))
+ .stdout(predicate::str::contains(
"Writing output for measurement h2o_temperature",... | chore: tests check stdout, not stderr | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
+package config
+
+import (
+ "reflect"
+ "testing"
+
+ "github.com/davecgh/go-spew/spew"
+)
+
+// TestValidatePathsNix asserts that the proper config paths are returned on
+// *nix platforms
+func TestValidatePathsNix(t *testing.T) {
+
+ // mock some envvars
+ envvars := map[string]string{
+ "HOME": "/home/foo",
+ "XD... | chore: implements unit-tests for `config.Paths` | null | cheat/cheat | MIT License | Go |
@@ -25,6 +25,7 @@ import {
} from 'tinacms'
import { GithubClient } from '../github-client'
import base64File from './base64File'
+import path from 'path'
export class GithubMediaStore implements MediaStore {
accept = '*'
@@ -96,13 +97,21 @@ const nextOffset = (offset: number, limit: number, count: number) => {
return ... | chore(react-tinacms-github): only add previewSrc to previewable things | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -225,7 +225,7 @@ func (e *Engine) handleChannelTooLong(date int, long *tg.UpdateChannelTooLong) {
if !ok {
pts, havePts := long.GetPts()
if !havePts {
- log.Info("Got UpdateChannelTooLong without pts field")
+ log.Debug("Got UpdateChannelTooLong without pts field")
return
}
| chore(updates): reduce info log to debug | null | gotd/td | MIT License | Go |
#include "shell/common/mouse_util.h"
#include "shell/common/node_includes.h"
#include "shell/common/options_switches.h"
+#include "shell/common/process_util.h"
#include "shell/common/v8_value_serializer.h"
#include "storage/browser/file_system/isolated_context.h"
#include "third_party/blink/public/common/associated_int... | chore: surface webcontents load error more readily | null | electron/electron | MIT License | C++ |
@@ -3,6 +3,7 @@ import Clappr
class ViewController: UIViewController {
+ var fullscreenController = UIViewController()
@IBOutlet weak var playerContainer: UIView!
var player: Player!
var options: Options = [:]
@@ -11,10 +12,6 @@ class ViewController: UIViewController {
return options[kFullscreenByApp] as? Bool ?? false... | chore: remove logic of portrait/landscape. Add a ViewController to handle the fullscreen state | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -134,8 +134,6 @@ public class DbIdentityServiceProvider extends DbReadOnlyIdentityServiceProvider
}
public void unlockUser(String userId) {
- getAuthorizationManager().checkCamundaAdmin();
-
UserEntity user = findUserById(userId);
if(user != null) {
unlockUser(user);
| chore(engine): remove redundant check | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -32,7 +32,7 @@ AdtsBSF::~AdtsBSF()
int AdtsBSF::init(const std::string &name, AVCodecParameters *codecpar)
{
- if (name != "aacAdts") {
+ if (name != "latm2Adts") {
return -EINVAL;
}
| chore(adtsBSF): change bsf name, same with bsfFactory | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -125,6 +125,8 @@ void Awake()
#if !UNITY_EDITOR
Debug.Log("DCL Unity Build Version: " + DCL.Configuration.ApplicationSettings.version);
+
+ Debug.unityLogger.logEnabled = false;
#endif
// We trigger the Decentraland logic once SceneController has been instanced and is ready to act.
@@ -213,6 +215,8 @@ public void Cr... | chore: tie engine debug logs to debug mode | null | decentraland/explorer | Apache License 2.0 | C# |
import ModalBase from 'open-event-frontend/components/modals/modal-base';
-
-export default ModalBase.extend({
+import { action } from '@ember/object';
+export default class extends ModalBase {
onVisible() {
let viewport = {};
let factor = 150;
@@ -16,7 +16,7 @@ export default ModalBase.extend({
height: 250
}
});
- },
... | chore: migrating cropper-modal to ES6 | null | fossasia/open-event-frontend | Apache License 2.0 | JavaScript |
@@ -13,15 +13,19 @@ const wrapper = {
props: {
// VAutoComplete
+ /** @deprecated */
autocomplete: Boolean,
+ /** @deprecated */
combobox: Boolean,
multiple: Boolean,
/** @deprecated */
tags: Boolean,
-
// VOverflowBtn
+ /** @deprecated */
editable: Boolean,
+ /** @deprecated */
overflow: Boolean,
+ /** @deprecated */
... | chore(v-select): add deprecations | null | vuetifyjs/vuetify | MIT License | JavaScript |
@@ -37,10 +37,9 @@ public FPSColor(Color col, int fps) : this()
};
private double totalHiccupCount;
- private double hiccupsPerMinute;
- private double hiccupsPerMinuteMax;
+ private double hiccupsRatio;
+ private double hiccupsRatioMax;
- private double fastFramesCount;
private double totalFramesCount;
private double ... | chore: tweak hiccup metric | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -7,38 +7,55 @@ use multihash::Sha2_256;
use std::convert::TryInto;
fn main() {
- env_logger::init();
let options = IpfsOptions::<TestTypes>::default();
- // Note: this test is now at rust-ipfs/tests/exchange_block.rs
+ // this example demonstrates
+ // - block building
+ // - local swarm communication with go-ipfs
t... | chore: add guidance to example, remove file creation | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
*/
package com.vaadin.flow.router;
+import org.osgi.framework.Constants;
+import org.osgi.service.component.annotations.Component;
+
import com.vaadin.flow.router.internal.RouteUtil;
/**
@@ -24,6 +27,8 @@ import com.vaadin.flow.router.internal.RouteUtil;
* @since
*
*/
+@Component(service = RoutePathProvider.class, prop... | chore: allow OSGi discover RoutePathProvider impl | null | vaadin/flow | Apache License 2.0 | Java |
@@ -1598,7 +1598,7 @@ class CardComponentTests: XCTestCase {
XCTAssertEqual(expectedPostalAddress, postalAddress)
}
- func testCardPrefilling_givenBillingAddressInFullMode() throws {
+ func testCardPrefillingGivenBillingAddressInFullModeShouldPrefillItems() throws {
// Given
let method = CardPaymentMethod(type: "bcmc",... | chore: Rename prefilling tests on card component | null | adyen/adyen-ios | MIT License | Swift |
@@ -5,7 +5,7 @@ import * as resolve from "resolve";
import { TemplateManager } from "../TemplateManager";
import { default as build } from "./build";
-const execSyncNpmStart = (port: number, options: any): void => {
+const execSyncNpmStart = (port: number, options: ExecSyncOptions): void => {
if (port) {
Util.execSync(... | chore(start): add type to execSyncNpmStart options param | null | igniteui/igniteui-cli | MIT License | TypeScript |
-package com.chesire.malime.extensions
-
-import androidx.fragment.app.Fragment
-
-inline fun <reified T : Any> Fragment.extraNotNull(key: String, default: T? = null) = lazy {
- val value = arguments?.get(key)
- requireNotNull(if (value is T) value else default) { key }
-}
| chore: remove unused extensions file | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -171,7 +171,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
);
let backup_mode = match backup_mode {
Err(err) => {
- return Err(LnError::InvalidBackupMode(err.to_string().into()).into());
+ return Err(LnError::InvalidBackupMode(err).into());
}
Ok(mode) => mode,
};
@@ -318,13 +318,13 @@ fn exec(files: &[... | chore(ln): fix clippy errors | null | uutils/coreutils | MIT License | Rust |
@@ -47,7 +47,7 @@ import org.springframework.context.annotation.Configuration;
@EnableConfigurationProperties(CamundaBpmRunProperties.class)
@Configuration
@AutoConfigureAfter({ CamundaBpmAutoConfiguration.class })
-public class CamundaBpmRunSecurityConfiguration {
+public class CamundaBpmRunConfiguration {
@Autowired
... | chore(run): rename configuration class | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -22,7 +22,7 @@ import { randomQuote } from '../utils/get-words';
import './welcome.css';
const propTypes = {
- activedonations: PropTypes.number,
+ activeDonations: PropTypes.number,
fetchState: PropTypes.shape({
pending: PropTypes.bool,
complete: PropTypes.bool,
@@ -108,18 +108,6 @@ function Welcome({
isDonating={i... | chore: Remove welcome link | null | freecodecamp/freecodecamp | BSD 3-Clause New or Revised License | JavaScript |
@@ -8,7 +8,6 @@ import ThresholdList from 'src/shared/components/view_options/options/ThresholdL
import ColumnOptions from 'src/shared/components/columns_options/ColumnsOptions'
import FixFirstColumn from 'src/shared/components/view_options/options/FixFirstColumn'
import TimeFormat from 'src/shared/components/view_opti... | chore: remove time axis feature from TableGraphs | null | influxdata/influxdb | MIT License | TypeScript |
@@ -43,18 +43,19 @@ class SpeechSegmentGenerator(object):
Parameters
----------
- precomputed : pyannote.audio.features.utils.Precomputed
+ precomputed : pyannote.audio.features.Precomputed
+ Precomputed features
per_label : int, optional
- Number of segments per speaker in each batch
+ Number of speech turns per speak... | chore: make SpeechSegmentGenerator.__call__ re-usable | null | pyannote/pyannote-audio | MIT License | Python |
@@ -190,8 +190,8 @@ module.exports = function(grunt) {
require('./grunt/tasks/compileLibs')(grunt, true);
require('camunda-commons-ui/grunt/tasks/localescompile')(grunt);
- require('camunda-commons-ui/grunt/tasks/persistify')(grunt);
- require('camunda-commons-ui/grunt/tasks/ensureLibs')(grunt);
+ require('camunda-comm... | chore(deps): fix test release job | null | camunda/camunda-bpm-platform | Apache License 2.0 | JavaScript |
@@ -2,24 +2,7 @@ import { Meteor } from 'meteor/meteor'
import { TransformedCollection } from '../typings/meteor'
import { registerCollection } from '../lib'
import { createMongoCollection } from './lib'
-import { DeviceType as TSR_DeviceType } from 'timeline-state-resolver-types'
-
-export interface ExpectedPlayoutIte... | chore: remove temporary implementation, replacing it with blueprints-integration | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -192,7 +192,7 @@ def structurewise_uncertainty(fname_lst, fname_hard, fname_unc_vox, fname_out):
if i_mc_label > 0:
data_tmp[mc_dict["mc_labeled"][i_mc][i_class] == i_mc_label] = 1.
- data_class_obj_mc.append(data_tmp.astype(np.bool))
+ data_class_obj_mc.append(data_tmp.astype(bool))
# COMPUTE IoU
# Init intersectio... | chore: remove numpy related deprecations | null | ivadomed/ivadomed | MIT License | Python |
@@ -99,6 +99,7 @@ pub async fn get_projects_secure_channels_from_config_lookup(
Ok(sc)
}
+#[allow(clippy::too_many_arguments)]
pub async fn create_secure_channel_to_project(
ctx: &ockam::Context,
opts: &CommandGlobalOpts,
| chore(rust): disable clippy warning for secure channel function | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -202,7 +202,7 @@ frappe.ui.form.Form = class FrappeForm {
},
{
shortcut: "shift+alt+down",
- description: __("To duplcate current row"),
+ description: __("Duplicate current row"),
},
];
| chore: typo | null | frappe/frappe | MIT License | JavaScript |
@@ -12,6 +12,8 @@ const vuePackageDir = `${repoDir}/packages/vue`;
const sharedPackageDir = `${repoDir}/packages/shared`;
// const sharedPackageDir = `${repoDir}/packages/shared`;
const themeDir = path.resolve(__dirname, "../packages/default-theme");
+const createIndexScriptPath = `${vuePackageDir}/scripts/create-index... | chore: temp prepublish script | null | vuestorefront/shopware-pwa | MIT License | JavaScript |
@@ -48,6 +48,8 @@ public final class BoletoComponent: PaymentComponent, LoadingComponent, Presenta
socialSecurityNumberItem.isHidden.wrappedValue = false
}
+ // MARK: - Private
+
/// :nodoc:
private lazy var socialSecurityNumberItem: FormTextInputItem = {
let socialSecurityNumberItem = FormTextInputItem(style: configur... | chore: Send telemetry event on BoletoComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -22,7 +22,7 @@ require 'uri'
module Faraday
module LiveServerConfig
def live_server=(value)
- @@live_server = case value
+ @live_server = case value
when /^http/
URI(value)
when /./
@@ -31,12 +31,12 @@ module Faraday
end
def live_server?
- defined? @@live_server
+ defined? @live_server
end
# Returns an object that r... | chore: replace class vars with class instance var | null | lostisland/faraday | MIT License | Ruby |
@@ -43,7 +43,7 @@ pub struct Error<R: RuleType> {
#[cfg_attr(feature = "std", derive(thiserror::Error))]
pub enum ErrorVariant<R: RuleType> {
/// Generated parsing error with expected and unexpected `Rule`s
- #[cfg_attr(feature = "std", error("{}", self.message()))]
+ #[cfg_attr(feature = "std", error("parsing error: {... | chore: distinguish parsing error variant | null | pest-parser/pest | Apache License 2.0 | Rust |
@@ -13,6 +13,7 @@ const delay = (ms) => {
*/
const exec = (cmd, options = {}) => {
return new Promise((resolve, reject) => {
+ let stderr = '';
let stdout = '';
const command = spawn(cmd, [], {
@@ -21,25 +22,33 @@ const exec = (cmd, options = {}) => {
...options
});
- if (command.stdout) {
- command.stdout.on('data', (... | chore: Fix error handling in exec | null | webhintio/hint | Apache License 2.0 | JavaScript |
@@ -16,7 +16,7 @@ pub struct AccessToken {
}
-#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+#[derive(Default, Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Config {
pub stop_words: Option<HashSet<String>>,
pub ranking_order: Option<Vec<String>>,
@@ -26,16 +26,6 @@ pub struct Config ... | chore: Use Default derive on Config struct | null | meilisearch/meilisearch | MIT License | Rust |
@@ -60,7 +60,7 @@ module ApplicationHTMLFormattersHelper
# SanitizationFilter Custom Options
# Link: https://github.com/jch/html-pipeline#2-how-do-i-customize-a-whitelist-for-sanitizationfilters
SANITIZATION_FILTER_WHITELIST = begin
- list = HTML::Pipeline::SanitizationFilter::WHITELIST.deep_dup
+ list = HTML::Pipeline... | chore(deps): fix html pipeline version upgrade regression | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -71,10 +71,14 @@ dependencies {
// implementation("com.github.Melijn:lavaplayer:18000a1479")
// https://jitpack.io/#ToxicMushroom/Lavalink-Klient
- implementation("com.github.ToxicMushroom:Lavalink-Klient:bac4b90f16")
- // implementation("me.melijn.llklient:Lavalink-Klient:1.0.3-okhttp")
+ implementation("com.github... | chore(deps): Update kotlin-coroutines and ll-klient, added k-scripting | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -21,8 +21,10 @@ use self::update::apply_documents_deletion;
use self::update::apply_synonyms_addition;
use self::update::apply_synonyms_deletion;
+const INDEXES_KEY: &str = "indexes";
+
fn load_indexes(tree: &sled::Tree) -> Result<HashSet<String>, Error> {
- match tree.get("indexes")? {
+ match tree.get(INDEXES_KEY)... | chore: Prefer using const names to avoid typos | null | meilisearch/meilisearch | MIT License | Rust |
@@ -37,7 +37,6 @@ import (
argocommon "github.com/argoproj/argo-cd/v2/common"
"github.com/argoproj/argo-cd/v2/pkg/apiclient/application"
- "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
appv1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
appclientset "github.com/argoproj/argo-cd/v2/pkg/... | chore: use `appv1` prefix everywhere | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -35,7 +35,23 @@ precacheAndRoute(coreManifest)
// static assets are already cachebusted with their file names so can just serve cacheFirst
// for same origin (https://developers.google.com/web/tools/workbox/modules/workbox-routing)
-registerRoute(new RegExp('/static/'), new CacheFirst())
+registerRoute(
+ new RegExp... | chore: update workbox cache expiration and headers | null | onearmy/community-platform | MIT License | TypeScript |
@@ -92,7 +92,7 @@ extension AddressInfo {
country.map { address.isoCountryCode = $0 }
stateOrProvince.map { address.state = $0 }
postalCode.map { address.postalCode = $0 }
- address.street = [street, houseNumberOrName]
+ address.street = [street, houseNumberOrName, apartment]
.compactMap { $0 }
.joined(separator: " ")
| chore: Fix how AddressInfo is formatted for display | null | adyen/adyen-ios | MIT License | Swift |
object Versions {
// internal versions
- const val cloudNet = "4.0.0-RC6-SNAPSHOT"
+ const val cloudNet = "4.0.0-RC6"
const val cloudNetCodeName = "Blizzard"
// external tools
| chore: release version 4.0.0-RC6 | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Kotlin |
package eu.cloudnetservice.cloudnet.ext.signs.node.configuration;
-import com.google.gson.JsonParseException;
import de.dytanic.cloudnet.common.document.gson.JsonDocument;
import de.dytanic.cloudnet.common.log.LogManager;
import de.dytanic.cloudnet.common.log.Logger;
@@ -49,12 +48,7 @@ public static void write(@NonNull... | chore(signs): Do not catch parse exception - they will get handled now | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -8,6 +8,7 @@ int requestAnimationFrame(Function callback) {
_animationFrameCallbackValidateMap[id] = true;
ElementsBinding.instance.scheduleFrameCallback((Duration timeStamp) {
if (_animationFrameCallbackValidateMap[id] == true) {
+ _animationFrameCallbackValidateMap.remove(id);
callback();
}
});
| chore: remove key when animation frame callback called | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -99,10 +99,7 @@ defmodule Logflare.TestUtils do
end)
end
- @doc """
- gzipped request body from the Cloudflare Log Push HTTP service.
- """
-
+ # gzipped request body from the Cloudflare Log Push HTTP service.
def cloudflare_log_push_body(decoded: false) do
<<31, 139, 8, 0, 0, 0, 0, 0, 0, 19, 229, 86, 91, 111, 226, ... | chore: fix compilation check for docs in test utils | null | logflare/logflare | Apache License 2.0 | Elixir |
+#!/bin/bash
+BIN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+cd "$BIN_DIR/.." || exit 1
+
+# upgrade dependencies of all packages
+cd packages || exit 1
+for package in botonic-*; do
+ cd "$package" || exit
+ echo "Upgrading $package dependencies"
+ echo "===================================="
+ nice npm i... | chore: script to upgrade dependencies | null | hubtype/botonic | MIT License | Shell |
@@ -247,7 +247,11 @@ module.exports = class InteractionHandler extends require('../models/BaseEventHa
});
for (const gid of Object.keys(grouped)) {
if (!gid) continue;
- const guild = await this.client.guilds.fetch(gid);
+ let guild;
+ try {
+ // fetch can fail due to missing access. swallow error.
+ guild = await this... | chore: handle a missing/inaccessible guild | null | wfcd/genesis | Apache License 2.0 | JavaScript |
@@ -51,6 +51,8 @@ class BackupGenerator:
else:
last_db, last_file, last_private_file, site_config_backup_path = False, False, False, False
+ self.todays_date = now_datetime().strftime('%Y%m%d_%H%M%S')
+
if not (self.backup_path_files and self.backup_path_db and self.backup_path_private_files):
self.set_backup_file_name... | chore: use common timestamp | null | frappe/frappe | MIT License | Python |
@@ -111,17 +111,16 @@ func (b *benchmark) Name() string {
}
func (b *benchmark) Warmup() error {
- const dirName = "tx-test"
-
- err := os.RemoveAll(dirName)
+ primaryPath, err := os.MkdirTemp("", "tx-test-primary")
if err != nil {
return err
}
- defer os.RemoveAll(dirName)
+
+ defer os.RemoveAll(primaryPath)
primarySe... | chore(test/performance-test-suite): use temp folders for primary, replicas and clients | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -75,12 +75,6 @@ def extract_email_id(email):
email_id = email_id.decode("utf-8", "ignore")
return email_id
-def validate_email_add(email_str, throw=False):
- """
- validate_email_add will be renamed to the validate_email_address in v12
- """
- return validate_email_address(email_str, throw=False)
-
def validate_phon... | chore: remove deprecated validate_email_add function | null | frappe/frappe | MIT License | Python |
//!
//! #### unconstrained
//!
-//! If necessary, [`task::unconstrained`] lets you opt out a future of Tokio's cooperative
+//! If necessary, [`task::unconstrained`] lets you opt a future out of of Tokio's cooperative
//! scheduling. When a future is wrapped with `unconstrained`, it will never be forced to yield to
//!... | chore: slight re-wording of unconstrained's module docs | null | tokio-rs/tokio | MIT License | Rust |
@@ -173,7 +173,7 @@ class Wpbrowser extends Bootstrap
'commands' => $this->getAddtionalCommands(),
],
'params' => [
- '.env',
+ '.env.testing',
],
];
@@ -234,7 +234,7 @@ class Wpbrowser extends Bootstrap
// deactivate all modules that could trigger exceptions when initialized with sudo values
'activeModules' => ['WPDb'... | chore(init template): Change default env file name to .env.testing | null | lucatume/wp-browser | MIT License | PHP |
@@ -15,9 +15,11 @@ const build = async ({ cwd, env = {}, argv = [] }) => {
const hopsBin = resolveFrom(cwd, 'hops/bin');
const command = `${hopsBin} build ${argv.join(' ')}`;
debug('Starting', command);
- await exec(command, { env, cwd });
-
- return cwd;
+ try {
+ return await exec(command, { env, cwd });
+ } catch (e... | chore(spec): return stderr from Hops-build function | null | xing/hops | MIT License | JavaScript |
@@ -69,7 +69,7 @@ public class PermissionGroupServiceCEImpl extends BaseService<PermissionGroupRep
@Override
public Mono<PermissionGroup> create(PermissionGroup permissionGroup) {
- return super.create(permissionGroup)
+ return repository.save(permissionGroup)
.map(pg -> {
Set<Permission> permissions = new HashSet<>(Op... | chore: Permission Group Service minor refactor | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -53,23 +53,6 @@ if [ "$FULL_BUILD" == "true" ]; then
yarn build
- # Workaround: TeamCity expects the dmg to be in dist/mac, but in the new electron-builder
- # it's put directly in dist/ (the right way to solve this is to update the TeamCity config)
- if $OSX; then
- cp dist/*.dmg dist/mac
- fi
-
- # electron-build ... | chore: remove publishing from build.sh script | null | lbryio/lbry-desktop | MIT License | Shell |
@@ -153,7 +153,6 @@ public class FilterRestServiceInteractionTest extends AbstractRestServiceTest {
protected ProcessEngineConfiguration processEngineConfigurationMock;
@Before
- @SuppressWarnings("unchecked")
public void setUpRuntimeData() {
filterServiceMock = mock(FilterService.class);
@@ -728,7 +727,7 @@ public cla... | chore(rest): improve types in filter test | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -16,7 +16,7 @@ async fn flightsql_adhoc_query() {
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,
@@ -26,7 +26... | chore: Port flightsql end to end tests for new kafkaless writepath | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
"-Dfile.encoding=UTF-8",
"-Dlog4j2.formatMsgNoLookups=true",
"-DIReallyKnowWhatIAmDoingISwear=true",
- "-Djline.terminal=jline.UnsupportedTerminal",
- // TODO: remove after testing
- "-Dio.netty.allocator.smallCacheSize=0",
- "-Dio.netty.allocator.normalCacheSize=0",
- "-Dio.netty.allocator.maxCachedBufferCapacity=0");... | chore: remove netty debug jvm properties again | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
const gulp = require('gulp');
const tailwindConfig = "tailwind.config.js";
-const mainCSS = "assets/src/styles.css";
-
-/**
- * Custom PurgeCSS Extractor
- * https://github.com/FullHuman/purgecss
- */
-class TailwindExtractor {
- static extract(content) {
- return content.match(/[\w-/:]+(?<!:)/g) || [];
- }
-}
/**
* Ta... | chore(default-theme): update TailwindExtractor for gulp-purgecss 2.0.6 | null | flextype/flextype | MIT License | JavaScript |
@@ -29,27 +29,30 @@ const EXAMPLES = [articleKitchenSink, articleDrosophila, articleAntibodies]
/**
* Given a filename, return its path within the examples folder.
*/
-const ex = (filename: string) =>
+const ex = (filename: string): string =>
path.join(__dirname, '..', 'examples', filename)
/**
* Call Encoda `convert` ... | chore(Lint): Add return types | null | stencila/stencila | Apache License 2.0 | TypeScript |
@@ -211,7 +211,9 @@ where
continue;
}
- match chunk.storage() {
+ let to_compact_len_before = to_compact.len();
+ let storage = chunk.storage();
+ match storage {
ChunkStorage::OpenMutableBuffer => {
if can_move(rules, &*chunk, now) {
has_mub_snapshot = true;
@@ -232,6 +234,13 @@ where
}
_ => {}
}
+ let has_added_to_co... | chore: Add debug logs to maybe_compact_chunks | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -84,6 +84,7 @@ public class HostnameProviderTest {
.createStandaloneInMemProcessEngineConfiguration();
configuration
+ .setJdbcUrl("jdbc:h2:mem:camunda" + getClass().getSimpleName() + "testHostnameProvider")
.setProcessEngineName(ENGINE_NAME)
.setHostname(hostname)
.setHostnameProvider(hostnameProvider)
| chore(engine): fix broken hostname provider test | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
return (text, number, variables) => {
function extract(segments, number) {
for (const part of segments) {
- const line = extractFromString(part, number);
+ const line = extractFromString(part, number)
if (line !== null) {
return line
const value = matches[2]
- if (condition.includes(",")) {
- const [from, to] = conditi... | chore: replaced double quotes with single quotes | null | laravel-filament/filament | MIT License | PHP |
@@ -67,9 +67,17 @@ echo " === dump new cluster state:"
curl -sL http://127.0.0.1:28101/v1/cluster/status
echo ""
-echo " === check new cluster state has the voters 4, 5, 6"
+echo " === check new cluster state has the voters 4"
curl -sL http://127.0.0.1:28101/v1/cluster/status \
- | grep '"voters":\[{"name":"4","endpoin... | chore(metactl/test): json output map keys in arbitrary order. Do not rely on the key order | null | datafuselabs/databend | Apache License 2.0 | Shell |
package com.hrznstudio.galacticraft.hooks;
-import com.hrznstudio.galacticraft.Constants;
import com.hrznstudio.galacticraft.api.config.ConfigManager;
-import io.github.prospector.modmenu.api.ConfigScreenFactory;
-import io.github.prospector.modmenu.api.ModMenuApi;
+import com.terraformersmc.modmenu.api.ConfigScreenFac... | chore: update modmenu api impl | null | stellarhorizons/galacticraft-rewoven | MIT License | Java |
@@ -64,8 +64,9 @@ extension ApplePayComponent {
/// A prepopulated billing address.
public var billingContact: PKContact?
- /// The flag to toggle available cards in the whallet check.
- /// When `true` - will ignore networks check and allow fallback to "Apple Pay card onboarding".
+ /// The flag to toggle onboarding.
... | chore: reword code docs | null | adyen/adyen-ios | MIT License | Swift |
@@ -113,6 +113,9 @@ module ChefUtils
# The server`s docs URL
SERVER_DOCS = "https://docs.chef.io/server/"
+
+ # OS user for server
+ SYSTEM_USER = "opscode"
end
class Solo
| chore: add constant for ChefServer system user | null | chef/chef | Apache License 2.0 | Ruby |
@@ -467,7 +467,7 @@ sub_info_get()
template_path_encode=$(urlencode "$template_path")
[ -n "$key_match_param" ] && key_match_param="(?i)$(urlencode "$key_match_param")"
[ -n "$key_ex_match_param" ] && key_ex_match_param="(?i)$(urlencode "$key_ex_match_param")"
- subscribe_url_param="?target=clash&new_name=true&url=$sub... | chore: enable classic for subconverter default | null | vernesong/openclash | MIT License | Shell |
@@ -330,7 +330,7 @@ public class TaskListenerTest {
}
@Test
- public void testTestCompleteListenerWithFollowingCallActivity() {
+ public void testCompleteTaskOnCreateListenerWithFollowingCallActivity() {
final BpmnModelInstance subProcess = Bpmn.createExecutableProcess("subProc")
.startEvent()
.userTask("calledTask")
| chore(test): rename test method | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
-# Puma can serve each request in a thread from an internal thread pool.
-# The `threads` method setting takes two numbers: a minimum and maximum.
-# Any libraries that use thread pools should be configured to match
-# the maximum value specified for Puma. Default is set to 5 threads for minimum
-# and maximum; this ma... | chore: Modern Puma Config | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -8,7 +8,7 @@ rm -rf $PROJECT_NAME
mkdir -p $PROJECT_NAME && cd $PROJECT_NAME
# Create the package.
-swift package init --type library
+swift package init
# Create the Package.swift.
echo "// swift-tools-version:5.3
@@ -41,12 +41,32 @@ let package = Package(
)
" > Package.swift
+swift package update
+
+# Archive for ... | chore: fix test-SPM-integration script | null | adyen/adyen-ios | MIT License | Shell |
@@ -1017,6 +1017,15 @@ public class NewActionServiceCEImpl extends BaseService<NewActionRepository, New
return result;
}
+ /**
+ * Since we're loading the application and other details from DB *only* for analytics, we check if analytics is
+ * active before making the call to DB.
+ * @return
+ */
+ public Boolean isSen... | chore: Changes in action execution analytics event | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -142,11 +142,9 @@ jsa::Value JSCContext::evaluateJavaScript(const char *code, const std::string &s
void JSCContext::setUnhandledPromiseRejectionHandler(jsa::Object &handler) {
#if ENABLE_UNHANDLED_PROMISE_REJECTION
JSValueRef exception = nullptr;
-#if __APPLE__
- // dynamic check current os is higher than macOS 10.1... | chore: use macro avoid build error in lower version osx | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -779,12 +779,8 @@ fn get_replacements_for_visibilty_change(
ast::Item::Enum(it) => replacements.push((it.visibility(), it.syntax().clone())),
ast::Item::ExternCrate(it) => replacements.push((it.visibility(), it.syntax().clone())),
ast::Item::Fn(it) => replacements.push((it.visibility(), it.syntax().clone())),
- ast:... | chore: reposition comment | null | rust-lang/rust-analyzer | Apache License 2.0 | Rust |
@@ -82,9 +82,9 @@ open class PlayButton: MediaControl.Element {
}
if playback.state == .paused {
- button?.setImage(playIcon, for: .normal)
+ button.setImage(playIcon, for: .normal)
} else if playback.state == .playing {
- button?.setImage(pauseIcon, for: .normal)
+ button.setImage(pauseIcon, for: .normal)
}
}
}
| chore: remove optional from button on PlayButton | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -26,7 +26,6 @@ import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
import org.camunda.bpm.engine.RepositoryService;
import org.camunda.bpm.engine.RuntimeService;
-import org.camunda.bpm.engine.impl.util.json.JSONObject;
import org.camunda.bpm.engine.repository.ProcessDefinition;
... | chore(engine): remove json.org leftover | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -97,5 +97,25 @@ namespace Microsoft.Playwright.Helpers
new JsonStringEnumMemberConverter(JsonNamingPolicy.CamelCase),
},
};
+
+#nullable enable
+ internal static string? ToOptionalString(this JsonElement? element, string name)
+ {
+ if (!element.HasValue)
+ {
+ return null;
+ }
+
+#pragma warning disable IDE0018 // ... | chore: introduce optional string helper | null | microsoft/playwright-dotnet | MIT License | C# |
@@ -129,6 +129,7 @@ def cdist(fX_trn, fX_tst, metric='euclidean', **kwargs):
return _cdist_func_1D(fX_trn, fX_tst,
lambda x_trn, X_tst: .5 * (x_trn + X_tst))
+ else:
return scipy.spatial.distance.cdist(
fX_trn, fX_tst, metric=metric, **kwargs)
| chore: make cdist code consistent with pdist | null | pyannote/pyannote-audio | MIT License | Python |
@@ -25,7 +25,7 @@ import importlib
import inspect
import json
import sys
-from typing import TYPE_CHECKING, Dict, List, Union
+from typing import TYPE_CHECKING, Dict, List, Optional, Union
import click
from werkzeug.local import Local, release_local
@@ -80,7 +80,7 @@ class _dict(dict):
return _dict(dict(self).copy())
-... | chore(frappe): Add typing hints for init methods | null | frappe/frappe | MIT License | Python |
-#!/bin/bash
-
-# exit on error
-set -e
-
-# remove and recreate `cra-fixtures` directory
-rm -rfd cra-fixtures
-mkdir cra-fixtures
-cd cra-fixtures
-
-npx create-react-app react-scripts-latest-fixture --use-npm
-
-cd ..
-./run_tests.sh -f cra-fixtures $@
| chore: remove file used to run the olf CLI tests against latest CRA | null | storybookjs/storybook | MIT License | Shell |
#include <unistd.h>
#endif
+#include <cerrno>
+
FileCntl::FileCntl(string filePath)
{
mFilePath = std::move(filePath);
@@ -61,5 +63,3 @@ void FileCntl::closeFile()
mFd = -1;
}
}
\ No newline at end of file
-
-
| chore(fileCntrl): include cerror header | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -73,6 +73,28 @@ s.replace(
r'Copyright \d{4}',
'Copyright 2018')
+# fix renamed gapic formatting method.
+s.replace(
+ 'src/V1beta1/Gapic/ErrorGroupServiceGapicClient.php',
+ r'\/\*\*\n\s{5}\* Formats a string containing the fully-qualified path to represent\n\s{5}\* a error_group resource.',
+ """/**
+ * Formats a ... | chore: fix breaking change in errorreporting gapic | null | googleapis/google-cloud-php | Apache License 2.0 | Python |
@@ -440,12 +440,17 @@ elif [ "$format" = "tar" ]; then
# install
if [ "$INSTALL" -eq 1 ]; then
echo 'Installing...'
+ if [ -d "/usr/local/bin" ]; then
log_debug "Moving binary to /usr/local/bin"
mv -f "$extract_dir/doppler" /usr/local/bin
if [ ! -x "$(command -v doppler)" ]; then
log_debug "Binary not in PATH, moving t... | chore: fix install.sh when /usr/local/bin doesn't exist | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -204,7 +204,7 @@ public class TrackerPreheat
* before using {@link #putCategoryOptionCombo}.
*
* @param categoryCombo category combo
- * @param categoryOptions semi-colon separated list of category options
+ * @param categoryOptions category options
* @return category option combo identifier
*/
public CategoryOption... | chore: this parameter is a set of category options | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -9,6 +9,7 @@ import {
} from '@open-wc/testing';
import sinon from 'sinon';
import { localizeTearDown } from '@lion/localize/test-helpers.js';
+import '@lion/input/lion-input.js';
import '../lion-fieldset.js';
const tagString = 'lion-fieldset';
| chore(fieldset): add missing import in tests | null | ing-bank/lion | MIT License | JavaScript |
@@ -19,6 +19,7 @@ import com.eventyay.organizer.utils.ErrorUtils;
import javax.inject.Inject;
import io.reactivex.disposables.CompositeDisposable;
+import retrofit2.HttpException;
import static com.eventyay.organizer.common.Constants.PREF_USER_EMAIL;
@@ -84,7 +85,18 @@ public class LoginViewModel extends ViewModel {
en... | chore: Display user friendly error message for wrong credentials | null | fossasia/open-event-organizer-android | 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.