diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -219,7 +219,6 @@ namespace IBM.Watson.VisualRecognition.v4
/// <param name="name">The name of the collection. The name can contain alphanumeric, underscore, hyphen, and
/// dot characters. It cannot begin with the reserved prefix `sys-`. (optional)</param>
/// <param name="description">The description of the collect... | chore(visual-recognition-v4): remove training status from the description | null | watson-developer-cloud/dotnet-standard-sdk | Apache License 2.0 | C# |
import React from 'react'
import { graphql } from 'gatsby'
import Layout from '~components/layout'
+import ContentfulContent from '~components/common/contentful-content'
import Assessment from '~components/pages/state/assessment'
const StateAsessmentTemplate = ({ pageContext, path, data }) => {
const state = pageContex... | chore: Add lede to assessment page | null | covid19tracking/website | Apache License 2.0 | JavaScript |
module.exports = {
'demo/**/*.js': ['npm run fix:eslint', 'npm run format:js', 'git add'],
'packages/**/*.js': ['npm run fix:eslint', 'npm run format:js', 'git add'],
+ 'packages/**/*.js': ['flow focus-check'],
'packages/**/*.ts': ['npm run format:ts', 'git add'],
'*.md': ['npm run format:md', 'git add'],
};
| chore(lint-staged): all flow check | null | tdeekens/flopflip | MIT License | JavaScript |
@@ -107,7 +107,7 @@ defmodule Ash.Api.Interface do
@doc """
Get the #{kind} of the given field from the given query, raising any errors.
"""
-
+ # sobelow_skip ["DOS.BinToAtom"]
def unquote(:"#{kind}!")(query, field, opts \\ []) do
query = Ash.Query.to_query(query)
| chore: sobelow | null | ash-project/ash | MIT License | Elixir |
@@ -841,22 +841,21 @@ func decodeOffset(offset int64) (byte, int64) {
func (s *ImmuStore) fetchAnyVLog() (vLodID byte, vLog appendable.Appendable) {
s.vLogsCond.L.Lock()
+ defer s.vLogsCond.L.Unlock()
for s.vLogUnlockedList.Len() == 0 {
s.vLogsCond.Wait()
}
vLogID := s.vLogUnlockedList.Remove(s.vLogUnlockedList.Front()... | chore(embedded/store): defer lock releasing | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -28,20 +28,18 @@ static void onVideoSize(int64_t width, int64_t height, void *userData)
AF_TRACE;
using IEvent = IEventReceiver::IEvent;
auto *cont = static_cast<cicadaCont *>(userData);
- auto *event = new IEvent(IEvent::TYPE_SET_VIEW);
if (cont->receiver) {
- cont->receiver->push(std::unique_ptr<IEvent>(event));
+... | chore(cmdline): improve code | null | alibaba/cicadaplayer | MIT License | C++ |
//
// npm run pipeline-update
//
-import { aws_codebuild as codebuild, aws_ssm as ssm } from "monocdk-experiment";
-import * as cdk from 'monocdk-experiment';
+import {
+ App,
+ Stack,
+ StackProps,
+ aws_codebuild as codebuild,
+ aws_ssm as ssm,
+} from "monocdk-experiment";
import delivlib = require("../lib");
-expor... | chore: rework imports for consistency | null | cdklabs/aws-delivlib | Apache License 2.0 | TypeScript |
namespace Podlove\Api\Chapters;
+use Podlove\Chapters\Parser\Mp4chaps;
+use Podlove\Chapters\Chapters;
+use Podlove\Chapters\Chapter;
+use Podlove\Chapters\Printer;
+use Podlove\NormalPlayTime;
use Podlove\Model\Episode;
use WP_REST_Controller;
use WP_REST_Server;
+use function Podlove\Api\Episodes\chapters;
+
add_acti... | chore: Fehler beim Einlesen der Chapters behoben | null | podlove/podlove-publisher | MIT License | PHP |
import React, { useState, useRef } from 'react';
import styled, { withTheme } from 'styled-components';
import { number, func, shape, bool } from 'prop-types';
-import { Star } from '@gympass/yoga-icons';
+import { StarFilled } from '@gympass/yoga-icons';
import { max as maxPropType } from '../../shared';
@@ -40,7 +40,... | chore(rating): change Star icon to StarFilled | null | gympass/yoga | MIT License | JavaScript |
@@ -10,10 +10,30 @@ import XCTest
class IssuerListComponentTests: XCTestCase {
- func testStartStopLoading() {
- let paymentMethod = try! Coder.decode(issuerListDictionary) as IssuerListPaymentMethod
- let sut = IssuerListComponent(paymentMethod: paymentMethod, apiContext: Dummy.context, adyenContext: Dummy.adyenContex... | chore: Test IssuerList component sends telemetry event | null | adyen/adyen-ios | MIT License | Swift |
@@ -10,7 +10,7 @@ RSpec.describe Point do
let(:user_points) { Point.create(discord_id: '1234') }
it 'increments the points' do
- expect { user_points.increment_points }.to change { user_points.points }.from(0).to(1)
+ expect { user_points.increment_points }.to change { user_points.reload.points }.from(0).to(1)
end
end
... | chore: Improve Points Increment Test | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -402,9 +402,7 @@ impl MemoryStore {
let make_room_version = || {
self.room_info
.get(room)
- .and_then(|info| {
- info.base_info.create.as_ref().map(|event| event.room_version.clone())
- })
+ .and_then(|info| info.room_version().cloned())
.unwrap_or_else(|| {
tracing::warn!(
"Unable to find the room version for {}, ... | chore(base): Use RoomInfo::room_version accessor | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -34,7 +34,6 @@ internal final class FormVerticalStackItemView<FormItemType: FormItem>: FormItem
private lazy var stackView: UIStackView = {
let stackView = UIStackView(arrangedSubviews: childItemViews)
- stackView.translatesAutoresizingMaskIntoConstraints = false
stackView.preservesSuperviewLayoutMargins = true
stac... | chore: Remove mask translation in vertical stack view | null | adyen/adyen-ios | MIT License | Swift |
@@ -46,7 +46,6 @@ public class StartTimerEventTest extends PluggableProcessEngineTestCase {
@Deployment
public void testDurationStartTimerEvent() throws Exception {
-
// Set the clock fixed
Date startTime = new Date();
@@ -1163,37 +1162,7 @@ public class StartTimerEventTest extends PluggableProcessEngineTestCase {
.end... | chore(test): adjust tests | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -426,11 +426,6 @@ func OpenWith(path string, vLogs []appendable.Appendable, txLog, cLog appendable
go store.binaryLinking()
}
- txsToIndex := store.committedTxID - store.index.Ts()
- if txsToIndex > 0 {
- store.log.Infof("%d transactions haven't yet been indexed at '%s'", txsToIndex, store.path)
- }
-
go store.index... | chore(embedded/store): remove duplicated logging | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -21,7 +21,7 @@ class Application
*
* @var string
*/
- const VERSION = '1.1.0';
+ const VERSION = '1.2.0-dev';
/**
* The IoC container for the Flarum application.
| chore: Update version constant to `1.2.0-dev` | null | flarum/core | MIT License | PHP |
@@ -5,7 +5,9 @@ pub use near_vm_logic::types::{PromiseResult as VmPromiseResult, ReturnData};
/// Promise index that is computed only once.
pub type PromiseIndex = u64;
/// An index of Receipt to append an action
+#[deprecated(since = "4.1.0", note = "type not used within SDK, use u64 directly or another alias")]
pub t... | chore: deprecate vm logic types | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -93,7 +93,6 @@ class _MyHomePageState extends State<MyBrowser> {
viewportWidth: viewportSize.width - queryData.padding.horizontal,
viewportHeight: viewportSize.height - appBar.preferredSize.height - queryData.padding.vertical,
bundleURL: 'assets/bundle.js',
- buildOwner: context.owner
),
));
}
| chore: remove missing api | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -4,18 +4,15 @@ set -eux
ARCH=$(uname -m)
GO_VERSION="1.19.2"
-# To easily find and replace the hashes
-# shellcheck disable=SC2034
GO_VERSION_SHA_arm64="35d819df25197c0be45f36ce849b994bba3b0559b76d4538b910d28f6395c00d" # from https://golang.org/dl
-# shellcheck disable=SC2034
GO_VERSION_SHA_amd64="16f8047d7b627699b3... | chore: Fix installgo_mac.sh using correct hash | null | influxdata/telegraf | MIT License | Shell |
@@ -4,7 +4,7 @@ DEF_PATH="charts/vela-core/templates/defwithtemplate"
function check_install() {
res=`kubectl get namespace -A | grep vela-system`
if [ -n "$res" ];then
- echo 'vela-system namespace exist'
+ echo 'checking: vela-system namespace exist'
else
echo 'vela-system namespace do not exist'
echo 'creating vela-... | chore: update makefile with velaql in make def-install | null | oam-dev/kubevela | Apache License 2.0 | Shell |
@@ -49,8 +49,8 @@ protected virtual void OnEnable()
GUI.color = new Color(previousColor.r, previousColor.g, previousColor.b, 0.5f);
}
- GUIContent unloadButtonGUIContent = new GUIContent("Unload", "TODO: Tooltip");
- GUIContent loadButtonGUIContent = new GUIContent("Load", "TODO: Tooltip");
+ GUIContent unloadButtonGUI... | chore(SDKManager): add SDK Setup load and unload button tooltips | null | extendrealityltd/vrtk | MIT License | C# |
@@ -177,7 +177,7 @@ refinementList({
*
* You can also use a sort function that behaves like the standard Javascript [compareFunction](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Syntax).
* @property {number} [limit=10] How much facet values to get. When the show more feat... | chore(doc): complete requirements for SFFV | null | algolia/instantsearch.js | MIT License | JavaScript |
@@ -126,6 +126,20 @@ Meteor.methods({
type: RundownAPI.SourceLayerType.GRAPHICS,
onPGMClean: true
},
+ {
+ _id: 'studio0_graphics_klokke',
+ _rank: 110,
+ name: 'Klokke',
+ type: RundownAPI.SourceLayerType.GRAPHICS,
+ onPGMClean: true
+ },
+ {
+ _id: 'studio0_graphics_logo',
+ _rank: 111,
+ name: 'Logo',
+ type: Rundow... | chore: Add seperate layers for klokke and logo graphics | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -501,7 +501,6 @@ namespace PeanutButter.DuckTyping
typeBuilder.DefineMethodOverride(methodImplementation, interfaceMethod);
}
-
private static AssemblyBuilder DynamicAssemblyBuilder
{
get
| chore: sonar lvl2: more cleanup.. | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | C# |
@@ -107,11 +107,11 @@ interface Auditable
public function getAuditThreshold(): int;
/**
- * Get the Audit redactors.
+ * Get the Attribute modifiers.
*
* @return array
*/
- public function getAuditRedactors(): array;
+ public function getAttributeModifiers(): array;
/**
* Transform the data before performing an audit.
| chore(Auditable): rename getAuditRedactors() method to getAttributeModifiers() | null | owen-it/laravel-auditing | MIT License | PHP |
import {
- apply, chain, empty, externalSchematic, MergeStrategy, mergeWith,
+ apply, chain, empty, MergeStrategy, mergeWith,
move, Rule, schematic, SchematicContext, Tree
} from "@angular-devkit/schematics";
import {
| chore(*): remove unnecessary import from ng-new | null | igniteui/igniteui-cli | MIT License | TypeScript |
@@ -5,6 +5,7 @@ import (
"os"
"reflect"
"strings"
+ "time"
"github.com/imdario/mergo"
homedir "github.com/mitchellh/go-homedir"
@@ -100,11 +101,19 @@ func getDefaultConfigDirectory() (string, error) {
}
func (c *Config) setLogger() {
+ log.SetFormatter(&log.TextFormatter{
+ FullTimestamp: true,
+ TimestampFormat: time.... | chore(logger): configure the timestamp format | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -42,12 +42,10 @@ export const updateResponse = async (projectId, _id, newResponse) => BotResponse
.updateOne({ projectId, _id }, newResponse).exec();
-export const createResponse = async (projectId, newResponse) => {
- return BotResponses.create({
+export const createResponse = async (projectId, newResponse) => BotR... | chore: remove unnecessary brackets | null | botfront/botfront | Apache License 2.0 | JavaScript |
@@ -7,7 +7,7 @@ import android.net.Uri
class YoutubeVid(val context: Context) : IYoutubeVid {
override fun playYoutubeVid(videoId: String) {
- val url: String = "http://www.youtube.com/watch?v=" + videoId
+ val url = "http://www.youtube.com/watch?v=$videoId"
val videoClient = Intent(Intent.ACTION_VIEW, Uri.parse(url))
... | chore: improve code style in YoutubeVid.kt file | null | fossasia/susi_android | Apache License 2.0 | Kotlin |
@@ -26,6 +26,7 @@ import org.junit.Test;
import org.mockito.Mockito;
import com.vaadin.flow.server.DefaultDeploymentConfiguration;
+import com.vaadin.flow.server.VaadinContext;
import com.vaadin.flow.server.VaadinService;
import com.vaadin.flow.server.VaadinServlet;
import com.vaadin.flow.server.VaadinServletService;
@... | chore: fix broken serialization test | null | vaadin/flow | Apache License 2.0 | Java |
@@ -55,9 +55,18 @@ impl Display for SplitInfo {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
let n = self.file.num_splits;
if n > 1 {
- write!(f, "{}[{}/{}]", self.file.path, self.seq_in_file + 1, n)
+ write!(
+ f,
+ "{}({})[{}/{}][{}..{}]",
+ self.file.path,
+ self.size,
+ self.seq_in_file,
+ n,
+ self.o... | chore(input_format): polish display of Display | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -27,7 +27,7 @@ public final class Bundle extends Resource {
private static final long serialVersionUID = 1L;
- public static final String RESOURCE_TYPE = "bundle";
+ public static final String RESOURCE_TYPE = "bundles";
/**
* @since 8.0
| chore(core): rename `Bundle` resource type to `bundles` | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -30,6 +30,7 @@ const print = (val, _, indent) => {
const test = val => {
return (
+ val &&
typeof val === 'object' &&
Object.keys(val).includes('type') &&
Object.keys(val).filter(key => !['type', 'payload'].includes(key)).length === 0
| chore: safety check in jest actions serializer | null | intershop/intershop-pwa | MIT License | JavaScript |
clippy::todo,
clippy::dbg_macro
)]
-use observability_deps::tracing::info;
+use observability_deps::tracing::warn;
use rand::prelude::*;
use snafu::Snafu;
use std::ops::ControlFlow;
@@ -165,8 +165,8 @@ impl Backoff {
}
};
- info!(
- e=%e,
+ warn!(
+ error=%e,
task_name,
backoff_secs = backoff.as_secs(),
"request encoun... | chore: use 'error' label in log instead of 'e' | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -833,6 +833,72 @@ declare namespace __bootstrap {
export const TypeErrorLength: typeof TypeError.length;
export const TypeErrorName: typeof TypeError.name;
export const TypeErrorPrototype: typeof TypeError.prototype;
+ export const TypedArrayPrototypeCopyWithin: UncurryThis<
+ typeof Uint8Array.prototype.copyWithin
... | chore: add TypedArray to primordials typings | null | denoland/deno | MIT License | TypeScript |
@@ -81,6 +81,10 @@ func (am *Alertmanager) probeVersion() string {
return fakeVersion
}
+ if version == "0.17.0" || version == "0.18.0" {
+ log.Warningf("Alertmanager %s might return incomplete list of alert groups in the API, please upgrade to >=0.19.0, see https://github.com/prymitive/karma/issues/812", version)
+ }
... | chore(backend): log a warning when alertmanager 0.17 or 0.18 is detected | null | prymitive/karma | Apache License 2.0 | Go |
//
-// Copyright (c) 2021 Adyen N.V.
+// Copyright (c) 2020 Adyen N.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
| chore: reverted Configuration.swift header file creation date | null | adyen/adyen-ios | MIT License | Swift |
@@ -54,9 +54,10 @@ function main() {
unsupported_count=$(curl -d {} -s "https://api.testgrid.kurl.sh/api/v1/run/${run_id}" | jq '.instances[].isUnsupported' | grep -c true || true)
skipped_count=$(curl -d {} -s "https://api.testgrid.kurl.sh/api/v1/run/${run_id}" | jq '.instances[].isSkipped' | grep -c true || true)
- i... | chore(ci): Temporarily disable checking Testgrid | null | replicatedhq/kurl | Apache License 2.0 | Shell |
@@ -3,6 +3,7 @@ using Grasshopper.Kernel;
using Speckle.Core.Credentials;
using Speckle.Core.Transports;
using System;
+using System.Drawing;
using System.Linq;
namespace ConnectorGrashopper.Transports
@@ -11,6 +12,8 @@ namespace ConnectorGrashopper.Transports
{
public override Guid ComponentGuid { get => new Guid("2BF... | chore(icons): Added icons and exposure to transport components | null | specklesystems/speckle-sharp | Apache License 2.0 | C# |
@@ -12,6 +12,7 @@ docker_hub_auth() {
[[ $GITHUB_REF == "refs/heads/develop" ]] || \
[[ $TRAVIS_BRANCH == "staging" ]] || \
[[ $GITHUB_REF == "refs/heads/staging" ]] || \
+ [[ $GITHUB_REF == "refs/pull/731/merge" ]] || \
[[ $GITHUB_EVENT_NAME == "release" ]] || \
[[ ! -z $TRAVIS_TAG ]]; then
@@ -44,13 +45,13 @@ build_a... | chore(CI): debug statements to be reverted | null | hikaya-io/activity | Apache License 2.0 | Shell |
@@ -136,7 +136,7 @@ lazy_static! {
/// This sends anonymous metrics to a Google Analytics account. It is used to track usage of
/// Pact library and operating system versions. This can be disabled by setting the
-/// `pact_do_not_track` environment variable to `true`.
+/// `PACT_DO_NOT_TRACK` environment variable to `t... | chore: correct doc comment | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -40,11 +40,6 @@ namespace api {
class Session : public mate::TrackableObject<Session>,
public content::DownloadManager::Observer {
public:
- enum class CacheAction {
- CLEAR,
- STATS,
- };
-
// Gets or creates Session from the |browser_context|.
static mate::Handle<Session> CreateFrom(v8::Isolate* isolate,
AtomBrows... | chore: remove unused enum | null | electron/electron | MIT License | C |
@@ -155,9 +155,9 @@ func (e *Engine) Do(ctx context.Context, req Request) error {
case <-ctx.Done():
if sent {
if err := e.drop(req); err != nil {
- log.Error("Failed to drop request", zap.Error(err))
+ log.Warn("Failed to drop request", zap.Error(err))
} else {
- log.Error("Request dropped")
+ log.Debug("Request dropp... | chore(rpc): change log levels | null | gotd/td | MIT License | Go |
@@ -29,6 +29,7 @@ import org.camunda.bpm.engine.authorization.ProcessDefinitionPermissions;
import org.camunda.bpm.engine.authorization.ProcessInstancePermissions;
import org.camunda.bpm.engine.authorization.Resource;
import org.camunda.bpm.engine.authorization.Resources;
+import org.camunda.bpm.engine.authorization.Ta... | chore(tests): add missing TaskPermissions reference | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -20,6 +20,10 @@ return [
],
+ 'tab' => [
+ 'label' => 'Edytuj',
+ ],
+
],
'messages' => [
| chore(lang/pl): translate combined tabs | null | laravel-filament/filament | MIT License | PHP |
@@ -9,6 +9,7 @@ import Pattern from 'pattern'
const App = props => {
let instance = new Pattern()
let config = instance.config
+
return (
<Workbench
freesewing={freesewing}
| chore: Changed formatting of pattern template in line with linter | null | freesewing/freesewing | MIT License | JavaScript |
@@ -69,4 +69,4 @@ fi
cd ..
gem install fastlane
-fastlane supply --aab ./apk/eventyay-organizer-master-app.aab --skip_upload_apk true --track alpha --json_key ./scripts/fastlane.json --package_name $PACKAGE_NAME
+fastlane supply --aab ./apk/eventyay-organizer-master-app-playStore-release.aab --skip_upload_apk true --tr... | chore: Correct aab path for release | null | fossasia/open-event-organizer-android | Apache License 2.0 | Shell |
@@ -936,12 +936,14 @@ pub fn generators_to_json(generators: &Generators, spec_version: &PactSpecificat
/// Macro to make constructing generators easy
/// Example usage:
-/// ```ignore
-/// generators! {
+/// ```
+/// use pact_models::generators;
+/// use pact_models::generators::Generator;
+/// let gen = generators! {
... | chore: enable generator doc test | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -37,6 +37,7 @@ export const Select = React.forwardRef(function Select(
lineHeight: 'inherit',
border: '1px solid',
borderRadius: 4,
+ paddingRight: 32,
color: 'inherit',
backgroundColor: (theme) => get(theme, 'colors.background', null),
}}
| chore: update style for core Select component | null | system-ui/theme-ui | MIT License | JavaScript |
@@ -12,6 +12,8 @@ export abstract class AbstractNotification {
public readonly date: number;
+ public read = false;
+
protected constructor(public readonly type: NotificationType) {
this.date = Date.now();
}
| chore: add read flag on notification model | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -24,7 +24,6 @@ export interface CarouselStopEvent {
* The reason for stopping the autoplay mode.
*/
reason: 'ended' | 'manual';
-
/**
* Resumes execution of the autoplay mode.
*/
@@ -40,12 +39,10 @@ export interface CarouselProps extends StandardProps {
* The currently selected page index - used in the controlled mo... | chore: remove new lines | null | zeiss/precise-ui | MIT License | TypeScript |
@@ -349,7 +349,7 @@ impl Decodable for Transaction {
// Legacy (0x00)
// use the original rlp
txn.decode_base_legacy(rlp, &mut offset)?;
- let sig = decode_signature(rlp, &mut offset).unwrap();
+ let sig = decode_signature(rlp, &mut offset)?;
txn.r = sig.r;
txn.s = sig.s;
txn.v = sig.v.into();
| chore: rm unwrap | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -21,8 +21,13 @@ export * from './logger/noop-logger';
export * from './logger/vendure-logger';
export * from './merge-config';
export * from './order/custom-order-process';
+export * from './order/default-stock-allocation-strategy';
+export * from './order/merge-orders-strategy';
export * from './order/order-code-st... | chore(core): Export order merge strategies | null | vendure-ecommerce/vendure | MIT License | TypeScript |
-import { renderHook } from '@testing-library/react-hooks';
+import { renderHook, act } from '@testing-library/react-hooks';
import { useTableSort } from './Table';
@@ -30,7 +30,9 @@ describe('Hook: useTableSort', () => {
const hook = render();
expect(hook.current.sortByDirection).toBe('desc');
+ act(() => {
hook.curre... | chore: fixes table ui component tests warn | null | pyroscope-io/pyroscope | Apache License 2.0 | TypeScript |
-const { pathsToModuleNameMapper } = require('ts-jest/utils');
-const tsConfig = require( './tsconfig.json');
+const { pathsToModuleNameMapper } = require("ts-jest/utils")
+const tsConfig = require("./tsconfig.json")
/**
* @type {import('jest').Config}
@@ -12,6 +12,12 @@ module.exports = {
testURL: "http://localhost",
... | chore(tests): collect coverage from all files, not only included in tests | null | lingui/js-lingui | MIT License | JavaScript |
@@ -265,11 +265,11 @@ create_or_update_lesson(
section_position += 1
section = create_or_update_section(
- title: 'Intermediate Ruby',
- title_url: 'Intermediate Ruby'.parameterize,
+ title: 'Object Oriented Programming Basics',
+ title_url: 'Object Oriented Programming Basics'.parameterize,
course_id: course.id,
posit... | chore: Break Intermediate Ruby Section Into Two Sections | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -197,7 +197,31 @@ yml_other_set()
'DOMAIN-SUFFIX,totheglory.im,DIRECT',
'DOMAIN-KEYWORD,announce,DIRECT',
'DOMAIN-KEYWORD,torrent,DIRECT',
- 'DOMAIN-KEYWORD,tracker,DIRECT'
+ 'DOMAIN-KEYWORD,tracker,DIRECT',
+ 'PROCESS-NAME,aria2c,DIRECT',
+ 'PROCESS-NAME,BitComet,DIRECT',
+ 'PROCESS-NAME,fdm,DIRECT',
+ 'PROCESS-NAM... | chore: add some bt/p2p's PROCESS-NAME rule | null | vernesong/openclash | MIT License | Shell |
-use std::env;
-
+#[cfg(windows)]
fn main() {
+ use std::env;
println!("cargo:rerun-if-changed=icon.res");
let mut path = env::current_dir().unwrap();
path.push("icon.res");
println!("cargo:rustc-link-arg={}", path.into_os_string().into_string().unwrap());
}
+
+#[cfg(not(windows))]
+fn main() {}
| chore: fix ubuntu broken built | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -107,17 +107,6 @@ return [
'threshold' => 0,
- /*
- |--------------------------------------------------------------------------
- | Redact Audits
- |--------------------------------------------------------------------------
- |
- | Redact attribute data when auditing?
- |
- */
-
- 'redact' => false,
-
/*
|----------... | chore(Config): remove redact configuration | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -20,8 +20,9 @@ exports.handler = async (event, context) => {
},
},
).then(response => {
- return { statusCode: 200, body: 'Done' }
+ return response.text()
})
+ return { statusCode: 200, body: 'Done' }
} catch (err) {
return { statusCode: 500, body: err.toString() }
}
| chore: Clean return on build function | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -20,15 +20,15 @@ defmodule Ash.CodeInterface do
@doc false
def default_value(resource, action, key) do
- field =
+ {field_type, field} =
case Enum.find(action.arguments, fn argument ->
argument.name == key
end) do
nil ->
- Ash.Resource.Info.attribute(resource, key)
+ {:attribute, Ash.Resource.Info.attribute(resource... | chore: hotfix code_interface change | null | ash-project/ash | MIT License | Elixir |
@@ -288,8 +288,7 @@ class SaintCoinachRedisCommand extends Command
// is this a repeater definition?
- // If it's topicselect, don't handle the link or it'll break data
- if (!isset($definition->name) && $definition->type === 'repeat' && $contentName !== 'TopicSelect') {
+ if (!isset($definition->name) && $definition->... | chore: better fix for TOpicSelect | null | xivapi/xivapi.com | MIT License | PHP |
namespace OwenIt\Auditing\Tests;
use Illuminate\Support\Facades\App;
+use OwenIt\Auditing\Contracts\Auditable;
use OwenIt\Auditing\Exceptions\AuditingException;
use OwenIt\Auditing\Models\Audit;
use OwenIt\Auditing\Tests\Models\Article;
@@ -618,8 +619,13 @@ class AuditableTest extends AuditingTestCase
/**
* @group Audi... | chore(AuditableTest): update transitionTo() method tests | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -203,8 +203,6 @@ public class SnomedConceptSearchRequest extends SnomedComponentSearchRequest<Sno
addEclFilter(context, queryBuilder);
- Expression searchProfileQuery = null;
-
final Expression queryExpression;
if (containsKey(OptionKey.SEMANTIC_TAG)) {
@@ -241,13 +239,11 @@ public class SnomedConceptSearchRequest e... | chore(snomed): remove obsolete code statements | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -302,6 +302,7 @@ impl Db {
.read()
.open_chunk();
+ info!(%table_name, %partition_key, found_chunk=chunk.is_some(), "rolling over a partition");
if let Some(chunk) = chunk {
let mut chunk = chunk.write();
chunk.freeze().context(FreezingChunk)?;
| chore: Log partition rollover | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -17,6 +17,7 @@ import java.util.HashMap;
import org.camunda.bpm.engine.impl.cmmn.entity.repository.CaseDefinitionEntity;
import org.camunda.bpm.engine.impl.cmmn.handler.CmmnHandlerContext;
import org.camunda.bpm.engine.impl.el.ExpressionManager;
+import org.camunda.bpm.engine.impl.persistence.entity.DeploymentEntity... | chore(test): adjust cmmn test cases to avoid NPE | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -12,12 +12,6 @@ const constants = require('../../constants');
const cls = require('../../cls');
const shimmer = require('shimmer');
const { getFunctionArguments } = require('../../../util/function_arguments');
-
-let logger;
-logger = require('../../../logger').getLogger('tracing/rdkafka', newLogger => {
- logger = ... | chore: removed will not implemented debug | null | instana/nodejs-sensor | MIT License | JavaScript |
@@ -2,7 +2,7 @@ export const SNAPSHOT_EU =
'https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/';
export const SNAPSHOT_ASIA =
'https://defi-snapshots.s3-ap-southeast-1.amazonaws.com/';
-export const SNAPSHOT_BLOCK = '831190';
+export const SNAPSHOT_BLOCK = '835791';
export const SNAPSHOT_FILENAME = `snapshot-... | chore: update snapshot 835791 | null | defich/app | MIT License | TypeScript |
@@ -2,12 +2,12 @@ use query_engine_tests::*;
#[test_suite(schema(generic), only(Postgres))]
mod find_many {
- use query_engine_tests::assert_query;
-
#[connector_test]
- async fn return_assertion_violation_value_too_large_to_transmit(runner: Runner) -> TestResult<()> {
+ async fn value_too_large_to_transmit(runner: Run... | chore: fix invalid_input_error tests | null | prisma/prisma-engines | Apache License 2.0 | Rust |
@@ -58,8 +58,6 @@ impl EventHandlerContext for room::Room {
///
/// Used as a context argument for event handlers (see
/// [`Client::add_event_handler`]).
-// FIXME: This could be made to not own the raw JSON value with some changes to
-// the traits above, but only with GATs.
#[derive(Clone, Debug)]
pub struct RawEven... | chore(sdk): Remove invalid comment | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
*/
@Override
public @NonNull Class<?> defineClass(@NonNull String name, @NonNull Class<?> parent, byte[] bytecode) {
- return this.cache.computeIfAbsent(parent.getClassLoader(), DefiningClassLoader::new).defineClass(name, bytecode);
+ return this.cache.computeIfAbsent(parent.getClassLoader(), DefiningClassLoader::new).... | chore: improve fallback class defining strategy | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
-import BigInt
import CryptoSwift
import Foundation
+import BigInt
import Core
-// TODO: Refactor me
-
-struct EIP712Domain: EIP712DomainHashable {
- let chainId: EIP712.UInt256?
- let verifyingContract: EIP712.Address
-}
-
-protocol EIP712DomainHashable: EIP712Hashable {}
-
-public struct SafeTx: EIP712Hashable {
- le... | chore: minor reordering of the structures in EIP712.swift file; removed EIP712DomainHashable as it is redundant; | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -33,38 +33,18 @@ const TerminatedError = new Error('Terminated');
const MAJOR_NODEJS_VERSION = parseInt(process.version.substring(1).split('.')[0], 10);
-class UserCallback {
- constructor(callback, timeout) {
- this._callback = callback;
- this._terminatePromise = new Promise(resolve => {
- this._terminateCallback ... | chore(testrunner): decouple UserCallback from location and timeout | null | microsoft/playwright | Apache License 2.0 | JavaScript |
@@ -49,7 +49,7 @@ const flexBasisStyles = ({
flex-basis: 25%;
`;
}
- // eslint-disable-next-line no-fallthrough
+ // eslint-disable-next-line no-fallthrough -- we know fallthrough will never happen here but eslint isn't so sure
case 'none':
return null;
}
| chore: Added comment explaining lint disabling | null | guardian/dotcom-rendering | Apache License 2.0 | TypeScript |
#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_VERSION_INFO_H
#define SPANNER_CLIENT_VERSION_MAJOR 1
-#define SPANNER_CLIENT_VERSION_MINOR 1
+#define SPANNER_CLIENT_VERSION_MINOR 2
#define SPANNER_CLIENT_VERSION_PATCH 0
#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_VERSION_INFO_H
| chore: bump version numbers (googleapis/google-cloud-cpp-spanner#1460) | null | googleapis/google-cloud-cpp | Apache License 2.0 | C |
@@ -257,9 +257,9 @@ void ConcreteEngine::OnSelect(Context* ctx) {
ctx->composition().Forward();
}
else {
- bool updateCaret = (seg.end >= ctx->caret_pos());
+ bool reached_caret_pos = (seg.end >= ctx->caret_pos());
ctx->composition().Forward();
- if (updateCaret) {
+ if (reached_caret_pos) {
// finished converting curr... | chore(engine.cc): Google code style; more informative name | null | rime/librime | BSD 3-Clause New or Revised License | C++ |
@@ -12,6 +12,7 @@ export env $(cat .env | xargs)
cd ${WORKSPACE}
GRUNT_LOG_FILE="$(pwd)/reports/logs/${PACKAGE}.log"
+mkdir -p $(dirname ${GRUNT_LOG_FILE})
export BABEL_CACHE_PATH=$(pwd)/.tmp/babel-cache/${PACKAGE}.babel.json
mkdir -p "$(pwd)/.tmp/babel-cache"
| chore(tooling): make sure log dir exists before writing to it | null | webex/webex-js-sdk | MIT License | Shell |
@@ -97,7 +97,7 @@ class Bookmark(commands.Cog):
if not target_message:
if not ctx.message.reference:
raise commands.UserInputError("You must either provide a valid message to bookmark, or reply to one.")
- target_message = await ctx.channel.fetch_message(ctx.message.reference.message_id)
+ target_message = await ctx.fe... | chore: use ctx.fetch_message | null | python-discord/sir-lancebot | MIT License | Python |
package ai.verta.modeldb;
-import ai.verta.modeldb.common.CommonConstants;
-import ai.verta.modeldb.common.CommonUtils;
import ai.verta.modeldb.common.configuration.ServerEnabled;
import ai.verta.modeldb.config.MDBConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationT... | chore: remove the broken PID management code | null | vertaai/modeldb | Apache License 2.0 | Java |
@@ -95,10 +95,14 @@ public class SqlScriptTest {
SnapshotParserFactory.getInstance().register(new DirectAccessSnapshotParser());
database = getDatabase();
+ try (Liquibase liquibase = getLiquibase()) {
+ // database cleared and set up with Liquibase changelog
+ liquibase.dropAll();
+
+ // execute the SQL scripts
execut... | chore(engine): stabilize SqlScriptTest | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -27,6 +27,14 @@ public abstract class Resource implements Serializable {
private static final long serialVersionUID = 1L;
+ /**
+ * @since 8.0
+ */
+ public static final class Fields {
+ public static final String ID = ResourceDocument.Fields.ID;
+ public static final String TITLE = ResourceDocument.Fields.TITLE;
+ ... | chore(api): add Fields class to Resource domain object | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -258,10 +258,9 @@ class Communication(Document):
# Timeline Links
def set_timeline_links(self):
+ contacts = []
if self.email_account and frappe.db.get_value("Email Account", self.email_account, "create_contact"):
contacts = get_contacts([self.sender, self.recipients, self.cc, self.bcc])
- else:
- contacts = []
for ... | chore: simplify contacts condition | null | frappe/frappe | MIT License | Python |
@@ -100,6 +100,20 @@ class BACSConfirmationPresenterTests: XCTestCase {
XCTAssertTrue(receivedUserInteractionValue)
}
+ func testPaymentButtonShouldHandlePayment() throws {
+ // Given
+ let expectedBacsData = bacsDataMock
+ sut.viewDidLoad()
+
+ // When
+ sut.paymentButtonItem?.buttonSelectionHandler?()
+
+ // Then
+ l... | chore: Test payment handler action | null | adyen/adyen-ios | MIT License | Swift |
@@ -17,6 +17,7 @@ import { Image } from '../struct'
`
const lines = []
+const logs = []
const dir = path.join(process.cwd(), './src/assets/images')
fs.readdir(dir, (err, files) => {
@@ -25,7 +26,7 @@ fs.readdir(dir, (err, files) => {
const filepath = path.join(dir, file)
const size = sizeOf(filepath)
const base64 = bas... | chore(build): do not output logs when no changes | null | antvis/x6 | MIT License | JavaScript |
import * as path from 'path';
-// eslint-disable-next-line
-const { constants: { MINIAPP, WECHAT_MINIPROGRAM, BAIDU_SMARTPROGRAM, KUAISHOU_MINIPROGRAM, QUICKAPP } } = require('miniapp-builder-shared');
import Generator from './generator';
import { TEMP_PATH } from './constant';
import dev from './dev';
@@ -9,6 +7,8 @@ ... | chore: update require statement order | null | alibaba/ice | MIT License | TypeScript |
@@ -13,19 +13,13 @@ public struct Environment: APIEnvironment {
public var baseURL: URL
/// :nodoc:
- public var headers: [String: String] {
- var headers = ["Content-Type": "application/json"]
-
- if let clientKey = clientKey {
- headers["x-client-key"] = clientKey
- } else {
- assertionFailure("Client key is missing.... | chore: removed the x-client-key header and used clientKey query param instead | null | adyen/adyen-ios | MIT License | Swift |
@@ -237,8 +237,16 @@ func varFromPrompt(envConfig recipes.VariableConfig) (string, error) {
msg = envConfig.Prompt
}
+ templates := &promptui.PromptTemplates{
+ Prompt: "{{ . }} ",
+ Valid: "{{ . }} ",
+ Invalid: "{{ . }} ",
+ Success: " - {{ . }} ",
+ }
+
prompt := promptui.Prompt{
Label: msg,
+ Templates: templates,
... | chore(install): adjust templates for go task prompts | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -360,14 +360,14 @@ final class MapDBRf2EffectiveTimeSlice extends BaseRf2EffectiveTimeSlice {
if (dependencies != null) {
Set<String> requiredDependencies = LongSets.toStringSet(dependencies);
for (String requiredDependency : requiredDependencies) {
- dependenciesByComponent.put(getCdoType(requiredDependency), requi... | chore(rf2): rename a remnant from a past era :alien: | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -12,13 +12,25 @@ const BreadcrumbsView: FC<Props> = ({ defaultValue: breadcrumbs }) => {
{breadcrumbs?.length
? breadcrumbs.map((breadcrumb: any) => (
<Fragment key={breadcrumb.key}>
- <Typography.Text type="secondary" className="mx-2 ">
- <IconChevronRight size="small" />
- </Typography.Text>
+ <span className="tex... | chore: update header layout | null | supabase/supabase | Apache License 2.0 | TypeScript |
@@ -5,9 +5,19 @@ require Protocol
defmodule Realtime.Adapters.Changes do
defmodule(Transaction, do: defstruct([:changes, :commit_timestamp]))
- defmodule(NewRecord, do: defstruct([:type, :record, :schema, :table, :columns, :commit_timestamp]))
- defmodule(UpdatedRecord, do: defstruct([:type, :old_record, :record, :sche... | chore: filter Adapters.Changes | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -34,7 +34,7 @@ func Get(c *gin.Context) {
// Get the user by the `user_id` from the database.
u, err := service.UserSvc.GetUserByID(c.Request.Context(), userID)
if err != nil {
- log.Warnf("get user info err: %v", err)
+ log.Warnf("get user info err: %+v", err)
response.Error(c, ecode.ErrUserNotFound)
return
}
| chore: print err with stack | null | go-eagle/eagle | MIT License | Go |
@@ -9,7 +9,7 @@ apt-get --yes install apt-transport-https jq
echo "export EDITOR=vim" >> /home/vagrant/.bashrc
-snap install microk8s --classic --channel=1.18/stable
+snap install microk8s --classic --channel=1.21/stable
microk8s.status --wait-ready
ufw allow in on cbr0
ufw allow out on cbr0
| chore: bump k8s version in vagrant to 1.21 | null | sumologic/sumologic-kubernetes-collection | Apache License 2.0 | Shell |
@@ -43,13 +43,16 @@ delete_tempdir() {
tempdir=""
}
-if [ "$1" = "--debug" ] || [ "$2" = "--debug" ]; then
+# flag parsing
+for arg; do
+ if [ "$arg" = "--debug" ]; then
DEBUG=1
fi
-if [ "$1" = "--no-install" ] || [ "$2" = "--no-install" ]; then
+ if [ "$arg" = "--no-install" ]; then
INSTALL=0
fi
+done
# identify OS
os... | chore: support N positional args in install script | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -271,8 +271,6 @@ pub struct AsyncThreadTracker<T: Future> {
old_thread_tracker: Option<ThreadTracker>,
}
-unsafe impl<T: Future + Send> Send for AsyncThreadTracker<T> {}
-
impl<T: Future> AsyncThreadTracker<T> {
pub fn create(tracker: Option<ThreadTracker>, inner: T) -> AsyncThreadTracker<T> {
AsyncThreadTracker::<T... | chore(mem-track): remove unused "impl Sync" | null | datafuselabs/databend | Apache License 2.0 | Rust |
package org.camunda.bpm.webapp.impl.security.filter;
-import org.camunda.bpm.webapp.impl.security.filter.util.CsrfConstants;
-import org.jboss.com.sun.corba.se.spi.protocol.CorbaServerRequestDispatcher;
+import java.io.IOException;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.HashSet;... | chore(csrf): cleanup code | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -5,6 +5,7 @@ describe ':curriculum' do
before do
Rake.application.rake_require 'tasks/curriculum'
Rake::Task.define_task(:environment)
+ allow($stdout).to receive(:write)
end
describe 'curriculum:update_content' do
| chore: Suppress Progress Bar Output in Specs | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -59,8 +59,8 @@ public class KafkaScheduler extends AbstractScheduler {
private final Map<String, Trigger> triggerLock = new ConcurrentHashMap<>();
- private KafkaStreamService.Stream stateStream;
- private KafkaStreamService.Stream cleanTriggerStream;
+ protected KafkaStreamService.Stream stateStream;
+ protected Ka... | chore(refactor): refactor KafkaScheduler | null | kestra-io/kestra | Apache License 2.0 | Java |
@@ -46,8 +46,7 @@ def chunk_finder(current_token, previous_token, tag):
return create_chunk, pop_out
-@register_metric('ner_f1')
-def precision_recall_f1(y_true, y_pred, print_results=False, short_report=False, entity_of_interest=None):
+def precision_recall_f1(y_true, y_pred, print_results=True, short_report=False, en... | chore: derive registered metric function from ner's percision_recall_f1 | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -18,6 +18,19 @@ function print_travis_env_vars() {
echo
}
+function maybe_add_git_branch() {
+ if [[ -n "$1" ]]; then
+ git remote set-branches --add origin "$1"
+ fi
+}
+
+function maybe_fetch_git_branches() {
+ maybe_add_git_branch 'master'
+ maybe_add_git_branch "$TRAVIS_BRANCH"
+ maybe_add_git_branch "$TRAVIS_PU... | chore(infrastructure): Fix Travis tests on feature branch PRs | null | material-components/material-components-web | MIT License | Shell |
@@ -285,7 +285,7 @@ export const DeviceItem = i18next.translate()(class extends React.Component<Tran
this.onRestartQuantel(this.props.device)
}
}>
- {t('Restart Gateway')}
+ {t('Restart Quantel Gateway')}
</button>
</React.Fragment> : null
)}
| chore: gui txt | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.