diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -33,10 +33,32 @@ else
exit 1
fi
-for x in curl cut tar gzip sudo; do
+for x in cut tar gzip sudo; do
which $x > /dev/null || (echo "Unable to continue. Please install $x before proceeding."; exit 1)
done
+DISTRO=$(cat /etc/issue /etc/system-release /etc/redhat-release /etc/os-release 2>/dev/null | grep -m 1 -Eo "(Ub... | chore(install): prompt and install curl if needed | null | newrelic/newrelic-cli | Apache License 2.0 | Shell |
#! /bin/bash
+# APPEARS TO BROKEN DO NOT USE
# This script will find the category and difficulty of each scenario and add these values to new fields in the tasks.yaml.
-for dir in simulation-scripts/scenario/*/; do
- echo "${dir}"
- category=$(echo "${dir}" | cut -f3 -d"/" | cut -f1 -d"-")
- difficulty=$(grep Difficult... | chore: comment out broken script | null | kubernetes-simulator/simulator | Apache License 2.0 | Shell |
@@ -160,6 +160,7 @@ from jina.clients import Client
from jina.clients.asyncio import AsyncClient
# Executor
+from jina.executors import BaseExecutor as Executor
from jina.executors.classifiers import BaseClassifier as Classifier
from jina.executors.crafters import BaseCrafter as Crafter
from jina.executors.encoders imp... | chore(docs): add daemon to README | null | jina-ai/jina | Apache License 2.0 | Python |
import React from 'react'
import { Link } from 'gatsby'
import classnames from 'classnames'
-import blogPaginationStyle from './blog-pagination.module.scss'
+import Container from '~components/common/container'
+
import doubleCaret from '~images/icons/double-caret.svg'
import doubleCaretInactive from '~images/icons/dou... | chore(blog-pagination): rename disabled -> inactive, use Container | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -243,8 +243,8 @@ describe('test peripheralDevice general API methods', () => {
})
testInFiber('getTimeDiff', async () => {
- const now = getCurrentTime()
const response = await MeteorCall.peripheralDevice.getTimeDiff()
+ const now = getCurrentTime()
expect(response).toBeTruthy()
expect(response.currentTime).toBeGrea... | chore: make test slightly more reliable | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -67,9 +67,9 @@ func TestSyntheticsSimpleBrowserMonitor_Basic(t *testing.T) {
Status: SyntheticsMonitorStatus(SyntheticsMonitorStatusTypes.ENABLED),
Tags: []SyntheticsTag{
{
- Key: "Name",
+ Key: "pineapple",
Values: []string{
- "synthetics",
+ "pizza",
},
},
},
@@ -122,9 +122,9 @@ func TestSyntheticsSimpleBrowserMon... | chore: remove Name key from tags | null | newrelic/newrelic-client-go | Apache License 2.0 | Go |
@@ -114,11 +114,10 @@ impl<'a> ToTokens for TemplateRenderer<'a> {
};
let spndbg = format!("{:?}", self.roots[0].span());
- let root_col = if spndbg.len() >= 9 {
- spndbg[9..].split("..").next().unwrap()
- } else {
- ""
- };
+ let root_col = spndbg
+ .rsplit_once("..")
+ .and_then(|(_, after)| after.split_once(')').map... | chore: use safe span split | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -13,6 +13,7 @@ use futures::channel::mpsc::{channel, Receiver, Sender};
use libipld::cid::Codec;
pub use libipld::ipld::Ipld;
pub use libp2p::{identity::Keypair, Multiaddr, PeerId};
+use std::fmt;
use std::future::Future;
use std::marker::PhantomData;
@@ -85,8 +86,6 @@ pub struct IpfsOptions<Types: IpfsTypes> {
pub ... | chore: move use std::fmt with others | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -6,7 +6,7 @@ defmodule AndiWeb.Router do
"style-src 'self' 'unsafe-inline' 'unsafe-eval' https://fonts.googleapis.com;" <>
"script-src 'self' 'unsafe-inline' 'unsafe-eval';" <>
"font-src https://fonts.gstatic.com data: 'self';" <>
- "img-src 'self' #{System.get_env("ANDI_LOGO_URL")} data:;"
+ "img-src 'self' #{Syste... | chore(789): call both env variables | null | urbanos-public/smartcitiesdata | Apache License 2.0 | Elixir |
@@ -16,6 +16,40 @@ limitations under the License.
package auth
+var maintenanceMethods = map[string]struct{}{
+ "Get": {},
+ "VerifiableGet": {},
+ "StreamGet": {},
+ "StreamVerifiableGet": {},
+ "GetAll": {},
+ "ZScan": {},
+ "StreamZScan": {},
+ "VerifiableTxByID": {},
+ "IScan": {},
+ "Scan": {},
+ "StreamScan": {},... | chore(pkg/auth): list of supported operations in maintenance mode | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -30,10 +30,9 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
+import org.mockito.MockedStatic;
import org.mockito.Mockito;
-import org.powermock.api.mockito.PowerMockito;
-import org.powermock.core.classloader.annotations.PrepareForTest;
-import org.powermo... | chore(project): jdk17 support | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -1748,7 +1748,6 @@ impl<T: UserEvent> RuntimeHandle<T> for WryHandle<T> {
}
#[cfg(all(windows, feature = "system-tray"))]
- /// Deprecated. (not needed anymore)
fn remove_system_tray(&self) -> Result<()> {
send_user_message(&self.context, Message::Tray(TrayMessage::Close))
}
| chore: remove outdated comment [skip ci] | null | tauri-apps/tauri | Apache License 2.0 | Rust |
@@ -112,6 +112,12 @@ namespace ChatApp.Server
var exporter = configuration.GetValue<string>("UseExporter").ToLowerInvariant();
foreach (var service in BackendActivitySources.ExtraActivitySourceNames)
{
+ // TODO: Known issue for Linux
+ // - Windows work as expected.
+ // - Linux has issues.
+ // - Linux could not iden... | chore: add memo for known issue | null | cysharp/magiconion | MIT License | C# |
@@ -4,6 +4,7 @@ module.exports = function(api) {
return {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: [
+ '@babel/plugin-transform-runtime',
['@babel/plugin-proposal-object-rest-spread', { loose: true }],
'@babel/plugin-proposal-class-properties',
'babel-plugin-styled-components',
| chore(other): add back transform runtime after workaround | null | telus/tds-core | MIT License | JavaScript |
@@ -1880,7 +1880,6 @@ impl tari_rpc::base_node_server::BaseNode for BaseNodeGrpcServer {
) -> Result<Response<Self::GetConstitutionsStream>, Status> {
let report_error_flag = self.report_error_flag();
let request = request.into_inner();
- println!("{:?}", request);
let dan_node_public_key = PublicKey::from_bytes(&reque... | chore(base-node): remove prints from grpc | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -9,6 +9,7 @@ import (
"strings"
"github.com/bwesterb/go-atum"
+ "github.com/getsentry/raven-go"
"github.com/go-errors/errors"
"github.com/privacybydesign/gabi"
"github.com/privacybydesign/gabi/big"
@@ -398,6 +399,7 @@ func (session *session) sendResponse(message interface{}) {
log, err = session.createLogEntry(messa... | chore: report log entry creation errors | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -8,7 +8,6 @@ import frappe
import frappe.desk.form.load
import frappe.desk.form.meta
from frappe import _
-from frappe.core.doctype.file.file import extract_images_from_html
from frappe.core.doctype.file.utils import extract_images_from_html
from frappe.desk.form.document_follow import follow_document
| chore: Avoid overwriting imports | null | frappe/frappe | MIT License | Python |
@@ -48,7 +48,7 @@ internal final class SlideInPresentationAnimator: NSObject, UIViewControllerAnim
completion: { finished in
transitionContext.completeTransition(finished)
})
- containerView.adyen.animateKeyframes(context: context)
+ containerView.adyen.animate(context: context)
}
}
| chore: fixes the build | null | adyen/adyen-ios | MIT License | Swift |
@@ -462,7 +462,7 @@ sub_info_get()
template_path_encode=$(urlencode "$template_path")
[ -n "$key_match_param" ] && key_match_param="(?i)$(urlencode "$key_match_param")"
[ -n "$key_ex_match_param" ] && key_ex_match_param="(?i)$(urlencode "$key_ex_match_param")"
- subscribe_url_param="?target=clash&new_name=true&url=$sub... | chore: update sub_ini.list | null | vernesong/openclash | MIT License | Shell |
@@ -54,18 +54,23 @@ func main() {
original := trimBranch(string(out))
- testFunc := run
+ testFunc := func(_ string) error {
+ return run(orbconfig)
+ }
+
if graphiteURL != "" {
- testFunc = graphite(
+ testFunc = func(branch string) error {
+ return graphite(
strings.ToLower(strings.ReplaceAll(strings.Split(strings.Sp... | chore: trim branches | null | caos/orbos | Apache License 2.0 | Go |
@@ -72,6 +72,7 @@ pub enum Response<'a> {
Error { id: u64, jsonrpc: &'a str, error: JsonRpcError },
}
+#[allow(unused)]
impl Response<'_> {
pub fn id(&self) -> u64 {
match self {
| chore: silence unused warnings | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -315,19 +315,10 @@ internal extension OneTapFlowModel {
}
func needCreateOptionalToken() -> Bool {
- guard let paymentMethod = self.paymentData.getPaymentMethod() else {
- return false
- }
-
- guard let paymentOptionSelected = paymentOptionSelected else {
- return false
- }
-
- if !readyToPay {
- return false
- }
-
... | chore: Joined coinditions as suggested | null | mercadopago/px-ios | MIT License | Swift |
@@ -19,6 +19,9 @@ public class NavmapView : MonoBehaviour
Transform mapRendererMinimapParent;
Vector3 atlasOriginalPosition;
+ // TODO: Remove this bool once we finish the feature
+ bool enabledInProduction = false;
+
void Start()
{
closeButton.onClick.AddListener(() => { ToggleNavMap(); });
@@ -34,6 +37,10 @@ void Tog... | chore: add navmap production environment toggle | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -32,7 +32,7 @@ public final class FormPostalCodeItem: FormTextItem {
localizationParameters)
validator = LengthValidator(minimumLength: 0, maximumLength: 30)
} else {
- title = localizedString(.cardCvcItemTitle, localizationParameters)
+ title = localizedString(.postalCodeFieldTitle, localizationParameters)
validato... | chore: fix postal code title | null | adyen/adyen-ios | MIT License | Swift |
-use dioxus::prelude::*;
-use dioxus_html::on::{FocusData, KeyboardData, MouseData, WheelData};
-use std::sync::Arc;
+use dioxus::{events::*, prelude::*};
fn main() {
dioxus::desktop::launch(app);
@@ -8,31 +6,31 @@ fn main() {
#[derive(Debug)]
enum Event {
- MouseMove(Arc<MouseData>),
- MouseClick(Arc<MouseData>),
- Mo... | chore: clean up all_events example | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -117,7 +117,7 @@ html_show_copyright = False
linkcheck_ignore = [
'https://crates.io/crates/dredd-hooks', # https://github.com/sphinx-doc/sphinx/pull/5140
# Exclude Dredd repository links, because they are checked
- # as a part of another script.
+ # by "_extensions/ghlink_check.py".
r'https?://github\.com/apiaryio/... | chore: points to the Python check script in "conf.py" | null | apiaryio/dredd | MIT License | Python |
@@ -2674,6 +2674,13 @@ public class DatabaseChangelog2 {
mongockTemplate.updateMulti(query, update, PermissionGroup.class);
}
+ @ChangeSet(order = "040", id = "delete-permissions-in-permissionGroups", author = "")
+ public void deletePermissionsInPermissionGroups(MongockTemplate mongockTemplate) {
+ Query query = new Q... | chore: Deleting the permissions array from PermissionGroup collection | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -144,7 +144,7 @@ impl ValidatingMockServer {
let (done_tx, done_rx) = std::sync::mpsc::channel::<()>();
tokio::spawn(async move {
- dbg!(server_future.await);
+ server_future.await;
let _ = done_tx.send(());
});
| chore: remove accidental debug statement | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -20,14 +20,27 @@ ROOT=$( dirname "$DIR" )
# Work from the project root.
cd $ROOT
+# Prevent it from overriding files.
+# We recommend that sample authors use their own service account files and cloud project.
+# In that case, they are supposed to prepare these files by themselves.
+if [[ -f "testing/test-env.sh" ]] ... | chore(py-library): update decrypt secrets file | null | googleapis/synthtool | Apache License 2.0 | Shell |
@@ -140,7 +140,8 @@ class AlwaysOnAlert(AlertGenerator):
def _gen(size, cluster):
return [newAlert(
self._labels(instance="server{}".format(i), cluster=cluster,
- severity="info", job="node_exporter", region="US"),
+ severity="info", job="node_exporter", region="US",
+ repo="http://github.com/prymitive/karma"),
self._a... | chore(demo): add links in annotations | null | prymitive/karma | Apache License 2.0 | Python |
@@ -219,6 +219,9 @@ Transaction MakeSingleUseTransaction(T&& opts) {
}
template <typename Functor>
+// Pass `txn` by value, despite being used only once. This avoids the
+// possibility of `txn` being destroyed by `f` before `Visit()` can
+// return. Therefore, ...
// NOLINTNEXTLINE(performance-unnecessary-value-param)... | chore: explain use of "performance-unnecessary-value-param" (googleapis/google-cloud-cpp-spanner#1244) | null | googleapis/google-cloud-cpp | Apache License 2.0 | C |
@@ -56,7 +56,7 @@ class DbQueryExecutedListener implements ListenerInterface
}
}
- $message = sprintf('[%s]%s', $event->time, $sql);
+ $message = sprintf('[%s][%s]%s', $event->connectionName, $event->time, $sql);
$this->logger->debug($message);
}
}
| chore: add connection name to db execute log | null | hyperf/hyperf | MIT License | PHP |
@@ -267,7 +267,7 @@ static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn)
do {
entry = readdir(handle->dir_p);
if(entry) {
- if(entry->d_type == DT_DIR) lv_snprintf(fn, MAX_PATH_LEN, "/%s", entry->d_name);
+ if(entry->d_type == DT_DIR) sprintf(fn, "/%s", entry->d_name);
else strcpy(fn, entry->d_nam... | chore(fsdrv): fix warning | null | lvgl/lvgl | MIT License | C |
@@ -6,16 +6,11 @@ ssh-keygen -t rsa -N "" -f ~/.ssh/$TF_VAR_variant
ssh-add ~/.ssh/$TF_VAR_variant
echo "Running terraform init"
-for i in {1..3}; do terraform init && break; done
+for i in {1..3}; do terraform init --upgrade && break; done
echo "Running terraform apply. This may take a while. Expect 15 minutes."
# we ... | chore: slickify terraform script | null | dcos/dcos-ui | Apache License 2.0 | Shell |
@@ -182,7 +182,7 @@ public final class ListViewController: UITableViewController {
}
extension EditingStyle {
- var tableViewEditingStyle: UITableViewCell.EditingStyle {
+ internal var tableViewEditingStyle: UITableViewCell.EditingStyle {
switch self {
case .delete:
return .delete
| chore: made EditingStyle.tableViewEditingStyle internal | null | adyen/adyen-ios | MIT License | Swift |
@@ -5,6 +5,7 @@ set -e
DEBUG=0
INSTALL=1
CLEAN_EXIT=0
+USE_PACKAGE_MANAGER=1
tempdir=""
filename=""
@@ -52,6 +53,10 @@ for arg; do
if [ "$arg" = "--no-install" ]; then
INSTALL=0
fi
+
+ if [ "$arg" = "--no-package-manager" ]; then
+ USE_PACKAGE_MANAGER=0
+ fi
done
# identify OS
@@ -103,11 +108,13 @@ log_debug "Detected ... | chore: support avoiding package managers in install script | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -279,6 +279,12 @@ fn get_etherscan_contract(address: Address, domain: &str) -> Result<String> {
if abi.starts_with("Contract source code not verified") {
eyre::bail!("Contract source code not verified: {:?}", address);
}
+ if abi.starts_with('{') && abi.contains("Max rate limit reached") {
+ eyre::bail!(
+ "Max rate... | chore: add rate limit message | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -401,7 +401,7 @@ public abstract class NodeUpdater implements FallibleCommand {
defaults.put("fork-ts-checker-webpack-plugin", "6.2.1");
defaults.put("webpack", "4.46.0");
defaults.put("webpack-cli", "4.9.2");
- defaults.put("webpack-dev-server", "4.8.1");
+ defaults.put("webpack-dev-server", "4.9.0");
defaults.put(... | chore: Upgrade to webpack-dev-server 4.9.0 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -118,8 +118,9 @@ private fun resolveRepository(
val url = URL(it.url.toURL(), testUrlPath)
with(url.openConnection() as HttpURLConnection) {
useCaches = false
- readTimeout = 5000
- connectTimeout = 5000
+ readTimeout = 30000
+ connectTimeout = 30000
+ instanceFollowRedirects = true
setRequestProperty(
"User-Agent",... | chore: increase timeouts when resolving dependencies | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Kotlin |
@@ -315,11 +315,15 @@ export class RecipesComponent extends PageComponent implements OnInit {
}
quickList(recipe: Recipe, amount: string, collectible: boolean): void {
- this.subscriptions.push(this.createQuickList(recipe, amount, collectible).subscribe(list => {
- this.listService.getRouterPath(list.$key).subscribe(pa... | chore: fix double subscription call in quickList | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
package gce
import (
- "bytes"
- "fmt"
- "io"
- "strings"
-
- "github.com/caos/orbos/internal/executables"
-
"github.com/caos/orbos/internal/operator/orbiter/kinds/clusters/core/infra"
"github.com/caos/orbos/internal/operator/orbiter/kinds/providers/core"
"github.com/caos/orbos/pkg/tree"
@@ -35,7 +28,8 @@ func (c *Curr... | chore: debug without cloud controller | null | caos/orbos | Apache License 2.0 | Go |
import { useBaseUrlUtils } from '@docusaurus/useBaseUrl';
+import useThemeContext from '@theme/hooks/useThemeContext';
import Layout from '@theme/Layout';
import React from 'react';
-import useThemeContext from '@theme/hooks/useThemeContext';
+
import ApplyForm from '../components/ApplyForm.js';
import { DocSearchLogo ... | chore(lint): lint website index | null | algolia/docsearch | MIT License | JavaScript |
@@ -14,20 +14,17 @@ internal class AnalyticsProvider: AnalyticsProviderProtocol {
// MARK: - Properties
internal var enabled = true
- internal var conversion = false
internal var telemetry = true
+ internal var conversion = false
internal let apiClient: APIClientProtocol
- internal let apiContext: APIContext
private va... | chore: Remove apiContext from AnalyticsProvider. Not necessary | null | adyen/adyen-ios | MIT License | Swift |
@@ -20,7 +20,7 @@ type Service struct {
func New(c *conf.Config) (s *Service) {
s = &Service{
c: c,
- userSvc: user.NewUserService(),
+ userSvc: user.NewUserService(c),
}
return s
}
| chore: add config param for user service New func | null | go-eagle/eagle | MIT License | Go |
@@ -21,15 +21,13 @@ export function computeOperations(oldBlockMap: BlockMap, newBlockMap: BlockMap,
const nameToOldBlocks = buildBlockFileMap(oldBlockMap.files)
const nameToNewBlocks = buildBlockFileMap(newBlockMap.files)
- const oldEntryMap = buildEntryMap(oldBlockMap.files)
-
let lastOperation: Operation | null = nul... | chore: drop code duplicates in downloadPlanBuilder.ts | null | electron-userland/electron-builder | MIT License | TypeScript |
@@ -19,7 +19,7 @@ export default function createSpark(accessToken) {
},
config: {
logger: {
- level: process.env.NODE_ENV === `production` ? undefined : `trace`
+ level: process.env.NODE_ENV === `production` ? `silent` : `trace`
},
conversation: {
allowedInboundTags: {
| chore(react-redux-spark): silence the logger in production | null | webex/react-widgets | MIT License | JavaScript |
@@ -497,11 +497,25 @@ impl<Artifacts: ArtifactOutput> Project<Artifacts> {
}
/// Removes the project's artifacts and cache file
+ ///
+ /// If the cache file was the only file in the folder, this also removes the empty folder.
pub fn cleanup(&self) -> std::result::Result<(), SolcIoError> {
tracing::trace!("clean up pro... | chore(solc): also rm cache dir if empty | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -29,18 +29,7 @@ export function _main (userParams) {
delete globalState.deferDisposalTimer
}
- const showClass = Object.assign({}, defaultParams.showClass, userParams.showClass)
- const hideClass = Object.assign({}, defaultParams.hideClass, userParams.hideClass)
- const innerParams = Object.assign({}, defaultParams,... | chore: fix _main() method complexity | null | sweetalert2/sweetalert2 | MIT License | JavaScript |
@@ -156,11 +156,9 @@ impl OlmMachine {
let device_id = device_id.into();
let runtime = Runtime::new().expect("Couldn't create a tokio runtime");
- let store = Arc::new(
- runtime
+ let store = runtime
.block_on(matrix_sdk_sled::SledCryptoStore::open(path, passphrase.as_deref()))
- .map_err(|e| {
- match e {
+ .map_err(... | chore(bindings): Move bindings around to work around rustfmt bug | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -407,7 +407,7 @@ extension CodableTransaction {
/// - nonce: nonce for this transaction (default 0)
/// - chainID: chainId the transaction belongs to (default: type specific)
/// - value: Native value for the transaction (default 0)
- /// - data: Payload data for the transaction (required)
+ /// - data: Payload data... | chore: updated docs and removed + minor clean up | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -60,7 +60,7 @@ function setCSSRule(configRule, context, value) {
if (value) {
if (isInlineStandard || isMiniAppStandard) {
configInlineStyle(configRule);
- } {
+ } else {
// Only web need transfrom rpx to vw
configInlineStyle(configRule)
.end()
| chore: add else | null | raxjs/rax-app | MIT License | JavaScript |
@@ -11,7 +11,7 @@ let win: BrowserWindow | undefined;
function createWindow(): void {
// Create the browser window.
win = new BrowserWindow({
- width: 1800,
+ width: 1280,
height: 800,
titleBarStyle: 'hiddenInset',
title: 'Alva'
| chore(electron): set new initial window size | null | meetalva/alva | MIT License | TypeScript |
@@ -902,7 +902,8 @@ impl Db {
self: &Arc<Self>,
shutdown: tokio_util::sync::CancellationToken,
) {
- info!("started background worker");
+ let db_name = self.name();
+ info!(db_name=%db_name,"started background worker");
// object store cleanup loop
let object_store_cleanup_loop = async {
@@ -925,7 +926,7 @@ impl Db {
... | chore: add db_name to background worker log messages | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -37,8 +37,8 @@ export const FocusRing = styled.div<FocusRingProps>(
content: '';
display: block;
position: absolute;
- left: calc(-1 * ${p.offset ? p.offset : '16'}px);
- top: calc(-1 * ${p.offset ? p.offset : '16'}px);
+ left: calc(-1 * ${p.offset !== undefined ? p.offset : '16'}px);
+ top: calc(-1 * ${p.offset !==... | chore: change undefined logic | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -7,12 +7,6 @@ const addApplePaySessionToChrome = () => {
static STATUS_SUCCESS = 1;
static STATUS_FAILURE = 2;
- // static STATUS_INVALID_BILLING_POSTAL_ADDRESS = 3;
- // static STATUS_INVALID_SHOPPING_CONTACT = 4;
- // static STATUS_INVALID_SHOPPING_POSTAL_ADDRESS = 5;
- // static STATUS_PIN_INCORRECT = 6;
- // sta... | chore(payment): remove comments | null | bigcommerce/checkout-js | MIT License | JavaScript |
@@ -52,12 +52,11 @@ internal final class FormCardNumberItemView: FormTextItemView<FormCardNumberItem
/// Logo view for the brand(s) icons and selection for dual-branded cards.
internal lazy var detectedBrandsView: DualBrandView = {
- let cardTypeLogosView = DualBrandView(style: item.style.icon)
+ let cardTypeLogosView ... | chore: make `onBrandSelection` non optional | null | adyen/adyen-ios | MIT License | Swift |
@@ -6,7 +6,7 @@ import { Lazy } from "lazy-val"
import * as path from "path"
import { Configuration } from "../configuration"
import { BeforeCopyExtraFilesOptions, Framework, PrepareApplicationStageDirectoryOptions } from "../Framework"
-import { ElectronPlatformName, Packager, Platform } from "../index"
+import { Pack... | chore: Remove redundant import of ElectronPlatformName | null | electron-userland/electron-builder | MIT License | TypeScript |
@@ -199,7 +199,7 @@ func (b *Buffer) Int128() (Int128, error) {
return v, nil
}
-// Int256 decodes 256-bit unsigned integer from Buffer.
+// Int256 decodes 256-bit signed integer from Buffer.
func (b *Buffer) Int256() (Int256, error) {
v := Int256{}
size := len(v)
| chore(bin): fix typo | null | gotd/td | MIT License | Go |
-<?php
-/**
- * Class Google\Site_Kit\Core\Util\Deactivation
- *
- * @package Google\Site_Kit
- * @copyright 2019 Google LLC
- * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
- * @link https://sitekit.withgoogle.com
- */
-
-namespace Google\Site_Kit\Core\Util;
-
-/**
- * Class handling plugin ... | chore: Remove Deactivation class file | null | google/site-kit-wp | Apache License 2.0 | PHP |
defmodule Realtime.MixProject do
use Mix.Project
+ @version "0.7.5"
+ @elixir "~> 1.5"
+
def project do
[
app: :realtime,
- version: "0.7.1",
- elixir: "~> 1.5",
+ version: @version,
+ elixir: @elixir,
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env(... | chore: Bump to 0.7.5 | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -9,7 +9,7 @@ import (
)
const (
- version = "0.0.11"
+ version = "0.0.12"
)
var (
| chore: optimize get query for GET method | null | go-eagle/eagle | MIT License | Go |
@@ -81,6 +81,7 @@ void on_static(struct discord *client, const struct discord_message *msg)
.description = "Multi-REST Api library",
.url = "https://github.com/cee-studio/orca",
.color = 3447003,
+ .timestamp = discord_timestamp(client),
.footer =
&(struct discord_embed_footer){
.text = "github.com/cee-studio/orca",
@@... | chore(examples/bot-embed.c): demonstrate with timestamp | null | cee-studio/orca | MIT License | C |
@@ -114,6 +114,12 @@ public protocol AuthCategoryBehavior: AuthCategoryUserBehavior, AuthCategoryDevi
options: AuthConfirmSignInOperation.Request.Options?,
listener: AuthConfirmSignInOperation.ResultListener?) -> AuthConfirmSignInOperation
+ /// Sign out the currently logged-in user.
+ ///
+ /// - Parameters:
+ /// - o... | chore: add missing doc comment to Auth signOut API | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -63,8 +63,8 @@ public extension Data {
static func fromHex(_ hex: String) -> Data? {
let string = hex.lowercased().stripHexPrefix()
let array = Array<UInt8>(hex: string)
- if (array.count == 0) {
- if (hex == "0x" || hex == "") {
+ if array.count == 0 {
+ if hex == "0x" || hex == "" {
return Data()
} else {
return n... | chore: removed parenthesis | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -84,8 +84,8 @@ module Twilio
[TASK_ROUTER_BASE_URL, TASK_ROUTER_VERSION, 'Workspaces'].join('/')
end
- def self.workspace(worskspace_sid)
- [TASK_ROUTER_BASE_URL, TASK_ROUTER_VERSION, 'Workspaces', worskspace_sid].join('/')
+ def self.workspace(workspace_sid)
+ [TASK_ROUTER_BASE_URL, TASK_ROUTER_VERSION, 'Workspaces... | chore: Fix a typo in JWT::TaskRouterUtils | null | twilio/twilio-ruby | MIT License | Ruby |
if (urlIsImageData(src)) {
return reportInvalidImageType(scope);
}
+
+ if (src) {
var googleImagesCheck = src.match(GOOG_IMG_REGEX);
if (googleImagesCheck) {
var googleImagesUrl = googleImagesCheck[1];
var googleImgsUrlParms = parseUrl(googleImagesUrl);
data = googleImgsUrlParms.imgurl;
}
+ try {
if (!data) {
var baidu... | chore: Avoid errors with unexpected input for drop targets | null | ibm/taxinomitis | Apache License 2.0 | JavaScript |
@@ -316,6 +316,14 @@ impl Index {
self.cache.load().schema.clone()
}
+ pub fn synonyms_index(&self) -> SynonymsIndex {
+ self.synonyms_index.clone()
+ }
+
+ pub fn synonyms_set(&self) -> Arc<fst::Set> {
+ self.cache.load().synonyms.clone()
+ }
+
pub fn custom_settings(&self) -> CustomSettingsIndex {
self.custom_setting... | chore: export a getter for synonyms | null | meilisearch/meilisearch | MIT License | Rust |
-import { DzCodeThemeProvider, FaqCard, Grid, Typography } from "@dzcode.io/ui";
+import { FaqCard } from "@dzcode.io/ui/dist/faq-card";
+import { Grid } from "@dzcode.io/ui/dist/grid";
+import { ThemeProvider } from "@dzcode.io/ui/dist/theme/theme-provider";
+import { Typography } from "@dzcode.io/ui/dist/typography";... | chore: rework faq page to support new folder stucture | null | dzcode-io/dzcode.io | MIT License | TypeScript |
@@ -116,6 +116,13 @@ swift package update
DERIVED_DATA_PATH=.build
+MAX_ATTEMP=3
+ATTEMPT=0
+while [ -z $SUCCESS ] && [ "$ATTEMPT" -le "$MAX_ATTEMP" ]; do
+ xcodebuild clean -scheme $PROJECT_NAME -destination 'generic/platform=iOS' | grep -q "CLEAN SUCCEEDED" && SUCCESS=true
+ ATTEMPT=$(($ATTEMPT+1))
+done
+
# Generate... | chore: fix PIF cache issue on SPM | null | adyen/adyen-ios | MIT License | Shell |
@@ -10,17 +10,17 @@ describe('relativeToFile', () => {
});
it('can make a dot path relative to an absolute file', () => {
- const file = 'http://durandal.io/some/file.html';
+ const file = 'http://aurelia.io/some/file.html';
const path = './other/module';
- expect(relativeToFile(path, file)).to.equal('http://durandal.i... | chore(kernel): rename durandal to aurelia | null | aurelia/aurelia | MIT License | TypeScript |
@@ -1194,7 +1194,7 @@ fn op_ffi_get_static<'scope>(
) -> Result<serde_v8::Value<'scope>, AnyError> {
let resource = state.resource_table.get::<DynamicLibraryResource>(rid)?;
- let data_ptr = resource.get_static(name)? as *const u8;
+ let data_ptr = resource.get_static(name)?;
Ok(match static_type {
NativeType::Void => ... | chore(ext/ffi): Improve FFI static handling | null | denoland/deno | MIT License | Rust |
@@ -18,7 +18,8 @@ xcodebuild archive -project Adyen.xcodeproj \
-archivePath $BUILD_PATH/AdyenUIHost.xcarchive \
-allowProvisioningUpdates \
-authenticationKeyID $XCODE_AUTHENTICATION_KEY_ID \
--authenticationKeyIssuerID $XCODE_AUTHENTICATION_KEY_ISSUER_ID
+-authenticationKeyIssuerID $XCODE_AUTHENTICATION_KEY_ISSUER_ID... | chore: add key path back | null | adyen/adyen-ios | MIT License | Shell |
set -e # exit with nonzero exit code if anything fails
-echo "hi"
+# set username and email so git knows who we are
+git config user.name "ai-apps-pal-bot"
+git config user.email "carbon@us.ibm.com"
if [[ $GITHUB_REF =~ "master" ]]; then
# graduate the relase with --conventional-graduate
lerna version --conventional-co... | chore: set git name/email and try from-git | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | Shell |
@@ -38,7 +38,7 @@ var ErrTableAlreadyExists = errors.New("table already exists")
var ErrTableDoesNotExist = errors.New("table does not exist")
var ErrColumnDoesNotExist = errors.New("column does not exist")
var ErrColumnNotIndexed = errors.New("column is not indexed")
-var ErrInvalidPK = errors.New("primary key of inva... | chore(embedded/sql): fix primary key supported types error message | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -310,18 +310,6 @@ create_or_update_lesson(
repo: 'curriculum'
)
-lesson_position += 1
-create_or_update_lesson(
- title: "Advanced Associations",
- title_url: "Advanced Associations".parameterize,
- description: "Exercise those association muscles to finish up the tutorial like a pro.",
- position: lesson_position,
... | chore: Remove Advanced Associations Project | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -28,12 +28,13 @@ import io.questdb.std.BinarySequence;
import io.questdb.std.Chars;
import io.questdb.std.Files;
import io.questdb.std.Unsafe;
+import io.questdb.std.str.Path;
import org.junit.Assert;
-import sun.nio.ch.DirectBuffer;
-import java.io.*;
-import java.nio.ByteBuffer;
-import java.nio.channels.FileChann... | chore: got rid of DirectBuffer for good | null | questdb/questdb | Apache License 2.0 | Java |
@@ -93,10 +93,6 @@ public class HistoricVariableInstanceDto extends VariableValueDto {
return state;
}
- public void setState(String state) {
- this.state = state;
- }
-
public static HistoricVariableInstanceDto fromHistoricVariableInstance(HistoricVariableInstance historicVariableInstance) {
HistoricVariableInstanceDt... | chore(rest): remove HistoricVariableInstanceDto#setState() | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -37,7 +37,7 @@ const metadata = {
/**
* Defines if only the content would be displayed (without header and footer) in the popover on Desktop.
* By default both the header and footer would be displayed.
- * @protected
+ * @private
*/
contentOnlyOnDesktop: {
type: Boolean,
| chore: change property visibility | null | sap/ui5-webcomponents | Apache License 2.0 | JavaScript |
@@ -403,6 +403,9 @@ async fn test_meta_node_join_with_state() -> anyhow::Result<()> {
tc2.config.raft_config.join = vec![tc0.config.raft_config.raft_api_addr().await?.to_string()];
let meta_node = MetaNode::start(&tc0.config).await?;
+ // Initial log and add node-0 log.
+ let mut log_index = 2;
+
let res = meta_node
.j... | chore(meta): fix flaky test `test_meta_node_join_with_state()` | null | datafuselabs/databend | Apache License 2.0 | Rust |
#!/bin/sh
-cardDetails3DS2SDKVersion=$(sed -rn 's/^.*public.*let.*threeDS2SdkVersion.*:.*String.*=.*"([0-9]+.[0-9].[0-9]+)".*$/\1/p' AdyenCard/Components/Card/ThreeDS2SdkVersion.swift)
-cocoapods3DS2SDKVersion=$(sed -rn "s/^.*dependency.*\'Adyen3DS2'.*,.*'([0-9]+.[0-9].[0-9]+)'.*$/\1/p" Adyen.podspec)
-carthage3DS2SDKV... | chore: fixed the validate-3ds2-SDK-version.sh script to use sed -E instead of -r | null | adyen/adyen-ios | MIT License | Shell |
@@ -88,6 +88,9 @@ func (cl *commandline) interactiveCli(cmd *cobra.Command) {
Aliases: []string{"cli-mode"},
Example: cli.Init(cl.immucl).HelpMessage(),
RunE: func(cmd *cobra.Command, args []string) error {
+ if err := cl.immucl.Connect(args); err != nil {
+ cl.quit(err)
+ }
cli.Init(cl.immucl).Run()
return nil
},
| chore(cmd/immuclient): fix panic in immuclient cli mode | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -92,29 +92,21 @@ class ST20AndSecurityTokenTests: XCTestCase {
func testSecurityTokenInvestors() async throws {
let expectedNumberOfInvestors = BigUInt.randomInteger(lessThan: BigUInt(10000000000))
-// let expectedInvestors = [EthereumAddress("0xe22b8979739D724343bd002F9f432F5990879901")!,EthereumAddress("0x2dD33957... | chore: removed commented out case from SecurityToken test | null | skywinder/web3swift | Apache License 2.0 | Swift |
-<div class="fixed z-50 inset-0 flex items-end justify-center px-4 py-6
+@props(['zIndex' => 'z-50'])
+
+<div class="fixed {{ $zIndex }} inset-0 flex items-end justify-center px-4 py-6
pointer-events-none sm:p-5 sm:pt-4 sm:items-start sm:justify-end"
x-data="{
defaultIcons: ['success', 'error', 'warning', 'info', 'ques... | chore: add z-index prop | null | wireui/wireui | MIT License | PHP |
@@ -21,14 +21,10 @@ internal final class AddressFormItemInjector: FormItemInjector, Localizable {
private let initialCountry: String
/// :nodoc:
- internal lazy var item: FormAddressItem = {
- let item = FormAddressItem(initialCountry: initialCountry,
+ internal lazy var item = FormAddressItem(initialCountry: initialCo... | chore: Use var instead of closured variable | null | adyen/adyen-ios | MIT License | Swift |
@@ -30,7 +30,7 @@ namespace CompressImagesFunction
var installationTokenProvider = new InstallationTokenProvider();
var repoChecks = new RepoChecks();
var task = RunAsync(installationTokenProvider, compressImagesMessage, openPrMessages, compressImagesMessages, settingsTable, repoChecks, logger, context);
- if (await Ta... | chore: increased task timeout to be greater than individual image timeout | null | imgbot/imgbot | MIT License | C# |
# |source| this file
+if [[ -n $TRAVIS ]]; then
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main"
sudo apt-get update
@@ -8,7 +9,13 @@ sudo apt-get install -y openssl --allow-unauthenticated
sudo apt-get inst... | chore: differentiate between Travis and Github Actions before install | null | solana-labs/solana-web3.js | MIT License | Shell |
@@ -16,7 +16,7 @@ git clone --quiet --branch=apk https://fossasia:$GITHUB_API_KEY@github.com/fossa
cd apk
if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then
- rm -rf *
+ rm -rf pslab-master*
else
rm -rf pslab-dev*
fi
@@ -25,32 +25,37 @@ find ../app/build/outputs -type f \( -name "*.aab" -o -name "*.apk" \) -exec cp
if ... | chore: updating upload script | null | fossasia/pslab-android | Apache License 2.0 | Shell |
@@ -193,10 +193,6 @@ public class DbSqlSessionFactory implements SessionFactory {
addDatabaseSpecificStatement(mysqlLikeDatabase, "deleteHistoricIncidentsByBatchIds", "deleteHistoricIncidentsByBatchIds_mysql");
// related to CAM-9505
- addDatabaseSpecificStatement(mysqlLikeDatabase, "updateIncident", "updateIncident_my... | chore(engine): delete not needed db specific statements | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
package template
import (
- "bytes"
"os"
"path/filepath"
"testing"
- "github.com/shurcooL/go/ioutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
@@ -27,7 +25,8 @@ func TestLoadTextTemplate(t *testing.T) {
t.Run("method=cache works", func(t *testing.T) {
fp := filepath.Join(os.TempDir(), x... | chore: remove incorrect dependency | null | ory/kratos | Apache License 2.0 | Go |
@@ -77,9 +77,9 @@ internal class CardViewController: FormViewController {
setupView()
setupViewRelations()
observeNumberItem()
- items.numberContainerItem.numberItem.value = "4917610000000000"
- items.expiryDateItem.value = "03/30"
- items.securityCodeItem.value = "737"
+// items.numberContainerItem.numberItem.value = ... | chore: commented out test code | null | adyen/adyen-ios | MIT License | Swift |
@@ -30,15 +30,15 @@ class QuestionnaireListAdapter(private val questionnaireList: List<Questionnaire
class ViewHolder(view: View) : RecyclerView.ViewHolder(view) {
val name: TextView = view.findViewById(R.id.questionnaire_name)
val description: TextView = view.findViewById(R.id.questionnaire_description)
- lateinit var... | chore: Update QuestionnaireListAdapter.kt to follow camel case notation | null | google/android-fhir | Apache License 2.0 | Kotlin |
@@ -24,8 +24,8 @@ MOD_ROOT=${GOPATH}/pkg/mod
export GO111MODULE=off
# protobuf tooling required to build .proto files from go annotations from k8s-like api types
-go build -i -o dist/go-to-protobuf ./vendor/k8s.io/code-generator/cmd/go-to-protobuf
-go build -i -o dist/protoc-gen-gogo ./vendor/k8s.io/code-generator/cmd/... | chore: Remove deprecated go build flag -i from protogen | null | argoproj/argo-cd | Apache License 2.0 | Shell |
/*
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
+ * under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. Camunda licenses this file to you under the Apache License,
+ * Version 2... | chore(engine): correct license header | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -10,11 +10,11 @@ then
fi
# Push the tag that was created by npm version to GitHub
-git push origin --tags
+git push origin --tags --verbose
# Create a GitHub release matching this tag
-REPO=$(git config --get remote.origin.url | sed 's/.*:\/\/github.com\///;s/.git$//')
+REPO=$(git config --get remote.origin.url | se... | chore: fix github-release script to accurately get the repo name | null | arnog/mathlive | MIT License | Shell |
@@ -56,7 +56,7 @@ func (e *Error) StatusCode() int {
switch e.Code() {
case Success.Code():
return http.StatusOK
- case InternalServerError.Code():
+ case ErrInternalServerError.Code():
return http.StatusInternalServerError
case ErrInvalidParam.Code():
return http.StatusBadRequest
@@ -66,8 +66,10 @@ func (e *Error) Sta... | chore: add err code | null | go-eagle/eagle | MIT License | Go |
#!/bin/bash
+# Based on:
+# https://github.com/react-native-community/react-native-circleci-orb
+
case $1 in
export-env)
echo 'export PATH="$PATH:/usr/local/opt/node@10/bin:~/.yarn/bin:~/project/node_modules/.bin:~/project/example/node_modules/.bin"' >> $BASH_ENV
@@ -23,7 +26,7 @@ case $1 in
sdkmanager)
yes | sdkmanage... | chore: update android setup in CircleCI | null | aws-amplify/amplify-js | Apache License 2.0 | Shell |
@@ -481,12 +481,6 @@ function prepareArrayOfPrimitivesMember(props: {
export type SanityDocument = Record<string, unknown>
-export interface FieldPresence {
- user: User
- sessionId: string
- lastActiveAt: string
-}
-
export function prepareFormProps<T extends SanityDocument>(
props: RawState<ObjectSchemaType, T>
): Ob... | chore(base): remove unused type | null | sanity-io/sanity | MIT License | TypeScript |
@@ -33,8 +33,6 @@ import com.ibm.watson.developer_cloud.assistant.v1.model.DeleteUserDataOptions;
import com.ibm.watson.developer_cloud.assistant.v1.model.DeleteWorkspaceOptions;
import com.ibm.watson.developer_cloud.assistant.v1.model.DialogNode;
import com.ibm.watson.developer_cloud.assistant.v1.model.DialogNodeColle... | chore(Assistant): Remove unused imports | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -37,7 +37,7 @@ import org.springframework.context.annotation.Configuration;
import com.google.common.collect.ImmutableList;
-@Configuration
+@Configuration( "trackerPreheatConfig" )
public class TrackerPreheatConfig
{
private final List<Class<? extends PreheatSupplier>> preheatOrder = ImmutableList.of(
| chore: add config name as per backend-wow convention | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -11,8 +11,11 @@ import com.appsmith.server.helpers.PolicyUtils;
import com.appsmith.server.helpers.UserUtils;
import com.appsmith.server.services.ConfigService;
import com.appsmith.server.services.SessionUserService;
+import com.google.gson.Gson;
import com.segment.analytics.Analytics;
+import com.segment.analytics.... | chore: Added size limit check for the message before sending the data to segment | null | appsmithorg/appsmith | 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.