diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -120,7 +120,7 @@ extension Amount: Comparable {
public struct AmountComponents {
/// :nodoc:
- public init(amount: Amount) {
+ fileprivate init(amount: Amount) {
if let comps = Self.extractAmountComponents(from: amount.formatted) {
(self.formattedCurrencySymbol, self.formattedValue) = comps
} else {
| chore: Set AmountComponents init to fileprivate | null | adyen/adyen-ios | MIT License | Swift |
@@ -2870,16 +2870,17 @@ mod tests {
created_at: time_now,
column_set: ColumnSet::new([ColumnId::new(1), ColumnId::new(2)]),
};
- let _ = postgres
+ let f1 = postgres
.repositories()
.await
.parquet_files()
.create(p1.clone())
.await
.expect("create parquet file should succeed");
- // insert the same again so we should ... | chore: added test for parquet file delete trigger | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -849,4 +849,14 @@ defmodule Ash.Test.Filter.FilterTest do
|> Api.read!()
end
end
+
+ describe "invalid syntax errors" do
+ test "using tuple instead of keyword list" do
+ assert_raise "TBD", fn ->
+ Post
+ |> Ash.Query.filter(id: {:in, [Ash.UUID.generate()]})
+ |> Api.read!()
+ end
+ end
+ end
end
| chore: add failing test for invalid syntax error | null | ash-project/ash | MIT License | Elixir |
@@ -59,6 +59,20 @@ public class ConfigurationRegistrar {
private Instance<ServiceLoader> serviceLoaderInstance;
public void loadConfiguration(@Observes ManagerStarted event) {
+ //Placeholder resolver
+ ArquillianDescriptor resolvedDesc = loadConfiguration();
+
+ final List<ConfigurationPlaceholderResolver> configurati... | chore: extracts arquillian descriptor to expose extension configurtion in Cube | null | arquillian/arquillian-core | Apache License 2.0 | Java |
@@ -78,12 +78,14 @@ defmodule Ash.DocIndex do
@impl true
@spec mix_tasks :: [{String.t(), list(module)}]
def mix_tasks do
+ [
{
"Charts",
[
Mix.Tasks.Ash.GenerateFlowCharts
]
}
+ ]
end
@impl true
| chore: fix mix tasks list | null | ash-project/ash | MIT License | Elixir |
@@ -62,5 +62,5 @@ read -p "Do you want to push the version change and tag $TAG tag to upstream? [y
if [ "$REPLY" != "y" ]; then
exit
fi
-# git push --set-upstream origin "$BRANCH"
-# git push origin "$TAG"
+git push --set-upstream origin "$BRANCH"
+git push origin "$TAG"
| chore(release): fix release script 2 | null | kubeflow/pipelines | Apache License 2.0 | Shell |
@@ -50,10 +50,8 @@ def get_pdf(html, options=None, output=None):
password = frappe.safe_encode(password)
if output:
- # Encrypt if required
- if "password" in options:
- output.encrypt(password)
- return get_file_data_from_writer(output)
+ output.appendPagesFromReader(reader)
+ return output
writer = PdfFileWriter()
wr... | chore: disable pdf encryption for multipdf | null | frappe/frappe | MIT License | Python |
@@ -187,7 +187,7 @@ function buildMiddlewareSpec(shim, path, preHandler) {
var reply = args[1]
if (!shim.isFunction(reply)) return
if (preHandler) {
- wrap(args, 1)
+ wrap(args, 1) // if this is `pre` handler, we want to wrap reply itself
} else {
wrap(reply, 'response', true)
}
| chore(hapi): add comment | null | newrelic/node-newrelic | Apache License 2.0 | JavaScript |
@@ -21,6 +21,11 @@ const Footer = () => (
<li>
<Link to="/terms-and-conditions">Terms and Conditions</Link>
</li>
+ <li>
+ <a href="https://www.theatlantic.com/privacy-policy/">
+ Privacy Policy
+ </a>
+ </li>
<li>
<Link to="/license">License</Link>
</li>
| chore(footer): add privacy policy | null | covid19tracking/website | Apache License 2.0 | JavaScript |
{
public static class ApplicationSettings
{
- public static string version = "0.5.2";
+ public static string version = "0.5.3";
}
public static class Environment
| chore: update build version to 0.5.3 | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -17,7 +17,8 @@ public final class CardNumberFormatter: NumericFormatter {
/// :nodoc:
override public func formattedValue(for value: String) -> String {
let sanitizedCardNumber = sanitizedValue(for: value)
- let formattedCardNumberComponents = sanitizedCardNumber.adyen.components(withLengths: cardFormatGrouping)
+ l... | chore: fix grouping for diners | null | adyen/adyen-ios | MIT License | Swift |
@@ -2,7 +2,7 @@ namespace DCL.Configuration
{
public static class ApplicationSettings
{
- public static string version = "0.4.4";
+ public static string version = "0.4.5";
}
public static class Environment
| chore: update version number to 0.4.5 | null | decentraland/explorer | Apache License 2.0 | C# |
+#!/bin/bash
+
+if [ "$#" -ne 1 ]; then
+ echo "usage: cluster_setup <single|replicaset|sharded>"
+ exit
+fi
+
+
+if [[ $1 == "replicaset" ]]; then
+ mlaunch init --replicaset --nodes 3 --arbiter --name rs --port 31000 --enableMajorityReadConcern --setParameter enableTestCommands=1
+elif [[ $1 == "sharded" ]]; then
+ m... | chore: add cluster_setup script for help testing | null | mongodb/node-mongodb-native | Apache License 2.0 | Shell |
@@ -393,7 +393,14 @@ impl Operator for Join {
// TODO(leiysky): we can enforce redistribution here
required.distribution = Distribution::Serial;
} else if ctx.get_settings().get_prefer_broadcast_join()?
- && !matches!(self.join_type, JoinType::Right | JoinType::Full)
+ && !matches!(
+ self.join_type,
+ JoinType::Right
... | chore(query): fix cluster test failure | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -38,14 +38,7 @@ internal final class FormCardNumberContainerItem: FormItem, AdyenObserver {
internal init(cardTypeLogos: [FormCardLogosItem.CardTypeLogo],
style: FormTextItemStyle,
localizationParameters: LocalizationParameters?) {
- // these 4 US debit brands are not to be displayed
- // but should be supported so ... | chore: move hiding us debit card to another branch | null | adyen/adyen-ios | MIT License | Swift |
@@ -26,6 +26,7 @@ import (
"net"
"net/http"
"net/url"
+ "runtime"
"strings"
"time"
@@ -133,6 +134,8 @@ func performRequest(req *http.Request, verifyTLS bool, params []queryParam) (int
// set headers
req.Header.Set("client-sdk", "go-cli")
req.Header.Set("client-version", version.ProgramVersion)
+ req.Header.Set("client-... | chore: include OS and architecture in request analytics | null | dopplerhq/cli | Apache License 2.0 | Go |
-//
-// PlacesIntegrationTests.swift
-//
-//
-// Created by Vladislav Fitc on 12/04/2020.
-//
-
-import Foundation
-import XCTest
-@testable import AlgoliaSearchClient
-
-class PlacesIntegrationTests: XCTestCase {
-
- var placesClient: PlacesClient!
-
- let geolocation: Point = .init(latitude: 48.8566, longitude: 2.352... | chore: remove places integration tests | null | algolia/algoliasearch-client-swift | MIT License | Swift |
@@ -97,7 +97,7 @@ func (v *Verifier) MustHasOtherKeys(keys ...string) error {
func (v *Verifier) CheckTimeStamp() error {
timestamp := v.GetTimestamp()
thatTime := time.Unix(timestamp, 0)
- if time.Since(thatTime) > v.timeout {
+ if timestamp > time.Now().Unix() || time.Since(thatTime) > v.timeout {
return fmt.Errorf("... | chore: optimize CheckTimeStamp | null | go-eagle/eagle | MIT License | Go |
@@ -353,11 +353,6 @@ pub fn check_inputs_are_utxos<B: BlockchainBackend>(db: &B, body: &AggregateBody
if output_hashes.iter().any(|output| output == &output_hash) {
continue;
}
-
- warn!(
- target: LOG_TARGET,
- "Validation failed due to input: {} which does not exist yet", input
- );
not_found_inputs.push(output_hash)... | chore: remove duplicate log | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -1102,12 +1102,7 @@ impl Documents {
}
/// Change a node within a document
- pub async fn change(
- &self,
- id: &str,
- node: &str,
- value: serde_json::Value,
- ) -> Result<Document> {
+ pub async fn change(&self, id: &str, node: &str, value: serde_json::Value) -> Result<Document> {
let document_lock = self.get(id... | chore(Documents): Formatting | null | stencila/stencila | Apache License 2.0 | Rust |
-package live.hms.android100ms.util
-
-import android.util.Log
-import org.webrtc.EglBase
-
-object EglContextUtil {
-
- private const val TAG = "EglContextUtil"
- private var count = 0
-
- private val provider: EglBase
- // val context: EglBase.Context
-
- init {
- Log.v(TAG, "Creating EglBase")
- provider = EglBase.c... | chore: remove EglContextUtil | null | 100mslive/100ms-android | MIT License | Kotlin |
@@ -75,7 +75,7 @@ impl<'e> Definitions<'e> {
///
/// This function will create the directory path if it does not yet exist,
/// it will also override any existing files as needed.
- #[cfg(not(feature = "no_std"))]
+ #[cfg(all(not(feature = "no_std"), not(target_family = "wasm")))]
pub fn write_to_dir(&self, path: impl ... | chore(defs): no stdio on wasm | null | rhaiscript/rhai | Apache License 2.0 | Rust |
@@ -402,14 +402,21 @@ impl MetaGrpcClient {
};
if let Some(current_endpoint) = current_endpoint {
+ let elapsed = start.elapsed().as_millis() as f64;
label_histogram_with_val(
META_GRPC_CLIENT_REQUEST_DURATION_MS,
vec![
(LABEL_ENDPOINT, current_endpoint.to_string()),
(LABEL_REQUEST, req_name.to_string()),
],
- start.el... | chore: add slow request log in grpc client | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -18,10 +18,9 @@ PIDS=""
# Ideally, the following would be done with lerna but there seem to be some bugs
# in --scope and --ignore
-PACKAGES="plugin-wdm"
-# PACKAGES=$(ls "packages")
-# PACKAGES+=" legacy-node"
-# PACKAGES+=" legacy-browser"
+PACKAGES=$(ls "packages")
+PACKAGES+=" legacy-node"
+PACKAGES+=" legacy-br... | chore(tooling): reenable all tests | null | webex/webex-js-sdk | MIT License | Shell |
@@ -1574,11 +1574,12 @@ public abstract class PvmExecutionImpl extends CoreExecution implements Activity
/**
* {@inheritDoc}
*/
- public void setVariable(String variableName, Object value, String activityId) {
- if (getActivityId().equals(activityId)) {
+ public void setVariable(String variableName, Object value, Strin... | chore(engine): add a null-check | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -125,7 +125,7 @@ var typeMap = map[router.Domain_Type]dns.DomainMatchingType{
// DNSConfig is a JSON serializable object for dns.Config.
type DNSConfig struct {
Servers []*NameServerConfig `json:"servers"`
- Hosts *HostsWrapper `json:"hosts"`
+ Hosts map[string]*HostAddress `json:"hosts"`
ClientIP *Address `json:"cl... | chore: simplify DNS hosts struct | null | v2fly/v2ray-core | MIT License | Go |
@@ -305,11 +305,12 @@ public class PlayModeTests {
Assert.AreEqual("DCL Cone50v0t1b2l2o Instance", meshName);
}
- [UnityTest]
+ // TODO: Find a way to test the OBJ shape update, even though this test passes locally, the webserver fails to find the .obj when running in unity cloud build...
+ /* [UnityTest]
public IEnume... | chore: Commented out PlayMode_EntityOBJShapeUpdate playmode test as it's not working in unity cloud build | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -85,7 +85,9 @@ class AuditableTest extends TestCase
->shouldAllowMockingProtectedMethods();
$model->shouldReceive('getAuditableEvents')
- ->andReturn(['foo' => 'customMethod']);
+ ->andReturn([
+ 'foo' => 'customMethod',
+ ]);
$model->shouldReceive('isEventAuditable')
->andReturn(true);
@@ -164,6 +166,10 @@ class Au... | chore(Auditable): add missing PHPdocs to test methods | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -2,7 +2,6 @@ import SfSelectOption from "@/components/molecules/SfSelect/_internal/SfSelectOp
import Vue from "vue";
Vue.component("SfSelectOption", SfSelectOption);
-// FIXME: out data.hover
export default {
name: "SfSelect",
model: {
@@ -19,14 +18,12 @@ export default {
return {
open: false,
index: -1,
- hover: -1... | chore: remove hover artefacts | null | vuestorefront/storefront-ui | MIT License | JavaScript |
@@ -3,7 +3,7 @@ set -e
set +x
if [[ ($1 == '--help') || ($1 == '-h') ]]; then
- echo "usage: $(basename $0) [firefox|webkit]"
+ echo "usage: $(basename $0) [firefox|webkit] [--full-history]"
echo
echo "List CDN status for browser"
exit 0
@@ -69,12 +69,17 @@ else
exit 1
fi
+STOP_REVISION=$((REVISION - 3))
+if [[ $* == *... | chore(scripts): limit number of fetched builds to 3 by default | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -4905,4 +4905,11 @@ public class DatabaseChangelog {
);
}
+ @ChangeSet(order = "111", id = "update-mockdb-endpoint-2", author = "")
+ public void updateMockdbEndpoint2(MongockTemplate mongockTemplate) {
+ // Doing this again as another migration since it appears some new datasource were created with the old
+ // end... | chore: Re-run the fakeapi DB migration | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -412,7 +412,6 @@ mod tests {
}
#[test]
- #[ignore]
fn three_layers_all_subchunks() {
let content = b"Lorem ipsum dolor sit amet, sit enim montes aliquam. Cras non lorem, \
rhoncus condimentum, irure et ante. Pulvinar suscipit odio ante, et tellus a enim, \
| chore: remove mistakenly added ignore | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -148,6 +148,18 @@ pub mod policies {
validation
}
+ /// Extracts the key prefix used to sign the payload from the payload, without performing any validation.
+ fn extract_key_prefix(token: &str) -> Option<String> {
+ let mut validation = tenant_token_validation();
+ validation.insecure_disable_signature_validation()... | chore(auth): refactor token validation | null | meilisearch/meilisearch | MIT License | Rust |
@@ -15,7 +15,7 @@ export class GlobalErrorHandlerService implements ErrorHandler {
if (!this.isInErrorState) {
this.isInErrorState = true;
- if (isDevMode) {
+ if (isDevMode()) {
throw error;
} else {
this.zone.run(() => {
| chore: call isDevMode insted of checking the function exists | null | igniteui/igniteui-cli | MIT License | TypeScript |
@@ -271,7 +271,7 @@ func UploadSecrets(host string, verifyTLS bool, apiKey string, project string, c
// GetWorkplaceSettings get specified workplace settings
func GetWorkplaceSettings(host string, verifyTLS bool, apiKey string) (models.WorkplaceSettings, Error) {
- statusCode, _, response, err := GetRequest(host, verif... | chore: use v3 endpoints for 'settings' commands | null | dopplerhq/cli | Apache License 2.0 | Go |
@@ -316,6 +316,38 @@ export const BestBuy: Store = {
url:
'https://www.bestbuy.com/site/pny-geforce-rtx-3090-24gb-xlr8-gaming-epic-x-rgb-triple-fan-graphics-card/6432657.p?skuId=6432657&intl=nosplash'
},
+ {
+ brand: 'nvidia',
+ cartUrl: 'https://api.bestbuy.com/click/-/6439402/cart',
+ model: 'founders edition',
+ ser... | chore(bestbuy): 3060ti product links | null | jef/streetmerchant | MIT License | TypeScript |
@@ -29,10 +29,10 @@ targets:
scripts:
auth: ../_scripts/auth-open.py
- proxy: (cd ../..; npm run testing)
+ proxy: (cd ../..; npm start)
setup: >
mv ../../webpack/proxy.dev.js ../../webpack/proxy.dev.js.bak;
- echo "module.exports = {'*': '$CLUSTER_URL'};" > ../../webpack/proxy.dev.js
+ echo "module.exports = { '*': { ... | chore(system-tests): fix dev.sh config | null | dcos/dcos-ui | Apache License 2.0 | Shell |
@@ -340,15 +340,7 @@ public class RuntimeServiceAsyncOperationsTest extends AbstractAsyncOperationsTe
.deployAndGetDefinition(modify(ProcessModels.ONE_TASK_PROCESS).changeElementId(ProcessModels.PROCESS_KEY, "ONE_TASK_PROCESS"));
ProcessDefinition sourceDefinition2 = testRule
.deployAndGetDefinition(modify(ProcessModel... | chore(engine): make the test more readable | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -45,6 +45,11 @@ for i in examples/*; do
cd build
cmake ..
cmake --build .
+
+ if [[ "$OSTYPE" == "darwin"* ]]; then
+ cp ../../../build/install/lib/*.dylib .
+ fi
+
echo Running example
./example
popd
| chore(CI): copy OSX dylib to example build dir | null | pact-foundation/pact-reference | MIT License | Shell |
@@ -69,9 +69,9 @@ func TestSyntheticsPrivateLocation_Basic(t *testing.T) {
require.NotNil(t, deleteResp)
// Purge private location queue
- //purgeresp, err := a.SyntheticsPurgePrivateLocationQueue(createResp.GUID)
- //
- //require.NotNil(t, purgeresp)
+ purgeresp, err := a.SyntheticsPurgePrivateLocationQueue(createResp... | chore: adding purge private locations | null | newrelic/newrelic-client-go | Apache License 2.0 | Go |
limitations under the License.
*/
-/*
-// TODO: docs - arguments for all formatters
-(arguments: {
- on: date,
- options?: object
- locale?: string,
-}): string
-(arguments: [
- on: date,
- options?: object
- locale?: string,
-]): string
-*/
-
import { runClass } from '@lowdefy/operators';
function createFormatter({ In... | chore(operators-js): Removed comments from intl operator | null | lowdefy/lowdefy | Apache License 2.0 | JavaScript |
@@ -178,7 +178,7 @@ describe('Container List', () => {
props.toolbar.pagination.onChange(event, data);
// then
- expect(dispatchActionCreator).toBeCalledWith("pagination:change", event, data, context);
+ expect(dispatchActionCreator).toBeCalledWith('pagination:change', event, data, context);
});
});
| chore(containers): fix proptypes and lint errors | null | talend/ui | Apache License 2.0 | JavaScript |
@@ -52,18 +52,6 @@ func (b *Buffer) Copy() []byte {
return append([]byte{}, b.Buf...)
}
-// Write implements io.Writer.
-func (b *Buffer) Write(p []byte) (n int, err error) {
- b.Buf = append(b.Buf, p...)
- return len(p), nil
-}
-
-// WriteTo implements io.WriterTo.
-func (b Buffer) WriteTo(w io.Writer) (n int64, err e... | chore(bin): remove unused methods | null | gotd/td | MIT License | Go |
-import React from "react";
-
-class Delayed extends React.Component {
- state = {
- ready: false
- };
- componentDidMount() {
- setTimeout(() => {
- this.setState({
- ready: true
- });
- }, this.props.delay || 100);
- }
-
- render() {
- return (
- <div className={`FadeDelay-ready-${this.state.ready}`}>
- {this.props.c... | chore(frontend): remove unused file | null | socialgouv/code-du-travail-numerique | Apache License 2.0 | JavaScript |
// iterators5.rs
-
// Let's define a simple model to track Rustlings exercise progress. Progress
// will be modelled using a hash map. The name of the exercise is the key and
// the progress is the value. Two counting functions were created to count the
// imperative style for loops. Recreate this counting functionalit... | chore(iterators5): Minor formatting improvements | null | rust-lang/rustlings | MIT License | Rust |
@@ -88,7 +88,7 @@ public class BoxAPIRequestTest {
request.send();
- String headerRegex = "agent=box-java-sdk/\\d\\.\\d+\\.\\d+(-[a-zA-Z]+)?; env=Java/\\d+\\.\\d+\\.\\d+(_\\d+)?";
+ String headerRegex = "agent=box-java-sdk/\\d\\.\\d+\\.\\d+(-[a-zA-Z]+)?; env=Java/\\d+\\.\\d+\\.\\d+.*";
RequestPatternBuilder requestPatt... | chore: Fix test checking `X-Box-UA` header | null | box/box-java-sdk | Apache License 2.0 | Java |
@@ -88,21 +88,24 @@ final class DefaultsModeConfigGenerator {
ObjectNode docNode = defaultsConfigData.expectObjectMember("documentation").expectObjectMember("modes");
List<String> defaultsModes = new LinkedList<String>();
- String defaultsModeDoc = DEFAULTS_MODE_DOC_INTRODUCTION;
+ StringBuilder defaultsModeDoc = new S... | chore(format): fix java checkstyle | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Java |
@@ -64,7 +64,7 @@ Raven
export class RavenErrorHandler implements ErrorHandler {
handleError(err: any): void {
- if (err.message !== 'Not found') {
+ if (err.message !== 'Not found' && err.message.indexOf('permissions') === -1 && err.message.indexOf('is null') === -1) {
Raven.captureException(err);
}
console.error(err)... | chore: more filters for errors reporting | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -28,6 +28,7 @@ export INFRACOST_LOG_LEVEL=${INFRACOST_LOG_LEVEL:-info}
export INFRACOST_CI_DIFF=true
if [ ! -z "$GIT_SSH_KEY" ]; then
+ echo "Setting up private Git SSH key so terraform can access your private modules."
mkdir -p .ssh
echo "${GIT_SSH_KEY}" > .ssh/git_ssh_key
chmod 600 .ssh/git_ssh_key
| chore: add echo to diff.sh to help debugging | null | infracost/infracost | Apache License 2.0 | Shell |
@@ -8,12 +8,12 @@ const BlogFeatured = () => {
const data = useStaticQuery(graphql`
{
allContentfulBlogPost(
- filter: { featureOnHomepage: { ne: true } }
- limit: 2
+ limit: 3
sort: { fields: publishDate, order: DESC }
) {
nodes {
title
+ featureOnHomepage
publishDate(formatString: "MMMM d, yyy")
homepageImage {
fixed... | chore: Logic to handle multiple featured posts | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -53,4 +53,5 @@ if [[ -z "${IMAGE_PROMOTION_COMMAND}" ]]; then
else
echo "Triggering image promotion"
eval "${IMAGE_PROMOTION_COMMAND}" < deploy.json
+ eval "${IMAGE_PROMOTION_COMMAND_K8S_IOX}" < deploy.json
fi
| chore: update image promotion script | null | influxdata/influxdb_iox | Apache License 2.0 | Shell |
@@ -44,7 +44,7 @@ defmodule Logflare.Logs.RejectedLogEventsTest do
end
@tag :failing
- test "gets logs for all sources for user", %{users: [u1], sources: [s1, s2]} do
+ test "gets logs for all sources for user", %{users: [_u1], sources: [s1, s2]} do
source1 = Sources.get_by(token: s1.token)
source2 = Sources.get_by(tok... | chore: fix test warning | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -20,8 +20,13 @@ public final class FormTextInputItemView: FormTextItemView<FormTextInputItem> {
observe(item.$isEnabled) { [weak self] isEnabled in
guard let self = self else { return }
self.textField.isEnabled = isEnabled
- isEnabled ? self.updateValidationStatus() : self.resetValidationStatus()
- self.textField.te... | chore: Refactor into if else clauses | null | adyen/adyen-ios | MIT License | Swift |
@@ -16,31 +16,15 @@ yarn install --mutex network
# run tests
yarn test
-# trigger lerna release and create new storybook
-./node_modules/.bin/lerna version --conventional-graduate
-
-# These steps are only required in case we don't a user with admin privileges
-# get the new version number
-#RELEASE_VERSION=$(node -p "... | chore: Refactor release script to use lerna publish | null | sap/ui5-webcomponents-react | Apache License 2.0 | Shell |
@@ -133,13 +133,6 @@ class CardEncryptorCardTests: XCTestCase {
XCTAssertNotNil(try card.encryptedToToken(publicKey: key, holderName: nil))
}
- func testEncryptedToken() {
- let card = CardEncryptor.Card(expiryYear: "test_expiry_year")
- let key = Dummy.dummyPublicKey
-
- XCTAssertNotNil(try? CardEncryptor.encryptedTok... | chore: remove obsoled test | null | adyen/adyen-ios | MIT License | Swift |
@@ -17,7 +17,15 @@ export interface IMarketAttachmentPayload {
id: number;
name: string;
};
+ old_amount?: string;
+ text: string;
};
+ dimensions?: {
+ width: number;
+ height: number;
+ length: number;
+ };
+ weight?: number;
category?: {
id: number;
name: string;
@@ -135,6 +143,20 @@ export class MarketAttachment
re... | chore(attachments): add missed properties in market | null | negezor/vk-io | MIT License | TypeScript |
package cmd
import (
- "github.com/bmatcuk/doublestar"
"io/ioutil"
"os"
"os/exec"
@@ -19,6 +18,7 @@ import (
StepResults "github.com/SAP/jenkins-library/pkg/piperutils"
SonarUtils "github.com/SAP/jenkins-library/pkg/sonar"
"github.com/SAP/jenkins-library/pkg/telemetry"
+ "github.com/bmatcuk/doublestar"
"github.com/pkg/... | chore(sonar): assign error categories to know error cases | null | sap/jenkins-library | Apache License 2.0 | Go |
@@ -425,7 +425,8 @@ x-init="function() {
<div class="w-full flex items-center justify-center gap-x-2 text-gray-600">
<button class="focus:outline-none focus:underline"
x-text="monthNames[month]"
- x-on:click="monthsPicker = !monthsPicker">
+ x-on:click="monthsPicker = !monthsPicker"
+ type="button">
</button>
<input cl... | chore: add button type | null | wireui/wireui | MIT License | PHP |
@@ -5,16 +5,16 @@ set -euo pipefail
SOURCE_DIR=$1
OPENSSL=$2
-if ! command -v ${OPENSSL} version > /dev/null 2>&1; then
+if ! command -v "${OPENSSL}" version > /dev/null 2>&1; then
echo "No openssl command at ${OPENSSL}"
exit 1
fi
NEW_CHECKSUM=$(./falco --list -N | ${OPENSSL} dgst -sha256 | awk '{print $2}')
-CUR_CHECK... | chore: double-quoting verify fields variables | null | falcosecurity/falco | Apache License 2.0 | Shell |
*/
package org.camunda.bpm.engine.test.api.task;
-import java.io.ByteArrayInputStream;
-import java.io.InputStream;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.Date;
-import java.util.HashMa... | chore(engine): refactor standalone task test | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -136,6 +136,22 @@ spec:
shortNames:
- cspi
additionalPrinterColumns:
+ - JSONPath: .spec.hostName
+ name: HostName
+ description: Host name where cstorpool instances scheduled
+ type: string
+ - JSONPath: .status.capacity.used
+ name: Allocated
+ description: The amount of storage space within the pool that has been... | chore(cspi): add custom columns for cspi resource | null | openebs/maya | Apache License 2.0 | Go |
@@ -48,6 +48,44 @@ class BACSConfirmationPresenterTests: XCTestCase {
XCTAssertEqual(view.addItemCallsCount, 7)
}
+ func testViewDidLoadShouldDisableAllFields() throws {
+ // When
+ sut.viewDidLoad()
+
+ // Then
+ let holderNameItem = try XCTUnwrap(sut.holderNameItem)
+ let bankAccountNumberItem = try XCTUnwrap(sut.ban... | chore: Test fields set up logic | null | adyen/adyen-ios | MIT License | Swift |
process_args () {
# Set variables based on the order for GitHub Actions, or the env value for other CIs
- path_flag=${1:-$path_flag}
+ path=${1:-$path}
terraform_plan_flags=${4:-$terraform_plan_flags}
terraform_workspace=${4:-$terraform_workspace}
percentage_threshold=${5:-$percentage_threshold}
@@ -19,12 +19,12 @@ pro... | chore(diff): use path arg | null | infracost/infracost | Apache License 2.0 | Shell |
@@ -10,7 +10,10 @@ import * as handlebarsUtils from '../../../../src/lib/utils/handlebars';
const actions = ({ newRule: true } as CLIOptions);
const inquirer = { prompt() { } };
-const misc = { writeFileAsync() { } };
+const misc = {
+ isOfficial() { },
+ writeFileAsync() { }
+};
const fsExtra = { copy() { } };
const m... | chore: Refactor `new-rule` tests | null | webhintio/hint | Apache License 2.0 | TypeScript |
@@ -88,7 +88,8 @@ ExecStart=$collator_binary \
--rpc-cors all \
--execution Wasm \
--pruning=archive \
- --no-prometheus \
+ --prometheus-port 7001 \
+ --telemetry-url 'wss://telemetry.polkadot.io/submit 1' \
-- \
--chain $artifacts_dir/rococo.raw.json \
--bootnodes \"$rococo_boot_nodes\" \
@@ -141,7 +142,8 @@ ExecStar... | chore: enable collator telemetry | null | t3rn/t3rn | Apache License 2.0 | Shell |
@@ -19,7 +19,7 @@ public class DialogShortcutIT extends ChromeBrowserTest {
private TestBenchElement eventLog;
private TestBenchElement openDialogButton;
private NativeButtonElement uiLevelButton;
- protected AtomicInteger dialogCounter = new AtomicInteger(-1);
+ protected AtomicInteger dialogCounter;
@Before
public vo... | chore: fix DialogShortcutIT initialization | null | vaadin/flow | Apache License 2.0 | Java |
@@ -61,7 +61,7 @@ public class AnalyzeBeta {
/** Detects sentiments from the string {@code text}. */
public static Sentiment analyzeSentimentText(String text, String lang) throws Exception {
- // [START beta_sentiment_text]
+ // [START language_beta_sentiment_text]
// Instantiate a beta client : com.google.cloud.langua... | chore: fix region tag prefix | null | googlecloudplatform/java-docs-samples | Apache License 2.0 | Java |
@@ -225,8 +225,7 @@ func (sm *manager) expireSessions() {
sm.DeleteSession(ID)
sm.logger.Debugf("removed Dead session %s", ID)
}
- sm.logger.Debugf("opened sessions count: %d", len(sm.sessions))
- sm.logger.Debugf("idle sessions count: %d", idleSessCount)
+ sm.logger.Debugf("Open sessions count: %d\nIdle sessions count... | chore(pkg/server/sessions): polish logger call | null | codenotary/immudb | Apache License 2.0 | Go |
+git checkout release
+git merge dev
+
#!/bin/bash
set -e
@@ -10,9 +13,11 @@ fi
read -p "Releasing $VERSION - are you sure? (y/n)" -n 1 -r
echo
-if [[ $REPLY =~ ^[Yy]$ ]]; then
+if [[ $REPLY =~ ^[Yy]$ ]]
+then
echo "Releasing $VERSION ..."
+ # lint and test
if [[ -z $SKIP_TESTS ]]; then
npm run lint
npm run test
@@ -24... | chore: release shell | null | zhongantech/zarm | MIT License | Shell |
@@ -26,7 +26,11 @@ devdir=${NPM_CACHE_DIR}/.node-gyp
init-module=${NPM_CACHE_DIR}/.npm-init.js
cache=${NPM_CACHE_DIR}
tmp=${NPM_TMP_DIR}
+registry=https://registry.npmjs.org
EOT
+# NOTE: registry was overridden to not use artifactory, remove the `registry` line when
+# BUILD-6774 is resolved.
+
# install node dependenc... | chore(evg): override artifactory override | null | mongodb-js/mongodb-core | Apache License 2.0 | Shell |
@@ -34,7 +34,7 @@ const getCurrentEntity = ({ state }) => {
// or an empty array if there is no entity nor head tags.
const getCurrentHeadTags = ({ state }): HeadTags => {
const entity = getCurrentEntity({ state });
- return (entity && entity["head-tags"]) || [];
+ return (entity && entity.head_tags) || [];
};
// Rende... | chore(head-tags): fix head_tags field name | null | frontity/frontity | Apache License 2.0 | TypeScript |
@@ -272,7 +272,7 @@ public class ProcessInstanceAssert extends AbstractProcessAssert<ProcessInstance
(hasPassed ? "to have passed activities %s at least once"
+ (inOrder? " and in order" : "") + ", "
: "NOT to have passed activities %s, ") +
- "but actually we instead we found that it passed %s. (Please make sure you h... | chore(assertions): improve wording of error message | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -44,8 +44,7 @@ class KitsuLoginViewModel(
var apiResponse: LoginResponse? = null
val kitsuManager = kitsuManagerFactory.get()
- disposables.add(
- kitsuManager.login(loginModel.userName, loginModel.password)
+ disposables.add(kitsuManager.login(loginModel.userName, loginModel.password)
.flatMap {
apiResponse = it
va... | chore(login): whitespace change | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -20,7 +20,7 @@ public final class TextField: UITextField {
internal var disablePlaceHolderAccessibility: Bool = true
/// A boolean value to determine whether editing actions such as
- /// cut, copy, paste, share are allowed for the text field. Default is `true`
+ /// cut, copy, share are allowed for the text field. ... | chore: keep paste option | null | adyen/adyen-ios | MIT License | Swift |
@@ -9,4 +9,4 @@ SCRIPT_PATH="$(cd "$(dirname "$0")" >/dev/null 2>&1 && pwd)"
cd "$SCRIPT_PATH/../../tests" || exit
echo "Starting databend-test"
-./databend-test --mode 'cluster' --run-dir 0_stateless --skip 13_0005_q5
+./databend-test --mode 'cluster' --run-dir 0_stateless
| chore(test): don't skip tpch q5 test | null | datafuselabs/databend | Apache License 2.0 | Shell |
@@ -16,6 +16,15 @@ import {
SUBSCRIBER_CONTEXT,
} from "../src";
import { disconnectSocket, TEST_CORE_OPTIONS } from "./shared";
+const exec = require("child_process").exec;
+
+exec("cat /proc/sys/net/ipv4/tcp_mem", function (error, stdout, stderr) {
+ console.log("stdout: " + stdout);
+ console.log("stderr: " + stderr... | chore: adds tcp_memory log | null | walletconnect/walletconnect-monorepo | Apache License 2.0 | TypeScript |
@@ -66,7 +66,7 @@ impl<'b> VirtualDom {
use DynamicNode::*;
match &template.dynamic_nodes[idx] {
node @ Fragment(_) => self.create_dynamic_node(template, node, idx),
- node @ Component { .. } => dbg!(self.create_dynamic_node(template, node, idx)),
+ node @ Component { .. } => self.create_dynamic_node(template, node, id... | chore: no dbg | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -35,7 +35,7 @@ case "$(uname -s)" in
echo "$(cat sha256.txt)" | sha256sum --check -- \
|| { echo "Checksums did not match for downloaded UI assets!"; exit 1; } ;;
*)
- echo "The '$(uname -s)' operating system is not supported" >&2
+ echo "The '$(uname -s)' operating system is not supported as a build host for the UI... | chore: fix up message when build fails due to OS | null | influxdata/influxdb | MIT License | Shell |
@@ -28,6 +28,7 @@ class SeederMain
log "Creating the objects in the database..."
db_populator.create_all_casa_admin("allcasaadmin@example.com")
db_populator.create_all_casa_admin("all_casa_admin1@example.com")
+ db_populator.create_all_casa_admin("admin1@example.com")
db_populator.create_org(CasaOrgPopulatorPresets.for... | chore: create all_casa_admin(admin1@example.com) with seeds | null | rubyforgood/casa | MIT License | Ruby |
#define GOOGLE_CLOUD_CPP_SPANNER_GOOGLE_CLOUD_SPANNER_VERSION_INFO_H_
#define SPANNER_CLIENT_VERSION_MAJOR 0
-#define SPANNER_CLIENT_VERSION_MINOR 6
+#define SPANNER_CLIENT_VERSION_MINOR 7
#define SPANNER_CLIENT_VERSION_PATCH 0
#endif // GOOGLE_CLOUD_CPP_SPANNER_GOOGLE_CLOUD_SPANNER_VERSION_INFO_H_
| chore: bump version after v0.6 release (googleapis/google-cloud-cpp-spanner#1185) | null | googleapis/google-cloud-cpp | Apache License 2.0 | C |
@@ -306,3 +306,48 @@ func (t *Tree) SerializeNoDictNoLimit(w io.Writer) error {
}
return nil
}
+
+func (t *Tree) SerializeTruncateNoDict(maxNodes int, w io.Writer) error {
+ t.Lock()
+ defer t.Unlock()
+ vw := varint.NewWriter()
+ var err error
+ minVal := t.minValue(maxNodes)
+ nodes := make([]*treeNode, 1, 1024)
+ no... | chore: add SerializeTruncateNoDict | null | pyroscope-io/pyroscope | Apache License 2.0 | Go |
@@ -96,8 +96,10 @@ const WalletsItemPanel = styled.a`
`
const WalletsTagPanel = styled.div`
- padding: 0px 2px 1px 2px;
+ padding: 0px 3px;
font-size: 7px;
+ height: 12px;
+ line-height: 12px;
color: #888888;
border-radius: 3px;
border: solid 0.5px #888888;
| chore: update header wallets tag | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -32,7 +32,10 @@ RSpec.describe "layout/sidebar", type: :view do
end
context "when logged in as a supervisor" do
- let(:user) { build_stubbed :supervisor }
+ let(:user) do
+ build_stubbed :supervisor, display_name: "Supervisor's name",
+ email: "supervisor&email@test.com"
+ end
it "renders the correct Role name on th... | chore: ensure user attributes to be escaped in sidebar spec | null | rubyforgood/casa | MIT License | Ruby |
@@ -718,7 +718,11 @@ class CardComponentTests: XCTestCase {
}
func testAddressNL() throws {
- let method = CardPaymentMethod(type: "bcmc", name: "Test name", fundingSource: .credit, brands: ["visa", "amex", "mc"])
+ // Given
+ let method = CardPaymentMethod(type: "bcmc",
+ name: "Test name",
+ fundingSource: .credit,
+... | chore: Update testAddressUS test | null | adyen/adyen-ios | MIT License | Swift |
@@ -1040,10 +1040,6 @@ void NativeWindowViews::SetSkipTaskbar(bool skip) {
taskbar->AddTab(GetAcceleratedWidget());
taskbar_host_.RestoreThumbarButtons(GetAcceleratedWidget());
}
-#elif defined(USE_OZONE_PLATFORM_X11)
- if (IsX11())
- SetWMSpecState(static_cast<x11::Window>(GetAcceleratedWidget()), skip,
- x11::GetAtom... | chore: remove unsupported skiptaskbar linux impl | null | electron/electron | MIT License | C++ |
@@ -89,8 +89,8 @@ public final class BoletoComponent: PaymentComponent, PresentableComponent, Loca
}
/// :nodoc:
- private lazy var formComponent: BoletoFormComponent = {
- let component = BoletoFormComponent(
+ private lazy var formComponent: FormComponent = {
+ let component = FormComponent(
paymentMethod: paymentMet... | chore: Rename BoletoFormComponent to BoletoComponent.FormComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -878,7 +878,6 @@ defmodule Ash.Changeset do
default: :create,
doc: """
instructions for handling records where no matching record existed in the relationship
-
* `:create`(default) - the records are created using the destination's primary create action
* `{:create, :action_name}` - the records are created using the ... | chore: update doc formatting | null | ash-project/ash | MIT License | Elixir |
@@ -148,6 +148,7 @@ class Client {
RowStream Read(std::string table, KeySet keys,
std::vector<std::string> columns,
ReadOptions read_options = {});
+
/**
* @copydoc Read
*
@@ -158,6 +159,7 @@ class Client {
std::string table, KeySet keys,
std::vector<std::string> columns,
ReadOptions read_options = {});
+
/**
* @copydo... | chore: consistent whitespace usage for client.h (googleapis/google-cloud-cpp-spanner#1314) | null | googleapis/google-cloud-cpp | Apache License 2.0 | C |
@@ -69,13 +69,6 @@ impl ParticleDataStore {
Ok(())
}
-
- pub fn log_data(&self, key: &str) {
- let data_path = self.data_file(key);
- let data = std::fs::read(&data_path).unwrap_or_default();
-
- log::info!("prev_data for {} is {}", key, base64::encode(&data));
- }
}
const EXECUTION_TIME_THRESHOLD: Duration = Duration:... | chore: remove prev_data logging | null | fluencelabs/fluence | Apache License 2.0 | Rust |
@@ -80,9 +80,17 @@ export function MediaPicker({ onSelect, close, ...props }: MediaRequest) {
})
const cms = useCMS()
- useEffect(() => {
+ const loadMedia = () => {
cms.media.list({ offset, limit, directory }).then(setList)
- }, [offset, limit, directory])
+ }
+
+ useEffect(loadMedia, [offset, limit, directory])
+
+ u... | chore(tinacms): refresh media list after upload | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -129,7 +129,7 @@ class TartifletteVisitor(Visitor):
def _on_field_in(
self, element: _VisitorElement, *_args, type_cond_depth=-1, **_kwargs
- ):
+ ): # pylint: disable=too-many-locals
self.field_path.append(element.name)
self._depth = self._depth + 1
type_cond = _compute_type_cond(
| chore(pylint): Disable too-many-locals on on_field_in, it needs a whole refac | null | tartiflette/tartiflette | MIT License | Python |
@@ -11,12 +11,12 @@ import { VNode } from 'vue/types'
export default Vue.extend({
name: 'v-tabs-slider',
+ functional: true,
+
props: {
color: String,
},
- functional: true,
-
render (h, { props }): VNode {
return h('div', Colorable.options.methods.setBackgroundColor(props.color, {
staticClass: 'v-tabs-slider',
| chore(VTabsSlider): fix lint error | null | vuetifyjs/vuetify | MIT License | TypeScript |
@@ -13,14 +13,7 @@ CYPRESS_VENDOR_FOLDER="$CYPRESS_ROOT_FOLDER/vendor"
export E2ES_TO_RUN="$CYPRESS_B2C_FOLDER/checkout/checkout-flow.core-e2e-spec.ts,
-$CYPRESS_B2C_FOLDER/homepage/homepage.core-e2e-spec.ts,
-$CYPRESS_B2C_FOLDER/user_access/register.core-e2e-spec.ts,
-$CYPRESS_B2C_FOLDER/product-search/product-search.... | chore: Minimize number of e2es being run on ccv2 | null | sap/spartacus | Apache License 2.0 | Shell |
@@ -82,6 +82,8 @@ public class HibernateProgramInstanceStore
extends SoftDeleteHibernateObjectStore<ProgramInstance>
implements ProgramInstanceStore
{
+ private final static String STATUS = "status";
+
private static final Set<NotificationTrigger> SCHEDULED_PROGRAM_INSTANCE_TRIGGERS =
Sets.intersection(
NotificationTri... | chore: address sonarqube issue | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -316,12 +316,12 @@ let package = Package(
.package(
name: "ClientRuntime",
url: "https://github.com/awslabs/smithy-swift.git",
- .exact("0.1.3")
+ .exact("0.1.4")
),
.package(
name: "AWSSwiftSDK",
url: "https://github.com/awslabs/aws-sdk-swift",
- .exact("0.1.3")
+ .exact("0.1.4")
),
.package(
name: "CwlPrecondition... | chore: bump swift sdk and clientruntime version to support Swift 5.6 | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -66,11 +66,11 @@ public class FrontendTools {
* the installed version is older than {@link #SUPPORTED_NODE_VERSION}, i.e.
* {@value #SUPPORTED_NODE_MAJOR_VERSION}.{@value #SUPPORTED_NODE_MINOR_VERSION}.
*/
- public static final String DEFAULT_NODE_VERSION = "v18.12.1";
+ public static final String DEFAULT_NODE_VERSI... | chore: Upgrade default Node to 18.13.0 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -63,7 +63,7 @@ class JobTaskDetailPage extends React.Component {
if (!task) {
return (
<Trans>
- Either the data related to that task have already been cleaned up or
+ Either the data related to that task has already been cleaned up or
the given task-id does not exist.
</Trans>
);
| chore: spelling | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -342,7 +342,11 @@ defmodule Ash.Policy.Authorizer do
end
def validate_condition(conditions) when is_list(conditions) do
- {:ok, Enum.map(conditions, &validate_check/1)}
+ {:ok,
+ Enum.map(conditions, fn condition ->
+ {:ok, v} = condition |> validate_check()
+ v
+ end)}
end
@doc false
| chore: fix validate condition again | null | ash-project/ash | MIT License | Elixir |
@@ -130,20 +130,18 @@ class FileChooserDialog {
base::FilePath GetFileName() const {
gchar* filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog_));
- base::FilePath path = AddExtensionForFilename(filename);
+ const base::FilePath path(filename);
g_free(filename);
return path;
}
std::vector<base::FilePath> ... | chore: remove FileChooser AddExtensionForFilename | null | electron/electron | MIT License | C++ |
@@ -5,7 +5,7 @@ use interbtc_runtime::{
AccountId, AuraConfig, BTCRelayConfig, Balance, CurrencyId, FeeConfig, GenesisConfig, IssueConfig,
NominationConfig, OracleConfig, ParachainInfoConfig, RedeemConfig, RefundConfig, ReplaceConfig, SecurityConfig,
Signature, StatusCode, SudoConfig, SystemConfig, TokensConfig, VaultR... | chore: remove endowment for non-standalone deployments | null | interlay/interbtc | Apache License 2.0 | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.