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,7 +33,7 @@ setup() {
# shellcheck disable=SC2094
cat <<<"$(jq '.networks.local.bind="127.0.0.1:'"$MITM_PORT"'"' dfx.json)" >dfx.json
- mitmdump -p "$MITM_PORT" --mode "reverse:http://$BACKEND" --replace '/~s/Hello,/Hullo,' &
+ mitmdump -p "$MITM_PORT" --mode "reverse:http://$BACKEND" --replacements '/~s/Hello,/H... | chore: update deprecated mitmproxy syntax | null | dfinity/sdk | Apache License 2.0 | Shell |
@@ -11,7 +11,7 @@ defmodule Ash.Sort do
@type sort_order ::
:asc | :desc | :asc_nils_first | :asc_nils_last | :desc_nils_first | :desc_nils_last
- @type t :: list(atom | {atom, sort_order}) | atom
+ @type t :: list(atom | {atom, sort_order} | {atom, {sort_order, Keyword.t() | map}}) | atom
alias Ash.Error.Query.{Invali... | chore: fix typespec | null | ash-project/ash | MIT License | Elixir |
@@ -302,8 +302,23 @@ class _LoginScreenState extends State<LoginScreen> {
_domainController.text = 'https://gitea.com';
final result = await theme.showConfirm(
context,
+ Column(
+ children: [
_buildPopup(context, showDomain: true),
- );
+ Text.rich(TextSpan(children: [
+ TextSpan(
+ text:
+ 'Note: To login with Codebe... | chore: codeberg login note | null | git-touch/git-touch | Apache License 2.0 | Dart |
@@ -32,6 +32,7 @@ type WeakReferences = IfAvailable<WeakMap<any, any>> | IfAvailable<WeakSet<any>>
export type WritableDraft<T> = {-readonly [K in keyof T]: Draft<T[K]>}
+/** Convert a readonly type into a mutable type, if possible */
export type Draft<T> = T extends PrimitiveType
? T
: T extends AtomicObject
| chore: Add note explaining Draft type | null | immerjs/immer | MIT License | TypeScript |
@@ -418,7 +418,7 @@ def url_str_to_user_pk(s):
# TODO: Ugh, isn't there a cleaner way to determine whether or not
# the PK is a str-like field?
if getattr(User._meta.pk, 'remote_field', None):
- pk_field = User._meta.pk.rel.to._meta.pk
+ pk_field = User._meta.pk.remote_field.to._meta.pk
else:
pk_field = User._meta.pk
i... | chore: Django field.rel attribute is renamed to remote_field | null | pennersr/django-allauth | MIT License | Python |
@@ -300,7 +300,7 @@ func IsAdminClient(ctx context.Context) bool {
var AdminUserExists func(ctx context.Context) bool
var CreateAdminUser func(ctx context.Context) (string, string, error)
-var ErrServerAuthDisabled = status.Errorf(
+var ErrServerAuthDisabled = status.Error(
codes.Unavailable, "authentication is disable... | chore: use status.Error instead of status.Errorf for static string | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -43,7 +43,7 @@ namespace acl
{
switch (type)
{
- case algorithm_type8::uniformly_sampled: return 5;
+ case algorithm_type8::uniformly_sampled: return 6;
//case algorithm_type8::LinearKeyReduction: return 0;
//case algorithm_type8::SplineKeyReduction: return 0;
default: return 0xFFFF;
| chore: bump algorithm version | null | nfrechette/acl | MIT License | C |
@@ -156,7 +156,6 @@ class LDAPSettings(Document):
ldap_object_class = None
ldap_group_members_attribute = None
- ldap_group_search_filter = None
if self.ldap_directory_server.lower() == 'active directory':
| chore(ldap): remove unused var | null | frappe/frappe | MIT License | Python |
@@ -38,6 +38,10 @@ export class DtCopyToClipboard implements AfterContentInit, OnDestroy {
}
private _disabled = false;
+ /**
+ * @deprecated The copy-to-clipboard component should not be disabled.
+ * @breaking-change To be removed with 3.0.0.
+ */
@Input()
get disabled(): boolean {
return this._disabled;
| chore(copy-to-clipboard): deprecate disabled input | null | dynatrace-oss/barista | Apache License 2.0 | TypeScript |
set -e # aborts as soon as anything returns non-zero exit status
-if [ ! -z "$TRAVIS_COMMIT" ]; then
+if [ ! -z "$TRAVIS" ]; then
git remote set-branches origin master
git fetch --unshallow --quiet
git checkout master --quiet
git checkout - --quiet
- ./node_modules/.bin/commitlint --from=master --to="$TRAVIS_COMMIT"
-e... | chore: Simplify git setup before linting commits | null | apiaryio/dredd | MIT License | Shell |
@@ -30,6 +30,8 @@ internal final class PreApplePayComponent: PresentableComponent,
}
}
+ private var isPresenting: Bool = false
+
private let payment: Payment
private let applePayComponent: ApplePayComponent
@@ -72,9 +74,8 @@ internal final class PreApplePayComponent: PresentableComponent,
}
internal func didCancel() {... | chore: add local state to PreApplePay | null | adyen/adyen-ios | MIT License | Swift |
@@ -276,13 +276,10 @@ class AuditingTest extends AuditingTestCase
]);
$article = factory(Article::class)->create([
- 'title' => 'How To Keep All Audit Records',
- 'content' => 'N/A',
- 'published_at' => null,
- 'reviewed' => 0,
+ 'reviewed' => 1,
]);
- foreach (range(0, 100) as $count) {
+ foreach (range(0, 99) as $cou... | chore(Tests): cleanups | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -101,6 +101,10 @@ func New(c Config) (*Controller, error) {
if logger == nil {
logger = zap.NewNop()
}
+ logger.Info("Starting query controller",
+ zap.Int("concurrency_quota", c.ConcurrencyQuota),
+ zap.Int64("memory_bytes_quota_per_query", c.MemoryBytesQuotaPerQuery),
+ zap.Int("queue_size", c.QueueSize))
ctrl := ... | chore(control): log controller config when starting up | null | influxdata/flux | MIT License | Go |
@@ -30,7 +30,9 @@ test('server command > launches a server', async () => {
test('server command > launches a server based on the dummy app in an addon', async () => {
let generateAddon = new CommandAcceptanceTest('generate addon my-denali-addon', { name: 'server-command-dummy-app', populateWithDummy: false });
- let { ... | chore: debugging CI failures | null | denali-js/core | Apache License 2.0 | TypeScript |
-export default '<svg focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" id="svg-hammer"><path d="M.476 12.915L6.7 6 9 8.556l-6.223 6.915a1.542 1.542 0 0 1-1.15.529 1.54 1.54 0 0 1-1.15-.53c-.636-.706-.636-1.85 0-2.555zm12.638-9.031L16 6.863 12.866 10 4 .919 9.35 0l1.912 1.972.251-.251c.52-.52 2.4... | chore(icon): clean up SVG bundle module for tests | null | ing-bank/lion | MIT License | JavaScript |
@@ -23,6 +23,8 @@ import (
"go.opentelemetry.io/otel/codes"
+ otelcontrib "go.opentelemetry.io/contrib"
+
otelglobal "go.opentelemetry.io/otel/api/global"
otelpropagation "go.opentelemetry.io/otel/api/propagation"
oteltrace "go.opentelemetry.io/otel/api/trace"
@@ -46,7 +48,10 @@ func Middleware(service string, opts ...... | chore: add sem version to gin-gonic instrumentation | null | open-telemetry/opentelemetry-go-contrib | Apache License 2.0 | Go |
@@ -132,7 +132,7 @@ export default class CoreScroll extends HTMLElement {
let moveX = requestJumps ? 1 : x - this.scrollLeft
let moveY = requestJumps ? 1 : y - this.scrollTop
- return new Promise((resolve, reject) => {
+ return new Promise((resolve) => {
const move = () => {
if (DRAG.animate === uuid && (Math.round(mov... | chore(core-scroll): Remove unused param in Promise | null | nrkno/core-components | MIT License | JavaScript |
@@ -4178,13 +4178,21 @@ void SuperMediaPlayer::ApsaraVideoRenderListener::onFrameInfoUpdate(IAFFrame::AF
bool SuperMediaPlayer::ApsaraVideoProcessTextureCallback::init(int type)
{
std::lock_guard<std::mutex> filterLock(mPlayer.mFilterManagerMutex);
+ if (mPlayer.mFilterManager) {
return mPlayer.mFilterManager->initFilt... | chore(filter): add null judegement | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -172,19 +172,11 @@ public class TrackerBundle
private Map<String, List<RuleEffect>> eventRuleEffects = new HashMap<>();
@Builder.Default
- private Map<TrackerType, Map<String, TrackerImportStrategy>> resolvedStrategyMap = initStrategyMap();
-
- private static Map<TrackerType, Map<String, TrackerImportStrategy>> init... | chore: inline resolvedStrategyMap creation | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -37,6 +37,30 @@ pub mod pact;
pub mod sync_pact;
pub mod message_pact;
+/// A "prelude" or a default list of import types to include.
+pub mod prelude {
+ pub use crate::{Consumer, Provider};
+ pub use crate::bodies::OptionalBody;
+ pub use crate::content_types::ContentType;
+ pub use crate::expression_parser::DataT... | chore: add a prelude module to the models crate | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -39,7 +39,7 @@ func TestSyntheticsSecureCredential_Basic(t *testing.T) {
require.Nil(t, deleteResp)
}
-// Integration testing for pvt location
+// Integration testing for private location
func TestSyntheticsPrivateLocation_Basic(t *testing.T) {
t.Parallel()
@@ -52,13 +52,13 @@ func TestSyntheticsPrivateLocation_Basi... | chore: added integration testing for purge private location queue | null | newrelic/newrelic-client-go | Apache License 2.0 | Go |
@@ -226,13 +226,16 @@ void on_interaction_create(
if (!interaction->data || !interaction->data->values)
return;
- char text[1024];
+ char values[1024]={0};
+ ja_str_list_to_json(values, sizeof(values), interaction->data->values);
+
+ char text[DISCORD_MAX_MESSAGE_LEN];
snprintf(text, sizeof(text),
"So you have chosen:\... | chore(bot-components): update to match | null | cee-studio/orca | MIT License | C |
@@ -675,8 +675,8 @@ public class BoxUser extends BoxCollaborator {
}
/**
- * Upload avatar image to user account. Supported formats are JPG, JPEG and PNG.
- * Maximum allowed file size is 1MB and resilution 1024x1024 pixels.
+ * Upload avatar image to user account. Supported formats are JPG and PNG.
+ * The image size ... | chore: fix avatar docs | null | box/box-java-sdk | Apache License 2.0 | Java |
-// eslint-disable-next-line @typescript-eslint/no-var-requires
-const { extendDefaultPlugins } = require('svgo');
-
module.exports = {
- plugins: extendDefaultPlugins([
+ plugins: [
{
- name: 'removeViewBox',
- active: false,
+ name: 'preset-default',
+ params: {
+ overrides: {
+ removeViewBox: false,
+ },
+ },
},
{
n... | chore(spindle-icons): update SVGO config to v3 | null | openameba/spindle | MIT License | JavaScript |
@@ -30,7 +30,7 @@ public final class FormPostalCodeItem: FormTextItem {
title = localizedString(.postalCodeFieldTitle,
localizationParameters) + " " + localizedString(.fieldTitleOptional,
localizationParameters)
- validator = NumericStringValidator(exactLength: 0) || LengthValidator(minimumLength: 2, maximumLength: 30)... | chore: small fix in FormPostalCodeItem | null | adyen/adyen-ios | MIT License | Swift |
-export default part => {
- let { points, Point, measurements, options, utils } = part.shorthand()
+export default (part) => {
+ let { store, points, Point, measurements, options, utils } = part.shorthand()
- // Shoulder
- points.cbHps = new Point(0, 0)
- // Step 1/3: no vertical ease to make sure shoulder slope is not... | chore(breanna): Ported Breanna to the new shoulderSlope measurement | null | freesewing/freesewing | MIT License | JavaScript |
# Install the New Relic CLI.
# https://github.com/newrelic/newrelic-cli
#
-# Dependencies: curl, cut, tar
+# Dependencies: curl, cut, tar, gzip
#
# The version to install and the binary location can be passed in via VERSION and DESTDIR respectively.
#
@@ -12,6 +12,20 @@ set -o errexit
echo "Starting installation."
+# D... | chore(install): be defensive about dependencies | null | newrelic/newrelic-cli | Apache License 2.0 | Shell |
@@ -5,10 +5,12 @@ namespace App\Controller;
use App\Service\Content\LodestoneCharacter;
use App\Service\LodestoneQueue\CharacterConverter;
use Lodestone\Api;
+use Lodestone\Exceptions\LodestoneNotFoundException;
use Lodestone\Exceptions\LodestonePrivateException;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractCo... | chore: fix for automatic import update, thx phpstorm | null | xivapi/xivapi.com | MIT License | PHP |
@@ -135,8 +135,6 @@ async function doActivate(context: vscode.ExtensionContext) {
tsVersion.activate(context, [apiClient, docClient].filter(shared.notEmpty));
whitelist.activate(context, clients);
- startEmbeddedLanguageServices();
-
async function registarLowPowerModeChange() {
vscode.workspace.onDidChangeConfiguratio... | chore: remove `vscode.typescript-language-features` depend | null | johnsoncodehk/volar | MIT License | TypeScript |
@@ -2,7 +2,7 @@ export default {
name: "mars-theme-example",
state: {
frontity: {
- url: "https://test.frontity.io",
+ url: "https://mars.frontity.org",
title: "Test Frontity Blog",
description: "Useful content for Frontity development"
}
@@ -32,8 +32,7 @@ export default {
name: "@frontity/wp-source",
state: {
source: ... | chore(mars-theme-example): fix frontity settings | null | frontity/frontity | Apache License 2.0 | JavaScript |
@@ -97,7 +97,8 @@ create_or_update_lesson(
section_id: section.id,
is_project: true,
url: '/getting_hired/project_portfolio.md',
- repo: 'curriculum'
+ repo: 'curriculum',
+ accepts_submission: true
)
# +++++++++++
@@ -146,7 +147,8 @@ create_or_update_lesson(
section_id: section.id,
is_project: true,
url: '/getting_hir... | chore: Roll Submissions Project out To Getting Hired Course | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -31,7 +31,7 @@ fi
# git --no-pager diff HEAD main
git --no-pager diff --name-only HEAD main
-DOCS_ONLY_CHANGES=$(git --no-pager diff --name-only HEAD main | egrep -v "^docs/|.gitattributes|^.github|^README.md" | tr -d '[:space:]')
+DOCS_ONLY_CHANGES=$(git --no-pager diff --name-only HEAD main | egrep -v "^docs/|.git... | chore: changes to .markdownlint.json should be docs-only | null | opstrace/opstrace | Apache License 2.0 | Shell |
@@ -19,7 +19,6 @@ class LoadingViewTests: XCTestCase {
let contentView = UIView()
sut = LoadingView(contentView: contentView)
sut.translatesAutoresizingMaskIntoConstraints = false
- contentView.translatesAutoresizingMaskIntoConstraints = false
viewController = UIViewController()
viewController.view.addSubview(sut)
| chore: Update loading view tests | null | adyen/adyen-ios | MIT License | Swift |
@@ -255,10 +255,13 @@ internal class CardViewController: FormViewController {
}()
internal lazy var additionalAuthCodeItem: FormTextInputItem = {
+ // Validates birthdate (YYMMDD) or the Corporate registration number (10 digits)
+ let kcpValidator = NumericStringValidator(exactLength: 10) || DateValidator(format: DateV... | chore: add comment for kcp validation | null | adyen/adyen-ios | MIT License | Swift |
@@ -701,7 +701,16 @@ export async function onPiecePlaybackStarted(context: JobContext, data: OnPieceP
data,
async (playlist) => {
if (!playlist) throw new Error(`RundownPlaylist "${data.playlistId}" not found!`)
+ await _onPiecePlaybackStarted(context, playlist, data)
+ }
+ )
+}
+async function _onPiecePlaybackStarted(... | chore: refactor: move inner code to separate functions | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -14,7 +14,7 @@ use std::{
path::PathBuf,
time::{Duration, SystemTime, UNIX_EPOCH},
};
-use tracing::trace;
+use tracing::{error, trace};
pub mod account;
pub mod contract;
pub mod errors;
@@ -158,31 +158,41 @@ impl Client {
form: &Form,
) -> Result<Response<T>> {
trace!(target: "etherscan", "POST FORM {}", self.ethe... | chore(etherscan): log response data on error | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -20,6 +20,8 @@ func InitTracerProvider(serviceName, url string) (*tracesdk.TracerProvider, erro
}
tp := tracesdk.NewTracerProvider(
+ // set sample
+ tracesdk.WithSampler(tracesdk.AlwaysSample()),
// Always be sure to batch in production.
tracesdk.WithBatcher(exporter),
// Record information about this application i... | chore: add Sampler | null | go-eagle/eagle | MIT License | Go |
@@ -108,8 +108,9 @@ func NewHandlerFromRegistry(name string, reg *prom.Registry, opts ...HandlerOptF
h.initMetrics()
r := chi.NewRouter()
+ // only gather metrics for system handlers
+ r.Group(func(r chi.Router) {
r.Use(
- kithttp.Trace(name),
kithttp.Metrics(name, h.requests, h.requestDur),
)
{
@@ -117,8 +118,20 @@ fu... | chore(http): stop tracing system related api paths | null | influxdata/influxdb | MIT License | Go |
@@ -215,6 +215,27 @@ describe('Dispatcher typings', () => {
dispatch.myModel.incWithOptionalMetaAndOptionalPayload(4)
dispatch.myModel.incWithOptionalMetaAndOptionalPayload(4, '4')
})
+
+ it('reducer without arguments', () => {
+ const model = createModel<RootModel>()({
+ state: 0,
+ reducers: {
+ inc(state) {
+ return... | chore: added more tests to ts typings | null | rematch/rematch | MIT License | TypeScript |
@@ -27,7 +27,7 @@ abstract class OAuth
/**
* @var array
*/
- protected $userScopes;
+ protected $scopes;
/**
* OAuth constructor.
@@ -36,15 +36,17 @@ abstract class OAuth
* @param string $appSecret
* @param string $callback
* @param array $state
- * @param array $userScopes
+ * @param array $scopes
*/
- public function... | chore: added duplicate scope check in constructor | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -397,8 +397,6 @@ fn compile_parallel(
.collect::<Result<Vec<_>>>()
})?;
- // TODO need to do post filtering as the output can contain more files than provided in the
- // input
let mut aggregated = AggregatedCompilerOutput::default();
aggregated.extend_all(outputs);
| chore: rm no longer valid todo | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -220,6 +220,6 @@ def send_private_file(path):
def handle_session_stopped():
from frappe.website.serve import get_response
frappe.respond_as_web_page(_("Updating"),
- _("Your system is being updated. Please refresh again after a few moments."),
+ _("The system is being updated. Please refresh again after a few moment... | chore: better message for system updates | null | frappe/frappe | MIT License | Python |
@@ -234,14 +234,15 @@ public class MethodGen {
code.startLine("// Can't load method instructions.");
return;
}
+ code.incIndent();
if (mth.getThisArg() != null) {
code.startLine(nameGen.useArg(mth.getThisArg())).add(" = this;");
}
addFallbackInsns(code, mth, insnArr, true);
+ code.decIndent();
}
public static void addF... | chore: fix indent of first line in fallback mode | null | skylot/jadx | Apache License 2.0 | Java |
-<div class="fixed inset-0 flex items-end justify-center px-4 py-6
+<div class="fixed z-50 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', 'question'],
| chore: add z-index 50 to notifications | null | wireui/wireui | MIT License | PHP |
@@ -25,39 +25,42 @@ limitations under the License.
#include "falco_output.pb.h"
#include "grpc_context.h"
-class grpc_server_impl
+class falco_grpc_server_impl
{
public:
- grpc_server_impl() = default;
- ~grpc_server_impl() = default;
+ falco_grpc_server_impl() = default;
+ ~falco_grpc_server_impl() = default;
protecte... | chore(userspace/falco): rename grpc server into falco grpc server | null | falcosecurity/falco | Apache License 2.0 | C |
-export { DirectAuthorization } from './direct';
+export * from './direct';
-export { ImplicitFlow } from './implicit-flow';
-export { ImplicitFlowUser } from './implicit-flow-user';
-export { ImplicitFlowGroups } from './implicit-flow-groups';
+export * from './implicit-flow';
+export * from './implicit-flow-user';
+e... | chore(authorization): export all from providers | null | negezor/vk-io | MIT License | TypeScript |
@@ -442,15 +442,15 @@ public class PGConnectionContext extends AbstractMutableIOContext<PGConnectionCo
}
} while (keepReceiving && operation == IOOperation.READ);
} catch (SqlException e) {
- reportError(e.getPosition(), e.getFlyweightMessage(), 0);
+ reportNonCriticalError(e.getPosition(), e.getFlyweightMessage());
} ... | chore(pgwire): fix log level for SqlException | null | questdb/questdb | Apache License 2.0 | Java |
@@ -350,6 +350,7 @@ mod tests {
];
#[test_log::test]
+ #[cfg(not(windows))]
fn pactffi_matches_binary_value_test() {
let rule = MatchingRule::ContentType("image/gif".to_string());
let rule_ptr = &rule as *const MatchingRule;
| chore: pactffi_matches_binary_value_test will not work on Windows | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -4,7 +4,6 @@ using NUnit.Framework;
using UnityEditor;
using UnityEditor.Build.Reporting;
using UnityEngine;
-using UnityEngine.TestTools;
namespace Unity.Netcode.EditorTests
{
@@ -21,6 +20,8 @@ namespace Unity.Netcode.EditorTests
var buildTargetGroup = BuildPipeline.GetBuildTargetGroup(buildTarget);
var buildTarget... | chore: Fix build test | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -340,7 +340,9 @@ export async function serveFile(
let bytesSent = 0;
const body = new ReadableStream({
async start() {
+ if (start > 0) {
await file.seek(start, Deno.SeekMode.Start);
+ }
},
async pull(controller) {
const bytes = new Uint8Array(DEFAULT_CHUNK_SIZE);
| chore(http/file_server): only seek if necessary | null | denoland/deno_std | MIT License | TypeScript |
@@ -452,13 +452,15 @@ wan_ip6=$(/usr/share/openclash/openclash_get_network.lua "wanip6")
if [ -n "$wan_ip" ]; then
for i in $wan_ip; do
- sed -i "s/${wan_ip}/*WAN IP*/g" "$DEBUG_LOG" 2>/dev/null
+ wanip=$(echo "$i" |awk -F '.' '{print $1"."$2"."$3}')
+ sed -i "s/${wanip}/*WAN IP*/g" "$DEBUG_LOG" 2>/dev/null
done
fi
if ... | chore: debug hide wanip | null | vernesong/openclash | MIT License | Shell |
@@ -5,12 +5,16 @@ defmodule Realtime.ConfigurationManagerTest do
test "get configuration without a key" do
state = make_state()
- {:reply, {:ok, %{webhooks: []}}, _} = ConfigurationManager.handle_call({:get_config, nil}, nil, state)
+
+ {:reply, {:ok, %{webhooks: []}}, _} =
+ ConfigurationManager.handle_call({:get_conf... | chore: format ConfigurationManagerTest | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -28,7 +28,7 @@ clone_git "$FFMPEG_GIT" "$FFMPEG_BRANCH" ffmpeg
if [ -z "${OPENSSL_GIT}" ];then
OPENSSL_GIT="https://github.com/openssl/openssl.git"
fi
-OPENSSL_BRANCH="OpenSSL_1_1_1-stable"
+OPENSSL_BRANCH="OpenSSL_1_1_1f"
clone_git $OPENSSL_GIT $OPENSSL_BRANCH
if [ -z "${CURL_GIT}" ];then
| chore(external): openssl use OpenSSL_1_1_1f tag instead of branch | null | alibaba/cicadaplayer | MIT License | Shell |
@@ -441,8 +441,9 @@ pub mod pallet {
fn on_signal(
origin: &OriginFor<T>,
- signal: t3rn_primitives::sdk_primitives::signal::ExecutionSignal<T::Hash>,
+ signal: sdk_primitives::signal::ExecutionSignal<T::Hash>,
) -> DispatchResult {
+ log::debug!(target: "runtime::circuit", "Handling on_signal {:?}", signal);
let reque... | chore: add logging in circuit on_signal | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -23,7 +23,7 @@ module Bullet
if defined?(Rails::Railtie)
class BulletRailtie < Rails::Railtie
initializer 'bullet.configure_rails_initialization' do |app|
- if defined?(ActionDispatch::ContentSecurityPolicy::Middleware) && !app.config.api_only
+ if defined?(ActionDispatch::ContentSecurityPolicy::Middleware) && app.m... | chore: better way to check if middleware exists | null | flyerhzm/bullet | MIT License | Ruby |
namespace Google\Cloud\Logging\Connection;
+use Google\ApiCore\Serializer;
use Google\Cloud\Core\GrpcRequestWrapper;
use Google\Cloud\Core\GrpcTrait;
use Google\Cloud\Logging\Logger;
use Google\Cloud\Logging\LoggingClient;
use Google\Cloud\Logging\V2\ConfigServiceV2Client;
-use Google\Cloud\Logging\V2\LoggingServiceV2C... | chore: replace deprecated constant reference | null | googleapis/google-cloud-php | Apache License 2.0 | PHP |
@@ -458,7 +458,7 @@ class LabelingTask(object):
state[k] = v.cuda()
scheduler = DavisKingScheduler(optimizer, factor=0.5,
- patience=20 * batches_per_epoch)
+ patience=10 * batches_per_epoch)
loss_func = model.get_loss()
| chore: wait for 10 epochs instead of 20 | null | pyannote/pyannote-audio | MIT License | Python |
@@ -12,30 +12,30 @@ import org.fossasia.susi.ai.R;
* Created by arundhati24 16/07/2018.
*/
public class SimpleDividerItemDecoration extends RecyclerView.ItemDecoration {
- private Drawable mDivider;
- private int mDrawDividerFromIndex;
+ private Drawable divider;
+ private int drawDividerFromIndex;
public SimpleDivider... | chore: Remove Hungarian notation | null | fossasia/susi_android | Apache License 2.0 | Java |
@@ -144,6 +144,14 @@ pub async fn main(config: Config) -> Result<()> {
server_config
};
+ if config.grpc_bind_address == config.http_bind_address {
+ error!(
+ "grpc and http bind addresses must differ; both are {:?}",
+ config.grpc_bind_address
+ );
+ std::process::exit(1);
+ }
+
let connection_manager = ConnectionMan... | chore: check for grpc & http bind addr conflict | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -2,8 +2,8 @@ use crate::desktop_context::{DesktopContext, UserWindowEvent};
use dioxus_core::*;
use std::{
collections::HashMap,
- sync::atomic::AtomicBool,
- sync::{Arc, RwLock},
+ sync::Arc,
+ sync::{atomic::AtomicBool, Mutex},
};
use wry::{
self,
@@ -14,7 +14,7 @@ use wry::{
pub(super) struct DesktopController {
... | chore: switch to mutex | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -368,16 +368,26 @@ class AutoscaledPool {
* @internal
*/
async _maybeRunTask(intervalCallback) {
+ this.log.perf('Attempting to run a task.');
// Check if the function was invoked by the maybeRunInterval and use an empty function if not.
const done = intervalCallback || (() => {});
// Prevent starting a new task if:... | chore: add perf logging to autoscaledpool | null | apify/apify-js | Apache License 2.0 | JavaScript |
@@ -112,7 +112,6 @@ public class JsonViewTest {
public void shouldSerializeTypeParameter() throws JsonProcessingException {
Swagger swagger = getSwagger(CarSummaryApi.class);
String swaggerJson = Json.mapper().writeValueAsString(swagger);
- System.out.println(swaggerJson);
Assert.assertTrue(swaggerJson.contains("manufa... | chore: remove the debug output | null | swagger-api/swagger-core | Apache License 2.0 | Java |
@@ -804,7 +804,7 @@ mod tests {
// update this test whenever there's a new sol
// version. that's ok! good reminder to check the
// patch notes.
- (">=0.5.0", "0.8.13"),
+ (">=0.5.0", "0.8.14"),
// range
(">=0.4.0 <0.5.0", "0.4.26"),
]
| chore: bump latest solc release | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -513,13 +513,16 @@ function analyzeScope(ast, parserOptions, visitorKeys) {
* as possible
* @param {string} text The text to parse.
* @param {Object} providedParserOptions Options to pass to the parser
- * @param {Object} parser The parser module
+ * @param {string} parserName The name of the parser
+ * @param {Map<... | chore: refactor parser-loading out of linter.verify | null | eslint/eslint | MIT License | JavaScript |
@@ -355,6 +355,7 @@ impl Address {
}
}
+ // TODO: Replace with macro to take less space when "debugger" feature is disabled?
/// Generate a random address with a debug tag and transport type [`LOCAL`].
pub fn random_tagged(_tag: &str) -> Self {
#[cfg(feature = "debugger")]
| chore(rust): add `TODO` to `Address::random_tagged` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -184,7 +184,6 @@ pub struct NodeManagerTransportOptions {
impl NodeManager {
/// Create a new NodeManager with the node name from the ockam CLI
- #[allow(clippy::too_many_arguments)]
pub async fn create(
ctx: &Context,
general_options: NodeManagerGeneralOptions<'_>,
| chore(rust): remove clippy `allow` rule | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -11,12 +11,14 @@ export SAUCE_ACCESS_KEY
BROWSER_STACK_ACCESS_KEY=$(echo "$BROWSER_STACK_ACCESS_KEY" | rev)
SAUCE_ACCESS_KEY=$(echo "$SAUCE_ACCESS_KEY" | rev)
+# TODO: restore "SL_EDGE-1" once Sauce Labs adds Edge 17 and "SL_EDGE-1" refers
+# to version 16. Edge 15 disconnects from Karma frequently causing extreme b... | chore(*): stop testing on Edge 15 due to its instability | null | angular/angular.js | MIT License | Shell |
@@ -58,14 +58,14 @@ pub mod linux {
return Err(AllocError);
}
let addr = NonNull::new(addr as *mut ()).ok_or(AllocError)?;
- ThreadTracker::alloc_memory(layout.size() as i64, &addr);
+ ThreadTracker::alloc_memory(layout.size() as i64);
Ok(NonNull::<[u8]>::from_raw_parts(addr, layout.size()))
}
#[inline(always)]
unsafe ... | chore(mem-tracker): fix mmap allocator | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -88,21 +88,21 @@ fi
# Bump beta to stable: yarn lerna version --conventional-graduate --skip-git
# Initiate next patch: yarn lerna publish prerelease --conventional-graduate
-case $branch in
- beta)
- echo +++ publishing beta
- yarn lerna publish prerelease --yes --force-publish --dist-tag beta
- ;;
- master)
- echo... | chore(ci): disable publish on bk | null | flood-io/element | Apache License 2.0 | Shell |
@@ -399,8 +399,7 @@ extension EthereumTransaction {
@available(*, deprecated, message: "use encode() instead")
public func encode(forSignature: Bool = false, chainID: BigUInt? = nil) -> Data? {
- if forSignature == true { return self.envelope.encode(for: .signature) }
- return self.envelope.encode(for: .transaction)
+ ... | chore: simplified func encode(forSignature: Bool = false, chainID: BigUInt? = nil) to be a one-line function | null | skywinder/web3swift | Apache License 2.0 | Swift |
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = '0.0.8'
+__version__ = '0.0.9'
__author__ = 'Neural Networks and Deep Learning lab, MIPT'
__description__ = 'An open source library for building end-to-end dialog systems and training chatbots.'
__keywo... | chore: increase version to 0.0.9 | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -466,8 +466,6 @@ impl VirtualDom {
h1.cmp(&h2).reverse()
});
- log::trace!("dirty_scopes: {:?}", self.dirty_scopes);
-
if let Some(scopeid) = self.dirty_scopes.pop() {
if !ran_scopes.contains(&scopeid) {
ran_scopes.insert(scopeid);
@@ -478,8 +476,6 @@ impl VirtualDom {
let DiffState { mutations, .. } = diff_state;
-... | chore: remove some hotpath logging | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -771,7 +771,7 @@ Video.propTypes = {
})
).isRequired,
/**
- * A path of the image that will be displayed on the video's splash screen. If this is undefined, it will pull an image from the loaded video file.
+ * A path of the image that will be displayed on the video's splash screen.
*/
posterSrc: PropTypes.string.is... | chore(core-video): remove undefined from posterSrc usage | null | telus/tds-core | MIT License | JavaScript |
@@ -190,8 +190,8 @@ public class PyOperatorFactory
reason.append(": ").append(errMessage.get());
}
if (!errBacktrace.isEmpty()) {
- reason.append("\n\tfrom ");
- reason.append(String.join("\n", errBacktrace));
+ reason.append("\n ");
+ reason.append(String.join(" ", errBacktrace));
}
}
catch (JsonMappingException ex) {... | chore: fix indent and line breaks of traceback in a log | null | treasure-data/digdag | Apache License 2.0 | Java |
@@ -30,28 +30,21 @@ internal final class VoucherViewControllerProvider: AnyVoucherViewControllerProv
}
internal func provide(with action: VoucherAction) -> UIViewController {
+ let view: GenericVoucherView
switch action {
case let .dokuIndomaret(action):
- return createGenericViewController(
- with: createGenericView(w... | chore: Refactor how VoucherViewControllerProvider provides a ViewController | null | adyen/adyen-ios | MIT License | Swift |
@@ -23,7 +23,7 @@ cd apk
if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then
echo "Push to master branch detected, signing the app..."
# Retain apk files for testing
- mv app-debug.apk app-master-debug.apk
+ mv app-debug.apk pslab-master-debug.apk
# Generate temporary apk for signing
cp app-release-unsigned.apk app-rele... | chore: updated apk names | null | fossasia/pslab-android | Apache License 2.0 | Shell |
@@ -52,13 +52,6 @@ import org.jetbrains.annotations.Contract;
* @author <a href="https://github.com/StellarHorizons">StellarHorizons</a>
*/
public class GalacticraftBlocks {
-// static {
-// classloadTest();
-// }
-//
-// private static void classloadTest() {
-// throw new RuntimeException();
-// }
// Special Blocks
pu... | chore: Remove ugly classloading test code | null | stellarhorizons/galacticraft-rewoven | MIT License | Java |
@@ -773,7 +773,7 @@ def do_regression_tests(build_dir, test_data_dir, args):
else:
do_regression_tests_cmake(test_data_dir, args)
-def do_run_bench_android():
+def do_run_bench_android(build_dir, args):
# Switch our working directory to where we built everything
working_dir = os.path.join(build_dir, 'tools', 'acl_decom... | chore: add missing arguments | null | nfrechette/acl | MIT License | Python |
@@ -21,13 +21,16 @@ public final class MBWayComponent: AbstractPersonalInformationComponent {
/// - Parameters:
/// - paymentMethod: The MB Way payment method.
/// - apiContext: The component's API context.
+ /// - adyenContext: The Adyen context.
/// - configuration: The component's configuration.
public init(paymentM... | chore: Adyen context in MBWayComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -24,7 +24,7 @@ import { nls } from '../messages';
import { notificationService, ProgressNotification } from '../notifications';
import { DeployQueue } from '../settings/pushOrDeployOnSave';
import { taskViewService } from '../statuses';
-import { telemetryService } from '../telemetry';
+import { TelemetryBuilder, te... | chore: support telemetry for multi-component cli deploy | null | forcedotcom/salesforcedx-vscode | BSD 3-Clause New or Revised License | TypeScript |
@@ -41,7 +41,7 @@ TMP_ZIP_DIR=tmp
echo Will build Lambda layer with name \"$LAYER_NAME\".
-REGIONS='ap-northeast-1\nap-northeast-2\nap-south-1\nap-southeast-1\nap-southeast-2\nca-central-1\neu-central-1\neu-north-1\neu-west-1\neu-west-2\neu-west-3\nsa-east-1\nus-east-1\nus-east-2\nus-west-1\nus-west-2'
+REGIONS=$'ap-no... | chore(lambda): fix layer script | null | instana/nodejs-sensor | MIT License | Shell |
@@ -52,6 +52,7 @@ import com.amplifyframework.testutils.sync.SynchronousDataStore;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentMatcher;
@@ -84,6 +85,7 @@ import static org... | chore: Ignore clearStopsSyncAndDeletesDatabase test | null | aws-amplify/amplify-android | Apache License 2.0 | Java |
@@ -47,19 +47,25 @@ export class RunningOrderViewNotifier extends WithManagedTracker {
this._deviceStatusDep = new Tracker.Dependency()
this._notesDep = new Tracker.Dependency()
+ console.log(`Starting up RunningOrderNotifier...`)
+
this._notifier = NotificationCenter.registerNotifier((): NotificationList => {
+ consol... | chore: add some console.logs to figure out what's wrong on test system | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
package org.camunda.bpm.engine;
import org.camunda.bpm.engine.authorization.BatchPermissions;
+import org.camunda.bpm.engine.authorization.HistoricTaskPermissions;
import org.camunda.bpm.engine.authorization.Permissions;
import org.camunda.bpm.engine.authorization.ProcessDefinitionPermissions;
import org.camunda.bpm.en... | chore(engine): add javadocs to queries about hist. instance permissions | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
+import { getNodeText } from '@testing-library/react'
/**
Copyright 2019 Forestry.io Inc
@@ -57,14 +58,17 @@ export class GitMediaStore implements MediaStore {
return src
}
async list(options?: MediaListOptions): Promise<MediaList> {
- const { file } = await this.client.getFile(options?.directory || '')
+ const directo... | chore: paginate list | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -4,6 +4,10 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
. "$CURDIR"/../../../shell_env.sh
+for t in customer lineitem nation orders partsupp part region supplier; do
+ echo "DROP TABLE IF EXISTS $t" | $MYSQL_CLIENT_CONNECT
+done
+
# create tpch tables
echo "CREATE TABLE IF NOT EXISTS nation
(
| chore(function): clean tpch table in prepare | null | datafuselabs/databend | Apache License 2.0 | Shell |
@@ -516,7 +516,7 @@ const Card = (props) => {
triggerClassName={`${iotPrefix}--card--header--tooltip`}
id={`card-tooltip-${id}`} // https://github.com/carbon-design-system/carbon/pull/6744
triggerText=""
- iconDescription={`card-header-tooltip-${id}`} // To fix accessibility violation.
+ iconDescription={strings.iconDe... | chore(card): adding i18n support | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
package main
import (
+ "bufio"
+ "bytes"
"fmt"
"go/build"
"io"
@@ -247,4 +249,66 @@ Download it from https://github.com/protocolbuffers/protobuf/releases
}
}
}
+
+ normalizeWalkErr := filepath.Walk("./", func(path string, info os.FileInfo, err error) error {
+ if err != nil {
+ fmt.Println(err)
+ return err
+ }
+
+ if... | chore: normalize generated .pb.go file to reduce unnecessary change | null | v2fly/v2ray-core | MIT License | Go |
@@ -115,7 +115,7 @@ func newEthMockWithTransactionsOnBlocksAssertions(t *testing.T) *evmmocks.Client
}
func keyNameForTest(t *testing.T) string {
- return fmt.Sprintf("%s_test_key.json", t.Name())
+ return fmt.Sprintf("%s/%s_test_key.json", t.TempDir(), t.Name())
}
func deleteKeyExportFile(t *testing.T) {
| chore: write test key JSON exports to temp directory | null | smartcontractkit/chainlink | MIT License | Go |
@@ -83,7 +83,7 @@ static const char kDisabled[] = "disabled";
static const char kOff[] = "off";
static const char kOn[] = "on";
-std::unique_ptr<base::DictionaryValue> BuildTargetDescriptor(
+base::Value::Dict BuildTargetDescriptor(
const GURL& url,
const std::string& name,
const GURL& favicon_url,
@@ -91,20 +91,20 @@ ... | chore: modernize base::Value usage in accessibility_ui | null | electron/electron | MIT License | C++ |
@@ -299,7 +299,7 @@ class AlertStore {
.catch(err => {
console.trace(err);
return this.handleFetchError(
- `Request for ${alertsURI} failed with "${err.message}"`
+ `Can't connect to the API, last error was "${err.message}"`
);
});
});
| chore(ui): simplify fatal error messages for readability | null | prymitive/karma | Apache License 2.0 | JavaScript |
@@ -36,6 +36,9 @@ module.exports = {
['@semantic-release/git', {
message: `chore(release): ${process.env.npm_package_name}@\${nextRelease.version} [skip ci]`
}],
- '@semantic-release/github'
+ ["@semantic-release/github", {
+ releasedLabels: false,
+ successComment: false,
+ }]
],
};
| chore(dx): disables adding labels and comments on success release | null | stalniy/casl | MIT License | JavaScript |
@@ -49,8 +49,20 @@ class Soundbite extends \Podlove\Modules\Base
$start = $epsiode->soundbite_start;
$duration = $epsiode->soundbite_duration;
- echo "\n\t\t".'<podcast:soundbite start="'.$start.'" duration="'.$duration.'">'.$title.'</podcast:soundbite>'."\n";
+ $doc = new \DOMDocument();
+ $node = $doc->createElement(... | chore: Switch xml output function from direct output to php XML function | null | podlove/podlove-publisher | MIT License | PHP |
@@ -58,13 +58,16 @@ func camel(s string) string {
func ruleset() *inflect.Ruleset {
r := inflect.NewDefaultRuleset()
// Add common initialisms from golint and more.
+ //
+ // You can commit this with following message:
+ // chore(gen): update acronym list
for _, w := range []string{
"ACL", "API", "ASCII", "AWS", "CPU",... | chore(gen): update acronym list | null | gotd/td | MIT License | Go |
@@ -71,8 +71,13 @@ class RebaseAction(actions.Action):
):
return check_api.Result(
check_api.Conclusion.FAILURE,
- "Branch rebase failed: repository too big and no subscription active",
- "",
+ "Branch rebase failed",
+ "Your repository is above {} KB.\n{}".format(
+ config.NOSUB_MAX_REPO_SIZE_KB,
+ ctxt.subscription.m... | chore(rebase action): update error message if repo is too heavy | null | mergifyio/mergify-engine | Apache License 2.0 | Python |
@@ -12,35 +12,35 @@ extension URLSession: AdyenCompatible {}
public extension AdyenScope where Base: URLSession {
func dataTask(with url: URL, completion: @escaping ((Result<Data, Error>) -> Void)) -> URLSessionDataTask {
return base.dataTask(with: url, completionHandler: { data, response, error in
- if let headers = (... | chore: Modified URLSessionHelpers to send back an error in case of a non 200 status response with non-valid JSON response body | null | adyen/adyen-ios | MIT License | Swift |
@@ -142,8 +142,8 @@ export class ServerConfigurationService {
adminName: 'cbadmin',
adminPassword: '',
anonymousAccessEnabled: true,
- authenticationEnabled: false,
- customConnectionsEnabled: false,
+ authenticationEnabled: true,
+ customConnectionsEnabled: true,
sessionExpireTime: 30,
},
navigatorConfig: {
| chore(plugin-administration): enable authentication & custom connections by default | null | dbeaver/cloudbeaver | Apache License 2.0 | TypeScript |
-describe('Transition all', function() {
+// @TODO: enable transition while it is fixed.
+xdescribe('Transition all', () => {
it('001', done => {
const container1 = document.createElement('div');
document.body.appendChild(container1);
| chore: disable transition test | null | openkraken/kraken | Apache License 2.0 | TypeScript |
@@ -75,7 +75,8 @@ func (cfg *Config) exitWithError(err error) {
// LoadConfig returns the default configuration including possible user overrides
func LoadConfig(env environment.Environment) *Config {
cfg := loadConfig(env)
- if cfg.Version != configVersion {
+ // only migrate automatically when the switch isn't set
+ ... | chore: do not auto migrate on manual switch | null | jandedobbeleer/oh-my-posh | MIT License | Go |
@@ -28,9 +28,6 @@ impl fmt::Debug for Cache {
/// `ShardedLookup` can walk over multiple HAMT sharded directory nodes which allows multiple block
/// spanning directories.
pub struct ShardedLookup<'needle> {
- // TODO: tempted to put Vec<(Cid, &'data str)> here but maybe that can be the underlying
- // reader used for ... | chore: remove extra TODO | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.