diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -14,10 +14,12 @@ package org.camunda.bpm.engine.test.api.runtime;
import java.util.Arrays;
import org.camunda.bpm.engine.HistoryService;
+import org.camunda.bpm.engine.ProcessEngineConfiguration;
import org.camunda.bpm.engine.RuntimeService;
import org.camunda.bpm.engine.runtime.ProcessInstance;
import org.camunda.b... | chore(test): add missing required history level annotation | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -138,6 +138,11 @@ func OpenDb(op *DbOptions, systemDB DB, log logger.Logger) (DB, error) {
if err == sql.ErrDatabaseDoesNotExist {
dbi.Logger.Infof("Migrating catalog from systemdb to %s...", dbDir)
+ err = dbi.sqlEngine.Close()
+ if err != nil {
+ return nil, logErr(dbi.Logger, "Unable to open store: %s", err)
+ }
... | chore(pkg/database): re-construct sql engine once catalog is ready | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -502,67 +502,88 @@ mod test {
be_equal_to(MatchingRuleDefinition::new("Name".to_string(), ValueType::String, MatchingRule::Type, None)));
}
- // #[test]
- // fn parse_number_matcher() {
- // expect!(super::parse_matcher_def("matching(number,100)").unwrap()).to(
- // be_equal_to(("100".to_string(), Some(MatchingRule:... | chore: re-enable matching definition tests | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -67,23 +67,39 @@ fn start_tokio_runtime(args: &MayastorCliArgs) {
});
}
-fn hugepage_check() {
- let hugepage_path = Path::new("/sys/kernel/mm/hugepages/hugepages-2048kB");
+fn hugepage_get_nr(hugepage_path: &Path) -> (u32, u32) {
let nr_pages: u32 = sysfs::parse_value(hugepage_path, "nr_hugepages")
.expect("failed ... | chore(hugepage): add 1GB Hugepage checking | null | openebs/mayastor | Apache License 2.0 | Rust |
@@ -52,7 +52,7 @@ public interface ExternalTaskClientBuilder {
ExternalTaskClientBuilder addInterceptor(ClientRequestInterceptor interceptor);
/**
- * Specifies the amount of maximum tasks which are supposed to be fetched within one request
+ * Specifies the maximum amount of tasks that can be fetched within one reques... | chore(client): update javadoc of maxTasks method | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -14,7 +14,7 @@ rsync -a ../build/docs/* ./classdoc/
# Copy demo application
rsync -a ../build/demo.min.js ./demo/
-rm -rf ./demo/sheets
+#rm -rf ./demo/sheets
rsync -a ../test/data/* ./demo/
# Commit and push changes
| chore: demo build adjustment | null | opensheetmusicdisplay/opensheetmusicdisplay | BSD 3-Clause New or Revised License | Shell |
@@ -17,7 +17,7 @@ import (
type contextKey int
const (
- defaultMaxAttempts = 24
+ defaultMaxAttempts = 60
defaultInterval = 5 * time.Second
TestIdentifierKey contextKey = iota
)
| chore(validation): increase polling validation timeout to 5 minutes | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -240,7 +240,7 @@ public final class DropInComponent: NSObject, PresentableComponent {
if isRoot {
self.delegate?.didFail(with: ComponentError.cancelled, from: self)
- } else if component.requiresModalPresentation {
+ } else {
navigationController.popViewController(animated: true)
}
}
| chore: Revert change on cancel logic | null | adyen/adyen-ios | MIT License | Swift |
@@ -28,6 +28,7 @@ import org.camunda.bpm.engine.RepositoryService;
import org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl;
import org.camunda.bpm.engine.impl.cfg.StandaloneProcessEngineConfiguration;
import org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor;
+import org.camunda.bpm.engine.... | chore(spring): add command counter interceptor to spring setup | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -48,12 +48,12 @@ public abstract class AbstractRpcInvocationHandler
StateNode node = ui.getInternals().getStateTree()
.getNodeById(getNodeId(invocationJson));
if (node == null) {
- getLogger().warn("Ignoring RPC for non-existent node: {}",
+ getLogger().debug("Ignoring RPC for non-existent node: {}",
getNodeId(invoc... | chore: Change debug level to info as this logging is frequent in harmless cases | null | vaadin/flow | Apache License 2.0 | Java |
@@ -303,7 +303,7 @@ pub struct IdentitiesState {
impl IdentitiesState {
fn new(cli_path: &Path) -> Result<Self> {
let dir = cli_path.join("identities");
- std::fs::create_dir_all(&dir)?;
+ std::fs::create_dir_all(dir.join("data"))?;
Ok(Self { dir })
}
@@ -413,7 +413,7 @@ impl IdentitiesState {
}
pub async fn authentica... | chore(rust): move authenticated_storage.lmdb to identities/data/ | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -36,7 +36,7 @@ export const TokenApproveButton: FC<TokenApproveButton> = memo(
{approvalState === ApprovalState.PENDING ? (
<Dots>Approving {amount.currency.symbol}</Dots>
) : (
- `Approve ${amount.currency.symbol}`
+ `Approve ${amount.currency.symbol}` // TODO: Add tooltip here!
)}
</Button>
)
| chore(packages/ui): token approve button todo | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -125,9 +125,7 @@ function dismissModal(shouldOpenDrawer = false) {
/**
* Check whether the passed route is currently Active or not.
*
- * Previous implementation used navigationRef.current.getCurrentRoute().path, which was
- * undefined in the first navigation. Hence, in our current solution, we're rebuilding
- * th... | chore(is-active-route): Updated implementation comment | null | expensify/expensify.cash | MIT License | JavaScript |
@@ -209,7 +209,7 @@ defmodule Logflare.Mixfile do
"test.watch": ["cmd epmd -daemon", "test.watch --no-start"],
"test.compile": ["compile --warnings-as-errors"],
"test.format": ["format --check-formatted"],
- "test.security": ["sobelow --threshold high"],
+ "test.security": ["sobelow --threshold high --ignore Config.HTT... | chore: update security check to ignore https check | null | logflare/logflare | Apache License 2.0 | Elixir |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// @NOTE: Modified by zhuoling.lcl:
+// 1. Remove widgets support, remove CameraPreview.
+// 2. Add kraken element reference.
+// 3. Implement CameraPrevi... | chore: add camera modify log | null | openkraken/kraken | Apache License 2.0 | Dart |
-use std::sync::mpsc::{self, Receiver, Sender};
+use std::sync::mpsc::{self, Receiver, Sender, TryRecvError};
use ockam_common::commands::ockam_commands::*;
use ockam_message::message::{AddressType, Message as OckamMessage};
@@ -39,10 +39,13 @@ impl Worker {
false
}
},
- Err(e) => {
+ Err(e) => match e {
+ TryRecvError... | chore(rust): fix debug printing and handle empty recv error | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -5,6 +5,7 @@ shopt -s extglob
DEPRECATED_PACKAGES="@webex/bin-sauce-connect \
@webex/test-helper-sinon \
+ @webex/internal-plugin-devices \
@ciscospark/storage-adapter-session-storage \
@ciscospark/test-helper-automation \
@ciscospark/sparkd \
| chore(tooling): add devices to deprecation list | null | webex/webex-js-sdk | MIT License | Shell |
*/
// produce nodeset xml files
import { assert } from "node-opcua-assert";
+import { ObjectIds } from "node-opcua-constants";
import { make_debugLog, make_errorLog, make_warningLog } from "node-opcua-debug";
import { ExtensionObject } from "node-opcua-extension-object";
import {
@@ -50,9 +51,6 @@ import { SessionConte... | chore: import cleanup | null | node-opcua/node-opcua | MIT License | TypeScript |
@@ -6,10 +6,7 @@ const initExport = {
* const { serverRuntimeConfig } = getConfig();
*/
serverRuntimeConfig: {
- dev: process.env.NODE_ENV !== "production",
- appPath: process.env.NODE_ENV === "production" ? "./build/app" : "./src",
- graphqlUrl: process.env.INTERNAL_GRAPHQL_URL,
- faviconUrl: process.env.FAVICON_URL
+... | chore: remove unused serverRuntimeConfig | null | reactioncommerce/example-storefront | Apache License 2.0 | JavaScript |
@@ -16,7 +16,6 @@ pub struct MotokoCanisterInfo {
packtool: Option<String>,
moc_args: Option<String>,
- has_frontend: bool,
}
impl MotokoCanisterInfo {
@@ -50,9 +49,6 @@ impl MotokoCanisterInfo {
pub fn get_args(&self) -> &Option<String> {
&self.moc_args
}
- pub fn has_frontend(&self) -> bool {
- self.has_frontend
- }
... | chore: removed unused field "has_frontend" | null | dfinity/sdk | Apache License 2.0 | Rust |
@@ -13,6 +13,10 @@ import (
"github.com/line/lbm-sdk/v2/server"
)
+const (
+ envPrefix = "LBM"
+)
+
// Execute executes the root command of an application. It handles creating a
// server context object with the appropriate server and client objects injected
// into the underlying stdlib Context. It also handles adding... | chore: Add a env prefix | null | line/lbm-sdk | Apache License 2.0 | Go |
@@ -42,6 +42,25 @@ def test_make_fuzzy_should_extend_term(config):
assert set(make_fuzzy('mot')) == expected
+def test_make_fuzzy_with_key_map_should_extend_term():
+ expected = set([
+ 'omt', 'mto', 'lot', 'pot', 'uot', 'mit', 'mat', 'mkt', 'mlt', 'mpt',
+ 'mor', 'mof', 'mog', 'moy', 'amot', 'maot', 'moat', 'mota', 'b... | chore: add test for fuzzy with keys_map | null | addok/addok | MIT License | Python |
@@ -14,9 +14,9 @@ fn app(cx: Scope) -> Element {
r#type: "number",
value: "{level}",
oninput: |e| {
- let num = e.value.parse::<f64>().unwrap_or(1.0);
- level.set(num);
- window.webview.zoom(num);
+ let new_zoom = e.value.parse::<f64>().unwrap_or(1.0);
+ level.set(new_zoom);
+ window.webview.zoom(new_zoom);
}
}
})
| chore: rename zoom | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -66,10 +66,18 @@ class UpdateSearchCommand extends Command
// rebuild index
$elastic->deleteIndex($index);
-
// create index
$elastic->addIndexGameData($index);
+ $elastic->putSettings([
+ "index" => "$index",
+ "body" => [
+ "settings" => [
+ "refresh_interval" => "-1"
+ ]
+ ]
+ ]);
+
// Add documents to elastic
$c... | chore(es): updating elasticsearch data push to optimize process | null | xivapi/xivapi.com | MIT License | PHP |
@@ -27,6 +27,7 @@ import (
)
type commandline struct {
+ options client.Options
immuClient client.ImmuClient
passwordReader c.PasswordReader
context context.Context
@@ -40,6 +41,7 @@ func Init(cmd *cobra.Command, cmdName string, o *c.Options) {
c.QuitToStdErr(err)
}
cl := new(commandline)
+ cl.options = *Options()
cl.p... | chore(cmd/immuadmin/command): move options as dependency of commandline struct | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -96,7 +96,7 @@ func mSubproof(m uint64, D [][]byte, b bool) (path [][sha256.Size]byte) {
}
// MProof returns the Merke Consistency Proof for the MTH(_D_[n]) and the previously advertised MTH(_D_[_m_:0])
-// of the first _m_ leaves when _m_ <= n, where n is the length of the given ordered list of inputs _D_.
+// of t... | chore(pkg/tree): improve comment | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -65,6 +65,7 @@ public class PersonalityInsights {
in "YYYY-MM-DD" format.
*/
public init(version: String) throws {
+ #warning("On 1 December 2021, Personality Insights will no longer be available. Consider migrating to Watson Natural Language Understanding. For more information, see https://github.com/watson-develop... | chore: add pi deprecation warning | null | watson-developer-cloud/swift-sdk | Apache License 2.0 | Swift |
@@ -35,7 +35,6 @@ echo "Finding merged pull requests between $BASE_TAG and $LATEST_TAG..."
PRs=$(git log --pretty=oneline "$BASE_TAG"..."$LATEST_TAG" | grep 'Merge pull request #' | grep -oE '#[0-9]+' | sed 's/#//')
# Find fixed issues from $BASE_TAG to $LATEST_TAG
-EXIT_CODE=0
ISSUES=()
for pr in $PRs; do
id=$($GHCLI_... | chore: Stop failing tagging on invalid issue links | null | cloudskiff/driftctl | Apache License 2.0 | Shell |
+/* 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 law or agreed to in writing, software
+ * distribu... | chore: Add missing license header block | null | flowable/flowable-engine | Apache License 2.0 | Java |
@@ -119,24 +119,19 @@ open class AVFoundationPlayback: Playback {
open override var subtitles: [MediaOption]? {
guard let mediaGroup = mediaSelectionGroup(.legible) else { return [] }
- let availableOptions: [MediaOption]
- if let cache = asset?.assetCache, cache.isPlayableOffline {
- availableOptions = cache.mediaSele... | chore: extract media options extraction common logic to a method | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -235,8 +235,7 @@ public class ServiceManager implements RecordListener<Service> {
}
public int getPagedClusterState(String namespaceId, int startPage, int pageSize, String keyword, List<RaftPeer> raftPeerList) {
- //reserve for future
- //List<RaftPeer> matchList = new ArrayList<>(raftPeerSet.allPeers());
+
List<Raf... | chore(cluster): delete no used note | null | alibaba/nacos | Apache License 2.0 | Java |
@@ -109,7 +109,7 @@ pub enum ConfigureAddonCommand {
client_id: String,
/// Attributes names to copy from Okta userprofile into Ockam credential.
- #[arg(long = "attr", value_name = "ATTRIBUTE")]
+ #[arg(short, long = "attribute", value_name = "ATTRIBUTE")]
attributes: Vec<String>,
},
}
| chore(rust): rename attr argument to attribute on okta addon config | null | ockam-network/ockam | Apache License 2.0 | Rust |
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
-#![warn(clippy::clone_on_ref_ptr, clippy::use_self)]
+#![warn(
+ clippy::clone_on_ref_ptr,
+ clippy::use_self,
+ clippy::str_to_string,
+ clippy::string_to_string
+)]
#![allow(dead_code, clippy::too_many_arguments)]
mod chunk;
mod column;
| chore: enable to_string restrictive lints | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -17,7 +17,7 @@ class NetflixHttpSubRessourceHandler:
else:
self.netflix_session.login(account=self.credentials)
self.profiles = self.netflix_session.profiles
- self._prefetch_user_video_lists()
+ #self._prefetch_user_video_lists()
else:
self.profiles = []
@@ -25,7 +25,6 @@ class NetflixHttpSubRessourceHandler:
for p... | chore(performace): Disable prefetching (temporary) | null | castagnait/plugin.video.netflix | MIT License | Python |
@@ -10,6 +10,11 @@ import Foundation
public enum TelemetryFlavor {
case components(type: PaymentMethodType)
case dropIn(type: String = "dropin", paymentMethods: [String])
+
+
+ // The `dropInComponent` type describes a component within the drop-in component.
+ // In telemetry, we need to distinguish when a component is... | chore: Add clarifying comment | null | adyen/adyen-ios | MIT License | Swift |
+import { fetch } from "../actions";
+
+describe("fetch action", () => {
+ test.todo("should fetch if data doesn't exist");
+ test.todo("should fetch if data is an archive and there's no page");
+ test.todo("does nothing if data exists and isn't an archive");
+ test.todo("does nothing if data is an archive and page exi... | chore(tests): add test definitions for fetch action | null | frontity/frontity | Apache License 2.0 | TypeScript |
@@ -7,9 +7,7 @@ export const calculateRatios = (part) => {
// Calculate different values for reducing from chest to hips via waist
store.set('chest', measurements.chest * (1 + options.chestEase))
store.set('waist', measurements.waist * (1 + options.waistEase))
- store.set('hips', measurements.hips * (1 + options.hipsEa... | chore(carlton): Removed unused hips code | null | freesewing/freesewing | MIT License | JavaScript |
@@ -76,7 +76,7 @@ async function parseCommandLineArguments() {
.option('trust', { type: 'array', desc: 'The AWS account IDs that should be trusted to perform deployments into this environment (may be repeated)', default: [], nargs: 1, requiresArg: true, hidden: true })
.option('cloudformation-execution-policies', { typ... | chore(cli): set termination-protection to false by default | null | aws/aws-cdk | Apache License 2.0 | TypeScript |
@@ -30,7 +30,7 @@ const ExtractorBuiltin = require('./extractor-builtin');
const { TrimType } = require('./trim-types');
function isObject(obj) {
- return obj !== undefined && obj !== null && obj.constructor == Object;
+ return obj !== undefined && obj !== null && obj.constructor === Object;
}
class Ner extends Clonabl... | chore: update equalty | null | axa-group/nlp.js | MIT License | JavaScript |
@@ -388,7 +388,7 @@ public abstract class NodeUpdater implements FallibleCommand {
final String WORKBOX_VERSION = "6.2.0";
if (featureFlags.isEnabled(FeatureFlags.VITE)) {
- defaults.put("vite", "v2.7.0-beta.7");
+ defaults.put("vite", "v2.7.0-beta.8");
defaults.put("rollup-plugin-brotli", "3.1.0");
defaults.put("vite-... | chore: Upgrade to Vite 2.7.0-beta.8 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -44,10 +44,10 @@ public interface HistoricActivityStatisticsQuery extends Query<HistoricActivityS
/** Only select historic activities of process instances that were started after the given date. */
HistoricActivityStatisticsQuery startedAfter(Date date);
- /** Only select historic activities of process instances tha... | chore(query): fix typo | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -542,23 +542,6 @@ class PreviewAreaWidget extends StatelessWidget {
VioletImageProvider prov =
await ProviderManager.get(queryResult.id());
- // if (!ProviderManager.isExists(queryResult.id() * 1000000)) {
- // if (ProviderManager.get(queryResult.id()) is HitomiImageProvider) {
- // prov = await ProviderManager.get(... | chore(article-info): remove unused code [skip ci] | null | project-violet/violet | Apache License 2.0 | Dart |
@@ -104,10 +104,10 @@ fn get_asset_root() -> Option<PathBuf> {
#[cfg(target_os = "macos")]
{
let bundle = core_foundation::bundle::CFBundle::main_bundle();
- let bundle_path = dbg!(bundle.path()?);
- let resources_path = dbg!(bundle.resources_path()?);
- let absolute_resources_root = dbg!(bundle_path.join(resources_pat... | chore: remove dbgs | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -52,8 +52,8 @@ import static org.kestra.core.utils.Rethrow.throwFunction;
"id: template",
"namespace: org.kestra.tests",
"",
- "inputs:" +
- " - name: with-string" +
+ "inputs:",
+ " - name: with-string",
" type: STRING",
"",
"tasks:",
| chore(docs): fix Template documentation | null | kestra-io/kestra | Apache License 2.0 | Java |
class UrlValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
- record.errors[attribute] << (options[:message] || 'Must be a valid URL') unless url_valid?(value)
+ message = options[:message] || 'Must be a valid URL'
+ record.errors.add(attribute, message) unless url_valid?(value)
end
# ru... | chore: Fix Url Validator Deprecation Warning | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -14,7 +14,7 @@ temp_dir=$(mktemp -d)
function cleanup {
# keep junit file to allow report creation
- cp ${integ_under_test}/junit.xml .
+ cp ${integ_under_test}/coverage/junit.xml .
rm -rf ${temp_dir}
rm -rf ${integ_under_test}
}
| chore(core): copy test reports from coverage folder | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -36,6 +36,10 @@ impl TableArgs {
}
}
+ /// Check TableArgs only contain positioned args.
+ /// Also check num of positioned if num is not None.
+ ///
+ /// Returns the vec of positioned args.
pub fn expect_all_positioned(
&self,
func_name: &str,
@@ -60,6 +64,9 @@ impl TableArgs {
}
}
+ /// Check TableArgs only conta... | chore: add comments for TableArgs | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -19,7 +19,7 @@ set -e
VENV_NAME=tmp-falcon-build
BUILD_DIR=./build
DIST_DIR=./dist
-PY2_VERSION=2.7.14
+PY3_VERSION=3.8.0
#----------------------------------------------------------------------
# Helpers
@@ -82,7 +82,7 @@ pyenv uninstall -f $VENV_NAME
#----------------------------------------------------------------... | chore: Use CPython 3.8.0 to build dist | null | falconry/falcon | Apache License 2.0 | Shell |
@@ -66,23 +66,7 @@ export class StyleAttributeAccessor implements IAccessor<unknown> {
return returnVal;
}
- private getStyleArray(currentValue: unknown): [string, string][] {
- if (typeof currentValue === 'string') {
- return this.spltStyleString(currentValue);
- }
-
- if (currentValue instanceof Array) {
- const len ... | chore(cleanup): Refactor to simply code | null | aurelia/aurelia | MIT License | TypeScript |
@@ -130,7 +130,7 @@ const CourtRecord: React.FC = () => {
text={formatMessage(m.modalText)}
onPrimaryButtonClick={() => {
router.push(
- `${constants.CASES_ROUTE}`, // TODO: Add next url when it is ready
+ `${constants.CLOSED_INDICTMENT_OVERVIEW_ROUTE}/${workingCase.id}`,
)
}}
primaryButtonText={formatMessage(core.clos... | chore(j-s): Change routing when an indictment is closed | null | island-is/island.is | MIT License | TypeScript |
clippy::use_self,
clippy::clone_on_ref_ptr
)]
-// TEMP until everything is fleshed out
-#![allow(dead_code)]
//! # WAL
//!
@@ -480,6 +478,7 @@ pub struct WriteSummary {
/// Which segment file this entry was written to
pub segment_id: SegmentId,
/// Checksum for the compressed data written to segment
+ #[allow(dead_code... | chore: reduce scope of allow_deadcode in wal | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -8,13 +8,17 @@ use Facebook\WebDriver\Chrome\ChromeOptions;
use Facebook\WebDriver\Remote\DesiredCapabilities;
use Facebook\WebDriver\Remote\RemoteWebDriver;
use Illuminate\Support\Facades\Artisan;
+use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Route;
use Laravel\Dusk\Browser;
+use Livewire\Com... | chore: load livewire components | null | wireui/wireui | MIT License | PHP |
@@ -35,6 +35,7 @@ type dbMock struct {
currentStateF func() (*schema.ImmutableState, error)
getOptionsF func() *database.DbOptions
+ getNameF func() string
}
func (dbm dbMock) CurrentState() (*schema.ImmutableState, error) {
@@ -50,6 +51,13 @@ func (dbm dbMock) GetOptions() *database.DbOptions {
return database.Default... | chore(pkg/server): fix db mock | null | codenotary/immudb | Apache License 2.0 | Go |
+package middleware_test
+
+import (
+ "context"
+ "time"
+
+ "golang.org/x/time/rate"
+
+ "github.com/gotd/td/middleware"
+ "github.com/gotd/td/middleware/floodwait"
+ "github.com/gotd/td/middleware/ratelimit"
+ "github.com/gotd/td/telegram"
+)
+
+func Example() {
+ // Create a new telegram.Client instance that handle... | chore(middleware): added example | null | gotd/td | MIT License | Go |
@@ -593,12 +593,6 @@ public class DevModeHandlerTest {
// since the timeout is quite big the server port still should be
// available and the second instance should try to reuse it
-
- DevModeHandler.start(0, createDevModeLookup(), npmFolder,
- CompletableFuture.completedFuture(null));
-
- // make checks only if webpac... | chore: Fix initalizing to devServers | null | vaadin/flow | Apache License 2.0 | Java |
@@ -58,7 +58,7 @@ export class ProgressController {
private _state: 'before' | 'running' | 'aborted' | 'finished' = 'before';
private _deadline: number = 0;
private _timeout: number = 0;
- private _logRecordring: string[] = [];
+ private _logRecording: string[] = [];
private _listener?: (result: ProgressResult) => Prom... | chore(typo): resolve typo in src/progress.ts | null | microsoft/playwright | Apache License 2.0 | TypeScript |
@@ -744,9 +744,10 @@ void BaseWindow::AddBrowserView(v8::Local<v8::Value> value) {
gin::ConvertFromV8(isolate(), value, &browser_view)) {
auto get_that_view = browser_views_.find(browser_view->ID());
if (get_that_view == browser_views_.end()) {
+ if (browser_view->web_contents()) {
window_->AddBrowserView(browser_view-... | chore: wrap add/remove view in extra check | null | electron/electron | MIT License | C++ |
@@ -102,18 +102,22 @@ func main() {
app := &cli.App{
Name: "infracost",
- Usage: "Generate cost reports from Terraform plans",
+ Usage: "Generate cost estimates from Terraform",
UsageText: `infracost [global options] command [command options] [arguments...]
-EXAMPLES:
- # Run infracost with a Terraform directory and va... | chore: update help text to have clearer methods | null | infracost/infracost | Apache License 2.0 | Go |
@@ -362,7 +362,9 @@ public class CodeGenerator extends AbstractTypeScriptClientCodegen {
}
}
if (objs.get(VAADIN_CONNECT_CLASS_DESCRIPTION) == null) {
- warnNoClassInformation(classname);
+ logger.debug(
+ "The class '{}' doesn't have JavaDoc or it is invalid. This results in no TsDoc for the generated module '{}'.",
+... | chore: do not try to enforce javadoc in endpoint classes | null | vaadin/flow | Apache License 2.0 | Java |
@@ -638,7 +638,8 @@ target.gensite = function(prereleaseVersion) {
};
}
- const rules = require(".").linter.getRules();
+ const { Linter } = require(".");
+ const rules = new Linter().getRules();
const RECOMMENDED_TEXT = "\n\n(recommended) The `\"extends\": \"eslint:recommended\"` property in a configuration file enabl... | chore: Fix Makefile call to linter.getRules() | null | eslint/eslint | MIT License | JavaScript |
@@ -454,7 +454,7 @@ $utopia->get('/v1/auth/login/oauth/:provider/redirect')
->label('error', __DIR__.'/../views/general/error.phtml')
->label('webhook', 'auth.oauth')
->label('scope', 'auth')
- ->label('abuse-limit', 100)
+ ->label('abuse-limit', 50)
->label('abuse-key', 'ip:{ip}')
->label('docs', false)
->param('provi... | chore: set abuse-limit to default | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
import React from 'react'
import { graphql } from 'gatsby'
-import Container from '~components/common/container'
-import LongContent from '~components/common/long-content'
import TableauChart from '~components/charts/tableau'
import ChartList from '~components/pages/data/charts/chart-list'
import Layout from '../compon... | chore: Remove unneeded containers | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -155,9 +155,9 @@ public enum SettingKey
REMOTE_INSTANCE_URL( "keyRemoteInstanceUrl", "", String.class ),
REMOTE_INSTANCE_USERNAME( "keyRemoteInstanceUsername", "", String.class ),
REMOTE_INSTANCE_PASSWORD( "keyRemoteInstancePassword", "", String.class, true, false ),
- GOOGLE_MAPS_API_KEY( "keyGoogleMapsApiKey", "AI... | chore: Make API keys non-confidential | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -48,19 +48,10 @@ open class SpinnerPlugin: UIContainerPlugin {
private func bindPlaybackEvents() {
guard let playback = playback else { return }
-
- listenTo(playback, event: .playing) { [weak self] (info: EventUserInfo) in
- self?.stopAnimating(info)
- }
- listenTo(playback, event: .stalling) { [weak self] (info: E... | chore: adjust code style on SpinnerPlugin | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -36,11 +36,12 @@ fn run() -> Result<()> {
};
let matches = App::new("tree-sitter")
- .version(version.as_str())
- .setting(AppSettings::SubcommandRequiredElseHelp)
.author("Max Brunsfeld <maxbrunsfeld@gmail.com>")
.about("Generates and tests parsers")
+ .version(version.as_str())
+ .setting(AppSettings::SubcommandRe... | chore(cli): Use DeriveDisplayOrder Clap's setting | null | tree-sitter/tree-sitter | MIT License | Rust |
@@ -3,13 +3,12 @@ echo "Preparing release"
set -e
-npm install
-npm run bootstrap
-npm run build
+yarn
+yarn build
# don't run in CI
if [ ! "$CI" = true ]; then
- lerna publish --skip-git --force-publish=* --skip-npm
+ yarn lerna publish --skip-git --force-publish=* --skip-npm
fi
echo "Repository is ready for release."... | chore: use yarn in release script | null | aerogear/graphback | Apache License 2.0 | Shell |
@@ -103,7 +103,12 @@ function _wrapAndEscape(node, maxColumns = 0) {
lines.push(text);
};
- const text = node.text.replace(/[^\[]`([^\]]*[^\[])`[^\]]/g, (m, g1) => ` <c>${g1}</c> `);
+
+ let text = node.text;
+ text = text.replace(/`([^`]*)`/g, (match, code) => `<c>${code.replace('<', '<').replace('>', '>')}</c>`... | chore(docs): improve xmldoc inline code parsing | null | microsoft/playwright | Apache License 2.0 | JavaScript |
@@ -175,8 +175,7 @@ pub async fn run_compactor_once(compactor: Arc<Compactor>) {
}
debug!("start cold cycle");
- compacted_partitions +=
- cold::compact(Arc::clone(&compactor), false /* not do full compact */).await;
+ compacted_partitions += cold::compact(Arc::clone(&compactor), true).await;
if compacted_partitions ==... | chore: turn full cold compaction on | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -146,7 +146,7 @@ class Entries
}
/**
- * Load Collections Events
+ * Load events for current collection.
*
* @access public
*/
@@ -189,7 +189,7 @@ class Entries
}
/**
- * Load Collections Fields
+ * Load fields for current collection.
*
* @access public
*/
| chore(entries): upd comments | null | flextype/flextype | MIT License | PHP |
@@ -20,7 +20,7 @@ echo -n "Waiting for init script to complete. This might take a few minutes due
sleep 1 && while [ -f /tmp/.npm-lock ]; do echo -n "." && sleep 1; done
echo "Init script done :)"
echo
-echo "Dev environment setup complete. You should be ready to code!"
+echo "Dev environment setup complete. You should... | chore(gitpod): env file msg | null | sanofi-iadc/whispr | MIT License | Shell |
@@ -78,7 +78,7 @@ const inputProps = [
name: "errorMessage",
type: "String",
defaultValue: "null",
- description: "Displays list of error messages and applies red style"
+ description: "Displays an error message and applies red style"
},
{
name: "errorList",
| chore: docs update for errorMessage input prop | null | nulogy/design-system | MIT License | JavaScript |
@@ -264,7 +264,6 @@ export {
// IResourceType,
// ResourceDescription,
// ResourcePartDescription,
- RuntimeCompilationResources,
// fromAnnotationOrDefinitionOrTypeOrDefault,
// fromAnnotationOrTypeOrDefault,
// fromDefinitionOrDefault,
@@ -807,8 +806,6 @@ export {
instructionRenderer,
ensureExpression,
- addComponent... | chore(aurelia): remove deprecated exports | null | aurelia/aurelia | MIT License | TypeScript |
@@ -91,36 +91,6 @@ def foundation_lessons
url: '/foundations/git_basics/git_basics.md',
identifier_uuid: 'e48795b0-1df8-49c8-9c63-2072f31a36eb',
},
- 'Introduction to the Front End' => {
- title: 'Introduction to the Front End',
- description: "An overview of what exactly the 'Front End' is",
- is_project: false,
- url... | chore: Remove Old Foundations Frontend Section | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -25,7 +25,7 @@ macro_rules! executable(
#[macro_export]
macro_rules! show_error(
($($args:tt)+) => ({
- eprint!("{}: error: ", executable!());
+ eprint!("{}: ", executable!());
eprintln!($($args)+);
})
);
| chore: delete 'error:' prefix on show_error | null | uutils/coreutils | MIT License | Rust |
@@ -33,12 +33,13 @@ interface BranchSwitcherProps {
const BranchSwitcher = ({ onBranchChange }: BranchSwitcherProps) => {
const cms = useCMS()
+ const github: GithubClient = cms.api.github
const [open, setOpen] = React.useState(false)
const [createBranchOpen, setCreateBranchOpen] = React.useState(false)
- const [curren... | chore: show the correct branch in the dropdown | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -22,7 +22,13 @@ export interface EventsToAlerts {
[key: string]: ToAlert
}
-export type ToAlert = (event: CMSEvent) => Alert
+export type ToAlert = (
+ event: CMSEvent
+) => {
+ level: AlertLevel
+ message: string
+ timeout?: number
+}
export class Alerts {
private alerts: Map<string, Alert> = new Map()
| chore: correct toAlert interface | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -85,17 +85,6 @@ function getIdentifierIfShouldBeConst(variable, ignoreReadBeforeAssign) {
return null;
}
- /*
- * Due to a bug in acorn, code such as `let foo = 1; let foo = 2;` will not throw a syntax error. As a sanity
- * check, make sure that the variable only has one declaration. After the parsing bug is fixed,... | chore: remove dead code from prefer-const | null | eslint/eslint | MIT License | JavaScript |
@@ -267,8 +267,8 @@ install_hashicorp_tools() {
echo_banner "Installing hashicorp tools: consul nomad packer"
# Set specific versions since we're enabling the hashicorp test repo
- CONSUL_VERSION="1.12.2-1"
- NOMAD_VERSION="1.3.1-1"
+ CONSUL_VERSION="1.12.3-1"
+ NOMAD_VERSION="1.3.2-1"
# packer doesn't have the -1s at ... | chore: upgrade Consul and Nomad | null | grapl-security/grapl | Apache License 2.0 | Shell |
@@ -63,6 +63,11 @@ interface IHalClient {
*/
fun linkUrl(name: String): String?
+ /**
+ * Returns the current HAL document
+ */
+ fun currentDoc(): JsonValue.Object?
+
/**
* Calls the closure with a Map of attributes for all links associated with the link name
* @param linkName Name of the link to loop over
@@ -251,6 +... | chore: Update the HAL client to return the current navigated document | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
import * as React from 'react';
-import { UIView } from '@uirouter/react';
+import { UIView, UIViewInjectedProps } from '@uirouter/react';
-export class Child extends React.Component<any, any> {
+export class Child extends React.Component<UIViewInjectedProps, any> {
uiCanExit = () => {
return Promise.resolve();
};
+ co... | chore(example): add remount example in child state | null | ui-router/react | MIT License | TypeScript |
@@ -30,6 +30,7 @@ export default function updateSlidesClasses() {
activeSlide = slides[activeIndex];
}
+ if (activeSlide) {
// Active classes
activeSlide.classList.add(params.slideActiveClass);
@@ -49,5 +50,7 @@ export default function updateSlidesClasses() {
if (prevSlide) {
prevSlide.classList.add(params.slidePrevCla... | chore(core): don't do anything with slides if there are no slides | null | nolimits4web/swiper | MIT License | JavaScript |
@@ -360,6 +360,7 @@ export function* saveSliceMockSaga({
})
);
yield put(saveSliceMockCreator.success(data));
+ // TODO: ask if the state should be updated with the saved mocks
} catch (error) {
const message =
error instanceof Error ? error.message : "Error saving content";
| chore: add comment for discussion | null | prismicio/slice-machine | Apache License 2.0 | TypeScript |
@@ -80,7 +80,11 @@ const ArtistHeader: React.FC<ArtistHeaderProps> = ({ artist }) => {
</Column>
{!!artist.counts?.follows && (
- <Column span={6} display={["block", "flex"]} alignItems="center">
+ <Column
+ span={6}
+ display={["block", "none", "none", "flex"]}
+ alignItems="center"
+ >
<Text
variant="xs"
color="black... | chore: hide artist follow counts for mid breakpoints | null | artsy/force | MIT License | TypeScript |
@@ -57,7 +57,7 @@ public class Web3 {
// FIXME: Rewrite this to CodableTransaction
public class Personal {
var provider: Web3Provider
- // FIXME: web3 must be weak
+ // FIXME: remove dependency on web3 instance!!
var web3: Web3
public init(provider prov: Web3Provider, web3 web3instance: Web3) {
provider = prov
@@ -79,7... | chore: updated FIXME comments to "// FIXME: remove dependency on web3 instance!!" | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -14,6 +14,11 @@ module.exports = async ({github, context, core}) => {
const pr_author = pullrequest.data.user.login;
const pr_reviewers = ['CloudyPadmal'];
const pr_comment = "Hello @" + pr_author + ", ";
+ const pr_exclude = ['dependabot[bot]'];
+
+ if (!pr_author.includes(pr_exclude)) {
+ return;
+ }
await github.... | chore: removed dependabot from assignee role | null | fossasia/pslab-android | Apache License 2.0 | JavaScript |
@@ -4,8 +4,8 @@ import HeroStyles from './hero.module.scss'
export default ({ ledeContent }) => (
<div className={HeroStyles.container}>
<h1>
- The latest race and ethnicity data from every state and territory that
- reports it.
+ Here's the latest race and ethnicity data from every state and territory
+ that reports i... | chore: Add heres per | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -158,6 +158,14 @@ impl TypedTransaction {
}
}
+ pub fn gas_mut(&mut self) -> &mut Option<U256> {
+ match self {
+ Legacy(inner) => &mut inner.gas,
+ Eip2930(inner) => &mut inner.tx.gas,
+ Eip1559(inner) => &mut inner.gas,
+ }
+ }
+
pub fn set_gas<T: Into<U256>>(&mut self, gas: T) -> &mut Self {
let gas = gas.into();... | chore: add gas_mut function | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -57,6 +57,14 @@ export const Amd: Store = {
model: 'amd reference',
series: 'rx6800xt',
url: 'https://www.amd.com/en/direct-buy/5458372800/us'
+ },
+ {
+ brand: 'amd',
+ cartUrl:
+ 'https://www.amd.com/en/direct-buy/5458373400/us?add-to-cart=true',
+ model: 'amd reference',
+ series: 'rx6800',
+ url: 'https://www.am... | chore(amd): add rx6800 | null | jef/streetmerchant | MIT License | TypeScript |
@@ -39,6 +39,7 @@ locals_without_parens = [
destination_field_on_join_table: 1,
destroy: 1,
destroy: 2,
+ dispatcher: 1,
error_handler: 1,
event: 1,
expensive?: 1,
@@ -71,6 +72,7 @@ locals_without_parens = [
metadata: 2,
metadata: 3,
module: 1,
+ name: 1,
not_found_message: 1,
on: 1,
pagination: 1,
| chore: update .formatter.exs | null | ash-project/ash | MIT License | Elixir |
@@ -257,10 +257,10 @@ impl BaseClient {
room: &Room,
ruma_timeline: api::sync::sync_events::v3::Timeline,
push_rules: &Ruleset,
+ user_ids: &mut BTreeSet<OwnedUserId>,
room_info: &mut RoomInfo,
changes: &mut StateChanges,
ambiguity_cache: &mut AmbiguityCache,
- user_ids: &mut BTreeSet<OwnedUserId>,
) -> Result<Timeline... | chore(base): Fix inconsistent order of common function parameters | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
import synthtool as s
from synthtool import gcp
-from synthtool.sources import git
-DISCOVERY_ARTIFACT_MANAGER_REPO = "googleapis/discovery-artifact-manager"
common = gcp.CommonTemplates()
@@ -32,19 +30,6 @@ s.move(templated_files / '.kokoro', excludes=['**/docs/*', 'publish-docs.sh'])
# Also move issue templates
s.mov... | chore: remove discovery artifact copy from synth.py | null | googleapis/google-api-python-client | Apache License 2.0 | Python |
@@ -6,6 +6,9 @@ import (
"github.com/stretchr/testify/assert"
)
+// Even though the two tests below look identical, they actually take the *test name* itself
+// as the input - the fact that function returns the same result is the point. They are
+// *not* duplicates.
func Test_ValuesFileFromT(t *testing.T) {
assert.Eq... | chore(tests): add a comment explaining the weird string tests | null | sumologic/sumologic-kubernetes-collection | Apache License 2.0 | Go |
-/* eslint-disable jest/expect-expect */
-/* We use a method to generate our assertions */
-
import execa from 'execa'
import puppeteer from 'puppeteer'
@@ -130,6 +127,8 @@ test('OTP-RR Fixed Routes', async () => {
})
*/
+// Percy screenshot is not an assertion, but that's ok
+// eslint-disable-next-line jest/expect-ex... | chore(ci): attempt to force ci build | null | opentripplanner/otp-react-redux | MIT License | JavaScript |
@@ -192,7 +192,14 @@ public interface DeploymentBuilder {
DeploymentBuilder source(String source);
/**
- * Deploys all provided sources to the process engine and returns the created deployment.
+ * <p>Deploys all provided sources to the process engine and returns the created deployment.</p>
+ *
+ *
+ * <p> The returned... | chore(engine): remove deprecated tag from deploy method | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -47,7 +47,6 @@ configure<ApolloExtension> {
// }
}
-
repositories {
maven {
url = uri("https://m2.dv8tion.net/releases")
@@ -61,22 +60,23 @@ repositories {
jcenter()
}
+val jackson = "2.12.3"
+val ktor = "1.5.3"
dependencies {
- // https://bintray.com/dv8fromtheworld/maven/JDA/
+ // https://ci.dv8tion.net/job/JDA/
i... | chore(deps): bump dependencies and migrate old bintray links | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -38,6 +38,8 @@ public class JobExecutionHandlerActivationSpec implements ActivationSpec, Serial
private static final long serialVersionUID = 1L;
private ResourceAdapter ra;
+ /** Please check #CAM-9811 */
+ private String dummyPojo;
public void validate() throws InvalidPropertyException {
// nothing to do (the endpo... | chore(jobexecutor-ra): add dummy property to prevent NPE in WAS | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -66,7 +66,7 @@ internal class PaymentMethodSearchService: MercadoPagoService {
internal func getOpenPrefInit(pref: PXCheckoutPreference, cardsWithEsc: [String], splitEnabled: Bool, discountParamsConfiguration: PXDiscountParamsConfiguration?, flow: String?, charges: [PXPaymentTypeChargeRule], headers: [String: String... | chore: solved merge conflicts | null | mercadopago/px-ios | MIT License | Swift |
@@ -50,9 +50,6 @@ let pageFormat;
if (!mode) {
mode = "";
}
-if (imageFormat !== "svg") {
- imageFormat = "png";
-}
// let OSMD; // can only be required once window was simulated
// eslint-disable-next-line @typescript-eslint/no-var-requires
| chore: generateImages: remove obsolete checks | null | opensheetmusicdisplay/opensheetmusicdisplay | BSD 3-Clause New or Revised License | JavaScript |
@@ -59,9 +59,10 @@ defmodule Realtime.SubscribersNotification do
end
# Shout to specific columns - e.g. "realtime:public:users.id=eq.2"
- case type do
- type when type in ["INSERT", "UPDATE"] ->
- record = Map.get(change, :record)
+ if type in ["INSERT", "UPDATE", "DELETE"] do
+ record_key = if type == "DELETE", do: :o... | chore: refactor filters broadcast | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -90,7 +90,7 @@ func (o *EditBuildPackOptions) Run() error {
}
if isBoot {
- log.Logger().Warnf("This functionality is not supported in boot based clusters, please checkout https://jenkins-x.io/commands/jx_edit_buildpack/ for how to specify custom buildpacks for boot clusters.")
+ log.Logger().Warnf("This functionali... | chore: update the docs to point to correct URL | null | jenkins-x/jx | Apache License 2.0 | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.