diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -14,7 +14,7 @@ use std::{
mpsc::channel,
Arc, Mutex,
},
- time::Duration,
+ time::{Duration, Instant},
};
use anyhow::Context;
@@ -126,8 +126,13 @@ impl Interface for Rust {
let mut watcher = watcher(tx, Duration::from_secs(1)).unwrap();
watcher.watch(tauri_dir().join("Cargo.toml"), RecursiveMode::Recursive)?;
let m... | fix(cli.js): add timeout to manifest watcher to prevent deadlock | null | tauri-apps/tauri | Apache License 2.0 | Rust |
@@ -12,8 +12,8 @@ COMMIT_MESSAGE=$(git log --format=oneline -n 1 $CIRCLE_SHA1)
if [[ ! "$COMMIT_MESSAGE" =~ \[skip\ publish\] ]]; then
echo "Configuring npm for automation bot"
- touch ~/$CIRCLE_WORKING_DIRECTORY/.npmrc
- cat > ~/$CIRCLE_WORKING_DIRECTORY/.npmrc << EOF
+ touch $CIRCLE_WORKING_DIRECTORY/.npmrc
+ cat > $... | fix: path to root | null | commercetools/merchant-center-application-kit | MIT License | Shell |
@@ -125,10 +125,13 @@ class ConfigureMentions
{
$post = CommentPost::find($tag->getAttribute('id'));
- if ($post && $post->user) {
+ if ($post) {
$tag->setAttribute('discussionid', (int) $post->discussion_id);
$tag->setAttribute('number', (int) $post->number);
+
+ if ($post->user) {
$tag->setAttribute('displayname', $p... | fix: post mentions with deleted author not rendering | null | flarum/core | MIT License | PHP |
import 'dart:async';
-import 'dart:convert';
import 'dart:io';
-import 'dart:typed_data';
import 'package:async/async.dart';
import 'package:at_client/src/client/at_client_impl.dart';
@@ -24,115 +22,6 @@ class EncryptionService {
var logger = AtSignLogger('EncryptionService');
- Future<String> encrypt(String? key, Stri... | fix: removed unused methods in encryption_service | null | atsign-foundation/at_client_sdk | BSD 3-Clause New or Revised License | Dart |
@@ -170,12 +170,8 @@ private struct WaterfallList: View {
var body: some View {
List {
WaterfallGrid(galleries) { gallery in
- Button {
- navigateAction?(gallery.id)
- } label: {
GalleryThumbnailCell(gallery: gallery, setting: setting, translateAction: translateAction)
- }
- .foregroundColor(.primary)
+ .onTapGesture {... | fix: Unable to navigate to detail page in thumbnail display mode | null | ehpanda-team/ehpanda | MIT License | Swift |
@@ -83,6 +83,9 @@ createZipForWindows() {
cp -t $tmpdir JavaScriptCore.dll MiniBrowserLib.dll WTF.dll WebKit.dll WebKit2.dll libEGL.dll libGLESv2.dll
cp -t $tmpdir MiniBrowser.exe WebKitNetworkProcess.exe WebKitWebProcess.exe
cd -
+ cd C:/Windows/System32
+ cp -t $tmpdir msvcp140.dll msvcp140_1.dll msvcp140_2.dll vcrun... | fix(win): deploy msvcruntime dlls | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -306,6 +306,20 @@ namespace
}
}
+ void generateAttachments(ConversionContext& context, //
+ std::unique_ptr<IElement> unexpanded, //
+ const apib::parser::mediatype::state& mediaType, //
+ ArrayElement::ValueType& out)
+ {
+ if (!unexpanded)
+ return;
+
+ auto expanded = ExpandRefract(std::move(unexpanded), context)... | fix: avoid double expansion | null | apiaryio/drafter | MIT License | C++ |
@@ -2,18 +2,29 @@ import React, { ReactElement, useEffect, useState } from 'react';
export const DialogTransitionContext = React.createContext({ isUnmounting: false });
+type TimeoutType = ReturnType<typeof setTimeout>;
+
const DialogTransition = ({ children }: { children: ReactElement | null; }) => {
const [ childrenT... | fix(dialog): cancel hide timeout on openDialog | null | jitsi/jitsi-meet | Apache License 2.0 | TypeScript |
@@ -248,7 +248,11 @@ class AlexaMediaSensor(Entity):
pass
account_dict = (self.hass.data[DATA_ALEXAMEDIA]['accounts']
[self._account])
- self._n_dict = account_dict['notifications'][self._dev_id][self._type]
+ try:
+ self._n_dict = (account_dict['notifications'][self._dev_id]
+ [self._type])
+ except KeyError:
+ self._... | fix(sensor): catch keyerror on update | null | custom-components/alexa_media_player | Apache License 2.0 | Python |
@@ -60,10 +60,9 @@ for file in app*; do
done
if $IS_PUBLISH_BRANCH ;then
- cd ..
gem install fastlane
- fastlane supply --aab ./apk/eventyay-attendee-master-app-playStore-release.aab --skip_upload_apk true --track alpha --json_key ./scripts/fastlane.json --package_name $PACKAGE_NAME $FASTLANE_DRY_RUN
- if [ $? -ne 0 ];... | fix: branch release for open-event-attendee | null | fossasia/open-event-attendee-android | Apache License 2.0 | Shell |
@@ -15,34 +15,62 @@ const umd = format === 'umd';
const cjs = format === 'cjs';
let output;
+let input;
+
+const inputChunks = {
+ index: 'src/index.js',
+ version: 'src/components/Version/index.js',
+ install: 'src/install.js',
+ ReactiveList: 'src/components/result/ReactiveList.jsx',
+ ResultCard: 'src/components/res... | fix(vue): avoid build changes for umd | null | appbaseio/reactivesearch | Apache License 2.0 | JavaScript |
-#!/bin/sh
+#!/bin/bash
HISTORY_PATH="/etc/openclash/history"
SECRET=$(uci get openclash.config.dashboard_password 2>/dev/null)
@@ -7,16 +7,17 @@ PORT=$(uci get openclash.config.cn_port 2>/dev/null)
urlencode() {
local data
- if [ "$#" != 1 ]; then
- return 1
- fi
+ if [ "$#" -eq "1" ]; then
data=$(curl -s -o /dev/null... | fix: can not restore the group's state | null | vernesong/openclash | MIT License | Shell |
@@ -236,7 +236,7 @@ void AudioManager::stopMusic(bool fadeOut)
if (fadeOut)
{
// Fade-out is nicer on Batocera!
- while (!Mix_FadeOutMusic(500))
+ while (!Mix_FadeOutMusic(500) && Mix_PlayingMusic())
SDL_Delay(100);
}
| fix: fade music out | null | batocera-linux/batocera-emulationstation | MIT License | C++ |
+const httpStatus = require('http-status');
+const { APIError } = require('../../errors');
+
async function logout(args) {
const { config } = this;
+ const requestedSlug = args.req.route.path.split('/').filter((r) => r !== '')[0];
+ if (!args.req.user) throw new APIError('No User', httpStatus.BAD_REQUEST);
+ if (args.r... | fix: only allow /logout on current user's collection | null | payloadcms/payload | MIT License | JavaScript |
@@ -48,6 +48,14 @@ namespace VRM
[SerializeField]
public VRMSpringBoneColliderGroup[] ColliderGroups;
+ public enum SpringBoneUpdateType
+ {
+ LateUpdate,
+ FixedUpdate,
+ }
+ [SerializeField]
+ public SpringBoneUpdateType m_updateType = SpringBoneUpdateType.LateUpdate;
+
/// <summary>
///
/// original from
@@ -274,6 +... | fix: Selectable LateUpdate or FIxedUpdate | null | vrm-c/univrm | MIT License | C# |
package edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual;
-import static edu.cornell.mannlib.vitro.webapp.modelaccess.ModelAccess.LanguageOption.LANGUAGE_NEUTRAL;
-import static edu.cornell.mannlib.vitro.webapp.modelaccess.ModelAccess.PolicyOption.POLICY_NEUTRAL;
-
import java.util.ArrayList;
import java.... | fix: use language specific webapp dao factory | null | vivo-project/vitro | BSD 3-Clause New or Revised License | Java |
@@ -88,15 +88,16 @@ open class PosterPlugin: UIContainerPlugin {
}
var isNoOpPlayback: Bool {
- guard let playback = container?.playback else { return false }
- return type(of: playback) == NoOpPlayback.self
+ return container?.playback?.pluginName == "NoOp"
}
private func didChangePlayback() {
- isHidden = isNoOpPlayb... | fix: returns true on isNoOpPlayback by compare the name of activePlayback. Hiddes PosterPlugin when isNoOpPlayback | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -29,7 +29,7 @@ import { Nullable } from '@fundamental-ngx/core/shared';
import { FlexibleColumnLayoutComponent } from '@fundamental-ngx/core/flexible-column-layout';
import { asyncScheduler, fromEvent, Observable, startWith, Subject } from 'rxjs';
-import { debounceTime, delay, map, observeOn, takeUntil } from 'rxjs... | fix(core): dynamic page flickering on resize | null | sap/fundamental-ngx | Apache License 2.0 | TypeScript |
@@ -491,12 +491,16 @@ defmodule Ash.Filter do
end)
end
+ defp get_path(map, [key]) when is_struct(map) do
+ Map.get(map, key)
+ end
+
defp get_path(map, [key]) when is_map(map) do
get_in(map, key)
end
defp get_path(map, [key | rest]) when is_map(map) do
- get_path(Map.get(map, key), rest)
+ get_path(get_path(map, [key]... | fix: use `Map.get/2` when getting paths if the value is a struct | null | ash-project/ash | MIT License | Elixir |
/**
* Utility methods and fields to use when working with network addresses.
*
+ * TODO: there is a lot of duplication between this class and
+ * org.ice4j.ice.NetworkUtils
+ *
* @author Emil Ivov
* @author Damian Minkov
* @author Vincent Lucas
@@ -127,35 +130,6 @@ public static boolean isWindowsAutoConfiguredIPv4Addre... | fix: Removes an unused (and buggy) method | null | jitsi/jitsi | Apache License 2.0 | Java |
@@ -7,7 +7,7 @@ export const orderPercentageDiscount: AdjustmentActionDefinition = {
code: 'order_percentage_discount',
args: [{ name: 'discount', type: 'percentage' }],
calculate(order, args) {
- return [{ amount: (order.totalPrice * args.discount) / 100 }];
+ return [{ amount: -(order.totalPrice * args.discount) / 10... | fix(server): Fix calculations for default adjustment actions | null | vendure-ecommerce/vendure | MIT License | TypeScript |
@@ -432,7 +432,7 @@ class EmailAccount(Document):
self.set_sender_field_and_subject_field()
parent = self.find_parent_based_on_subject_and_sender(communication, email)
- if self.append_to!="Communication":
+ if not self.append_to == "Communication":
parent = self.create_new_parent(communication, email)
if parent:
@@ -4... | fix: check if meta hasattr for subject and email | null | frappe/frappe | MIT License | Python |
@@ -107,7 +107,7 @@ func run(_ *cobra.Command, _ []string) {
}
}
outputObject := object.Object{
- "AWS Account ID": account.ID(),
+ "AWS Account ID": r.Creator.AccountID,
"AWS Default Region": awsRegion,
"AWS ARN": r.Creator.ARN,
"OCM API": cfg.URL,
| fix: aws acc id on whoami | null | openshift/rosa | Apache License 2.0 | Go |
@@ -241,7 +241,7 @@ static void flex_update(lv_obj_t * cont, void * user_data)
lv_coord_t w_set = lv_obj_get_style_width(cont, LV_PART_MAIN);
lv_coord_t h_set = lv_obj_get_style_height(cont, LV_PART_MAIN);
- /*Content sized objects should squeezed the gap between the children, therefore any alignment will look like `ST... | fix(lv_flex.c): fix typos | null | lvgl/lvgl | MIT License | C |
@@ -8,14 +8,12 @@ else
exit 0
fi
-SCRIPT_DIR="$( cd "$( dirname "${0}" )" && pwd -P)"
-
git config --global user.email "$TRAEFIKER_EMAIL"
git config --global user.name "Traefiker"
# load ssh key
echo "Loading key..."
-openssl aes-256-cbc -K "${encrypted_f9e835a425bc_key}" -iv "${encrypted_f9e835a425bc_iv}" -in .travis/... | fix: revert deploy script | null | traefik/traefik | MIT License | Shell |
@@ -73,8 +73,8 @@ cp -rf "${REPO_ROOT}"/artifacts/kindClusterConfig/member2.yaml "${TEMP_PATH}"/me
if [[ -n "${HOST_IPADDRESS}" ]]; then # If bind the port of clusters(karmada-host, member1 and member2) to the host IP
cp -rf "${REPO_ROOT}"/artifacts/kindClusterConfig/karmada-host.yaml "${TEMP_PATH}"/karmada-host.yaml
s... | fix: sed miss leading whitespace in osx | null | karmada-io/karmada | Apache License 2.0 | Shell |
/** Context to fill with crash information. */
static BSG_KSCrash_SentryContext *bsg_g_context;
+/** Lock for suspending threads from reportUserException() */
+static pthread_mutex_t bsg_suspend_threads_mutex = PTHREAD_MUTEX_INITIALIZER;
+
bool bsg_kscrashsentry_installUserExceptionHandler(
BSG_KSCrash_SentryContext *c... | fix: Disallow multiple threads from suspending all other threads at once | null | bugsnag/bugsnag-cocoa | MIT License | C |
@@ -4653,11 +4653,11 @@ namespace IBM.Watson.Discovery.V1
}
if (startTime != null)
{
- req.Parameters["start_time"] = startTime;
+ req.Parameters["start_time"] = startTime.Value.ToString("yyyy-MM-ddTHH:mm:ssZ");
}
if (endTime != null)
{
- req.Parameters["end_time"] = endTime;
+ req.Parameters["end_time"] = endTime.Valu... | fix(discovery-v1): add DateTime format | null | watson-developer-cloud/unity-sdk | Apache License 2.0 | C# |
@@ -273,7 +273,8 @@ class _SingleTableProfiler:
)
column_null_counts = null_counts.toPandas().T[0].to_dict()
column_null_fractions = {
- c: column_null_counts[c] / self.row_count for c in self.columns_to_profile
+ c: column_null_counts[c] / self.row_count if self.row_count != 0 else 0
+ for c in self.columns_to_profile... | fix(ingest): s3 - add check for 0 rows in profiling | null | linkedin/datahub | Apache License 2.0 | Python |
public static void main(String[] args) throws Exception {
// check if we're at least on java 17
if (detectJavaVersion() >= 17) {
- Class.forName("eu.cloudnetservice.launcher.CloudNetLauncher")
+ Class.forName("eu.cloudnetservice.launcher.java17.CloudNetLauncher")
.getConstructor(String[].class)
.newInstance((Object) ar... | fix(launcher): Fix main class name of actual launcher | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -3,7 +3,7 @@ export { default as ActionSheet } from './action-sheet';
export { default as Alert } from './alert';
export { default as Badge } from './badge';
export { default as Button } from './button';
-export { default as Calendar } from './Calendar';
+export { default as Calendar } from './calendar';
export { de... | fix: change filename uppercase to lowercase | null | zhongantech/zarm | MIT License | TypeScript |
@@ -120,7 +120,8 @@ export class NodePackageManager implements INodePackageManager {
}
public async getRegistryPackageData(packageName: string): Promise<any> {
- const url = `https://registry.npmjs.org/${packageName}`;
+ const registry = await this.$childProcess.exec(`npm config get registry`);
+ const url = registry.t... | fix: read npm registry from npm config instead of hard-wiring it to npmjs.org, fixes | null | nativescript/nativescript-cli | Apache License 2.0 | TypeScript |
@@ -551,6 +551,8 @@ pub struct PosixSocketOpts {
recv_buf_size: u32,
send_buf_size: u32,
enable_recv_pipe: bool,
+ /// deprecated, use use enable_zerocopy_send_server or
+ /// enable_zerocopy_send_client instead
enable_zero_copy_send: bool,
enable_quickack: bool,
enable_placement_id: u32,
@@ -564,7 +566,7 @@ impl Defau... | fix(opts): remove support for deprecated SOCK_ZERO_COPY_SEND | null | openebs/mayastor | Apache License 2.0 | Rust |
@@ -52,11 +52,11 @@ main() {
# copy_general_docs
if [[ -n "${changed_charts[*]}" ]]; then
- #prep_helm
+ prep_helm
parallel -j ${parthreads} chart_runner '2>&1' ::: ${changed_charts[@]}
echo "Starting post-processing"
- #pre_commit
+ pre_commit
validate_catalog
if [ "${production}" == "true" ]; then
gen_dh_cat
@@ -78,1... | fix(ci): revert changes to old build-release script as it's still used for PR validation CI | null | truecharts/apps | BSD 3-Clause New or Revised License | Shell |
@@ -825,16 +825,21 @@ export default class SimpleBar {
}
getScrollbarWidth() {
+ // Try/catch for FF 56 throwing on undefined computedStyles
+ try {
// Detect Chrome/Firefox and do not calculate
if (
- getComputedStyle(this.contentWrapperEl, '::-webkit-scrollbar').display ===
- 'none' ||
+ getComputedStyle(this.content... | fix: add try/catch to fix FF old versions | null | grsmto/simplebar | MIT License | JavaScript |
@@ -10,16 +10,16 @@ enum Visibility {
}
mixin CSSVisibilityMixin on RenderStyle {
- Visibility _visibility = Visibility.visible;
+ Visibility? _visibility;
void set visibility(Visibility? value) {
if (_visibility == value) return;
- _visibility = value ?? Visibility.visible;
+ _visibility = value;
renderBoxModel?.markN... | fix: visibility default value | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -455,17 +455,17 @@ class trace:
:param enable_hwcd4: whether to use NHWCD4 data layout. This is faster on some
OpenCL backend.
- :param enable_nchw88: whether to use NCHW4 data layout. it currently
+ :param enable_nchw88: whether to use NCHW88 data layout. it currently
used in X86 AVX backend.
- :param enable_nchw44... | fix(mge/doc): fix wrong doc for megengine doc | null | megengine/megengine | Apache License 2.0 | Python |
@@ -75,6 +75,13 @@ up)
--env RUST_LOG="$RUST_LOG" \
solanalabs/solana:"$channel"
+ curl \
+ --retry 10 \
+ --retry-connrefused \
+ -X POST \
+ -H "Content-Type: application/json" \
+ -d '{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}' \
+ http://localhost:8899
)
;;
down)
| fix: block until the JSON RPC API is available | null | solana-labs/solana-web3.js | MIT License | Shell |
@@ -6,7 +6,7 @@ const passwordValidator = require('password-validator');
export const passwordSchema = new passwordValidator();
passwordSchema
.is()
- .min(12) // Minimum length 8
+ .min(12) // Minimum length 12
.has()
.uppercase() // Must have uppercase letters
.has()
| fix: minor change to documentation with password length comment | null | softrams/bulwark | MIT License | TypeScript |
@@ -323,6 +323,41 @@ int AFAudioQueueRender::audioQueueLoop()
AudioQueueSetProperty(_audioQueueRef, kAudioQueueProperty_TimePitchBypass, &propValue, sizeof(propValue));
propValue = kAudioQueueTimePitchAlgorithm_TimeDomain;
AudioQueueSetProperty(_audioQueueRef, kAudioQueueProperty_TimePitchAlgorithm, &propValue, sizeof(... | fix(afaudioqueuerender): set the channel layout map | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -27,7 +27,7 @@ class AboutUsFragment : Fragment() {
val itemAbout = menu.findItem(R.id.menu_about)
itemAbout.isVisible = false
val itemSettings = menu.findItem(R.id.menu_settings)
- itemSettings.isVisible= true
+ itemSettings.isVisible= false
var searchoption = menu.findItem(R.id.action_search)
searchoption.isVisibl... | fix: Remove menu from About Us Fragment | null | fossasia/susi_android | Apache License 2.0 | Kotlin |
@@ -397,7 +397,7 @@ struct LogData : NonCopyable, public ReferenceCounted<LogData> {
PromiseStream<Future<Void>> addActor;
TLogData* tLogData;
Promise<Void> recoveryComplete;
- Version unrecoveredBefore;
+ Version unrecoveredBefore, recoveredAt;
Reference<AsyncVar<Reference<ILogSystem>>> logSystem;
Tag remoteTag;
@@ -4... | fix: if we cannot find a tag, it must have been popped at the recovery version | null | apple/foundationdb | Apache License 2.0 | C++ |
#define OCKAM_VAULT_ERROR_INVALID_TAG (OCKAM_ERROR_INTERFACE_VAULT | 29u)
#define OCKAM_VAULT_ERROR_BUFFER_TOO_SMALL (OCKAM_ERROR_INTERFACE_VAULT | 30u)
#define OCKAM_VAULT_ERROR_DEFAULT_RANDOM_REQUIRED (OCKAM_ERROR_INTERFACE_VAULT | 31u)
-#define OCKAM_VAULT_ERROR_MEMORY_REQUIRED (OCKAM_ERROR_INTERFACE_VAULT | 31u)
-#... | fix(c): fix duplicated error numbers | null | ockam-network/ockam | Apache License 2.0 | C |
@@ -947,6 +947,7 @@ ACTOR static Future<double> doGrvProbe(Transaction *tr, Optional<FDBTransactionO
loop {
try {
+ tr->setOption(FDBTransactionOptions::LOCK_AWARE);
if(priority.present()) {
tr->setOption(priority.get());
}
@@ -969,6 +970,7 @@ ACTOR static Future<double> doReadProbe(Future<double> grvProbe, Transaction... | fix: Set lock aware at the transaction level for latency probe to avoid having to fill the shard cache every time | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -8,15 +8,18 @@ import {
helperColorProperty,
helperProperty,
strokeColorProperty,
+ strokeDisabledColorProperty,
strokeInactiveColorProperty
} from '@nativescript-community/ui-material-core/textbase/cssproperties';
import {
Background,
Color,
+ Font,
Length,
Utils,
backgroundInternalProperty,
borderBottomLeftRadiusP... | fix(textview): android font no applied to both floating and inner textfield | null | nativescript-community/ui-material-components | Apache License 2.0 | TypeScript |
@@ -213,7 +213,7 @@ export class ExplorerCreatePage extends React.Component<{
redo: {},
sp3: { name: "---------" },
copy: {},
- paste: {},
+ cut: {},
},
},
data,
| fix: paste to cut | null | owid/owid-grapher | MIT License | TypeScript |
@@ -80,6 +80,10 @@ type detachedContext struct {
tagName string
cherryPick bool
cherryPickSHA string
+ revert bool
+ revertSHA string
+ sequencer bool
+ sequencerTodo string
merge bool
mergeHEAD string
status string
@@ -97,8 +101,12 @@ func setupHEADContextEnv(context *detachedContext) *git {
env.On("getFileContent", "... | fix(git): tests covering revert/sequencer | null | jandedobbeleer/oh-my-posh | MIT License | Go |
@@ -10,11 +10,11 @@ then
exit 1
fi
-rm -rf netlify-dist docs/*
+rm -rf netlify-dist docs
ROOT_PATH=/angular-instantsearch/ yarn netlify
cp -R netlify-dist docs
-git add dist-docs
+git add docs
git commit -m "docs(community): deploy documentation website"
git push origin master
| fix(scripts): publish docs | null | algolia/angular-instantsearch | MIT License | Shell |
@@ -99,10 +99,10 @@ void FMScoreFtrl::CalcGrad(const SparseRow* row,
*********************************************************/
real_t sqrt_norm = sqrt(norm);
real_t *w = model.GetParameter_w();
- real_t alpha = 1.0;
+ real_t alpha = .01;
real_t beta = 1.0;
- real_t lambda1 = 1.0;
- real_t lambda2 = 1.0;
+ real_t lambd... | fix: fm_score_ftel CaclGrad | null | aksnzhy/xlearn | Apache License 2.0 | C++ |
@@ -82,14 +82,14 @@ function win32 {
&& echo '#!/usr/bin/env sh
export KUI_POPUP_WINDOW_RESIZE=true
SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-"$SCRIPTDIR"/Kui kubectl $@ &' >> kubectl-kui)
+"$SCRIPTDIR"/Kui kubectl $@ &' > kubectl-kui)
echo "Add kubectl-kui PowerShell script to electron build win32 $ARCH"
(cd "$BUILDDIR/... | fix(packages/builder): electron build may result in double launches of kui as kubectl plugin | null | ibm/kui | Apache License 2.0 | Shell |
@@ -125,7 +125,7 @@ fn_info_game_av() {
maxplayers=${maxplayers:-"NOT SET"}
servername=${servername:-"NOT SET"}
serverpassword=${serverpassword:-"NOT SET"}
- port=${zero}
+ port=${port:-"0"}
queryport=${queryport:-"0"}
steamqueryport=${steamqueryport:-"0"}
steammasterport=${steammasterport:-"0"}
| fix(av): fix port for config info | null | gameservermanagers/linuxgsm | MIT License | Shell |
@@ -72,6 +72,9 @@ func (c InboundConfig) BuildV5(ctx context.Context) (proto.Message, error) {
if content, ok := inboundConfigPack.(*dokodemo.SimplifiedConfig); ok {
receiverSettings.ReceiveOriginalDestination = content.FollowRedirect
}
+ if content, ok := inboundConfigPack.(*dokodemo.Config); ok {
+ receiverSettings.R... | fix: Support both dokodemo inbound config types | null | v2fly/v2ray-core | MIT License | Go |
@@ -149,11 +149,22 @@ public class DimensionController
fields.addAll( Preset.defaultPreset().getFields() );
}
- List<DimensionalItemObject> totalItems = dimensionService.getCanReadDimensionItems( uid );
+ // This is the base list used in this flow. It contains only items
+ // allowed to the current user.
+ List<Dimensi... | fix: Fixing pagination in dimension /items endpoint | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -18,7 +18,16 @@ extension UIAlertController {
message = String(format: "scene.channels.close.message".localized, nodeAlias)
} else {
title = "scene.channels.force_close.title".localized
- message = String(format: "scene.channels.force_close.message".localized, nodeAlias, channel.csvDelay)
+
+ let formatter = DateCom... | fix: display time interval instead of csvDelay in close channel confirmation | null | ln-zap/zap-ios | MIT License | Swift |
@@ -15,7 +15,7 @@ namespace Blazorise.Snackbar
private bool visible;
- private bool isMultiline;
+ private bool multiline;
private SnackbarLocation location;
@@ -44,7 +44,7 @@ namespace Blazorise.Snackbar
{
builder.Append( "snackbar" );
builder.Append( "show", Visible );
- builder.Append( "snackbar-multi-line", IsMulti... | fix: renamed Multiline property | null | stsrki/blazorise | MIT License | C# |
@@ -1341,10 +1341,10 @@ pub extern fn pactffi_with_binary_file(
if !reqres.response.has_header(&content_type_header) {
match reqres.response.headers {
Some(ref mut headers) => {
- headers.insert(content_type_header.clone(), vec!["application/octet-stream".to_string()]);
+ headers.insert(content_type_header.clone(), vec... | fix(FFI): pactffi_with_binary_file was incorrectly setting the response content type to application/octet-stream | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -4,6 +4,7 @@ const os = require(`os`)
const verdaccioConfig = {
storage: path.join(os.tmpdir(), `verdaccio`, `storage`),
port: 4873, // default
+ max_body_size: `1000mb`,
web: {
enable: true,
title: `gatsby-dev`,
| fix(gatsby-dev-cli): Increase verdaccio max_body_size | null | gatsbyjs/gatsby | MIT License | JavaScript |
@@ -263,9 +263,9 @@ func TestCalculatePoolCpuset(t *testing.T) {
sumWeight: 300.0,
expectedValue: map[*DynamicPool]int{
p.dynamicPools[0]: 2,
- p.dynamicPools[1]: 1,
+ p.dynamicPools[1]: 0,
p.dynamicPools[2]: 8,
- p.dynamicPools[3]: 3,
+ p.dynamicPools[3]: 4,
},
},
{
@@ -332,8 +332,8 @@ func TestCalculatePoolCpuset(t *... | fix: dynamic-pools tests bugs | null | intel/cri-resource-manager | Apache License 2.0 | Go |
@@ -20,7 +20,7 @@ import (
)
func (t *SSplitTableSpec) InsertOrUpdate(dt interface{}) error {
- return errors.ErrNotSupported
+ return t.Insert(dt)
}
func (t *SSplitTableSpec) Update(dt interface{}, onUpdate func() error) (sqlchemy.UpdateDiffs, error) {
| fix(log): fail to submit action log | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -53,7 +53,7 @@ public class Context {
public String getProtocol() {
try {
- return request.getProtocol();
+ return request.getProtocol().toLowerCase();
} catch (Exception e) {
return null;
}
| fix(java): js request context protocol to lower case | null | baidu/openrasp | Apache License 2.0 | Java |
@@ -1925,7 +1925,7 @@ namespace DSharpPlus
User = usr,
PresenceBefore = old,
PresenceAfter = presence,
- UserBefore = old != null ? new DiscordUser(old.InternalUser) : usrafter,
+ UserBefore = old != null ? new DiscordUser(old.InternalUser) { Discord = this } : usrafter,
UserAfter = usrafter
};
await this._presenceUpda... | fix: null presences | null | dsharpplus/dsharpplus | MIT License | C# |
import 'package:fehviewer/common/isolate_download/download_manager.dart';
import 'package:fehviewer/common/service/depth_service.dart';
import 'package:fehviewer/common/service/layout_service.dart';
+import 'package:fehviewer/component/exception/error.dart';
import 'package:fehviewer/generated/l10n.dart';
import 'packa... | fix: gallery err message | null | honjow/fehviewer | Apache License 2.0 | Dart |
@@ -104,7 +104,7 @@ namespace RhinoInside.Revit.GH.Types
protected override Type ScriptVariableType => typeof(DB.HostObjAttributes);
public new DB.HostObjAttributes Value => base.Value as DB.HostObjAttributes;
- protected internal HostObjectType() { }
+ public HostObjectType() { }
protected internal HostObjectType(DB.H... | fix: `Types.HostObjectType` constructor should be public for serialization purposes | null | mcneel/rhino.inside-revit | MIT License | C# |
@@ -872,7 +872,7 @@ public class OrganisationUnit
}
@JsonProperty
- @JsonSerialize( contentUsing = JacksonOrganisationUnitChildrenSerializer.class )
+ @JsonSerialize( contentAs = BaseIdentifiableObject.class )
@JacksonXmlElementWrapper( localName = "children", namespace = DxfNamespaces.DXF_2_0 )
@JacksonXmlProperty( lo... | fix: remove custom serialization for OU.getChildren() | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -188,7 +188,7 @@ class CustomCommandCommand : AbstractCommand("command.customcommand") {
sendRsp(context, msg)
}
- val name = context.args[0]
+ val name = getStringFromArgsNMessage(context, 0, 1, 64) ?: return
var content = context.rawArg.removeFirst(name).trim()
if (content.isBlank()) content = "empty"
| fix: sql exception: too large for varchar(64) | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -11,7 +11,8 @@ import json
@frappe.whitelist()
def get_notifications():
- if frappe.flags.in_install:
+ if (frappe.flags.in_install or
+ not frappe.db.get_single_value('System Settings', 'setup_complete')):
return
config = get_notification_config()
| fix: Skip get_notifications before setup_complete | null | frappe/frappe | MIT License | Python |
@@ -123,7 +123,7 @@ plugin.file.kml.ui.createOrEditPlace = function(options) {
} else {
var label = options.label || (options.feature ? 'Edit' : 'Add') + ' Place';
var geom = /** @type {ol.geom.SimpleGeometry} */ (options.geometry) ||
- options.feature ? options.feature.getGeometry() : null;
+ (options.feature ? option... | fix(places): can't create places | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -150,7 +150,9 @@ class UniversalLinkCoordinator: Coordinator {
guard let recoverAddress = Address(string: ethereumAddress.address) else { return false }
let contractAsAddress = Address(string: signedOrder.order.contractAddress)!
//gather signer address balance
- GetStormBirdBalanceCoordinator(web3: Web3Swift()).getS... | fix: ecrecover stuck | null | alphawallet/alpha-wallet-ios | MIT License | Swift |
@@ -713,14 +713,12 @@ func (self *SSnapshot) SyncWithCloudSnapshot(ctx context.Context, userCred mccli
// bugfix for now:
disk, err := self.GetDisk()
- if err == sql.ErrNoRows {
- syncOwnerId = self.GetOwnerId()
- } else if err != nil {
+ if err != nil && err != sql.ErrNoRows {
return errors.Wrapf(err, "get disk of sna... | fix: local snapshot's ownerId should be same with its disk even if extsnapshot's project has corresponding cloud project | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -79,7 +79,7 @@ class JDA:
for c in range(1, C + 1):
e = np.zeros((n, 1))
tt = Ys == c
- e[np.where(tt == True)] = 1 / len(Ys[np.where(self.Ys == c)])
+ e[np.where(tt == True)] = 1 / len(Ys[np.where(Ys == c)])
yy = Y_tar_pseudo == c
ind = np.where(yy == True)
inds = [item + ns for item in ind]
| fix: JDA typo | null | jindongwang/transferlearning | MIT License | Python |
@@ -59,6 +59,9 @@ func (s repullFailedReason) String() string {
func (self *RepullSuncontactTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject) {
config := obj.(*models.SConfig)
if !utils.IsInStringArray(config.Type, PullContactType) {
+ if del, _ := self.GetParams().Bool("deleted"); d... | fix(notify): real delete for email and mobile | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -13,11 +13,12 @@ import torch
import torch.nn as nn
import torch.functional as F
-
from textbox.model.abstract_generator import Seq2SeqGenerator
from transformers import T5Tokenizer, T5ForConditionalGeneration, T5Config
+
class T5(Seq2SeqGenerator):
+
def __init__(self, config, dataset):
super(T5, self).__init__(con... | fix: Batch Generation for T5 | null | rucaibox/textbox | MIT License | Python |
using System.Collections.Generic;
using System.Linq;
-using Amazon.Lambda.Annotations.SourceGenerator.Serialization;
namespace Amazon.Lambda.Annotations.SourceGenerator.Models
{
| fix: remove ILambdaFunctionSerializable interface | null | aws/aws-lambda-dotnet | Apache License 2.0 | C# |
@@ -45,8 +45,8 @@ class Multicall:
"""Context manager for batching multiple calls to constant contract functions."""
def __init__(self) -> None:
- self._address = None
- self._block_identifier = None
+ self.address = None
+ self.block_number = None
self._contract = None
self._pending_calls: List[Call] = []
@@ -58,8 +58... | fix: public attributes | null | eth-brownie/brownie | MIT License | Python |
@@ -208,7 +208,7 @@ class Vec(np.ndarray):
return int(''.join(map(str, self)))
def __repr__(self):
- values = u",".join(self.astype(unicode))
+ values = u",".join(self.astype(str))
return u"Vec({}, dtype={})".format(values, self.dtype)
def __assign(self, val, index):
| fix: python3 incompatible unicode call in lib.py | null | seung-lab/cloud-volume | BSD 3-Clause New or Revised License | Python |
@@ -16,6 +16,11 @@ const buildCollectionSchema = (collection: SanitizedCollectionConfig, config: Sa
},
);
+ if (config.indexSortableFields && collection.timestamps !== false) {
+ schema.index({ updatedAt: 1 });
+ schema.index({ createdAt: 1 });
+ }
+
schema.plugin(paginate, { useEstimatedCount: true })
.plugin(buildQue... | fix: indexSortableFields timestamp fields | null | payloadcms/payload | MIT License | TypeScript |
@@ -1362,8 +1362,8 @@ struct DDTeamCollection {
ACTOR Future<Void> teamTracker( DDTeamCollection *self, Reference<TCTeamInfo> team) {
state int lastServersLeft = team->getServerIDs().size();
state bool lastAnyUndesired = false;
- state bool wrongSize = team->getServerIDs().size() != self->configuration.storageTeamSize;... | fix: if the team started unhealthy and initialFailureReactionDelay was ready, we would not send relocations to the queue | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -597,7 +597,7 @@ func (ops *Operations) GetHealthyCSPICount(cspcName string, expectedCSPICount in
cspiCount = cspi.
ListBuilderFromAPIList(cspiAPIList).
List().
- Filter(cspi.HasLabel(string(apis.CStorPoolClusterCPK), cspcName), cspi.IsStatus("ONLINE\n")).
+ Filter(cspi.HasLabel(string(apis.CStorPoolClusterCPK), csp... | fix(testcase): update cspc status filter | null | openebs/maya | Apache License 2.0 | Go |
@@ -44,6 +44,10 @@ func (env *environment) isRunningAsRoot() bool {
}
func (env *environment) homeDir() string {
+ // return the right HOME reference when using MSYS2
+ if env.getShellName() == bash {
+ return os.Getenv("HOME")
+ }
home := os.Getenv("HOMEDRIVE") + os.Getenv("HOMEPATH")
if home == "" {
home = os.Getenv(... | fix: use correct home on git bash | null | jandedobbeleer/oh-my-posh | MIT License | Go |
@@ -300,7 +300,12 @@ class SearchForm extends Component {
const a = document.createElement(`a`)
a.href = e._args[0].url
this.searchInput.blur()
- navigate(`${a.pathname}${a.hash}`)
+ // Compare hash and slug and remove hash if both are same
+ const paths = a.pathname.split(`/`).filter(el => el !== ``)
+ const slug = pa... | fix(www): add check to compare and remove hash with slug when navigating to search results | null | gatsbyjs/gatsby | MIT License | JavaScript |
@@ -59,6 +59,7 @@ const mapReduceFromJsonLines = (filePath, map, reduce, opts = {}) => new Promise
return;
}
const processed = inTimeRange(json) && map.call(promoteObject(json));
+ //console.error(line.substr(0, 50), '=>', JSON.stringify(processed).substr(0, 50));
if (processed) {
const vals = []
.concat(reduced[proces... | fix(data-scripts): mapReduceFromJsonLines() now return { results } | null | openwhyd/openwhyd | MIT License | JavaScript |
@@ -109,7 +109,7 @@ export default function inlineSnippets(snippetBasePath?: string) {
// may be recursing here) or from the command line or from
// the topmatter of the original document. The second
// represents the current base path in the recursion.
- const base = isAbsolute(basePath) ? basePath : snippetBasePath
+... | fix(plugins/plugin-client-common): snippet inliner fails when rerouting links | null | ibm/kui | Apache License 2.0 | TypeScript |
@@ -188,13 +188,7 @@ function getOwnPropertyDescriptors(object) {
const result = {};
Object.getOwnPropertyNames(object).forEach(function(key) {
- result[key] = Object.getOwnPropertyDescriptor(object, key);
- // Assume these are schema paths, ignore them re: #5470
- if (result[key].get) {
- delete result[key];
- return;... | fix: avoid pulling non-schema paths from documents into nested paths | null | automattic/mongoose | MIT License | JavaScript |
+#!/usr/bin/env bash
# This script is run by travis-ci prior to running tests.
set -e
set -x
-# Coverage 4.0 doesn't support Python 3.2
-if [[ $TRAVIS_PYTHON_VERSION == 3.2 ]]; then
- pip install coverage==3.7.1
-else
- pip install -U coverage
-fi
+# Just to be sure
+pip install -U pip
+# pip is not able to install dis... | fix: Travis-CI _makerlib bug | null | bottlepy/bottle | MIT License | Shell |
x-transition:leave-start="opacity-100"
x-transition:leave-end="opacity-0"
x-cloak
- @class([
- 'fixed inset-0 z-40 flex items-center min-h-screen overflow-y-auto overflow-x-hidden transition',
- 'p-4' => ! $slideOver,
- ])
+ class="fixed inset-0 z-40 flex items-center min-h-screen overflow-y-auto overflow-x-hidden tran... | fix: padding when action is set to slideover | null | laravel-filament/filament | MIT License | PHP |
@@ -5132,6 +5132,9 @@ nt_write_to_lower_layer(struct neat_ctx *ctx, struct neat_flow *flow,
#endif
if (rv < 0 ) {
nt_log(ctx, NEAT_LOG_WARNING, "%s - sending failed - %s", __func__, strerror(errno));
+ if (errno == ENOENT) {
+ flow->isClosing = 1;
+ }
if (errno != EWOULDBLOCK) {
return NEAT_ERROR_IO;
}
| fix: on_all_written() would fire although neat_write() fails to write data | null | neat-project/neat | BSD 3-Clause New or Revised License | C |
@@ -553,10 +553,12 @@ struct DDTeamCollection {
initializationDoneActor(logOnCompletion(readyToStart && initialFailureReactionDelay, this)), optimalTeamCount( 0 ), recruitingStream(0), restartRecruiting( SERVER_KNOBS->DEBOUNCE_RECRUITING_DELAY ),
unhealthyServers(0), includedDCs(includedDCs), otherTrackedDCs(otherTrack... | fix: only consider data distribution started when remote has recovered so quite database works correctly | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -11,6 +11,7 @@ function brewinstall () {
}
BASEDIR=$(dirname "$0")
+F2RDIR=~/.files2rouge/data
cd "$BASEDIR" || exit
echo "
@@ -27,6 +28,7 @@ read -p "A modified version of transformers will be installed to python environm
case $yn in
[yY] ) echo "Creating conda environment named TextBox (python=3.8) ..."
conda crea... | fix: installation of rouge on macos | null | rucaibox/textbox | MIT License | Shell |
@@ -795,6 +795,7 @@ class Page extends EventEmitter {
*/
async type(selector, text, options) {
const handle = await this.$(selector);
+ console.assert(handle, 'No node found for selector: ' + selector);
await handle.type(text, options);
await handle.dispose();
}
| fix(Page.type): Add assertion to page.type() | null | puppeteer/puppeteer | Apache License 2.0 | JavaScript |
@@ -81,10 +81,6 @@ def aggregate_stat(origin_stat, new_stat):
def stringify_summary(summary):
""" stringify summary, in order to dump json file and generate html report.
"""
- start_at_timestamp = int(summary["time"]["start_at"])
- summary["time"]["start_datetime"] = datetime.fromtimestamp(start_at_timestamp).strftime(... | fix: make render_html_report API public | null | httprunner/httprunner | Apache License 2.0 | Python |
@@ -64,7 +64,8 @@ class ShowUser extends Component {
this.timer = null;
this.state = {
- textarea: ''
+ textarea: '',
+ time: 5
};
this.handleChange = this.handleChange.bind(this);
this.handleSubmit = this.handleSubmit.bind(this);
@@ -72,7 +73,7 @@ class ShowUser extends Component {
componentWillUnmount() {
if (this.ti... | fix: make redirect timer count down to zero | null | freecodecamp/freecodecamp | BSD 3-Clause New or Revised License | JavaScript |
@@ -188,7 +188,7 @@ namespace acl
else
{
const uint8_t* quantized_ptr = bone_steams.rotations.get_raw_sample_ptr(sample_index);
- rotation = impl::load_rotation_sample(quantized_ptr, format, k_invalid_bit_rate, are_rotations_normalized);
+ rotation = impl::load_rotation_sample(quantized_ptr, format, 0, are_rotations_no... | fix: fix GCC9 warning access out of bounds | null | nfrechette/acl | MIT License | C |
@@ -23,12 +23,12 @@ static int behavior_none_init(struct device *dev)
static int on_keymap_binding_pressed(struct device *dev, u32_t position, u32_t _param1, u32_t _param2)
{
- return 1;
+ return 0;
}
static int on_keymap_binding_released(struct device *dev, u32_t position, u32_t _param1, u32_t _param2)
{
- return 1;
+... | fix(behavior): none should not be transparent | null | zmkfirmware/zmk | MIT License | C |
@@ -445,12 +445,12 @@ type networkConfig struct {
func getConfigByNetworkID(networkID uint64, defaultBlockTime uint64) *networkConfig {
var config = networkConfig{
- blockTime: uint64(time.Duration(defaultBlockTime) * time.Second),
+ blockTime: defaultBlockTime,
}
switch networkID {
case 1:
config.bootNodes = []string{... | fix: correct blocktime for xdai | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -111,7 +111,7 @@ defmodule Ash.Resource.Attribute do
|> OptionsHelpers.set_default!(:primary_key?, true)
|> OptionsHelpers.set_default!(:generated?, true)
|> OptionsHelpers.set_default!(:type, Ash.Type.Integer)
- |> OptionsHelpers.set_default!(:allow_nil?, true)
+ |> OptionsHelpers.set_default!(:allow_nil?, false)
d... | fix: `allow_nil?: false` for `integer_primary_key` | null | ash-project/ash | MIT License | Elixir |
@@ -149,9 +149,7 @@ public class ConfigCenterConfig extends AbstractConfig {
if (StringUtils.isEmpty(map.get(PROTOCOL_KEY))) {
map.put(PROTOCOL_KEY, ZOOKEEPER_PROTOCOL);
}
- URL url = UrlUtils.parseURL(address, map);
- url.setScopeModel(getScopeModel());
- return url;
+ return UrlUtils.parseURL(address, map).setScopeMo... | fix: Fix the bug of invalid scopeModel in ConfigCenterConfig | null | apache/dubbo | Apache License 2.0 | Java |
@@ -331,7 +331,7 @@ def create_tar_file(source_files, target=None):
else:
_, filename = tempfile.mkstemp()
- with tarfile.open(filename, mode="w:gz") as t:
+ with tarfile.open(filename, mode="w:gz", dereference=True) as t:
for sf in source_files:
# Add all files from the directory into the root of the directory structu... | fix: Deference symbolic link when create tar file | null | aws/sagemaker-python-sdk | Apache License 2.0 | Python |
@@ -5,8 +5,7 @@ use backoff::BackoffConfig;
use data_types2::SequencerId;
use futures::{
future::{BoxFuture, Shared},
- stream::FuturesUnordered,
- FutureExt, StreamExt, TryFutureExt,
+ FutureExt, TryFutureExt,
};
use iox_catalog::interface::Catalog;
use object_store::DynObjectStore;
@@ -47,9 +46,6 @@ fn shared_handle(... | fix: compactor early shutdown | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -150,16 +150,6 @@ var PQueue = (function() {
);
}
- if (!(Number.isFinite(options.interval) && options.interval >= 0)) {
- throw new TypeError(
- "Expected `interval` to be a finite number >= 0, got `" +
- options.interval +
- "` (" +
- _typeof(options.interval) +
- ")"
- );
- }
-
this._carryoverConcurrencyCount = o... | fix(frontend): drop not supported by ie11 Number.isFinite() | null | eclipse/steady | Apache License 2.0 | JavaScript |
@@ -34,6 +34,7 @@ import static java.util.stream.Collectors.mapping;
import static java.util.stream.Collectors.toList;
import static org.apache.commons.collections4.CollectionUtils.emptyIfNull;
import static org.apache.commons.lang3.ObjectUtils.defaultIfNull;
+import static org.apache.commons.lang3.StringUtils.SPACE;
i... | fix: Filter not EQ in analytics event query filters out null | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.