diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -26,9 +26,9 @@ import (
const DefaultMaxConcurrency = 30
const DefaultMaxIOConcurrency = 1
-const DefaultMaxTxEntries = 1 << 16 // 65536
+const DefaultMaxTxEntries = 1 << 10 // 1024
const DefaultMaxKeyLen = 256
-const DefaultMaxValueLen = 1 << 20 // 1 Mb
+const DefaultMaxValueLen = 4096 // 4Kb
const DefaultFileMode ... | chore(embedded/store): changed defaults | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -51,6 +51,7 @@ class NativeSelect extends FormComponent
if (
!($this->optionValue && $this->optionLabel)
+ && $this->options->isNotEmpty()
&& !in_array(gettype($this->options->first()), self::PRIMITIVE_VALUES, true)
) {
throw new Exception(
@@ -61,6 +62,7 @@ class NativeSelect extends FormComponent
if (
($this->opti... | chore: prevent validations when data is empty | null | wireui/wireui | MIT License | PHP |
@@ -38,12 +38,6 @@ void InitializeFeatureList() {
std::string(",") +
net::features::kCookiesWithoutSameSiteMustBeSecure.name;
- // https://www.polymer-project.org/blog/2018-10-02-webcomponents-v0-deprecations
- // https://chromium-review.googlesource.com/c/chromium/src/+/1869562
- // Any website which uses older WebCom... | chore: remove no-op EnableWebComponentsV0 feature | null | electron/electron | MIT License | C++ |
-import { mocked } from 'ts-jest';
+import { mocked } from 'ts-jest/utils';
import { getWebpackConfig, preprocessTypescript } from './preprocessor';
jest.mock('@cypress/webpack-preprocessor', () => {
return jest.fn(
| chore(repo): fix preprocessor test wrong import | null | nrwl/nx | MIT License | TypeScript |
@@ -183,7 +183,7 @@ export class BaseControllerClass {
interface ControllerClass extends BaseControllerClass {
constructor(config?: ControllerOptions): void
- flush(force: boolean): void
+ flush(force?: boolean): void
updateComponents(changes: any[], force: boolean): void
}
| chore(typing): make `force` param to flush() optional | null | cerebral/cerebral | MIT License | TypeScript |
@@ -374,7 +374,7 @@ defmodule Ash.Resource.Info do
@doc """
Gets the type of an aggregate for a given resource.
"""
- @spec aggregate_type(Spark.Dsl.t() | Ash.Resource.t(), Ash.Resource.Aggregate.t() | atom) ::
+ @spec aggregate_type(Ash.Resource.t(), Ash.Resource.Aggregate.t() | atom) ::
Ash.Type.t()
def aggregate_typ... | chore: undo typespec that is complaining for some reason | null | ash-project/ash | MIT License | Elixir |
@@ -5,6 +5,7 @@ import delay from 'delay';
import {AbortController} from 'abort-controller';
import {Engine} from '..';
+import {WirePayload} from '../type-aliases';
import {MessageHandler, MessageServiceInterface} from './types';
@@ -117,9 +118,24 @@ export const createTestMessageHandler = (
throw new Error(`Invalid r... | chore: improve message logging | null | statechannels/statechannels | MIT License | TypeScript |
set -e
echo "Removing stale node_modules"
-npm run lerna exec --loglevel info -- npm prune
\ No newline at end of file
+# npm run lerna exec --loglevel info -- npm prune
+npm run lerna clean --yes
\ No newline at end of file
| chore(ci): make sure node_modules are properly cleaned up before the build | null | serenity-js/serenity-js | Apache License 2.0 | Shell |
@@ -570,15 +570,14 @@ impl MatchingContext for CoreMatchingContext {
Either::Left(rule) => {
for key in &actual_keys {
let key_path = path.join(key);
- String::default().matches_with(key, &rule, false)
- .map_err(|err| {
+ if let Err(err) = String::default().matches_with(key, &rule, false) {
result.push(Mismatch::BodyM... | chore: fix compiler warning | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -19,6 +19,9 @@ if [ -z "$CLOUDSDK_PYTHON" ]; then
fi
gcloud components install app-engine-java --quiet
+OAUTH_CLIENT_ID=$KOKORO_KEYSTORE_DIR/${KEYSTORE_CONFIG_ID}_CLIENT_ID
+OAUTH_CLIENT_SECRET=$KOKORO_KEYSTORE_DIR/${KEYSTORE_CONFIG_ID}_CLIENT_SECRET
+FIRELOG_API_KEY=$KOKORO_KEYSTORE_DIR/${KEYSTORE_CONFIG_ID}_FIRELO... | chore: use keystore reference for secrets | null | googlecloudplatform/google-cloud-eclipse | Apache License 2.0 | Shell |
@@ -222,6 +222,7 @@ public class SnomedConceptSearchRequest extends SnomedComponentSearchRequest<Sno
if (termFilter != null) {
try {
+ // XXX filtering multiple ID values via the term parameter is not supported, filterById can be used for that use case and should not be handled here unless a use case is provided for it... | chore: add comment about multiple ID matching via the term parameter.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -42,6 +42,23 @@ internal struct BalanceCheckResponse: Response {
internal enum ResultCode: String, Decodable {
case failed = "Failed"
+ case notEnoughBalance = "NotEnoughBalance"
+ case cancelled = "Cancelled"
+ case acquirerFraud = "AcquirerFraud"
+ case declined = "Declined"
+ case blockCard = "BlockCard"
+ case c... | chore: fixed BalanceCheckResponse to parse all kinds of resultCode's | null | adyen/adyen-ios | MIT License | Swift |
@@ -105,6 +105,17 @@ return [
'threshold' => 0,
+ /*
+ |--------------------------------------------------------------------------
+ | Redact Audits
+ |--------------------------------------------------------------------------
+ |
+ | Redact attribute data when auditing?
+ |
+ */
+
+ 'redact' => false,
+
/*
|----------... | chore(Auditable): add Audit redact config | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -75,7 +75,7 @@ ButtonGroupItem.propTypes = {
*/
onBlur: PropTypes.func,
/**
- * The button's label. (A11yContent supported)
+ * The button's label. It can include the `A11yContent` component or strings.
*/
children: or([PropTypes.string, componentWithName('A11yContent')]).isRequired,
| chore(core-button-group): add documentation to children prop | null | telus/tds-core | MIT License | JavaScript |
@@ -130,12 +130,7 @@ export const ValueContentPropTypes = {
export const TableCardPropTypes = {
tooltip: PropTypes.node,
title: PropTypes.string,
- size: PropTypes.oneOf([
- CARD_SIZES.MEDIUM,
- CARD_SIZES.MEDIUMWIDE,
- CARD_SIZES.LARGE,
- CARD_SIZES.LARGEWIDE,
- ]),
+ size: PropTypes.oneOf([CARD_SIZES.LARGE, CARD_SIZE... | chore(tablecard): remove unnecessary sizes from proptypes | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -32,10 +32,10 @@ export interface MatrixTestHelper<MatrixT extends TestSuiteMatrix> {
}
/**
- * Helper function for definining test matrix in a strongly typed way.
+ * Helper function for defining test matrix in a strongly typed way.
* Should be used in your _matrix.ts file. Returns a helper class, that can later be... | chore: fix typos in defineMatrix doc comment | null | prisma/prisma | Apache License 2.0 | TypeScript |
@@ -322,7 +322,7 @@ exports.Bundle = class {
}
return fs.readFile(x).then(data => {
- found = { contents: data.toString() };
+ found = { contents: data.toString(), path: x };
this.fileCache[x] = found;
return found;
}).catch(e => {
| chore(bundle): app path to file in getFileFromCacheOrLoad | null | aurelia/cli | MIT License | JavaScript |
@@ -16,6 +16,6 @@ interface BaseMarker {
export interface ValidationMarker extends BaseMarker {
type: 'validation'
- level: 'error' | 'warning'
+ level: 'error' | 'warning' | 'info'
item: ValidationError
}
| chore(markers): add info level to `ValidationMarker` type | null | sanity-io/sanity | MIT License | TypeScript |
@@ -1693,13 +1693,16 @@ public class LineTcpReceiverTest extends AbstractLineTcpReceiverTest {
}
}, "shutdown thread").start();
- for (int i = 1000; i < 1000000; i++) {
+ int i = 1000;
+ // run until throws exception or will be killed by CI
+ while (true) {
sender.metric(tableName)
.field("id", i)
.$(i * 1_000_000L);
s... | chore(ilp): fix for race condition in ILP shutdown test | null | questdb/questdb | Apache License 2.0 | Java |
@@ -77,7 +77,7 @@ trait Auditable
$this->excludedAttributes = array_merge($this->excludedAttributes, $this->hidden);
// Non visible attributes
- if (!empty($this->visible)) {
+ if ($this->visible) {
$invisible = array_diff(array_keys($this->attributes), $this->visible);
$this->excludedAttributes = array_merge($this->ex... | chore(Auditable): simplify emptiness check | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -63,7 +63,7 @@ abstract class BaseButton extends Component
?string $size = null,
?string $label = null,
?string $icon = null,
- ?string $rightIcon = null,
+ ?string $rightIcon = null
) {
$this->xs = $xs;
$this->md = $md;
| chore: remove comma | null | wireui/wireui | MIT License | PHP |
@@ -278,11 +278,16 @@ public class TelemetryReporterTest {
public void shouldSendTelemetryWithRooProcessInstanceMetrics() {
// given
managementService.toggleTelemetry(true);
+
+ ClockUtil.setCurrentTime(addHour(new Date()));
+
for (int i = 0; i < 3; i++) {
runtimeService.startProcessInstanceByKey("oneTaskProcess");
}
c... | chore(test): amend the time during telemetry tests | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -206,7 +206,7 @@ function getFileMenu(): MenuItemConstructorOptions {
type: 'separator'
},
{
- label: 'Save to Gist',
+ label: 'Publish to Gist',
click: () => ipcMainManager.send(IpcEvents.FS_SAVE_FIDDLE_GIST),
},
{
| chore: Consistent use of "publish" keyword | null | electron/fiddle | MIT License | TypeScript |
@@ -65,7 +65,7 @@ export const passwordSchema = Yup.object().shape({
.required("Password field is required"),
})
export const nameSchema = Yup.object().shape({
- name: Yup.string().required("Full name field is required").trim(),
+ name: Yup.string().trim().required("Full name field is required"),
})
export const getCur... | chore: disable empty names onboarding creating account | null | artsy/eigen | MIT License | TypeScript |
@@ -103,18 +103,17 @@ func (w *fileCache) Set(serverUUID string, db string, state *schema.ImmutableSta
return nil
}
-
func (w *fileCache) Lock(serverUUID string) (err error) {
- if w.stateFile != nil {
- return ErrCacheAlreadyLocked
- }
w.stateFile, err = lockedfile.OpenFile(w.getStateFilePath(serverUUID), os.O_RDWR|os... | chore(pkg/client/cache): release lock only if locked file is present, and wait for unlock when already present | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -2,12 +2,12 @@ import type VitePlugin from '@vitejs/plugin-vue';
export function getVuePluginOptionsForVite() {
if ((process.argv as string[]).includes('--mode=volar')) {
- return vitePluginOptions;
+ return vuePluginOptions;
}
return {};
}
-export const vitePluginOptions: NonNullable<Parameters<typeof VitePlugin>[0... | chore: make vitePluginOptions private | null | johnsoncodehk/volar | MIT License | TypeScript |
import random
+from contextlib import suppress
from typing import Optional
-from discord import AllowedMentions, Embed
+from discord import AllowedMentions, Embed, Forbidden
from discord.ext import commands
from bot.constants import Cats, Colours, NEGATIVE_REPLIES
@@ -34,7 +35,10 @@ class Catify(commands.Cog):
else:
di... | chore: Fix UnboundLocalError and discord.ForbiddenErrors in the catify command | null | python-discord/sir-lancebot | MIT License | Python |
@@ -14,7 +14,7 @@ namespace rime {
class Candidate {
public:
Candidate() = default;
- Candidate(const string type,
+ Candidate(const string& type,
size_t start,
size_t end,
double quality = 0.)
@@ -60,7 +60,7 @@ using CandidateList = vector<of<Candidate>>;
class SimpleCandidate : public Candidate {
public:
SimpleCandid... | chore(candidate.h): `type` should be a reference | null | rime/librime | BSD 3-Clause New or Revised License | C |
@@ -42,11 +42,11 @@ function create_client_with_query_options($instanceId, $databaseId)
$spanner = new SpannerClient([
'queryOptions' => [
'optimizerVersion' => '1',
- // Pin the statistics package used for this client instance to an
- // older version. The list of available statistics packages can be
+ // Pin the stat... | chore(spanner): pin stats package to latest | null | googlecloudplatform/php-docs-samples | Apache License 2.0 | PHP |
@@ -383,7 +383,8 @@ var AllKubernetesSupportedVersionsAzureStack = map[string]bool{
"1.22.7": false,
"1.22.15": true,
"1.23.6": false,
- "1.23.12": true,
+ "1.23.12": false,
+ "1.23.13": true,
}
// AllKubernetesWindowsSupportedVersionsAzureStack maintain a set of available k8s Windows versions in aks-engine on Azure St... | chore: enable Kubernetes v1.23.13 on Azure Stack Hub | null | azure/aks-engine | MIT License | Go |
@@ -185,11 +185,11 @@ internal final class ComponentManager {
}
private func createBoletoComponent(_ paymentMethod: BoletoPaymentMethod) -> BoletoComponent {
- let configuration = BoletoComponent.Configuration(boletoPaymentMethod: paymentMethod,
+ let boletoConfiguration = BoletoComponent.Configuration(boletoPaymentMet... | chore: Rename Boleto configuration variable | null | adyen/adyen-ios | MIT License | Swift |
@@ -446,31 +446,6 @@ class SaintCoinachRedisCommand extends Command
// if link id is null, something wrong with the content and definition
// this shouldn't happen ...
if ($linkId === null) {
- /*
- $this->io->error([
- "LINK ID ERROR",
- "This happens when the definition 'name' is not an index in the CSV content row, ... | chore: multiref tentative | null | xivapi/xivapi.com | MIT License | PHP |
@@ -21,8 +21,8 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
git add -A
git add -f \
dist/*.js
- git commit -m "build: $VERSION"
- npm version $VERSION --message "release: $VERSION"
+ git commit -m "build: test-utils $VERSION"
+ npm version $VERSION --message "release: test-utils $VERSION"
# publish
git push origin refs/tags/v$VE... | chore: update test-utils release script | null | vuejs/vue-test-utils | MIT License | Shell |
@@ -8,7 +8,6 @@ using Auth.Extensions;
using Common;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
-using Microsoft.Extensions.Logging;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using Microsoft.WindowsAzure.Storage.Table;
@@ -63,8 +62,7 @@ namespac... | chore: removed redundat libraries include | null | imgbot/imgbot | MIT License | C# |
@@ -61,7 +61,7 @@ class OptionalInt(click.types.IntRange):
def convert( # type: ignore
self, value: str, param: Optional[click.core.Parameter], ctx: Optional[click.core.Context]
) -> Union[int, NotSet]:
- if value == "None":
+ if value.lower() == "none":
return not_set
try:
int(value)
| chore: Make `--hypothesis-deadline` accept `none` case insensitive | null | schemathesis/schemathesis | MIT License | Python |
@@ -20,11 +20,10 @@ const _kShouldTestAsyncErrorOnInit = false;
// Toggle this for testing Crashlytics in your app locally.
const _kTestingCrashlytics = true;
//ignore: avoid_void_async
-void main() async {
+void main() {
+ runZonedGuarded(() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeA... | chore(crashlytics): update example | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -120,6 +120,8 @@ module ZendeskAppsTools
desc 'clean', 'Remove app packages in temp folder'
method_option :path, default: './', required: false, aliases: '-p'
def clean
+ require 'fileutils'
+
setup_path(options[:path])
return unless File.exist?(Pathname.new(File.join(app_dir, 'tmp')).to_s)
| chore(clean): explicitly require fileutils, causes an exception in some ruby versions otherwise | null | zendesk/zendesk_apps_tools | Apache License 2.0 | Ruby |
@@ -36,13 +36,14 @@ INT_ENV_VARS = {
OUTPUT_DIR = 'output'
OUTPUT_FILE_PATH = os.path.join(OUTPUT_DIR, 'test-comparison.csv')
-# TEST_COMMAND = 'npm test -- --package %s'
-TEST_COMMAND = 'npm test -- --package %s --node'
+TEST_COMMAND = 'npm test -- --package %s'
SKIP_PACKAGES = [
'@webex/bin-sauce-connect', # needs Sa... | chore(test.py): remove node flag | null | webex/webex-js-sdk | MIT License | Python |
@@ -38,7 +38,7 @@ class Kernel implements KernelContract
/**
* The Artisan application instance.
*
- * @var \Illuminate\Console\Application
+ * @var \Illuminate\Console\Application|null
*/
protected $artisan;
| chore: update artisan docblock to be nullable | null | laravel/framework | MIT License | PHP |
@@ -156,12 +156,22 @@ func (cl *commandline) database(cmd *cobra.Command) {
deleteCmd := &cobra.Command{
Use: "delete",
- Short: "Delete database",
- Example: "delete {database_name}",
+ Short: "Delete database (unrecoverable operation)",
+ Example: "delete --yes-i-know-what-i-am-doing {database_name}",
PersistentPreRu... | chore(cmd/immuadmin): add safety flag in delete database command | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -17,6 +17,7 @@ import com.segment.analytics.messages.TrackMessage;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang3.ObjectUtils;
+import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import rea... | chore: Add data points for debugging event log | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -2,7 +2,7 @@ class Api::PointsController < ActionController::Base
before_action :authenticate, except: %i[index show]
def index
- render json: Point.all.order(points: :desc)
+ render json: Point.all.order(points: :desc).limit(limit).offset(offset)
end
def show
@@ -24,6 +24,14 @@ class Api::PointsController < ActionC... | chore: Allow Points Response to be Limited and Offset | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -58,7 +58,7 @@ type DB interface {
CountAll() (*schema.EntryCount, error)
TxByID(req *schema.TxRequest) (*schema.Tx, error)
ExportTxByID(req *schema.TxRequest) ([]byte, error)
- ReplicateTx([]byte) (*schema.TxMetadata, error)
+ ReplicateTx(exportedTx []byte) (*schema.TxMetadata, error)
VerifiableTxByID(req *schema.V... | chore(pkg/database): no wait for indexing during tx replication | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -103,7 +103,6 @@ impl<T: InputFormatTextBase> InputFormat for InputFormatText<T> {
}
fn exec_copy(&self, ctx: Arc<InputContext>, pipeline: &mut Pipeline) -> Result<()> {
- tracing::info!("exe text");
InputFormatTextPipe::<T>::execute_copy_with_aligner(ctx, pipeline)
}
@@ -377,8 +376,14 @@ impl<T: InputFormatTextBase... | chore(format): refine log | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -177,6 +177,10 @@ public abstract class AbstractBaseElementBuilder<B extends AbstractBaseElementBu
return null;
}
+ protected Error findErrorForNameAndCode(String errorCode) {
+ return findErrorForNameAndCode(errorCode, null);
+ }
+
protected Error findErrorForNameAndCode(String errorCode, String errorMessage) {
Col... | chore(model): fix backwards compatibility issue | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -1661,6 +1661,73 @@ class CardComponentTests: XCTestCase {
XCTAssertEqual(expectedPostalCode, postalCode)
}
+ func testCardPrefilling_givingNoShopperInformationAndFullAddressMode_shouldNotPrefillItems() throws {
+ // Given
+ let method = CardPaymentMethod(type: "bcmc",
+ name: "Test name",
+ fundingSource: .credit,
... | chore: Test card prefilling with no provided shopper information | null | adyen/adyen-ios | MIT License | Swift |
@@ -875,7 +875,7 @@ public class DataCommunicator<T> implements Serializable {
* Getter method for determining the item count of the data.
* <p>
* This method should be used only with defined size, i.e. when
- * {@link #isDefinedSize()} returns {@code code}.
+ * {@link #isDefinedSize()} returns {@code true}.
* <p>
* Ca... | chore: fix typo | null | vaadin/flow | Apache License 2.0 | Java |
@@ -448,7 +448,7 @@ if [[ "$INSTALL_DEV_TOOLS" == "true" ]]; then
fi
python3 -m pip install --quiet boto3 "moto[all]" yapf shfmt-py toml
# drivers
- python3 -m pip install --quiet mysql-connector-python pymysql sqlalchemy
+ python3 -m pip install --quiet mysql-connector-python pymysql sqlalchemy clickhouse_driver
if [[... | chore(ci): add clickhouse_driver to dev_setup | null | datafuselabs/databend | Apache License 2.0 | Shell |
@@ -570,6 +570,24 @@ export const tableReducer = (state = {}, action) => {
)
);
+ const columns = get(state, 'columns');
+ const filtersInit = get(state, 'view.filters');
+
+ // allow filtering by empty string during the table initialization
+ const filters = filtersInit.map((filter) => {
+ if (isEmptyString(filter.val... | chore(tablereducer): enable data filtering on table initialization | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -84,7 +84,8 @@ public class AssistantServiceIT extends AssistantServiceTest {
MessageResponse response = service.message(options).execute().getResult();
System.out.println(response);
- RuntimeResponseGeneric runtimeResponseGenericRuntimeResponseTypeText = response.getOutput().getGeneric().get(0);
+ RuntimeResponseGe... | chore(format): fix format | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -32,6 +32,23 @@ import {
const snclient = google.servicenetworking("v1");
+async function listServiceConnections(network: string): Promise<void> {
+ let result: any;
+ try {
+ result = await snclient.services.connections.list({
+ parent: "services/servicenetworking.googleapis.com",
+ network: network
+ });
+ } catch... | chore: gcp: list service connections during and after creation | null | opstrace/opstrace | Apache License 2.0 | TypeScript |
@@ -41,7 +41,10 @@ pub mod transport {
AddressType::Udp,
tx.clone(),
)));
- println!("created udp transport bound to {}", local_address);
+ if let Ok(addr) = socket.local_addr() {
+ println!("created udp transport bound to {}", addr);
+ }
+
Ok(UdpTransport {
socket,
rx,
| chore(rust): use the bound socket address in println | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -26,8 +26,8 @@ defmodule Ash.Resource.Attribute do
type: Ash.Type.t(),
primary_key?: boolean(),
private?: boolean(),
- default: (() -> term),
- update_default: (() -> term) | (Ash.Resource.record() -> term),
+ default: nil | term | (() -> term),
+ update_default: nil | term | (() -> term) | (Ash.Resource.record() ->... | chore: update typespec for attribute | null | ash-project/ash | MIT License | Elixir |
@@ -12,7 +12,7 @@ public class TutorialStep_Initial : TutorialStep
[SerializeField] TutorialTooltip minimapTooltip = null;
[SerializeField] GameObject claimNamePanel = null;
- const string CLAIM_NAME_URL = "http://avatars.decentraland.org/?redirect_after_claim=https://explorer.decentraland.org";
+ const string CLAIM_NA... | chore: updated tutorial claim-name URL | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -73,8 +73,6 @@ const TextField: TextField = ({
inline={inline}
className={classnames(styles.withLabel, {
[styles.withDisabled]: disabled,
- [styles.withReversed]: reversed,
- [styles.withError]: status === "error",
})}
>
<Label
| chore: Remove unused styles from TextField | null | cultureamp/kaizen-design-system | MIT License | TypeScript |
@@ -80,7 +80,11 @@ const enum SemanticError {
UnexpectedForOf = 151
}
-export function parseExpression(input: string, bindingType?: BindingType): IExpression {
+export function parseExpression<TType extends BindingType = BindingType.BindCommand>(input: string, bindingType?: TType):
+ TType extends BindingType.Interpola... | chore(jit): return the correct AST types from parseExpression | null | aurelia/aurelia | MIT License | TypeScript |
@@ -7,11 +7,16 @@ import { localeNumberString } from '../../../utils/number'
import i18n from '../../../utils/i18n'
export const RewardPenal = styled.div`
+ @media (max-width: 700px) {
+ height: 17px;
+ margin-top: 5px;
+ }
+
display: flex;
align-items: center;
- height: 30px;
+ height: 22px;
justify-content: space-bet... | chore: Update layout for TransactionReward | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -1312,7 +1312,8 @@ bool SuperMediaPlayer::DoCheckBufferPass()
if (mPlayStatus == PLAYER_PREPARING) {
if ((cur_buffer_duration >= HighBufferDur &&
- (!HAVE_VIDEO || videoDecoderFull || APP_BACKGROUND == mAppStatus || !mSet->mFastStart)) ||
+ (!HAVE_VIDEO || !mAVDeviceManager->isDecoderValid(SMPAVDeviceManager::DEVICE... | chore(superMediaPlayer): add decoder valid judegement when background | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -7,14 +7,14 @@ import (
"fmt"
bolt "github.com/coreos/bbolt"
- platform "github.com/influxdata/influxdb"
+ influxdb "github.com/influxdata/influxdb"
)
var (
secretBucket = []byte("secretsv1")
)
-var _ platform.SecretService = (*Client)(nil)
+var _ influxdb.SecretService = (*Client)(nil)
func (c *Client) initializeSe... | chore(bolt): refactor secrets to influxdb ns | null | influxdata/influxdb | MIT License | Go |
@@ -252,12 +252,12 @@ public Bar(IReadOnlyList<BarValue> values, float maxValue, bool isCentre)
if (values.Any())
{
- boxOriginals = values.Select(v => new Circle
+ boxOriginals = values.Select((v, i) => new Circle
{
RelativeSizeAxes = Axes.Both,
Anchor = Anchor.BottomCentre,
Origin = Anchor.BottomCentre,
- Colour = is... | chore(osu.Game): only the first result should be white at zero position on `HitEventTimingDistributionGraph` | null | ppy/osu | MIT License | C# |
@@ -9,7 +9,11 @@ import {
ViewStyle,
} from "react-native";
import Image from "./Image";
-import { COMPONENT_TYPES, createResizeModeProp } from "../core/component-types";
+import {
+ COMPONENT_TYPES,
+ createResizeModeProp,
+ createColorProp,
+} from "../core/component-types";
const screenWidth = Dimensions.get("window... | chore(carousel): add props | null | draftbit/react-native-jigsaw | MIT License | TypeScript |
@@ -101,6 +101,7 @@ class Input extends FormComponent
protected function getDefaultClasses(): string
{
return Str::of('block w-full sm:text-sm rounded-md transition ease-in-out duration-100 focus:outline-none')
+ ->append(' dark:text-secondary-400')
->unless($this->shadowless, fn (Stringable $stringable) => $stringable... | chore: add dark text color | null | wireui/wireui | MIT License | PHP |
@@ -79,7 +79,7 @@ const createAndMergePullRequest = async () => {
repo: "eigen",
issue_number: res.data.number,
owner: "artsy",
- labels: ["Changelog Updater", "Merge On Green"],
+ labels: ["Changelog Updater"],
})
logger.succeed()
| chore: do not merge changelog PRs | null | artsy/eigen | MIT License | JavaScript |
@@ -810,7 +810,7 @@ public class FormAuthorizationTest extends AuthorizationTest {
assertNotNull(inputStream);
}
- public void testGetDeployedTaskFormWithourAuthorization() {
+ public void testGetDeployedTaskFormWithoutAuthorization() {
// given
startProcessInstanceByKey(FORM_PROCESS_KEY);
String taskId = selectSingleT... | chore(typo): adjust test method name | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -91,15 +91,13 @@ else
git remote add $REMOTE_BROWSER_UPSTREAM $REMOTE_URL
fi
-# Check if we have the $BASE_REVISION commit in GIT
-if ! git cat-file -e $BASE_REVISION^{commit}; then
# If not, fetch from REMOTE_BROWSER_UPSTREAM and check one more time.
git fetch $REMOTE_BROWSER_UPSTREAM $BASE_BRANCH
if ! git cat-file... | chore: make prepare_checkaout update browser_upstream/master | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -161,7 +161,7 @@ class LodestoneCharacterController extends AbstractController
$response->Character->ActiveClassJob = null;
}
- Redis::cache()->set($rediskey, $response, 3600, true);
+ Redis::cache()->set($rediskey, $response, 300, true);
} else {
$response = (object)$response;
}
| chore: lodestone character cache tweaks | null | xivapi/xivapi.com | MIT License | PHP |
@@ -16,8 +16,18 @@ connection.query(
') ENGINE=InnoDB DEFAULT CHARSET=utf8'
].join('\n')
);
+connection.query(
+ [
+ `CREATE TEMPORARY TABLE \`${table}1\` (`,
+ '`id` int(11) unsigned NOT NULL AUTO_INCREMENT,',
+ '`title` varchar(255),',
+ 'PRIMARY KEY (`id`)',
+ ') ENGINE=InnoDB DEFAULT CHARSET=utf8'
+ ].join('\n')
+)... | chore: added test case showing | null | sidorares/node-mysql2 | MIT License | JavaScript |
@@ -378,7 +378,7 @@ public class TaskUpdatePackages extends NodeUpdater {
Optional<String> platformVersion = Platform.getVaadinVersion();
if (platformVersion.isPresent() && nodeModulesFolder.exists()) {
JsonObject vaadinJsonContents = getVaadinJsonContents();
- // If no record of previous version, version is considered... | chore: Tell sonarcloud the comment is not code.. | null | vaadin/flow | Apache License 2.0 | Java |
@@ -63,7 +63,7 @@ func (c *ConsistencyProof) Verify(prevRoot Root) bool {
// Verify returns true iff the _Proof_ proves that the given _leaf_ is included into _p.Root_'s history at position _p.Index_
// and that the provided _prevRoot_ is included into _p.Root_'s history.
-// Providing a zerovalue for _prevRoot_ signal... | chore(pkg/api/schema): relax Proof verify when no prev root | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -17,6 +17,12 @@ XDAI = [
"0x6C09F6727113543Fd061a721da512B7eFCDD0267", # x3pool
]
+ARBITRUM = [
+ "0xFf17560d746F85674FE7629cE986E949602EF948", # 2pool
+ "0x9F86c5142369B1Ffd4223E5A2F2005FC66807894", # ren
+ "0x9044E12fB1732f88ed0c93cfa5E9bB9bD2990cE5", # tricrypto
+]
+
def main():
acct = accounts.load("curve-deploy... | chore: add arbitrum gauges + logic | null | curvefi/curve-dao-contracts | MIT License | Python |
@@ -117,7 +117,7 @@ func (r *Reconciler) configSecret() (runtime.Object, reconciler.DesiredState, er
var fluentbitTargetHost string
if r.Logging.Spec.FluentdSpec != nil && r.Logging.Spec.FluentbitSpec.TargetHost == "" {
- fluentbitTargetHost = fmt.Sprintf("%s.%s.svc", r.Logging.QualifiedName(fluentd.ServiceName), r.Log... | chore: add cluster dns zone in fluentbit target host | null | banzaicloud/logging-operator | Apache License 2.0 | Go |
@@ -69,27 +69,30 @@ extension Amount: Comparable {
/// :nodoc:
public static func < (lhs: Amount, rhs: Amount) -> Bool {
- lhs.value < rhs.value
+ assert(lhs.currencyCode == rhs.currencyCode, "Currencies should match to compate")
+ return lhs.value < rhs.value
}
/// :nodoc:
public static func <= (lhs: Amount, rhs: Amou... | chore: make substraction internal | null | adyen/adyen-ios | MIT License | Swift |
{Credo.Check.Refactor.FunctionArity, false},
{Credo.Check.Refactor.LongQuoteBlocks, false},
{Credo.Check.Refactor.MapInto, false},
- {Credo.Check.Refactor.MatchInCondition, []},
+ {Credo.Check.Refactor.MatchInCondition, false},
{Credo.Check.Refactor.NegatedConditionsInUnless, []},
{Credo.Check.Refactor.NegatedCondition... | chore: fix credo | null | ash-project/ash | MIT License | Elixir |
@@ -23,6 +23,9 @@ public final class QRCodeComponent: ActionComponent, Cancellable {
/// :nodoc:
public let apiContext: APIContext
+ /// The Adyen context.
+ public let adyenContext: AdyenContext
+
/// Delegates `PresentableComponent`'s presentation.
public weak var presentationDelegate: PresentationDelegate?
@@ -73,11... | chore: Inject AdyenContext in QRCodeComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -14,7 +14,9 @@ fi
git clone --quiet --branch=apk https://niranjan94:$GITHUB_API_KEY@github.com/fossasia/open-event-orga-app apk > /dev/null
cd apk
-\cp -r ../app/build/outputs/apk/*.apk .
+\cp -r ../app/build/outputs/apk/*/**.apk .
+\cp -r ../app/build/outputs/apk/debug/output.json debug-output.json
+\cp -r ../app/b... | chore: Fix APK upload on build | null | fossasia/open-event-organizer-android | Apache License 2.0 | Shell |
@@ -6,7 +6,7 @@ fn main() {
fn app(cx: Scope) -> Element {
cx.render(rsx!(
- div { id: "123123123",
+ div {
// Use Map directly to lazily pull elements
(0..10).map(|f| rsx! { "{f}" }),
@@ -20,16 +20,15 @@ fn app(cx: Scope) -> Element {
// Use optionals
Some(rsx! { "Some" }),
- // use a for loop or unterminated conditio... | chore: pull out for loop | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -25,7 +25,7 @@ import (
func TestSingleApp(t *testing.T) {
a, err := Open("testdata.aof", DefaultOptions())
- defer os.RemoveAll("testdata.aof")
+ defer os.Remove("testdata.aof")
require.NoError(t, err)
sz, err := a.Size()
@@ -83,7 +83,7 @@ func TestSingleApp(t *testing.T) {
func TestSingleAppReOpening(t *testing.T)... | chore: unit testing | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -133,7 +133,7 @@ class SpeakerSegmentation(SpeakerDiarizationMixin, Pipeline):
raise NotImplementedError()
- CACHED_SEGMENTATION = "@segmentation/raw"
+ CACHED_SEGMENTATION = "@inference"
@staticmethod
def get_stitching_graph(
@@ -251,13 +251,16 @@ class SpeakerSegmentation(SpeakerDiarizationMixin, Pipeline):
# appl... | chore: update hook names in SpeakerSegmentation pipeline | null | pyannote/pyannote-audio | MIT License | Python |
@@ -10,7 +10,7 @@ import Foundation
/// The Klarna Payment Method.
/// - seealso: https://stripe.com/docs/payments/klarna
-public class STPPaymentMethodKlarna: NSObject {
+public class STPPaymentMethodKlarna: NSObject, STPAPIResponseDecodable {
/// :nodoc:
@objc private(set) public var allResponseFields: [AnyHashable: ... | chore: update Klarna to conform to STPAPIResponseDecodable | null | stripe/stripe-ios | MIT License | Swift |
@@ -153,7 +153,7 @@ export class LayoutsFacade {
{
title: row.name,
rows: orderedAccepted,
- crafts: orderedAccepted.reduce((acc, r) => acc + (r.requires.length > 0 ? r.amount_needed : 1), 0),
+ crafts: orderedAccepted.reduce((acc, r) => acc + (r.requires?.length > 0 ? r.amount_needed : 1), 0),
index: row.index,
zoneBr... | chore: hotfix for offline lists not loading properly | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -768,4 +768,23 @@ class ModelTest extends TestCase
$model->fill(['level1' => $dataValues]);
$this->assertEquals($dataValues, $model->getAttribute('level1'));
}
+
+ public function testFirstOrCreate(): void
+ {
+ $name = 'Jane Poe';
+
+ /** @var User $user */
+ $user = User::where('name', $name)->first();
+ $this->as... | chore: test firstOrCreate method for the model | null | jenssegers/laravel-mongodb | MIT License | PHP |
@@ -36,7 +36,7 @@ proxyurl=$(gcloud beta run services describe serverless-scheduler-proxy \
cd packages || exit 1
for f in *; do
# Skip symlinks and our gcf-utils/generate-bot directory as it is not a function
- if [[ -d "$f" && ! -L "$f" && "$f" != "gcf-utils" && "$f" != "generate-bot" && "$f" != "monitoring-system" &... | chore(infra): add slo bot cron deploy | null | googleapis/repo-automation-bots | Apache License 2.0 | Shell |
@@ -51,7 +51,7 @@ export function transformData(items: Item[]): Item[] {
const filterMetadataKey = entries[0][1] as FilterMetadataKey | undefined;
if (typeof filterMetadataKey === "string") {
const label = filterMetadataByOption[filterMetadataKey].label;
- if (label) {
+ if (label && item?._highlightResult?.hierarchy?.... | chore: add another undefined check in transform-search-data util | null | aws-amplify/docs | Apache License 2.0 | TypeScript |
@@ -24,7 +24,7 @@ const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('https://google.com', {waitUntil: 'networkidle'});
// Type our query into the search bar
-await page.type('puppeteer');
+await page.type('input[name=q]', 'puppeteer');
await page.click('input[type="submit"]... | chore(examples): add missing argument to search example | null | puppeteer/puppeteer | Apache License 2.0 | JavaScript |
@@ -192,6 +192,7 @@ pub enum ConfigureAddonCommand {
#[arg(
long = "user-access-role",
id = "user-access-role",
+ hide = true,
value_name = "USER_ACCESS_ROLE",
value_parser(NonEmptyStringValueParser::new())
)]
@@ -201,6 +202,7 @@ pub enum ConfigureAddonCommand {
#[arg(
long = "adamin-access-role",
id = "admin-access-ro... | chore(rust): hide access rule parameters on influxdb config | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -325,8 +325,10 @@ class AvatarModify(commands.Cog):
if 1 <= squares <= MAX_SQUARES:
raise commands.BadArgument(f"Squares must be a positive number less than or equal to {MAX_SQUARES:,}.")
- if not math.sqrt(squares).is_integer():
- raise commands.BadArgument("The number of squares must be a perfect square.")
+ sqrt ... | chore: Get the next perfect square | null | python-discord/sir-lancebot | MIT License | Python |
@@ -85,9 +85,9 @@ netlify deploy
## PM2
cd ~/NEW_NAME
-pm2 start yarn --name NEW_NAME --interpreter=/home/owid/.nvm/versions/node/v12.13.1/bin/node -- startAdminServer
+pm2 start --name NEW_NAME "yarn startAdminServer"
pm2 save
-pm2 start yarn --name NEW_NAME-deploy-queue --interpreter=/home/owid/.nvm/versions/node/v12... | chore: update staging deploy script (pm2) | null | owid/owid-grapher | MIT License | Shell |
@@ -189,11 +189,6 @@ trait Auditable
$eventHandler = $this->resolveEventHandlerMethod($this->auditEvent);
- if (!is_string($eventHandler)) {
- // this means the event is auditable but has no defined attributes method, so we define it here
- $eventHandler = 'audit'.Str::studly($this->auditEvent).'Attributes';
- }
-
if (... | chore(Auditable): remove unnecessary check from toAudit() method | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -37,29 +37,3 @@ export function uuidToBytes(uuid: string): number[] {
return bytes;
}
-
-/**
- * Converts a string to a byte array using the char code.
- * @param str Value that gets converted.
- */
-export function stringToBytes(str: string): number[] {
- str = unescape(encodeURIComponent(str));
- const bytes = Arr... | chore(uuid): cleanup unused internal functions | null | denoland/deno_std | MIT License | TypeScript |
@@ -33,15 +33,6 @@ gin::WrapperInfo Screen::kWrapperInfo = {gin::kEmbedderNativeGin};
namespace {
-// Find an item in container according to its ID.
-template <class T>
-typename T::iterator FindById(T* container, int id) {
- auto predicate = [id](const typename T::value_type& item) -> bool {
- return item.id() == id;
... | chore: remove unused FindByID helper | null | electron/electron | MIT License | C++ |
@@ -2,14 +2,14 @@ import { Meteor } from 'meteor/meteor'
import { getCurrentTime, getRandomId } from '../lib'
import { PeripheralDeviceCommands, PeripheralDeviceCommandId } from '../collections/PeripheralDeviceCommands'
import { PubSub, meteorSubscribe } from './pubsub'
-import OrgApi from '@sofie-automation/shared-lib... | chore: fix wrong capitalization in import | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -167,8 +167,7 @@ func (s *ImmuGwServer) Start() error {
}
s.installShutdownHandler()
- s.Logger.Infof("Starting immugw at %s:%d", s.Options.Address, s.Options.Port)
-
+ s.Logger.Infof("starting immugw: %v", s.Options)
if s.Options.Pidfile != "" {
if s.Pid, err = server.NewPid(s.Options.Pidfile); err != nil {
return ... | chore: Print immud running infos properly | null | codenotary/immudb | Apache License 2.0 | Go |
+import { BoundingBox } from "../src/BoundingBox";
import { BoundingFrustum } from "../src/BoundingFrustum";
+import { BoundingSphere } from "../src/BoundingSphere";
+import { Matrix } from "../src/Matrix";
+import { Vector3 } from "../src/Vector3";
describe("MathUtil test", () => {
- it("construtor", () => {});
+ cons... | chore: add bounding frustum test | null | oasis-engine/engine | MIT License | TypeScript |
@@ -23,7 +23,7 @@ yarn build
bash ${WORKSPACE}/scripts/ci/setup-npm.sh
# trigger lerna release and create new storybook
-${WORKSPACE}/node_modules/.bin/lerna publish 0.9.0 --force-publish --conventional-graduate \
+${WORKSPACE}/node_modules/.bin/lerna publish --conventional-graduate \
--create-release github
# all pack... | chore: use regular lerna publish again [ci skip] | null | sap/ui5-webcomponents-react | Apache License 2.0 | Shell |
@@ -2,12 +2,12 @@ import { Placement } from "@popperjs/core";
import { Fragment, useCallback, useState } from "react";
import { PopoverPane } from "./pane/pane";
-interface TargetProps {
+export interface TargetProps {
toggle: () => void;
opened: boolean;
}
-interface ContentProps {
+export interface ContentProps {
clo... | chore(popover): Expose TargetProps, ContentProps | null | thien-do/moai | MIT License | TypeScript |
-// Copyright 2021 EMQ Technologies Co., Ltd.
+// Copyright 2021-2022 EMQ Technologies Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -120,7 +120,7 @@ func TestSourceAndFunc(t *testing.T) {
t.Errorf("fail to init rul... | chore(test): increase portable test timeout | null | emqx/kuiper | Apache License 2.0 | Go |
@@ -373,7 +373,7 @@ public abstract class NodeUpdater implements FallibleCommand {
// Constructable style sheets is only implemented for chrome,
// polyfill needed for FireFox et.al. at the moment
- defaults.put("construct-style-sheets-polyfill", "3.0.4");
+ defaults.put("construct-style-sheets-polyfill", "3.1.0");
def... | chore: Upgrade construct-stylesheet-polyfill to 3.1 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -1090,11 +1090,14 @@ sysdig_init_res sysdig_init(int argc, char **argv)
{0, 0, 0, 0}
};
+#ifndef _WIN32
if (isatty(fileno(stdout)))
{
output_format = R"(*%evt.num %evt.outputtime %evt.cpu \e[01;32m%proc.name\e[00m (\e[01;36m%proc.pid\e[00m.%thread.tid) %evt.dir \e[01;34m%evt.type\e[00m %evt.info)";
output_format_plu... | chore(userspace/sysdig): disable ascii color escape sequences on windows | null | draios/sysdig | Apache License 2.0 | C++ |
@@ -3171,7 +3171,7 @@ public class TableWriter implements Closeable {
// to determine that 'ooTimestampLo' goes into current partition
// we need to compare 'partitionTimestampHi', which is appropriately truncated to DAY/MONTH/YEAR
// to this.maxTimestamp, which isn't truncated yet. So we need to truncate it first
- LO... | chore(core): add debug information around O3 data shape | null | questdb/questdb | Apache License 2.0 | Java |
@@ -142,7 +142,7 @@ func TestSourceAndFunc(t *testing.T) {
if compareMetrics(tp, tt.M) {
cancel()
// need to wait for file results
- time.Sleep(500 * time.Millisecond)
+ time.Sleep(1 * time.Second)
results := getResults(fmt.Sprintf("cache%d", i+1))
fmt.Printf("get results %v\n", results)
time.Sleep(10 * time.Millisecon... | chore: add more timewait for protable test to avoid failure | null | emqx/kuiper | Apache License 2.0 | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.