diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -275,7 +275,7 @@ class ApiRequest
// increment
$count = (int)Redis::Cache()->get($key);
$count++;
- Redis::Cache()->set($key, $count, 60 / $limit);
+ Redis::Cache()->set($key, $count, max(60 / $limit, 1));
// throw exception if hit count too high
if ($count > $limit) {
| chore: hotfix for higher rate limits | null | xivapi/xivapi.com | MIT License | PHP |
@@ -102,7 +102,7 @@ const sensor_msgs::msg::PointCloud2 Raycaster::raycast(
}
// Run as many threads as physical cores (which is usually /2 virtual threads)
- // In heavy loads virtual threads (hyperthreading) add little to the overall performance
+ // In heavy loads virtual threads (hyper-threading) add little to the ... | chore(spell-check): fix cspell error | null | tier4/scenario_simulator_v2 | Apache License 2.0 | C++ |
@@ -84,7 +84,7 @@ impl EmissionSchedule {
/// (1-k)*n (to 1/2^64 precision).
///
/// None - If k is not a valid floating point number less than one.
- pub fn decay_params(k: &str) -> Option<Vec<u8>> {
+ pub fn decay_params(k: &str) -> Option<Vec<u64>> {
// Convert string into a vector of digits. e.g. 0.9635 -> [9,6,3,5... | chore: update dibbler emission curve | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -183,7 +183,7 @@ function createNodeConfig(isProduction: boolean) {
],
plugins: createNodePlugins(
isProduction,
- false,
+ !isProduction,
// in production we use api-extractor for dts generation
// in development we need to rely on the rollup ts plugin
isProduction ? false : path.resolve(__dirname, 'dist/node')
| chore: generate vite sourcemap when not production | null | vitejs/vite | MIT License | TypeScript |
import Link from 'next/link'
export const InnerWordMark = () => (
- <span style={{ letterSpacing: '-0.14rem' }}>
+ <span style={{ letterSpacing: '-0.1rem' }}>
<span className="text-red-400">F</span>
<span className="text-orange-400">r</span>
<span className="text-yellow-400">e</span>
| chore(shared): Tweaks to wordmark | null | freesewing/freesewing | MIT License | JavaScript |
@@ -191,7 +191,7 @@ if (OTP_RR_PERCY_MOBILE) {
// Return to main page
await page.click('.app-menu-icon')
await page.waitForTimeout(1000)
- await page.click('.app-menu-trip-planner-link a')
+ await page.click('.app-menu-trip-planner-link span')
await page.waitForTimeout(1000)
await page.waitForSelector('.welcome-locatio... | chore(percy): update tests for syntax changes | null | opentripplanner/otp-react-redux | MIT License | JavaScript |
@@ -47,14 +47,43 @@ macro_rules! patchable_node {
};
}
+// TODO: Commented out node types need methods implemented to be
+// able to be included as variants here
patchable_node!(
+ //Node::Array
Node::Article
-
- Node::Null
+ //Node::AudioObject
Node::Boolean
+ Node::Cite
+ Node::CiteGroup
+ //Node::Claim
+ Node::CodeB... | chore(Patches): Add more variants for `Node` (for use in outputs) | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -25,6 +25,6 @@ target_archive_file=${1:-kfp.tar.gz}
pushd "$(dirname "$0")"
dist_dir=$(mktemp -d)
-python setup.py sdist --format=gztar --dist-dir "$dist_dir"
+python3 setup.py sdist --format=gztar --dist-dir "$dist_dir"
cp "$dist_dir"/*.tar.gz "$target_archive_file"
popd
| chore: update python version for build.sh | null | kubeflow/pipelines | Apache License 2.0 | Shell |
@@ -6,11 +6,11 @@ set -exo pipefail
git fetch --all
git checkout -B v2-main origin/v2-main
+git merge origin/master --no-edit
+
# Some package rules differ between v1 and v2, most notably which packages can be public vs private.
# These differences are fixable via 'pkglint', so we run that and commit the delta (if any)... | chore: merge-forward runs pkglint after merge | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -5,7 +5,7 @@ from logging.handlers import RotatingFileHandler
from six import text_type
default_log_level = logging.DEBUG
-LOG_FILENAME = '../logs/frappe.log'
+LOG_FILENAME = '../logs/{}-frappe.log'.format(frappe.local.site)
def get_logger(module, with_more_info=True):
if module in frappe.loggers:
@@ -57,4 +57,3 @@ ... | chore: separate frappe log by site | null | frappe/frappe | MIT License | Python |
@@ -403,9 +403,10 @@ fn update_full_path(
}
assert_eq!(*old_depth, depth);
- // eprintln!("{:>4} {:?}", depth, full_path);
}
+/// Returns a Vec of the links in order with only the leaves, the given `children` will contain yet
+/// incomplete nodes of the tree.
fn partition_children_leaves(
depth: usize,
it: impl Iterat... | chore: cleanup, doc | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
+/* 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 block | null | flowable/flowable-engine | Apache License 2.0 | Java |
@@ -100,15 +100,12 @@ int main(int argc, char *argv[])
uint64_t tstamp;
char *url = NULL;
- int start = 0, end = 10;
int opt;
FILE *fp;
- while (-1 != (opt = getopt(argc, argv, "hu:s:e:c:"))) {
+ while (-1 != (opt = getopt(argc, argv, "hu:c:"))) {
switch (opt) {
case 'u': url = strdup(optarg); break;
- case 's': start ... | chore(test-websockets.c): remove unused logic | null | cee-studio/orca | MIT License | C |
@@ -31,44 +31,43 @@ import software.amazon.smithy.utils.SmithyInternalApi;
@SmithyInternalApi
public enum AwsDependency implements SymbolDependencyContainer {
- MIDDLEWARE_SIGNING(NORMAL_DEPENDENCY, "@aws-sdk/middleware-signing", "^1.0.0-rc.1"),
- CREDENTIAL_PROVIDER_NODE(NORMAL_DEPENDENCY, "@aws-sdk/credential-provide... | chore: update aws dependency version | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Java |
use entry::Sequence;
use std::{
- collections::BTreeMap,
+ collections::{BTreeMap, VecDeque},
time::{Duration, Instant},
};
@@ -33,7 +33,7 @@ const CLOSED_WINDOW_PERIOD: Duration = Duration::from_secs(30);
#[derive(Debug, Clone)]
pub struct PersistenceWindows {
persistable: Option<Window>,
- closed: Vec<Window>,
+ clos... | chore: address PR feedback, changed closed persistence window to dequeue | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -24,7 +24,7 @@ export class MenuChildrenComponent {
},
{
title: 'Privacy Policy',
- ulr: '#', // goes directly into `href` attribute
+ url: '#', // goes directly into `href` attribute
},
{
title: 'Logout',
| chore(menu example): fix typo in property name | null | akveo/nebular | MIT License | TypeScript |
@@ -67,7 +67,7 @@ pub use yubihsm;
mod aws;
#[cfg(feature = "aws")]
-pub use aws::AwsSigner;
+pub use aws::{AwsSigner, AwsSignerError};
use async_trait::async_trait;
use ethers_core::types::{Address, Signature, TransactionRequest};
| chore: re-export aws signer error | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -82,7 +82,7 @@ function filterCommits(commits){
arrBranch.push(branch[1]);
arrTitle.push(`${commit.title} (#${commit.number}) (CP: ${branch[1]})`);
arrUser.push(`@${commit.user.login}`);
- arrMergedBy.push(`@{commit.merged_by.login}`);
+ arrMergedBy.push(`@${commit.merged_by.login}`);
}
})
}
| chore: fixing the missing $ identifier [skip ci] | null | vaadin/flow | Apache License 2.0 | JavaScript |
@@ -40,7 +40,7 @@ export default function Virtual({ swiper, extendParams, on, emit }) {
`<div class="${swiper.params.slideClass}" data-swiper-slide-index="${index}">${slide}</div>`,
);
if (!$slideEl.attr('data-swiper-slide-index')) $slideEl.attr('data-swiper-slide-index', index);
- if (params.cache) swiper.virtual.cach... | chore: optimize virtual DOM initialiazion | null | nolimits4web/swiper | MIT License | JavaScript |
@@ -14,7 +14,7 @@ public class VRTK_TransformFollow : VRTK_ObjectFollow
/// <param name="OnUpdate">Follow in the Update method.</param>
/// <param name="OnLateUpdate">Follow in the LateUpdate method.</param>
/// <param name="OnPreRender">Follow in the OnPreRender method. (This script doesn't have to be attached to a ca... | chore(Utilities): clean up comment in Transform Follow | null | extendrealityltd/vrtk | MIT License | C# |
@@ -51,6 +51,7 @@ def test_groundtruth_labeling_job(
)
)
+ workteam_arn = ground_truth_train_job_name = None
# Verify the GroundTruthJob was created in SageMaker and is InProgress.
# TODO: Add a bot to complete the labeling job and check for completion instead.
try:
@@ -110,6 +111,11 @@ def test_groundtruth_labeling_jo... | chore(components): SageMaker integ tests, fix for unbound variable | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -7,6 +7,7 @@ export PATH=$PWD/node_modules/.bin:$PATH
export NODE_OPTIONS="--max-old-space-size=4096 ${NODE_OPTIONS:-}"
root=$PWD
+PACMAK=${PACMAK:-jsii-pacmak}
TMPDIR=${TMPDIR:-$(dirname $(mktemp -u))}
distdir="$PWD/dist"
rm -fr ${distdir}
@@ -36,7 +37,7 @@ node --experimental-worker $(which jsii-rosetta) \
# Jsii ... | chore: Allow Specifying Packmak Location | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -8,7 +8,7 @@ interface ProductData {
products: ProductQueryResult;
}
-const getProduct = async (params, resolveQuery = async (query = defaultQuery, variables = {}) => {
+const getProduct = async (params, customQuery = async (query = defaultQuery, variables = {}) => {
return await apolloClient.query<ProductData>({
qu... | chore: custom query typo | null | vuestorefront/vue-storefront | MIT License | TypeScript |
@@ -320,7 +320,8 @@ func newTaskScheduler(
}
for i := range ts.runners {
- ts.runners[i] = newRunner(ctx, ts.logger, task, s.desiredState, s.executor, s.logWriter, tt)
+ logger := ts.logger.With(zap.Int("run_slot", i))
+ ts.runners[i] = newRunner(ctx, logger, task, s.desiredState, s.executor, s.logWriter, tt)
}
return ... | chore: only set one run_id field on runner logs | null | influxdata/influxdb | MIT License | Go |
@@ -37,8 +37,7 @@ if [[ -n "$FMT_OUT" ]]; then
fi
cd ..
-export PATH=$PATH:.
-FMT_OUT="$(flux fmt -c stdlib)"
+FMT_OUT="$(env GO111MODULE=on go run -tags '' ./cmd/flux/main.go fmt -c stdlib)"
if [[ -n "$FMT_OUT" ]]; then
echo 'Commit includes flux files that are not fluxfmt-ed' && \
echo 'run "make fmt"' && \
| chore: make checkfmt always runs current formatter | null | influxdata/flux | MIT License | Shell |
#!/bin/bash
+set -o errexit
+
+min_java_major_version=17
+
+maven_version_output="$(mvn --version)"
+echo "$maven_version_output"
+
+if [[ "$maven_version_output" != *"Java version: $min_java_major_version."* ]]; then
+ echo $'\n'"Maven is not using Java $min_java_major_version. Please install Java $min_java_major_vers... | chore: Check Java version in build script | null | appsmithorg/appsmith | Apache License 2.0 | Shell |
from datetime import datetime
from pathlib import Path
-from threading import Lock
from typing import Any, List, Optional, Set, Union
from sqlalchemy import ( # type: ignore
@@ -175,11 +174,6 @@ class SqlRegistry(BaseRegistry):
self.engine: Engine = create_engine(registry_config.path, echo=False)
metadata.create_all(se... | chore: Fix unused lock from SqlRegistry | null | feast-dev/feast | Apache License 2.0 | Python |
@@ -51,9 +51,7 @@ use ruma::{
api::client::{self as api, push::get_notifications::v3::Notification},
events::{
push_rules::PushRulesEvent,
- room::member::{
- MembershipState, OriginalSyncRoomMemberEvent, RoomMemberEvent, StrippedRoomMemberEvent,
- },
+ room::member::{MembershipState, OriginalSyncRoomMemberEvent, RoomM... | chore(base): Simplify signature of handle_invited_state | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -11,9 +11,25 @@ import XCTest
class SEPADirectDebitComponentTests: XCTestCase {
+ var analyticsProviderMock: AnalyticsProviderMock!
+ var adyenContext: AdyenContext!
+
+ override func setUpWithError() throws {
+ try super.setUpWithError()
+ analyticsProviderMock = AnalyticsProviderMock()
+ adyenContext = Dummy.adyen... | chore: Test SEPA component sends telemetry event | null | adyen/adyen-ios | MIT License | Swift |
@@ -44,6 +44,19 @@ async function webpackCompiler(options: {
});
const messages = formatWebpackMessages(statsData);
const isSuccessful = !messages.errors.length && !messages.warnings.length;
+ if (isSuccessful && !process.env.DISABLE_STATS) {
+ const assetsStatsOptions = {
+ errors: false,
+ warnings: false,
+ colors: ... | chore: assets output in build | null | alibaba/ice | MIT License | TypeScript |
@@ -17,8 +17,14 @@ const (
)
var BootstrapAddresses = []string{
- "/ip4/54.89.183.252/tcp/46539/ipfs/QmVVKdbGw5VnNLWFw4YjsJUtwU3xPFemzbAMeCJtAtr2YF",
- "/ip4/34.203.191.62/tcp/21117/ipfs/QmPZhrJ47ym4be69HUp3FC6DMV3H7kDUQTuaaYP3okpKdq",
+ "/ip4/54.89.183.252/tcp/46539/ipfs/QmVVKdbGw5VnNLWFw4YjsJUtwU3xPFemzbAMeCJtAtr2YF"... | chore(bootstrap): add more nodes | null | textileio/go-textile | MIT License | Go |
@@ -61,7 +61,7 @@ const FederalResources = () => {
chartLink
geographicUnits
queryLink
- startDate(formatString: "MMMM d, yyyy")
+ startDate(formatString: "MMMM D, yyyy")
timeseriesUnit
updateFrequency
youtubeVideoTitle
| chore: Fix date format for resources | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -29,16 +29,18 @@ extension AbstractPersonalInformationComponent: LoadingComponent {
extension AbstractPersonalInformationComponent: TrackableComponent {
- /// :nodoc
- public func viewDidLoad(viewController: UIViewController) {
- let flavor: TelemetryFlavor = _isDropIn ? .dropInComponent : .components(type: paymentM... | chore: Send telemetry event when view will appear in Abstract personal info component | null | adyen/adyen-ios | MIT License | Swift |
@@ -4,6 +4,7 @@ using Grasshopper.Kernel;
using Speckle.Core.Api;
using Speckle.Core.Credentials;
using System;
+using System.Drawing;
using System.Linq;
using System.Threading.Tasks;
using Grasshopper.Kernel.Data;
@@ -14,6 +15,9 @@ namespace ConnectorGrashopper.Streams
{
public override Guid ComponentGuid => new Guid(... | chore(icons): Added icons and exposure to Stream components | null | specklesystems/speckle-sharp | Apache License 2.0 | C# |
@@ -876,7 +876,7 @@ describe('document.populate', function() {
it('works with populate', function() {
return co(function*() {
- const player1 = yield Player.create({ _id: 'John' });
+ yield Player.create({ _id: 'John' });
yield Player.create({ _id: 'Foo' });
const createdTeam = yield Team.create({ captain: 'John Doe', ... | chore: remove unnecessary print statements | null | automattic/mongoose | MIT License | JavaScript |
@@ -214,7 +214,11 @@ class PaymentMethodTests: XCTestCase {
}
func testEquality() {
- XCTAssertFalse(BLIKPaymentMethod(type: "blik", name: "blik") == StoredBLIKPaymentMethod(type: "blik", name: "blik", identifier: "efefew", supportedShopperInteractions: [.shopperNotPresent]))
+ XCTAssertFalse(BLIKPaymentMethod(type: "b... | chore: fixed some indentations in PaymentMethodTests | null | adyen/adyen-ios | MIT License | Swift |
@@ -68,10 +68,10 @@ dependencies {
implementation("com.sedmelluq:jda-nas:1.1.0")
// https://bintray.com/sedmelluq/com.sedmelluq/lavaplayer
- implementation("com.sedmelluq:lavaplayer:1.3.67")
+ implementation("com.sedmelluq:lavaplayer:1.3.69")
// https://jitpack.io/#ToxicMushroom/Lavalink-Klient
- implementation("com.gi... | chore(deps): bump lavaplayer and ll-klient | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -11,6 +11,12 @@ public struct ICAP {
public var asset: String
public var institution: String
public var client: String
+
+ public init(asset: String, institution: String, client: String) {
+ self.asset = asset
+ self.institution = institution
+ self.client = client
+ }
}
public struct IBAN {
| chore: ICAP initializer added; | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -4,8 +4,6 @@ use serde_json::{Value, json};
use serde::{Serialize, Deserialize};
use std::collections::HashMap;
use nom::lib::std::convert::TryFrom;
-use maplit::hashmap;
-use nom::error::context;
use crate::models::json_utils::json_to_string;
/// Data type to cast to for provider state context values
@@ -181,6 +179... | chore: remove incorrect imports | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -6,9 +6,6 @@ chmod a+x srcclr.sh
echo "Script execution rights added"
packages=$(yarn --silent workspaces info | jq '.[].location' | sed 's/\"//g')
-# set comma as internal field separator for the string list
-Field_Separator=$IFS
-IFS=,
# scan each folder
echo "Starting scan on . (root) ..."
@@ -23,6 +20,4 @@ do
ec... | chore(ci): fix loop separator in security scan | null | talend/ui | Apache License 2.0 | Shell |
package org.hisp.dhis.webapi.controller.user;
-import java.util.List;
-import java.util.stream.Collectors;
-
+import com.google.common.collect.Sets;
import org.hisp.dhis.common.DhisApiVersion;
import org.hisp.dhis.common.IllegalQueryException;
import org.hisp.dhis.configuration.ConfigurationService;
@@ -43,14 +41,14 @@... | chore: fix minor spelling error in user lookup API | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
package org.camunda.bpm.engine.test.history;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-
import java.util.List;
import org.camunda.bpm.engine.ProcessEngineConfiguration;
import org.camunda.bpm.engine.history.HistoricIdentityLinkLog;
import org.camunda.bpm.engine.histor... | chore(test): remove unnecessary imports | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -81,7 +81,6 @@ public void convertOldConfiguration() {
JsonDocument.newDocument(new BridgeConfiguration(
config.getString("prefix"),
messages,
- config.getBoolean("logPlayerConnections"),
excludedGroups,
hubCommands,
fallbacks,
| chore: remove unused player connection logging option | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -100,11 +100,11 @@ describe('[repeat.contextual-prop.spec.ts]', function () {
title: `${arrayCaseConfig.title} - with [Identity] value converter`,
repeatExpression: 'item of items | identity'
},
- {
- ...arrayCaseConfig,
- title: `${arrayCaseConfig.title} - with [Clone] value converter`,
- repeatExpression: 'item of... | chore(repeat-tests): temporarily disable clone VC tests | null | aurelia/aurelia | MIT License | TypeScript |
@@ -197,7 +197,7 @@ public class WebSocketAlertWrapper {
webSocketMessageDTO.getChannel().getHandshakeReference().getHttpMessage();
} catch (Exception e) {
LOGGER.info(
- "Couldn't get the Handshake Http Message for this specific channel. Channel ID: {}",
+ "Couldn't get the Handshake HTTP Message for this specific cha... | chore: websocket: Tweak Log Message WS Handshake Not Found | null | zaproxy/zap-extensions | Apache License 2.0 | Java |
@@ -1258,7 +1258,7 @@ impl<'a> TypeChecker<'a> {
IntervalKind::Year => {
self.resolve_function(
span,
- "toStartOfYear",
+ "to_start_of_year",
&[date],
Some(TimestampType::new_impl(0)),
)
@@ -1267,7 +1267,7 @@ impl<'a> TypeChecker<'a> {
IntervalKind::Month => {
self.resolve_function(
span,
- "toStartOfMonth",
+ "to_sta... | chore: rename datetime functions for date_trunc | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -17,5 +17,8 @@ if ENV['CI']
# Rake task to seed dev database with course and assessment data.
add_filter '/lib/tasks/coursemology/seed.rake'
+
+ # take tasks is excluded for coverage
+ add_filter '/lib/tasks/'
end
end
| chore(codecov): ignore lib/tasks folder for codecov | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -89,7 +89,7 @@ add_action('after_setup_theme', function () {
* Register relative length units in the editor.
* @link https://developer.wordpress.org/block-editor/developers/themes/theme-support/#support-custom-units
*/
- add_theme_support('custom-units', 'rem', 'vw');
+ add_theme_support('custom-units');
/**
* Enabl... | chore(theme): Remove specificity from `custom-units` theme support | null | roots/sage | MIT License | PHP |
@@ -36,14 +36,14 @@ func DoLogin(c *gin.Context) {
// Get the user information by the login username.
d, err := service.Svc.UserSvc().GetUserByEmail(c, u.Email)
if err != nil {
- log.Warnf("[login] get user by email err: %v", err)
+ log.Warnf("[web.login] get user by email err: %v", err)
web.Response(c, errno.ErrUserNo... | chore: optimize login log | null | go-eagle/eagle | MIT License | Go |
@@ -368,6 +368,7 @@ impl Storage {
// response_tx: Sender<ArrowResult<RecordBatch>>,
// limit: Option<usize>,
// ) -> Result<()> {
+
// // TODO: support non local file object store
// let (file_root, file_path) = match (&store.0, path) {
// (ObjectStoreIntegration::File(file), Path::File(location)) => (file, location),... | chore: a litlle more cleanup | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
# See the License for the specific language governing permissions and
# limitations under the License.
-#!/bin/bash
-
set -eo pipefail
# Disable buffering, so that the logs stream through.
| chore(python): remove extra #!/bin/bash | null | googleapis/synthtool | Apache License 2.0 | Shell |
@@ -3,20 +3,35 @@ import 'dart:async';
import 'package:kraken/bridge.dart';
import 'package:kraken/dom.dart';
import 'package:kraken/widget.dart';
-import 'package:flutter/material.dart' show TextDirection, TextStyle, Color, Image, Text, AssetImage;
+import 'package:flutter/material.dart' show TextDirection, TextStyle,... | chore: rewrite integration test into new api format | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -9,7 +9,7 @@ import Foundation
import AWSClientRuntime
public class AmplifyAWSServiceConfiguration {
- public static let amplifyVersion = "2.3.2"
+ public static let amplifyVersion = "2.4.0"
public static let platformName = "amplify-ios"
public static func frameworkMetaData() -> FrameworkMetadata {
| chore: release 2.4.0 [skip ci] | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -14,7 +14,7 @@ mkdir -p ${distdir}
lerna run package --stream
# collect all "dist" directories into "pack"
-for dist in $(lerna exec "[ -d ./dist ] && echo \${PWD}/dist || true"); do
+for dist in $(lerna exec --ignore=jsii-calc --ignore=@scope/\* "[ -d ./dist ] && echo \${PWD}/dist || true"); do
echo "collecting ${d... | chore: ignore jsii-calc and in package.sh | null | aws/jsii | Apache License 2.0 | Shell |
@@ -10,8 +10,8 @@ const nodePackager = require('../helpers/node-packager')
const { bundlerIsInstalled } = require('../electron/bundler')
const electronDeps = {
- 'electron': '^7.0.0',
- 'electron-debug': '^3.0.0',
+ 'electron': '^8.0.1',
+ 'electron-debug': '^3.0.1',
'electron-devtools-installer': '^2.2.4',
'devtron': ... | chore(Electron): Update Electron to latest version | null | quasarframework/quasar | MIT License | JavaScript |
@@ -47,24 +47,6 @@ const longCanonicalExample = {
},
],
};
-const canonicalUndefinedExample = {
- text: 'I like blue beans with red sauce.',
- intent: 'I_like_beans',
- entities: [
- {
- start: 7,
- end: 11,
- value: 'blue',
- entity: 'bean-color',
- },
- {
- start: 23,
- end: 26,
- value: 'red',
- entity: 'sauce-color... | chore: remove un-needed canonical popup storybooks | null | botfront/botfront | Apache License 2.0 | JavaScript |
@@ -366,7 +366,7 @@ class KrakenViewController {
if (navigationDelegate.errorHandler != null) {
navigationDelegate.errorHandler(e, stack);
} else {
- print('Kraken Navigation Jump Failed: $e\n$stack');
+ print('Kraken navigation failed: $e\n$stack');
}
}
}
| chore: reformat error msg | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -805,7 +805,7 @@ async fn global(
use std::cell::RefCell;
pub struct Env<T>(RefCell<T>);
-pub(crate) fn env(env: &(dyn Compilation + '_)) -> Env<&'_ CompilerDatabase> {
+pub(crate) fn env<'a>(env: &'a (dyn Compilation + 'a)) -> Env<&'a CompilerDatabase> {
Env(RefCell::new(env.compiler()))
}
pub(crate) fn snapshot_en... | chore: Fix compilation error on newer rust | null | gluon-lang/gluon | MIT License | Rust |
@@ -9,7 +9,7 @@ TAG='aws-lambda-layer'
docker build -t ${TAG} .
-echo ">> Extrating layer.zip from the build container..."
+echo ">> Extracting layer.zip from the build container..."
CONTAINER=$(docker run -d ${TAG} false)
docker cp ${CONTAINER}:/layer.zip ../lib/layer.zip
| chore(lambda-layer-awscli): fix typo ("Extrating" -> "Extracting") | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -267,6 +267,8 @@ async fn test_read_filter_data_pred_refers_to_non_existent_column() {
run_read_filter_test_case(TwoMeasurements {}, predicate, expected_results).await;
}
+// BUG: https://github.com/influxdata/influxdb_iox/issues/2817
+#[ignore]
#[tokio::test]
async fn test_read_filter_data_pred_refers_to_non_existe... | chore: ignore failed newly added test due to bug | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -155,7 +155,7 @@ int AudioTrackRender::init_jni()
}
constructor_id = handle->GetMethodID(audio_track_impl, "<init>", "(IIIIII)V");
- const string &streamType = Cicada::globalSettings::getSetting()->getProperty("audio.streamType");
+ const string &streamType = Cicada::globalSettings::getSetting().getProperty("audio.s... | chore(android): fix build error | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -1238,49 +1238,6 @@ fun getPermissionsNodesFromArg(context: ICommandContext, arg: String): Pair<Int,
return if (perms.isEmpty()) null else perms.size to arg
}
-
-fun getPermissionsFromArg(context: ICommandContext, arg: String): List<String>? {
- val category: CommandCategory? = enumValueOrNull(arg)
- val permParts =... | chore(cleanup): remove unused messages, format code | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -144,7 +144,7 @@ Model.prototype.$__handleSave = function(options, callback) {
const session = 'session' in options ? options.session : this.$session();
if (session != null) {
- safe = safe || {};
+ safe = typeof safe === 'object' && safe != null ? safe : {};
safe.session = session;
}
| chore: make check more robust | null | automattic/mongoose | MIT License | JavaScript |
@@ -13,4 +13,8 @@ class FullscreenController: UIViewController {
override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
return UIDevice.current.orientation == UIDeviceOrientation.landscapeLeft ? UIInterfaceOrientation.landscapeLeft : UIInterfaceOrientation.landscapeRight
}
+
+ override func... | chore: set AutoHidden homeIndicator as true on FullscreenController | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -261,6 +261,9 @@ if [ -x "$(command -v curl)" ] || [ -x "$(command -v wget)" ]; then
if [ "$status" -ne 302 ]; then
echo "ERROR: Download failed with status $status"
+ log_debug "Response headers:"
+ log_debug "$headers"
+
if [ "$status" -eq 404 ]; then
echo ""
echo "Please report this issue:"
| chore: print HTTP response headers when install.sh fails | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -4,10 +4,16 @@ set -e
git config --global user.name "Travis CI"
git config --global user.email "noreply+travis@fossasia.org"
-export DEPLOY_BRANCH=${DEPLOY_BRANCH:-development}
-export PUBLISH_BRANCH=${PUBLISH_BRANCH:-master}
+[[ $TRAVIS_BRANCH =~ ^(master)$ && $TRAVIS_REPO_SLUG =~ ^(fossasia/open-event-attendee-and... | chore: dry run on dev to master merge pr | null | fossasia/open-event-attendee-android | Apache License 2.0 | Shell |
@@ -848,16 +848,17 @@ defmodule Ash.Engine.Request do
case Ash.Filter.parse(request.resource, filter) do
{:ok, filter} ->
case Ash.Filter.Runtime.do_match(fake_result, filter) do
- {:ok, true} ->
+ {:ok, value} ->
+ if value do
{:ok, request}
-
- {:ok, false} ->
+ else
{:error,
Authorizer.exception(
authorizer,
{:chang... | chore: handle non-boolean values from runtime filter | null | ash-project/ash | MIT License | Elixir |
@@ -55,7 +55,7 @@ async function exec(command, args, options) {
}
function generateUrl(packageName, sha) {
- return path.join(PREFIX, 'builds', packageName, 'canary', `${sha}.tgz`);
+ return HOST + '/' + [PREFIX, 'builds', packageName, 'canary', `${sha}.tgz`].join('/');
}
function pushPackage({ sha, packageName, packag... | chore: fix paths for npm generation | null | salesforce/lwc | MIT License | JavaScript |
@@ -5,7 +5,7 @@ set -eux
GO_VERSION="1.17.6"
setup_go () {
- choco upgrade golang --version=${GO_VERSION}
+ choco upgrade golang --allow-downgrade --version=${GO_VERSION}
choco install make
git config --system core.longpaths true
rm -rf /c/Go
| chore: allow downgrade of go version in windows script | null | influxdata/telegraf | MIT License | Shell |
@@ -4,7 +4,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("application")
id("com.apollographql.apollo") version "2.5.9"
- id("com.github.johnrengelman.shadow") version "7.0.0"
+ id("com.github.johnrengelman.shadow") version "7.1.0"
kotlin("jvm") version "1.5.31"
}
| chore: deps bump shadowjar | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -272,8 +272,8 @@ fn human_elapsed(elapsed: u128) -> String {
let seconds = elapsed / 1_000;
let minutes = seconds / 60;
- let seconds_reminder = seconds % 60;
- format!("({}m{}s)", minutes, seconds_reminder)
+ let seconds_remainder = seconds % 60;
+ format!("({}m{}s)", minutes, seconds_remainder)
}
impl TestReporter... | chore(cli): fix typo in variable name | null | denoland/deno | MIT License | Rust |
@@ -1006,7 +1006,6 @@ mod tests {
fn initialize_parachain(
origin: Origin,
- chain_id: ChainId
) -> Result<GrandpaRegistrationData::<AccountId>, &'static str> {
let genesis = test_header(0);
let init_data = GrandpaRegistrationData::<AccountId> {
@@ -1156,9 +1155,10 @@ mod tests {
}
#[test]
- fn relay_can_register_relay... | chore: adds registration tests | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -509,22 +509,8 @@ class WebFrameRenderer : public gin::Wrappable<WebFrameRenderer>,
} else if (pref_name == options::kHiddenPage) {
// NOTE: hiddenPage is internal-only.
return gin::ConvertToV8(isolate, prefs.hidden_page);
- } else if (pref_name == options::kOffscreen) {
- return gin::ConvertToV8(isolate, prefs.offs... | chore: cleanup undocumented keys from webFrame.getWebPreference() | null | electron/electron | MIT License | C++ |
@@ -664,6 +664,12 @@ impl<'n> Nexus<'n> {
}
}
+ info!(
+ "{}: updated specs: start_blk={}, end_blk={}, \
+ block_len={}, required_alignment={}",
+ name, start_blk, end_blk, blk_size, new_alignment
+ );
+
Ok(())
}
| chore(nexus): print nexus device offset, block num, etc upon creation | null | openebs/mayastor | Apache License 2.0 | Rust |
@@ -168,7 +168,6 @@ defmodule Ash.Resource.Relationships.SharedOptions do
links: [],
doc: """
A module that implements `Ash.Resource.ManualRelationship`. Also accepts a 2 argument function that takes the source records and the context.
- ```
"""}
end
end
| chore: fix docs issue | null | ash-project/ash | MIT License | Elixir |
@@ -15,7 +15,7 @@ public final class FormAddressItem: FormValueItem<PostalAddress, AddressStyle>,
private let localizationParameters: LocalizationParameters?
private var observers: [AddressField: Observation] = [:]
- private var publisherObservations: [AddressField: Observation] = [:]
+ private var publisherObservers: ... | chore: Rename publisher observers variable | null | adyen/adyen-ios | MIT License | Swift |
@@ -447,12 +447,12 @@ pub mod pallet {
IncreaseLockedCollateral {
currency_pair: DefaultVaultCurrencyPair<T>,
delta: BalanceOf<T>,
- new_collateral: BalanceOf<T>,
+ total: BalanceOf<T>,
},
DecreaseLockedCollateral {
currency_pair: DefaultVaultCurrencyPair<T>,
delta: BalanceOf<T>,
- new_collateral: BalanceOf<T>,
+ total... | chore: improve field name | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -130,6 +130,9 @@ void NativeBrowserViewViews::SetBounds(const gfx::Rect& bounds) {
view->SetBoundsRect(bounds);
ResetAutoResizeProportions();
+ view->InvalidateLayout();
+ view->SchedulePaint();
+
// Ensure draggable regions are properly updated to reflect new bounds.
UpdateDraggableRegions(draggable_regions_);
}
| chore: fix BrowserView painting when origin updated | null | electron/electron | MIT License | C++ |
@@ -4,7 +4,7 @@ namespace DCL.Configuration
{
public static class ApplicationSettings
{
- public static string version = "0.7.0";
+ public static string version = "0.7.1";
}
public static class Environment
| chore: update build version to 0.7.1 | null | decentraland/explorer | Apache License 2.0 | C# |
package tools
import (
- _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway"
- _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger"
- _ "google.golang.org/grpc"
_ "github.com/golang/protobuf/proto"
_ "github.com/golang/protobuf/protoc-gen-go"
+ _ "github.com/grpc-ecosystem/grpc-gateway/protoc-ge... | chore: format tools.go | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -170,15 +170,12 @@ impl Compactor {
let file_size_buckets = U64HistogramOptions::new([
50 * 1024, // 50KB
- 100 * 1024, // 100KB
- 300 * 1024, // 300KB
500 * 1024, // 500 KB
1024 * 1024, // 1 MB
3 * 1024 * 1024, // 3 MB
10 * 1024 * 1024, // 10 MB
30 * 1024 * 1024, // 30 MB
100 * 1024 * 1024, // 100 MB
- 300 * 1024 *... | chore: reduce number of histogram buckets | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -79,9 +79,10 @@ public class HistoricVariableInstanceResourceImpl extends
public Response deleteVariableInstance() {
try {
getEngine().getHistoryService().deleteHistoricVariableInstance(id);
- } catch (NotFoundException nfe) {
+ } catch (NotFoundException nfe) { // rewrite status code from bad request (400) to not f... | chore(engine-rest): add documentation on return codes | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -107,7 +107,7 @@ func setCostComponentPrice(ctx *config.RunContext, currency string, r *schema.Re
}
if len(products) > 1 {
- log.Warnf("Multiple products found for %s %s, filtering those with prices", r.Name, c.Name)
+ log.Debugf("Multiple products found for %s %s, filtering those with prices", r.Name, c.Name)
}
// ... | chore(aws): Fix formatting for Autoscaling Group tests | null | infracost/infracost | Apache License 2.0 | Go |
@@ -58,7 +58,7 @@ push() {
git config --global user.email "alberto.park@gmail.com"
git config --global user.name "netil"
- git remote set-url ${DEST_REMOTE} https://netil:${secrets.GH_TOKEN}@github.com/naver/billboard.js.git > /dev/null 2>&1
+ git remote set-url ${DEST_REMOTE} https://netil:${{ secrets.GH_TOKEN }}@gith... | chore(deploy): update on remote setting | null | naver/billboard.js | MIT License | Shell |
// Imports
-import languages from '@/i18n/locales'
+import locales from '@/i18n/locales'
import { kebabCase } from 'lodash'
import { leadingSlash, trailingSlash } from '@/util/helpers'
@@ -9,7 +9,7 @@ import { IN_BROWSER } from '@/util/globals'
// Regexp
const genericLocaleRegexp = /[a-z]{2,3}|[a-z]{2,3}-[a-zA-Z]{4}|[a... | chore(routes.js): rename default import | null | vuetifyjs/vuetify | MIT License | JavaScript |
@@ -148,13 +148,6 @@ func (tc *TelegrafConfig) UnmarshalJSON(b []byte) error {
tc.Metadata = m
}
- if tc.Config == "" {
- return &Error{
- Code: EEmptyValue,
- Msg: "no config provided",
- }
- }
-
return nil
}
| chore(telegraf): remove business logic check inside TelegrafConfig type's unmarshal method | null | influxdata/influxdb | MIT License | Go |
@@ -51,9 +51,9 @@ import com.amplifyframework.testutils.Resources;
import com.amplifyframework.testutils.sync.SynchronousApi;
import com.amplifyframework.testutils.sync.SynchronousDataStore;
-import org.junit.After;
+import org.junit.AfterClass;
import org.junit.Assert;
-import org.junit.Before;
+import org.junit.Befor... | chore: initialize datastore once | null | aws-amplify/amplify-android | Apache License 2.0 | Java |
@@ -949,7 +949,7 @@ impl CatalogChunk {
if lifecycle_action == ChunkLifecycleAction::CompactingObjectStore {
assert!(
to_be_created_chunk_id.is_some(),
- "Compacting Object Store must go with a chunk ID"
+ "Compacting Object Store Action must go with a chunk ID"
);
self.to_be_created_chunk_id = to_be_created_chunk_id;
... | chore: make the message clearer | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -385,6 +385,11 @@ describe('Card', () => {
'scrollWidth'
);
+ const originalClientWidth = Object.getOwnPropertyDescriptor(
+ HTMLElement.prototype,
+ 'clientWidth'
+ );
+
beforeEach(() => {
Object.defineProperty(HTMLElement.prototype, 'clientWidth', {
writable: true,
@@ -401,6 +406,7 @@ describe('Card', () => {
afte... | chore(cardtest): reset clientWidth after test | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -41,15 +41,6 @@ from .triplet_loss import TripletLoss
class WTFTripletLoss(TripletLoss):
"""
- delta = d(anchor, positive) - d(anchor, negative)
-
- * with 'positive' clamping:
- loss = max(0, delta + margin x D)
- * with 'sigmoid' clamping:
- loss = sigmoid(10 * delta)
-
- where d(., .) varies in range [0, D] (e.g.... | chore: update WTFTripletLoss to match TripletLoss behavior | null | pyannote/pyannote-audio | MIT License | Python |
@@ -71,4 +71,9 @@ return [
'icon' => 'icon-vk',
'enabled' => true,
],
+ 'twitter' => [
+ 'developers' => 'https://developer.twitter.com/',
+ 'icon' => 'icon-twitter',
+ 'enabled' => true,
+ ],
];
| chore: added twitter to providers0 | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
#!/bin/bash
-set -e
+set -euo pipefail
# print currently configured user to aid with debugging
cloudsmith whoami
@@ -39,7 +39,17 @@ PACKAGES=$(find dist/*.apk -type f)
publishToCloudsmith alpine alpine any-version "$PACKAGES"
# send Slack notification
+CHANGELOG="$(doppler changelog -n 1 --no-check-version | tail -n +2... | chore: include changelog in Slack notification | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -626,7 +626,7 @@ void SuperMediaPlayer::GetOption(const char *key, char *value)
} else if (theKey == "videoDroppedInfo") {
uint64_t total, dropped;
mUtil->getVideoDroppedInfo(total, dropped);
- snprintf(value, MAX_OPT_VALUE_LENGTH, "%llu/%llu", dropped, total);
+ snprintf(value, MAX_OPT_VALUE_LENGTH, "%" PRIu64 "/%"... | chore(build): print uint64_t with PRIu64 | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -83,13 +83,13 @@ impl VirtualDom {
self.scopes[id.0].props.take();
+ let scope = &mut self.scopes[id.0];
+
// Drop all the hooks once the children are dropped
// this means we'll drop hooks bottom-up
- self.scopes[id.0]
- .hook_list
- .get_mut()
- .drain(..)
- .for_each(|hook| drop(unsafe { BumpBox::from_raw(hook) }... | chore: help resolve conflicts | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -293,9 +293,6 @@ final class AwsProtocolUtils {
if (testCase.getId().equals("QueryCustomizedError")) {
return true;
}
- if (testCase.getId().equals("RestJsonStreamingTraitsRequireLengthWithBlob") && settings.generateServerSdk()) {
- return true;
- }
//TODO: enable with Smithy 1.10
if ((testCase.getId().equals("RestJ... | chore: re-enable ssdk content-length test | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Java |
@@ -15,6 +15,7 @@ fileprivate let uriPattern = "(([^:?#]+):)?(([^?#]*))?([^?#]*)(\\?([^#]*))?(#(.*
/// Sign-In with Ethereum protocol and parser implementation.
/// [EIP-4361](https://eips.ethereum.org/EIPS/eip-4361)
+/// Thanks to spruceid for SIWE implementation that was rewritten here in Swift: https://github.com/sp... | chore: added reference to spruceid/siwe repo with parser implemented in TypeScript | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -64,17 +64,13 @@ conventional-changelog --preset angular --infile CHANGELOG.md --same-file
printf "\n\nRelease: generate TOCS"
npm run doctoc
-# regenerate widgets jsdoc
-printf "\n\nRelease: regenerate widgets jsdoc"
-npm run docs:jsdoc
-
# regenerate yarn.lock
printf "Release: update yarn.lock"
yarn
# git add and ... | chore(release): rm jsdoc gen before release | null | algolia/instantsearch.js | MIT License | Shell |
import { Handler } from "../../../types";
import capitalize from "./utils/capitalize";
-export default ({ endpoints }: { endpoints: string[] }): Handler => async ({
- route,
- params,
- state,
- libraries
-}) => {
+const postTypeHandler = ({
+ endpoints
+}: {
+ endpoints: string[];
+}): Handler => async ({ route, param... | chore(handlers): set name before export to postTypeHandler | null | frontity/frontity | Apache License 2.0 | TypeScript |
@@ -59,7 +59,7 @@ pub fn encode(src: &[u64], dst: &mut Vec<u8>) -> Result<(), Box<dyn Error>> {
}
let max_val = 1u64 << (bit_n & 0x3f) as u64;
- let mut val = ((idx + 2) << S8B_BIT_SIZE) as u64;
+ let mut val = ((idx as u64) + 2) << S8B_BIT_SIZE;
for (k, in_v) in src[i..].iter().enumerate() {
if k < int_n {
if *in_v >=... | chore: fix usize 32-bit overflow | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
-/*
- * Copyright 2011-2015 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.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless req... | chore(core): remove unused TerminologyComponentIdProvider interface | null | b2ihealthcare/snow-owl | 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.