Need help : even brew doctor fails

marti@Spip-/usr/local/Homebrew 👉  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Python is installed at /Library/Frameworks/Python.framework

Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.
Error: Formulae found in multiple taps:
 * cartr/qt4/shiboken
 * homebrew/boneyard/shiboken

Please use the fully-qualified name e.g. cartr/qt4/shiboken to refer the formula.

I'm trying to make some cleaning in my brew install : removing pyqt, qt4, etc ... It fails because I've tried to install some day a qt4 from another tap, and now I can't uninstall anything. It always with that message that even brew doctor says. I've tried a lot of things : tap, untap, tap --repair, etc...
Any hint ?
Thank's
Olivier
marti@Spip-/usr/local/Homebrew 👉  brew config
HOMEBREW_VERSION: 1.1.2-80-g666463c
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 666463ca2be08261cf103e4870b267f5b461a7f3
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a4d50c465d7398710f04022fafea080c7da83347
Core tap last commit: 5 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.9.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_66
macOS: 10.12.1-x86_64
Xcode: 8.1
CLT: N/A
X11: 2.7.11 => /opt/X11

I can reproduce this with pyqwt which depends on pyqt
and Formulary can't resolve it due to several possible options:

cartr/qt4/pyqt
homebrew/boneyard/pyqt

I'm trying to make some cleaning in my brew install : removing pyqt, qt4, etc ... It fails because I've tried to install some day a qt4 from another tap, and now I can't uninstall anything.

@oliviermarti what exactly are you trying to do? It seems strange that uninstall is not working.

@MikeMcQuaid I think it's a bug, but not sure how we should handle this. The fail in doctor appears when we check missing dependencies and there are several formulae with some name.
Error: Formulae found in multiple taps:
 * cartr/qt4/pyqt
 * homebrew/boneyard/pyqt

Please use the fully-qualified name e.g. cartr/qt4/pyqt to refer the formula.
/usr/local/Homebrew/Library/Homebrew/formulary.rb:336:in `loader_for'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:241:in `factory'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:32:in `to_formula'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:97:in `block in expand'
/usr/local/Homebrew/Library/Homebrew/dependencies.rb:9:in `each'
/usr/local/Homebrew/Library/Homebrew/dependencies.rb:9:in `each'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:84:in `expand'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1488:in `recursive_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1507:in `missing_dependencies'
/usr/local/Homebrew/Library/Homebrew/diagnostic.rb:14:in `block in missing_deps'
/usr/local/Homebrew/Library/Homebrew/diagnostic.rb:13:in `each'
/usr/local/Homebrew/Library/Homebrew/diagnostic.rb:13:in `missing_deps'
/usr/local/Homebrew/Library/Homebrew/diagnostic.rb:880:in `check_missing_deps'
/usr/local/Homebrew/Library/Homebrew/cmd/doctor.rb:43:in `block in doctor'
/usr/local/Homebrew/Library/Homebrew/cmd/doctor.rb:35:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/doctor.rb:35:in `doctor'
/usr/local/Homebrew/Library/Homebrew/brew.rb:94:in `<main>'

Steps to reproduce:
brew tap cartr/qt4
brew tap homebrew/boneyard
brew install pyqwt

@oliviermarti You should brew untap homebrew/boneyard
@vladshablinsky Nice work! The fix for this is probably to always deprioritise homebrew/boneyard so it's only used as a last resort and other taps always take priority.

@MikeMcQuaid
Been there, done that !
It doesn't work, probably because brew doctor 'retap' homebrew/boneyard. I whish I could get rid of these taps, but how :-(
Olivier
marti@Spip-~ 👉  brew untap homebrew/boneyard
Untapping homebrew/boneyard... (304 files, 605.6K)
Untapped 270 formulae
marti@Spip-~ 👉  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Python is installed at /Library/Frameworks/Python.framework

Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.
==> Tapping homebrew/boneyard
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-boneyard'...
remote: Counting objects: 283, done.
remote: Compressing objects: 100% (279/279), done.
remote: Total 283 (delta 4), reused 178 (delta 4), pack-reused 0
Receiving objects: 100% (283/283), 179.65 KiB | 0 bytes/s, done.
Resolving deltas: 100% (4/4), done.
Checking connectivity... done.
Tapped 270 formulae (303 files, 604.7K)
Error: Formulae found in multiple taps:
 * cartr/qt4/shiboken
 * homebrew/boneyard/shiboken

Please use the fully-qualified name e.g. cartr/qt4/shiboken to refer the formula.
marti@Spip-~ 👉

Try to brew uninstall --force homebrew/boneyard/shiboken; brew untap homebrew/boneyard

Still stuck :
marti@Spip-~ 👉  brew uninstall --force homebrew/boneyard/shiboken; brew untap homebrew/boneyard
Error: Formulae found in multiple taps:
 * cartr/qt4/shiboken
 * homebrew/boneyard/shiboken

Please use the fully-qualified name e.g. cartr/qt4/shiboken to refer the formula.
Untapping homebrew/boneyard... (303 files, 604.7K)
Untapped 270 formulae
marti@Spip-~ 👉  brew uninstall --force homebrew/boneyard/shiboken
Error: No available formula with the name "homebrew/boneyard/shiboken"
Please tap it and then try again: brew tap homebrew/boneyard
marti@Spip-~ 👉  brew untap homebrew/boneyard
Error: No available tap homebrew/boneyard.
marti@Spip-~ 👉  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Python is installed at /Library/Frameworks/Python.framework

Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.
==> Tapping homebrew/boneyard
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-boneyard'...
remote: Counting objects: 283, done.
remote: Compressing objects: 100% (279/279), done.
remote: Total 283 (delta 4), reused 178 (delta 4), pack-reused 0
Receiving objects: 100% (283/283), 179.65 KiB | 0 bytes/s, done.
Resolving deltas: 100% (4/4), done.
Checking connectivity... done.
Tapped 270 formulae (303 files, 604.7K)
Error: Formulae found in multiple taps:
 * cartr/qt4/shiboken
 * homebrew/boneyard/shiboken

Please use the fully-qualified name e.g. cartr/qt4/shiboken to refer the formula.
marti@Spip-~ 👉  brew uninstall --force homebrew/boneyard
Error: No available formula with the name "homebrew/boneyard"

rm -rf /usr/local/Cellar/shiboken and then brew untap homebrew/boneyard and try again.

marti@Spip-~ 👉  rm -rf /usr/local/Cellar/shiboken
marti@Spip-~ 👉  brew untap homebrew/boneyard
Untapping homebrew/boneyard... (303 files, 604.7K)
Untapped 270 formulae
marti@Spip-~ 👉  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Python is installed at /Library/Frameworks/Python.framework

Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.
==> Tapping homebrew/boneyard
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-boneyard'...
remote: Counting objects: 283, done.
remote: Compressing objects: 100% (279/279), done.
remote: Total 283 (delta 4), reused 178 (delta 4), pack-reused 0
Receiving objects: 100% (283/283), 179.65 KiB | 0 bytes/s, done.
Resolving deltas: 100% (4/4), done.
Checking connectivity... done.
Tapped 270 formulae (303 files, 604.7K)
Error: Formulae found in multiple taps:
 * cartr/qt4/shiboken
 * homebrew/boneyard/shiboken

Please use the fully-qualified name e.g. cartr/qt4/shiboken to refer the formula.

But :
marti@Spip-~ 👉  find /usr/local -name shiboken
marti@Spip-~ 👉

Where does it still find urge to summon shiboken ?????

What does brew missing and brew doctor report? Does this still happen after you brew update? Thanks!

Response is the same before and after a brew update:
marti@Spip-~ 👉  brew missing
Error: Formulae found in multiple taps:
 * cartr/qt4/shiboken
 * homebrew/boneyard/shiboken

Please use the fully-qualified name e.g. cartr/qt4/shiboken to refer the formula.
marti@Spip-~ 👉  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Python is installed at /Library/Frameworks/Python.framework

Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.
Error: Formulae found in multiple taps:
 * cartr/qt4/shiboken
 * homebrew/boneyard/shiboken

Please use the fully-qualified name e.g. cartr/qt4/shiboken to refer the formula.
marti@Spip-~ 👉

Thanks, I'll look into this over the Christmas vacation.

What does cat /usr/local/opt/shiboken/INSTALL_RECEIPT.json output?

I have no directory /usr/local/opt/shiboken
Olivier

I have no directory /usr/local/opt/shiboken
Olivier

@oliviermarti What does brew list shiboken output? Thanks!

Sorry, just brew list. Thanks!

marti@Spip-~ 👉  brew list
antlr2			gcc48			isl			little-cms2		pygtk
atk			gdal			isl011			lzlib			pykep
atkmm			gdb			jasper			md5sha1sum		pyqt
autoconf		gdbm			jbig2dec		mono			pyside
automake		gdk-pixbuf		jpeg			mpfr			python
avfs			geos			json-c			mpfr2			python3
boost			gettext			libevent		mpio			qt
boost-python		ghostscript		libffi			ncl			readline
c-ares			giflib			libgcrypt		nco			scipy
cairo			glib			libgeotiff		ncview			shared-mime-info
cairomm			glibmm			libgpg-error		netcdf			simple-mtpfs
cdo			globus-toolkit		libidn			netpbm			sip
cloog			gmp			liblwgeom		nettle			sloccount
cloog018		gmp4			libmpc			ntfs-3g			sqlite
cmake			gnutls			libmpc08		numpy			sshfs
coreutils		gobject-introspection	libmtp			open-mpi		swig
dos2unix		grib-api		libotr			openssl			szip
doxygen			grsync			libpng			p7zip			texinfo
e2fsprogs		gsl			libpng12		pango			tor
ecj			gtk+			libsigc++		pangomm			tree
exiftool		gtkglext		libsodium		pangox-compat		udunits
exiv2			gtkmm			libspatialite		parallel		watch
ext2fuse		harfbuzz		libssh2			pcre			wget
ext4fuse		hdf5			libtasn1		pidgin			xz
fontconfig		hicolor-icon-theme	libtiff			pixman			zeromq
freetype		hunspell		libtool			pkg-config
freexl			icu4c			libusb			proj
gawk			imagemagick		libusb-compat		py2cairo
gcc			intltool		libxml2			pygobject
marti@Spip-~ 👉

Olivier
PS : I'm back at work, and will respond faster now ..!

Can you brew update and see if you can still reproduce this?

Brew update works fine :
marti@Spip-~ 👉  brew update
X11 forwarding request failed on channel 1
Already up-to-date.
marti@Spip-~ 👉

I have the problem with doctor and uninstall. update, upgrade,liste works fine.
Olivier

@oliviermarti Thanks! Can I see the new brew config, brew list, brew doctor and cat /usr/local/opt/pyside/INSTALL_RECEIPT.json output? Thanks!

I the following attached gzip :
BrewSierraBug.zip
Olivier

New strategy here: can I see the output of brew missing --debug (or any command that’s failing, anyone).
Thanks!

Attached. Hope this help ...
Olivier
brew_missing_debug.txt

Ok, this is imply an issue with having a formula in multiple tapped taps where at least one or more formula has depends_on "$FORMULA" where $FORMULA is the name of a formula that exists in multiple taps. You need to brew untap homebrew/boneyard.


WebEncode Plus

Summary of the changes

This wasn't just VSCode, affected VS as well.
Path's containing "special" characters get WebEncoded when we send them across the wire between client and server, so we run WebDecode on them so when we go searching for the file in question we get My Project instead of My%20Project (and thus things can be found). The one problem with that is +. If the server receives My%2bProject it correctly turns it into My+Project, but if you WebDecode again it becomes My Project. We currently WebDecode every time we run Normalize, which is >6 times one the one string in some circumstances.
The solution then is to only run it the once. I've tried to accomplish that here with a quick check to see if it's already been WebDecoded, we could also just  ensure that Normalize only ever gets called once (by the endpoints), but that's a much larger change which might affect a lot of areas.
In testing this in VSCode I realized that the SemanticTokens experience wasn't working because we'd changed a couple of names, so I included that here too.

Fixes: https://github.com/dotnet/aspnetcore/issues/33144

@Tratcher is thinking about this sort of thing for yarp - you could sync 😀


Lots of output from intl tool when building flutter/gallery

Not sure whether the intl tool in the CLI is being too verbose, or whether these are real issues with the gallery, but there is quite a lot of output now when building the gallery. cc @HansMuller @guidezpl
Placeholders for plurals are automatically converted to type 'num' for the message: craneHours.
Placeholders for plurals are automatically converted to type 'num' for the message: craneMinutes.
Placeholders for plurals are automatically converted to type 'num' for the message: craneFlyStops.
Placeholders for plurals are automatically converted to type 'num' for the message: craneSleepProperties.
Placeholders for plurals are automatically converted to type 'num' for the message: craneEatRestaurants.
Placeholders for plurals are automatically converted to type 'num' for the message: rallyAlertsMessageUnassignedTransactions.
Placeholders for plurals are automatically converted to type 'num' for the message: shrineCartItemCount.
Placeholders for plurals are automatically converted to type 'num' for the message: shrineScreenReaderCart.
Placeholders for plurals are automatically converted to type 'num' for the message: craneHours.
Placeholders for plurals are automatically converted to type 'num' for the message: craneMinutes.
Placeholders for plurals are automatically converted to type 'num' for the message: craneFlyStops.
Placeholders for plurals are automatically converted to type 'num' for the message: craneSleepProperties.
Placeholders for plurals are automatically converted to type 'num' for the message: craneEatRestaurants.

... many more lines of this ...

"af": 8 untranslated message(s).
"am": 8 untranslated message(s).
"ar": 8 untranslated message(s).
"ar_EG": 8 untranslated message(s).
"ar_JO": 8 untranslated message(s).
"ar_MA": 8 untranslated message(s).
"ar_SA": 8 untranslated message(s).
"as": 8 untranslated message(s).
"az": 8 untranslated message(s).
"be": 8 untranslated message(s).
"bg": 8 untranslated message(s).

... many more lines of this ...

The Placeholders messages are new and indicate an easily fixed issue with the ARB files.  Not sure about the untranslated messages warnings. @thkim1011 - can you look into this?  The Flutter gallery demo is in https://github.com/flutter/gallery

The tool is being slightly too verbose, since as we're continuously adding things to the gallery, there's pretty much always going to be untranslated messages.
I always found the untranslated messages verbose since it's likely you'll have the same number in all locales. I'd prefer something condensed like 8 untranslated messages in locales: "af", "am", ....

gen_l10n should at least point to a resource or indicate what to do about the warning.

@thkim1011 fixed this for the gallery by suppressing warnings (https://github.com/flutter/gallery/pull/900). Keeping this issue open as we shouldn't output errors that aren't actionable.


detect page referrer if it redirects

currently:

Use link.href
If page redirects, use document.referrer, which doesn't include hash tag => this causes #37


Change the summoned creature token disposition

It would be nice if the summoned creatures token could have the same disposition as the summoner's actor token disposition when dropped on the canva, especially since targeting allow to set for ally or ennemy.

Maybe we need another Token Disposition setting for "Inherited" so summoned tokens can match the disposition of their summoner?


Update Packit configuration

In case of any questions, please contact Packit team.

Thanks for the patch @lbarcziova, I would like to kindly ask you to prepend the commit message with chore: chore(Packit): $subj


All dedicated machines have no GPU

All dedicated machines gives 0  num_gpu on mainnet although it has on ninja
ex: 6208
ninja:

mainnet:

Blocked on gridproxy release

verified on https://dashboard.bknd1.ninja.tf/

verified on https://dashboard.bknd1.ninja.tf/
version : 2.3.0-alpha6

Verified:

Ninja https://dashboard.bknd1.ninja.tf/
2.3.0-alpha6


make entire table name parameterized

This should fix #3 but I can't test it sorry.

closed via 67d7488


Refactor Lastmile table to use RS Table component

See PR review discussion on #6594. @kevinhaube
Refactor AdminLastMileFailuresTable to use /components/Table instead of @trussworks/react-uswds/Table
Thoughts:

Consider renaming our Table component to avoid confusion.
Consider our Table leveraging the trussworks table.
HTML5 is starting to deprecate table features. (This is around using table for layout versus displaying information).
The "Mobile First" approach is to use a grid instead a table even for data. Keep in mind as consider how much investment into our own table components.

Will carry over to next sprint. Aiming for PR up by Fri 6/16.


Out of tree builds

How can I install imguin so that I can build my application outside of the imguin tree? All the examples assume they live inside the tree (e.g. switch "path","../../src" # for "import glad/gl"). Thank you for the library.

Thank you for the comment,
I will modify that imguin can be built
outside of the tree.

Updated.
It should be able to install as nimble package,
nimble install https://github.com/dinau/imguin

Thanks, that works.


[REVIEW] Mark-up-Portfolio

Portfolio link
Check out my portfolio website is created with just markdown language.
http://aditya-deshmukh.me/Mark-up-Portfolio/

Portfolio link
Check out my portfolio website is created with just markdown language.
http://aditya-deshmukh.me/Mark-up-Portfolio/

Hey there! awesome portfolio. Thanks for sharing <3

@helper-uttam thanks man

Love the design, it's great! the only thing that really stood out that you could improve was the skills page where all of the icons are very close together so it's hard to focus on anything among the sea of icons.

No GitHub link, going to close - please submit a new issue if you have a GitHub repo link


2.0

What? and Why?

What does this pull request change/fix? Why was it nessessary?
Merge 2.0 to Master

Checklist

[ ] CHANGELOG.md updated? (if required)

@Malveen these merge conflicts need fixing before any reviews can take place...


C++ syntax highlighting issue

VSCode Version: June 2020 (version 1.47.1)
OS Version: Linux 4.12.14-lp151.28.52-default x86_64 GNU/Linux

Steps to Reproduce:

Paste the following code using C++ as selected language mode to enable the syntax highlighting

void foo(const char *uri)
{
  if (uri == NULL) {
    printf("uri is nullptr\n");
  } else if (strncmp(uri, "/put?", 5) == 0) {
    printf("PUT\n");
#ifdef ALLOW_POST // a comment here prevents the code after the '?' char from being correctly parsed by the grammar syntax rules for C++
  } else if (strncmp(uri, "/post?", 6) == 0) {
    printf("POST\n");
#endif
  } else if (strncmp(uri, "/get?", 5) == 0) {
    printf("GET\n");
  } else {
    printf("unknown\n");
  }
}

You can see that the syntax highlighting is broken after the '?' char in the line if (strncmp(uri, "/post?", 6) == 0)
Option 1: Remove the comment or change for a C-style comment (/*...*/)  and now the syntax highlighting is ok.
Option 2: Remove the ? char from the line referenced in step 2 and now the syntax highlighting is ok.

This screen-capture shows the bug in action:

Does this issue occur when all extensions are disabled?: Yes

Moved to the repo that we get our C++ grammar from: https://github.com/jeff-hykin/cpp-textmate-grammar/issues/494


Add greyscale icon tokens

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: #170
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
Add
Type of change:
Please delete options that are not relevant.

[x] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[ ] My update follows the CONTRIBUTING guidelines of this project
[ ] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 4.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CONTRIBUTING.md

If this is going to be a community driven thing, getting this stuff laid out is going to be hugely important.

Something that might be worth adding: Contributions should be accompanied by radars.
If the purpose of this library really is to just fill in the cracks missed by Apple, then the eventual goal should be to not have any such cracks.


Remove duplicate type definitions after switching to grpc client

Types in pkg/kubelet/hyper/types.go are duplicated with grpc client's type, they should be replaced with grpc client's type.
This should be done togather while refactoring hyper client.

cc @YaoZengzeng ping me whenever you finished refactoring your existing PRs, I will begin to continue review. :+1:

get it!

All done!


Progress Reporting for template deployments

This PR adds more information for commands that are long running but use a template deployment, like 'vm create.'
fixes #3560
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

Codecov Report

Merging #3510 into master will decrease coverage by 0.07%.
The diff coverage is 26.82%.

@@            Coverage Diff             @@
##           master    #3510      +/-   ##
==========================================
- Coverage   71.35%   71.27%   -0.08%
==========================================
  Files         419      419
  Lines       26047    26077      +30
  Branches     3943     3950       +7
==========================================
+ Hits        18585    18587       +2
- Misses       6305     6332      +27
- Partials     1157     1158       +1

Impacted Files
Coverage Δ

...dules/azure-cli-interactive/azclishell/progress.py
43.75% <0%> (-4.2%)
:arrow_down:

src/azure-cli-testsdk/azure/cli/testsdk/patches.py
90.24% <100%> (+1.6%)
:arrow_up:

...ure-cli-testsdk/azure/cli/testsdk/vcr_test_base.py
70.38% <100%> (+0.26%)
:arrow_up:

...azure-cli-core/azure/cli/core/commands/__init__.py
78.4% <19.23%> (-3.9%)
:arrow_down:

...azure-cli-core/azure/cli/core/commands/progress.py
85.56% <50%> (-0.3%)
:arrow_down:

src/azure-cli-testsdk/azure/cli/testsdk/base.py
71.35% <0%> (-0.53%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 119ba95...add0c78. Read the comment docs.

I need some more context on this PR. What are the scope of the changes?  Does this just add progress indication with az interactive or does it change the core to report progress during normal CLI use?  What does the progress reporting look like?

Agreed with @tjprescott. What does this look like?

It adds to the core of progress reporting. On the CLI, it shows when events have occurred.

I think it would be good to demo this in scrum. My first thoughts, after looking at the screenshots:

I don't think the zig-zagging thing will go over well.
The progress indication should be written to logger.info so that it is only visible with --verbose (arguably)
The interleaved Accepted/Started messages are confusing and don't seem to be really telling me what I want to know, which is "what resources are created and when?".

Like we talked about in scrum, the monitor activity log likely doesn't give you any information you actually want. Instead, try looking at the az group deployment operation list command, which uses the following SDK method:  azure.mgmt.resource.resources.operations.deployment_operations list. From there you can get the status of the individual resource subdeployments and the timestamp that they completed (or failed).  This will look more like the portal when you look at the operation details for a deployment.

@oakeyc please comment when this is ready for review.

@tjprescott @derekbekoe ready to review

@derekbekoe can please you take a look?

Why is progress reporting not in the azure cli anymore? Just noticed this PR added it years back...


chore: Migrate UpdateOrganizerPresenter to ViewModel

Fixes #1276
Checklist:

[ ] I have checked for PMD and check-style issues
[x] I have read the Contribution & Best practices Guide and my PR follows them.
[ ] My branch is up-to-date with the Upstream development branch

Changes:

Migrate the UpdateOrganizerInfoPresenter to ViewModel
Change the submit button to current style
Add tests for UpdateOrganizerInfoViewModel

@Masquerade0097 @iamareebjamal @mishuvs Please review


Mat/Pat: Simplify workflow using DMN tables

Simplifies Mat/Pat workflow using DMN tables.
The non-DMN Mat/Pat workflow (on Sep 7, 2023) looks like the screenshot below
Private Zenhub Image

The workflow is super flow, and submissions on the supervisor side that a few minutes someimes. Will this help improve that?

created bpmn and dmn. going to test in dev this morning and move to test if everything works.

Next step is end-to-end testing all scenarios.

test comment

No major issues found with any workflows since deployment. Closing this


BUG: A client-side exception occurring when allowing location access to on the web

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
A client-side exception occurring when allowing location access to on the web. This error is most probably getting caused by function calls at wrong time.

I would like to work on this issue under gssoc'24
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hello @Mayank2808sharma, I would like to work on this issue under gssoc'24. I successfully reproduced the error on my local machine,

do you want to still work on this


Suggestions missing on optional object properties after required properties are written.

Issue Type: Bug
Using the following code (TS 3.7.3)
interface ITextField {
    type: string;
    placeholder?: string;
    label?: string;
}

interface IUseFormProps{
    fields: { [name: string]: ITextField };
}

export const useForm = <T extends IUseFormProps>(
    options: T
) => { /* ... */ };

When I start typing:
const form = useForm({ fields: { firstName: { /* Ctrl+space here */ } } })

I can see all the ITextField options as expected. But as soon as I enter the type property (which is the only required one)
const v = useForm({ fields: { firstName: { type: "asdf", /* Ctrl+space here */ } } });

all the optional properties become no longer suggested. However, entering placeholder: 123 does give a type error, as if it actually knows the type, but won't show suggestions for it.
I have tried disabling the extensions as well.
This is the actual use case. I have simplified the one above for clarity and also tried it to confirm it doesn't work.
Types:
interface IBaseField<T> {
    placeholder?: string;
    label?: string;
    hint?: string;
    required?: boolean;
    initial?: T;
    validation?: (value: T) => string | undefined;
}

interface ITextField extends IBaseField<string> {
    type: "text";
}

type IField = ITextField;

interface IUseFormProps {
    fields: { [name: string]: IField };
}
export const useForm = <T extends IUseFormProps>(
    options: T
) => { /* ... */ };

Works as expected:

Fails to suggest the remaining properties. I would expect it to show the remaining optional properties like it did just before I entered the required properties.

Still gives errors when giving a wrong type:

VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.93GB (17.93GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

bracket-pair-colorizer-2
Coe
0.0.29

vscode-eslint
dba
2.0.15

gitlens
eam
10.2.0

prettier-vscode
esb
3.20.0

vscode-styled-components
jpo
0.0.28

remote-wsl
ms-
0.41.9

vscode-sort-json
ric
1.18.0

code-settings-sync
Sha
3.4.3

vscodeintellicode
Vis
1.2.4

vscode-icons
vsc
9.7.0

vscode-todo-highlight
way
1.0.4

Confirmed as broken with TS 3.7 but works for me with TypeScript 3.8:

Please try upgrading your workspace to use typescript@next by installing this extension (or use the VS code 1.43 insiders builds)


Language features in templates

Go to reference, find references, autocomplete features and other don't work in templates.

No definition found for ...

Everything works fine in script section.

Volar - Language Features Server output, when trying go to component reference
[Trace - 4:05:39 PM] Sending request 'textDocument/definition - (227)'.
Params: {
    "textDocument": {
        "uri": "file:///Users/razum/Development/code/jet-client/resources/js/Jetstream/ActionSection.vue"
    },
    "position": {
        "line": 6,
        "character": 21
    }
}

[Trace - 4:05:39 PM] Received response 'textDocument/definition - (227)' in 1ms.
Result: []

Template to reproduce - Laravel Jetstream
More easiest way to install with Laravel Installer and --jet option.

Please add "jsx": "preserve" to project tsconfig if it don't have.

@johnsoncodehk Thanks! Looks like it works.
Could you please explain how it works? Jetstream doesn't use jsx templates.

volar support TS for template base on JSX so we need to have this config.
Relate issue: #1153

Still getting a warning on the root template tag about enabling "jsx": "preserve" although it is set in tsconfig.json. Likewise it seems that lib entries are ignored as well. Is there anything that could lead to Volar (running in takeover mode) not picking up the settings from tsconfig.json?


New controller version not working

It appears there are new versions of the LC-01 and LC-02 boards, coming without the metal shield on top of the wifi module.
This firmware doesn't boot on the new version, here is the serial log:
` ets Jan  8 2013,rst cause:1, boot mode:(3,2)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0xef
csum 0xef
csum err
ets_main.c q   `
Looking at the serial boot log before and after the flash, I think these are booting in the wrong mode for some reason:
Original firmware:  ets Jan  8 2013,rst cause:1, boot mode:(3,7)
After flashing:  ets Jan  8 2013,rst cause:1, boot mode:(3,2)
Here you can find some info on boot modes:
https://github.com/digistump/OakCore/issues/45
MTD0 GPIO0 GPIO2 Mode
0    0     0     Remapping
0    0     1     UART boot
0    1     0     Jump boot
0    1     1     Flash boot
1    0     0     SDIO LowSpeed V2 IO
1    0     1     SDIO HighSpeed V1 IO
1    1     0     SDIO LowSpeed V1 IO
1    1     1     SDIO HighSpeed V2 IO
A related discussion:
https://community.smartthings.com/t/release-smartlife-h801-rgbw-led-strip-wifi-controller-bulb/51182/1253

@thenexor see #27


Added option to set focus and blur colors of labels via settings

Intended to make it easy to customize the plugin even more with custom colors.

Thanks!


Running tar in dom0 with domU input

The suggested instructions invoke tar in dom0 using untrusted input from either the domain where mirage firewall is built or the downloaded mirage firewall binary. This seems unwise.
While we're placing a lot of trust in whatever domain is used to build the mirage-firewall, I don't think mirage-firewall actually does anything else that allows it to control the execution of code in dom0. Shouldn't the correct procedure be to untar the 3 files in the builder/downloader domain and then copy them individually to dom0?

Yes, that would be better. According to #70 we shouldn't need the extra files now, but I think last time I tried removing them it still didn't work.


Can't read from files

When ever I try to open an simulation I get 'The selected file could not be opened.'
It is cause the Serializer::deserializeDataDescription throws "no data found".
Any idea why it does this?

What system are you using (Win/Linux/Mac)?
Which file exactly did you try to open?

Is the default simulation loaded at the first start or do you just see a blank background?
If not I can think of 2 error causes:

To load a simulation, the .sim file is needed together with .settings.json and .symbols.json. If the *.json files are missing, you get this error message among others. Can you still check this?
It could also indicate a problem with cross-platform serialization support. The examples were created in Windows. However, the libraries used for compression (stb_[en]compress) and for serialization (cereal) should do that. Hm....

Yep that worked. Thx !!
We know that's the problem, I can look into why it compression libs don't work

Thanks, that would be great! Maybe some byte ordering problem.... ?!
If the problem can't be solved so easily, I could also take out the compression for now and resave all examples. The files are then unfortunately about twice as large :-/
Note: With the correction above, however, only the deserialization is done without compression. On saving, it is still activated.

I'm currently trying to use zstr/zlib for compression.  It would be great if you could try if it works?
The source code is in the branch features/zlib. Here is the simulation file for testing:
zlib_test.zip
.

Yep, that worked perfectly!
You don't happen to have a discord or slack for the project?

Thanks for testing!
I've now converted all examples and changed the Serializer.cpp completely to the new format. It's now on the develop branch.
There is a subreddit for this project at https://www.reddit.com/r/AlienProject.
I'd not created a discord or related yet. The development of this project kept me very busy the last few months (and as a result the new version 3.0 will be ready very soon :) .Then I hope to have more time for such things.

I close this issue. If there are further problems with the file format please let me know.


Fix LocalTrack.restart mute handling

This PR is quite similar to #487, which originally was intended to fix the issue current PR is addressing: having LocalTrack.isMuted set to true, while having MediaTrack.enabled set to true as well.

hi @HermanBilous
thanks for the PR!
The current assumption is that restarting a track would always put the track in an unmuted state.
Can you tell a bit more about your use case for this change?

hi @lukasIO, thanks for taking a look. My case is the following: I have a react app built with react-core and livekit-client. A user connects to a room, we publish an audio track and mute it right away (to make consecutive unmutes quicker). We also display a list of actively speaking participants on the screen, relying on isSpeaking property from Participant in react-core.
The issue is, sometimes a user shows up as actively speaking even though they didn't activate their mic. I'm not sure what is the "natural" way to reproduce this issue. However, denying and then granting browser's (chrome 109.0.5414.119 on macOS) permission to a mic on the page produces the same result, you will appear as speaking to other users despite not actually enabling your mic.

I haven't changed dtx value, so it's enabled as by default.
I'm doing the following:
room?.localParticipant.setMicrophoneEnabled(true).then((track) => track?.mute());

With the change from this PR, the app behaves as expected.
Do you think it's correct that the mediaStreamTrack.enabled and  LocalTrack.isMuted are out of sync?

Do you think it's correct that the mediaStreamTrack.enabled and LocalTrack.isMuted are out of sync?
No, they shouldn't be out of sync.
But muting the track shouldn't even be calling restartTrack, so I'm wondering what else might be at play here.

Are you able to provide a minimal reproduction that showcases this incorrect behaviour?

Sure, here's a sandbox.
https://codesandbox.io/s/infallible-pateu-dpje5x?file=/src/App.tsx

thanks for the sandbox! that helped isolate the issue.
The problem I found is that restartTrack would be triggered on permission change even if the track is not muted.
Can you check if https://github.com/livekit/client-sdk-js/pull/581 fixes the problem for you, too?


DOC-70 Upgrade RDS cert

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.06%. Comparing base (2ce9f18) to head (d3246c6).

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #74   +/-   ##
=========================================
  Coverage     93.06%   93.06%
  Complexity      243      243
=========================================
  Files            47       47
  Lines           952      952
  Branches         65       65
=========================================
  Hits            886      886
  Misses           52       52
  Partials         14       14

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update field names in counter.json file

This change will update the fields in counter.json file to the following:
[
    {
        "Unit": "core",
        "CountersNumFixed": "4",
        "CountersNumGP": "8"
    },
    {
        "Unit": "PCU",
        "CountersNumFixed": "0",
        "CountersNumGP": "4"
    },
    {
        "Unit": "IRP",
        "CountersNumFixed": "0",
        "CountersNumGP": "2"
    },

Quick comment: Fixed is spelled out for fixed-function counters. Would it be helpful to directly mention GeneralPurpose instead of GP?

Thanks @edwarddavidbaker! I think it makes sense. But it will also make the name very long. Would CountersNumGeneric work?

Change lgtm but I don't have a strong opinion on naming

Thanks @edwarddavidbaker! I think it makes sense. But it will also make the name very long. Would CountersNumGeneric work?

Generic seems like a good tradeoff on length and helps avoid deciphering acronyms. Thanks Weilin.

@weilinwa Thanks for updating counter.json field names. 👍

@captain5050 and @edwarddavidbaker, could you please take a look at the last commit and see if that looks good to you? Thanks!

Thanks Weilin and Ian.


Add files via upload

https://www.ndsj.org/
https://docs.google.com/document/d/1keHcB9G8rRozvzXzcUG5vJQsdpDoqOaeGA-O_qydJcs/edit#heading=h.yfc43z6ifumm
ndsj.txt
COMPUTER SCIENCE A - AP
Course# MA4500AP
Grades: 10, 11, 12

@Varshav1 First stage of verification passed, official domain for Notre Dame High School San Jose is ndsj.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Varshav1 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Feature Request: Option to limit max dimension of output image

I would like to limit the dimensions of output images no matter what was requested.
Example:

Original image: 24000x13500 (16:9) JPEG
Server config: IMGPROXY_MAX_OUTPUT_DIMENSION=8000
Request: /_/rs:fit:10000:5625/plain/my-image.jpeg

Resulting image resolution: 8000x4500

Request: /_/plain/my-image.jpeg

Resulting image resolution: 8000x4500

I hope that makes sense and is helpful to others.

Hey @diegoatpitch!
Could you provide a use case for this feature?

The main use case is to reduce our CDN billing in a single shot.
Image sizes are calculated dynamically and on the client side. Sometimes we have some unnecessarily large images being requested.
We also are in a unique situation where we can't force all users to newer versions of the software, so adding this limit to client side would take at least 6 months to reach 90% of all of our requests.
Since this would be a server side configuration option it would help mitigate possible DoS attacks on instances without signature. I know this is not the ideal security scenario, but for us would help a great deal with mitigation.

We received a similar request some time ago. We didn't move forward with it because it does not actually prevent DoS attacks: imgproxy has a few processing options besides width and height that can be used for DoS.
We were in the same situation as you when developing our website. We have a demo on our website that allows you to resize an image and apply filters dynamically, thus we can't rely on pre-generated URLs. So we made an API that generates and signs imgproxy URLs based on the provided options. That API also checks the provided options so they match the restrictions. I would offer you to use the same approach.
Since we need to show the imgproxy URL on our site, our API just returns the URL, but you can make it to make a redirect. The API is very simple and responds in a millisecond while running on the smallest GCR instance.
The difference between our cases is that our API requires width and height to be provided while in your case, as far as I understood, it is not required. In this case, I'd offer to use a default preset: default=width:8000/height:8000. This should work because of two things:

The default preset is always applied before the processing options from the URL.
When the enlarge option is not used, imgproxy doesn't enlarge images, so the width and height options here will be treated as "maximum width" and maximum height. Of course, these options can be overwritten by the URL, but your API will take care of this.

The API is so simple that I could build a draft of it with a language I am familiar with if you like.

Requesting a large image could cause resource exhaustion, especially in kubernetes. We've seen pods being killed which had a memory limit of 768m. For now we've increased the memory limit, but limiting the output size would be a better solution.


Update index.html link buttton

Change link button to Anchor Tag as requested in #285

Learn the issue in detail please

Can I ask what is wrong?

Can I ask what is the error? I have checked my syntax again and I do not find any wrong closing tags

@c00kie123 For the time being, I will fix this issue and if you want to work on any new issue, then join Real Dev Squad's Discord channel.


Add a responsive image utility

When .responsive is applied to an image it will become responsive

The responsive features of images in Halloween.html have disappeared.

What should i do then ?

Which issue are you referencing?


Test docs with myst

@choldgraf @stevejpurves @mmcky
Just a quick update on where we are at in terms of JupyterBook compatibility, this is what happens out of the box when you type myst in the JupyterBook docs folder:
https://rowanc1.github.io/jupyter-book/layout
It is pretty good, certainly better than a few months ago. The most obvious thing is the toc, and not picking up headings at the moment (because there is a target in front of them).
Full list of directives/roles that aren't supported:
directives

grid-item
button-ref
only
card-carousel
tableofcontents
footbibliography
eval-rst
example
glue
epigraph
glossary
index
table
sidebar
div
figure-md
nb-exec-table
glue:
glue:figure
glue:math
literalinclude
toggle
raw
tab

roles

bdg-primary
term
doc
download
cite:ps
cite:ts
fa
py:class
glue:
glue:text
guilabel

Could we create a shorter prioritised list that includes high priority items that should/could make the first cut?

Thoughts on making js.jupyterbook.org point to Rowan's site here? Is this auto-updated / built?


Remove the router

So how are we supposed to do anything with hyperapp now?

The router will live here.

I was just playing around with this because I needed a hash-router (due to constraints, I cannot use pushState), and came up with this:
Code:
https://glitch.com/edit/#!/brainy-ferryboat
Preview:
https://brainy-ferryboat.glitch.me/

Nice! I feel like someone has already had a go at a hash based router, or adapted the hyperapp router to work with hashes 🤔 can't remember who though

There's this: https://github.com/zaceno/hyperapp-hash-router
... which is basically just a search-and-replace of hyperapps built in router. (doesn't even have a package.json so you can import it though)


Rest API to list users

As a developer of integrated system, I want to have a Rest API to list users so that I can:

send a request with necessary input
get a success response
get a fail response.

@atamankina I am a bit confused, should I review this only based on the screenshot?

I´m not sure if this belongs to here, but im getting the following warning when running server:
?: (urls.W005) URL namespace 'rest_framework' isn't unique. You may not be able to reverse all URLs in this namespace

it complains about two urlpatterns using the same namespace, the rest_framework and the router one. it's not an issue now.

Verified with Postman according to our wiki.


cookie_store: fix missing raw cookie elements

Some raw cookie elements (domain & path) are lost
when adding a raw cookie to a cookie store, so
retrieving back the raw cookie from the store
results in information loss.
Fix this by ensuring the fields are added to the
raw cookie builder in try_from_raw_cookie().
We also fix two tests with the missing values.

Thanks for the PR! I've merged this, and took it one further step: instead of cherry-picking fields & build() a new cookie, we now simply clone() the source raw_cookie.


Clipboard APIs do not work inside iframes in webviews

Create a webview that has an iframe with allow="clipboard-write":
<iframe src="http://<IP_ADDRESS>:8000/"  allow="clipboard-write" width="100%" height="600" />

In the hosted page, try to use the clipboard APIs:
<button onclick="window.navigator.clipboard.writeText('inner');">Copy "inner" to clipboard</button>

When clicking the button, the operation will fail and the developer tools will report:

Uncaught (in promise) DOMException: Write permission denied.

I've tried numerous combinations of things in the allow attribute (such as clipboard and clipboard-write http://<IP_ADDRESS>:8000/), but nothing seems to fix this. I presume the iframe being another origin is complicating things.
However, outside of VS Code this works fine. I made iframes nested three-deep that cross origins, and as long as I have allow="clipboard-write" then all of the nested frames are able to call this API successfully.
This might be related to https://github.com/microsoft/vscode/issues/129178 (which is that the system-level Cmd+C shortcut does not work), but I'm not sure these two things should be the same (one is the system copying something, and the other is JavaScript access to the clipboard API) so am raising a separate issue.

any update on this ? please check this issue


Titlebar Component

(Editable) title for trip
Who is logged in
Ability to log out

We currently handle a case for new signup.

// We need to consider the case for when someone is logged in aand has info in the database. In this case, we want to get their
// details from the database if they exist and if they don't exist, give the prompts.
// some ternary like: if there is a logged in user and they have a name in the db, return the name. Otherwise return 'plase enter a name'.
// same double condition needed for homeBase: if user logged in AND user has a


[IE] Can't blur on empty input with placeholder attribute

Apparently IE triggers input event when inserting the placeholder on blur in empty textarea. This in turn triggers update of the component's selection state causing a new #setSelection() call, causing a refocus.
See also: http://stackoverflow.com/questions/21406138/input-event-triggered-on-internet-explorer-when-placeholder-changed

fix seems to work


DerivedNormalizationProps.txt

https://unicode.org/Public/UCD/latest/ucd/DerivedNormalizationProps.txt

i feel like https://unicode.org/Public/15.1.0/ucd/DerivedNormalizationProps.txt should have been split into multiple files. still deciding on the best way to layout this information


Materialize Button centering

User Story
AS A user of the game
I WANT the buttons to be centred
SO THAT The game looks higher-quality and feels more polished
Tasks

[ ] Add "holder" classes to <form tags
[ ] remove "holder" classes from <section tags

Branch name: "st-button-style"


[FEAT] Grandma mode

Objective
Several of the easter eggs have some salty language that may not be appropriate for all audiences. Having an option to exclude those is probably in good taste.
Initial Implementation Requirements
Create skill settings
Choose an appropriate default (no swearing/swearing)
Document adjusting the setting
Other Considerations
No response

Closing in favor of OVOS repo issue


More robust tmp_cache dispatch

EKCache is the only AbstractODEFilterCache, and so it's safe (at least for now) to extend this function to the other algorithms. The other algorithms were fine because they were using a fallback that has been eliminated by https://github.com/SciML/OrdinaryDiffEq.jl/pull/1753. It would be good to get this patch in so that the ambiguity fix PR can be fully checked.

Codecov Report

Merging #189 (ef385ee) into main (b8a4d5c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #189   +/-   ##
=======================================
  Coverage   90.59%   90.59%
=======================================
  Files          24       24
  Lines         989      989
=======================================
  Hits          896      896
  Misses         93       93

Impacted Files
Coverage Δ

src/alg_utils.jl
84.21% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


User profile page broken after migration

Hello,
First of all.. thank you for the plugin.. I have been a long time user and it's simply fantastic!
I initially thought that this might have been a docker integration issue... I've managed to get docker working with redmine and redmine_git_hosting :) ... but it's not... I've gone back to my original Ubuntu 14.04 native install (which uses phusion passenger) and there's a problem there too.
I migrated from 7.04 (I think... so I first moved to 7.10 and then upgraded to 1.0 from there.
Repositories work... The config check works and reports that all is good... I CAN ssh to git from redmine using the appropriate key... (that said, I would not get a clean report from the config check if I could not do this).
I can browse repos, look at stats, etc... I have not yet tried creating a repo but when I go to a users profile page I get:
Started GET "/users/8" for <IP_ADDRESS> at 2015-02-23 19:18:59 +0000
Processing by UsersController#show as HTML
  Parameters: {"id"=>"8"}
  Current user: quicksilver (id=6)
  Rendered plugins/redmine_git_hosting/app/views/users/show.api.rsb within layouts/base (0.8ms)
Completed 500 Internal Server Error in 66.5ms

ActionView::Template::Error (No builder for format ):
    1: api.user do
    2:   api.id         @user.id
    3:   api.login      @user.login if User.current.admin? || (User.current == @user)
    4:   api.firstname  @user.firstname
  lib/redmine/views/builders.rb:28:in `for'
  app/controllers/users_controller.rb:76:in `block (2 levels) in show'
  app/controllers/users_controller.rb:75:in `show'

I've tried to go a git pull to see if there have been any changes..
git checkout 1.0.0
produces:
HEAD is now at 7c6494f... Use a long term repo for gitolite-rugged gem
and...
git pull
produces:
You are not currently on a branch. Please specify which branch you want to merge with. See git-pull(1) for details.
git pull
Perhaps I missed something in the install instructions that was supposed to put me on a branch?
I have removed all other plugins from the system (except for the boostrap one) and rerun the plugin migration scripts and 'bundle install'
I've rerun the migration script (and restarted nginx)... countless times.
I'm stumped.  Please assist.  What should I try next?  Should I be able to pull recent changes.
Thanks

All seems to work after applying the update here: https://jbox-web.github.io/redmine_git_hosting/releases-notes/release-1.0.1.html  (on dccker too).

Perhaps I missed something in the install instructions that was supposed to put me on a branch?

Nope. Now we use Git tags to manage plugin releases so it's normal.


[Bug] [config-ui] GitExtractor Pipeline Activity 0% Progress after 2minutes

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When using the GitExtractor Plugin, task progress is not accurately calculated after 2 minutes of activity. We should be using progressDetail to infer percentage completed if progress value is always 0 or not able to be updated.

What you expected to happen
The (sub)task progress percentage for tasks on the pipeline should use the progressDetail data if available to calculate percentage completed.
How to reproduce
Run a Pipeline with GitExtractor.
Anything else
No response
Version
main
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Could be addressed on either Backend or Frontend, awaiting further feedback.

We discussed this on https://github.com/apache/incubator-devlake/issues/822
Please check the "Final Decision" section, BE can not provide a reliable Percentage Progress.

@yumengwang03

This has been covered by #2249


Sort documents by volume number

Currently sorting documents by volume number for a specific series does not work (e.g. in the series details page).
The issue seems to be that since we don't use the nested datatype in ES we can't sort by a nested value combined with another (e.g. series PID). A few solutions to this:

Use nested datatype for document.series

Would allow us to properly filter and sort documents by multiple series fields
Adds complexity since we cannot use URI search in e.g. in the search bar on documents search page

Use nested datatype for document.series_objs
When resolving document.series create "dynamic" fields called e.g. <series_pid>_volume on document level which we could use to sort by volume number for a specific series PID
Sort hits by volume number in JavaScript

closing as the structure of the series changed


will this support streaming or encode?

hi, I'm tring to use this module to get url, but got wrong output.
such as www.baidu.com  (chinese),  the chinese words is all  unreadable encode.

Have the same problem


Rename csand to csa

#21

Related PRs:

https://github.com/metanorma/metanorma.com/pull/196

TODO:

[x] ~Add backward compatibility tests~
[x] Fix hound issues

@CAMOBAP795 I don't think we need backward compatibility since the users are minimal. Let's just go with the new name.

I tried to fix as much lint errors as possible,but there is still some left

I'm going to merge it


Fix typos of Register-ArgumentCompleter parameters

Summary
Enable tab completion - .NET CLI | Microsoft Learn

   param($commandName, $wordToComplete, $cursorPosition)

The parameter names given in the above document are incorrect.
Although it works as it is, I think it would be less confusing to follow the documentation as it is written.
Register-ArgumentCompleter (Microsoft.PowerShell.Core) - PowerShell | Microsoft Learn

When you specify the Native parameter, the script block must take the following parameters in the specified order. The names of the parameters aren't important because PowerShell passes in the values by position.

$wordToComplete (Position 0) - This parameter is set to value the user has provided before they pressed Tab. Your script block should use this value to determine tab completion values.
$commandAst (Position 1) - This parameter is set to the Abstract Syntax Tree (AST) for the current input line. For more information, see Ast Class.
$cursorPosition (Position 2) - This parameter is set to the position of the cursor when the user pressed Tab.

Fixes #Issue_Number (if available)

Internal previews

📄 File
🔗 Preview link

docs/core/tools/enable-tab-autocomplete.md
How to enable tab completion for the .NET CLI

This LGTM! Would you also be interested in fixing this in the version of the scripts bundled with the .NET SDK here?

OK! I'll fix it later.


bump pushtools version in dev, relax pin

also bumped the version to 0.0.3

ah i missed this and it's probably cleaner 🤥 - will merge this as 0.0.4


"gatsby-source-prismic" threw an error while running the sourceNodes lifecycle: Cannot read property 'length' of undefined

Hello, i'm building a blog using Gatsby and Prismic. I cloned a starter that used gatsby-source-prismic v2, now i followed the guide for upgrading to v3. I made all corrections needed (breaking changes) and gatsby develop correctly builds the development build but i get this error anyway in the console.
Can someone point me to the right direction to solve this issue?
I also have another problem with Prismic graphql, that maybe is related to this one:
Like i said, development builds fine but in my graphql queries i don't have the where arguments, see image:

Without the where argument i can't filter documents by relation, like indicated in the prismic docs.
gatsby develop log:
catta@catta-pc:~/lemurweb/linda-travelholic$ gatsby develop
success open and validate gatsby-configs - 0.101s
success load plugins - 1.050s
success onPreInit - 0.041s
success initialize cache - 0.007s
success copy gatsby files - 0.055s
success onPreBootstrap - 0.024s
success gatsby-source-prismic - create types - 0.011s
success createSchemaCustomization - 0.026s
success gatsby-source-prismic - fetch documents - 0.748s
success gatsby-source-prismic - create nodes - 0.012s

 ERROR #11321  PLUGIN

"gatsby-source-prismic" threw an error while running the sourceNodes lifecycle:

Cannot read property 'length' of undefined

  TypeError: Cannot read property 'length' of undefined

  - prismic-dom.min.js:1
    [linda-travelholic]/[prismic-dom]/dist/prismic-dom.min.js:1:10065

  - prismic-dom.min.js:1
    [linda-travelholic]/[prismic-dom]/dist/prismic-dom.min.js:1:10094

  - Array.reduce

  - prismic-dom.min.js:1 Function.value
    [linda-travelholic]/[prismic-dom]/dist/prismic-dom.min.js:1:9753

  - prismic-dom.min.js:1 Object.t.default
    [linda-travelholic]/[prismic-dom]/dist/prismic-dom.min.js:1:17350

  - prismic-dom.min.js:1 Object.asHtml
    [linda-travelholic]/[prismic-dom]/dist/prismic-dom.min.js:1:4903

  - environment.node.ts:170 env
    [linda-travelholic]/[gatsby-source-prismic]/src/environment.node.ts:170:3

  - documentsToNodes.ts:89 env
    [linda-travelholic]/[gatsby-source-prismic]/src/documentsToNodes.ts:89:77

  - documentsToNodes.ts:196
    [linda-travelholic]/[gatsby-source-prismic]/src/documentsToNodes.ts:196:65

  - utils.ts:100 key
    [linda-travelholic]/[gatsby-source-prismic]/src/utils.ts:100:5

  - Array.map

  - utils.ts:101 normalizeObj
    [linda-travelholic]/[gatsby-source-prismic]/src/utils.ts:101:40

  - documentsToNodes.ts:196 normalizedData
    [linda-travelholic]/[gatsby-source-prismic]/src/documentsToNodes.ts:196:36

  - documentsToNodes.ts:211 doc
    [linda-travelholic]/[gatsby-source-prismic]/src/documentsToNodes.ts:211:9

  - environment.node.ts:29
    [linda-travelholic]/[gatsby-source-prismic]/src/environment.node.ts:29:3

  - Array.map

success Checking for changed pages - 0.002s
success source and transform nodes - 0.897s
success building schema - 0.429s
info Total nodes: 47, SitePage nodes: 1 (use --verbose for breakdown)
success createPages - 0.024s
success Checking for changed pages - 0.001s
success createPagesStatefully - 0.067s
success update schema - 0.024s
success write out redirect data - 0.001s
success Build manifest and related icons - 0.277s
success onPostBootstrap - 0.287s
info bootstrap finished - 5.431s
success onPreExtractQueries - 0.002s
success extract queries from components - 0.833s
warn The GraphQL query in the non-page component "/home/catta/lemurweb/linda-travelholic/src/templates/post.js" will not be run.
Exported queries are only executed for Page components. It's possible you're
trying to create pages in your gatsby-node.js and that's failing for some
reason.

If the failing component(s) is a regular component and not intended to be a page
component, you generally want to use a <StaticQuery> (https://gatsbyjs.org/docs/static-query)
instead of exporting a page query.

If you're more experienced with GraphQL, you can also export GraphQL
fragments from components and compose the fragments in the Page component
query and pass data down into the child component — https://graphql.org/learn/queries/#fragments
success write out requires - 0.026s
success run static queries - 0.020s - 1/1 50.15/s
success run page queries - 0.011s - 1/1 92.80/s

You can now view gatsby-starter-prismic in the browser.

  http://localhost:8000/

View GraphiQL, an in-browser IDE, to explore your site's data and schema

  http://localhost:8000/___graphql

Note that the development build is not optimized.
To create a production build, use gatsby build

success Building development bundle - 5.568s

gatsby-config.js:
{
      resolve: 'gatsby-source-prismic',
      options: {
        repositoryName: 'lemur-blog-prismic',
        accessToken: `${process.env.API_KEY}`,
        schemas: {
          homepage: require('./src/schemas/homepage.json'),
          post: require('./src/schemas/post.json'),
          category: require('./src/schemas/category.json'),
          social_links: require('./src/schemas/social_links.json'),
        },
      },
    },

post.json schema:
{
  "Main": {
    "uid": {
      "type": "UID",
      "config": {
        "label": "slug",
        "placeholder": "URL of the post"
      }
    },
    "date": {
      "type": "Date",
      "config": {
        "label": "date",
        "placeholder": "Date"
      }
    },
    "title": {
      "type": "StructuredText",
      "config": {
        "single": "heading1",
        "label": "title",
        "placeholder": "Title"
      }
    },
    "description": {
      "type": "Text",
      "config": {
        "label": "description",
        "placeholder": "Description for SEO tags"
      }
    },
    "body": {
      "type": "StructuredText",
      "config": {
        "multi": "paragraph, preformatted, heading3, heading4, heading5, heading6, strong, em, hyperlink, image, embed, list-item, o-list-item, rtl",
        "allowTargetBlank": true,
        "label": "body",
        "placeholder": "Body of the post"
      }
    }
  },
  "Meta": {
    "categories": {
      "type": "Group",
      "config": {
        "fields": {
          "category": {
            "type": "Link",
            "config": {
              "select": "document",
              "customtypes": [
                "category"
              ],
              "label": "category",
              "placeholder": "Category"
            }
          }
        },
        "label": "Categories"
      }
    }
  }
}

homepage.json schema:
{
  "Main" : {
    "title" : {
      "type" : "StructuredText",
      "config" : {
        "single" : "heading1",
        "label" : "title",
        "placeholder" : "Title of the page"
      }
    },
    "content" : {
      "type" : "StructuredText",
      "config" : {
        "multi" : "paragraph, strong, em, hyperlink, image, embed, list-item, o-list-item",
        "label" : "content",
        "placeholder" : "Content under the title"
      }
    },
    "banner_image" : {
      "type" : "Image",
      "config" : {
        "constraint" : { },
        "thumbnails" : [ ],
        "label" : "Banner Image"
      }
    }
  }
}

category.json schema:
{
  "Main" : {
    "name" : {
      "type" : "Text",
      "config" : {
        "label" : "name",
        "placeholder" : "Name of the category"
      }
    }
  }
}

social_links.json schema:
{
  "Main" : {
    "facebook" : {
      "type" : "Link",
      "config" : {
        "label" : "Facebook",
        "placeholder" : "Link a pagina Facebook"
      }
    },
    "instagram" : {
      "type" : "Link",
      "config" : {
        "label" : "Instagram",
        "placeholder" : "Link a pagina Instagram"
      }
    },
    "youtube" : {
      "type" : "Link",
      "config" : {
        "label" : "Youtube",
        "placeholder" : "Link a canale Youtube"
      }
    },
    "mail" : {
      "type" : "Link",
      "config" : {
        "label" : "Mail",
        "placeholder"<EMAIL_ADDRESS>      }
    }
  }
}

package.json dependencies:
"dependencies": {
    "@reach/skip-nav": "^0.8.6",
    "bulma": "^0.9.2",
    "gatsby": "^2.20.22",
    "gatsby-image": "^2.3.2",
    "gatsby-plugin-google-analytics": "^2.2.2",
    "gatsby-plugin-google-fonts": "^1.0.1",
    "gatsby-plugin-lodash": "^3.2.1",
    "gatsby-plugin-manifest": "^2.3.3",
    "gatsby-plugin-netlify": "^2.2.1",
    "gatsby-plugin-offline": "^3.1.2",
    "gatsby-plugin-react-helmet": "^3.2.2",
    "gatsby-plugin-sass": "^3.2.0",
    "gatsby-plugin-sharp": "^2.5.4",
    "gatsby-plugin-sitemap": "^2.3.2",
    "gatsby-source-prismic": "^3.3.3",
    "gatsby-transformer-sharp": "^2.4.4",
    "lodash": "^4.17.15",
    "node-sass": "^5.0.0",
    "prismic-dom": "^2.2.5",
    "prismjs": "^1.19.0",
    "prop-types": "^15.7.2",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-helmet": "^6.0.0",
    "react-icons": "^4.2.0",
    "react-slick": "^0.28.0",
    "slick-carousel": "^1.8.1"
  },

If anything else is needed, i can provide.
Thank you!!

Sorry for the double comment, but i have to point out that even if development builds fine, no PrismicPost nodes are created.
The query returns empty:

Hi @lemurweb-dev, allPrismicPost is empty likely because the plugin failed before it was able to create the nodes.
Regarding the where parameter, Gatsby's GraphQL API is different from Prismic's GraphQL API. When using Prismic with Gatsby, you can use the filter parameter instead to achieve the same filtering.
Gatsby's documentation on filter and other query options: https://www.gatsbyjs.com/docs/graphql-reference/#filter
Note that the way to use filter is different than Prismic's where. Gatsby provides a "unified" API for data, so you can filter Prismic documents in the same way you would filter any other data in Gatsby, such as your filesystem or a Shopify store.

Regarding the error you're seeing with prismic-dom, it looks like converting your field's content from Prismic's data into HTML is failing due to malformed data. Could you check the following?

Update your schema for post.json with what is currently in Prismic. This error could occur if you changed the field from a Rich Text or Title field into something else.
Run gatsby clean to clear the Gatsby cache, then try running again.
If the issue is still there, are you able to go into each Post and ensure there is content in the any Rich Text or Title fields? It's possible that if you changed a field from some other type to Rich Text or Title that the data has not been updated for the new type of field.

If it still happens, let me know and I can help identify the failing data being passed to prismic-dom

Thank you @angeloashmore !
where parameter
You pointed in the right direction, i managed to do the filtering using the filter parameter instead. Prismic's docs about Gatsby are a bit confused in my opinion but i managed to do everything i needed.
prismic-dom error
Actually, i accidentally solved it but can't reproduce it anymore so i guess this issue is now closed.


Display unmapped schema names in error messages

Description
Previously, Babelfish displays the mapped schema names in error messages. This commit implements a hook function remove_db_name_in_schema and adds test cases. Original unmapped name will be displayed with this commit.
Issues Resolved
BABEL-2961
Test Scenarios Covered

Use case based - :white_check_mark:

Boundary conditions - NA

Arbitrary inputs - NA

Negative test cases - NA

Minor version upgrade tests - NA

Major version upgrade tests - NA

Performance tests - NA

Tooling impact - NA

Client tests - NA

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

25 of 26 (96.15%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 74.866%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contrib/babelfishpg_tsql/src/hooks.c
25
26
96.15%

Totals

Change from base Build<PHONE_NUMBER>7:
0.01%

Covered Lines:
46595

Relevant Lines:
62238

💛  - Coveralls

Cherry-picked from #3095


Added support to rename projects on manager

Link #10740

You probably want to close either #10962 or this PR. Don't they do the same thing?

Just building and doing a quick test. The code looks good to me. If it works as advertised I'll merge it.


Add missing fields to Error entity

The following fields are currently missing in the Error entity class:

error_description

assign this to me please

@robinrong1 Done

thank youuu


Converted example to raw string for clarity

Converting example code to use raw strings for clarity.

@googlebot I signed it!

@googlebot I signed it!

Thanks!

Thanks!


Issue running main.py

So I got past every other issue during setup but there is an error code that main.py keeps throwing when I try to run it.
Desktop\ClashRoyaleBuildABot-main\example>py main.py
Custom Bot is now running...
Traceback (most recent call last):
  File "main.py", line 18, in <module>
    main()
  File "main.py", line 14, in main
    bot.run()
  File "C:\Users\messi\OneDrive\Desktop\ClashRoyaleBuildABot-main\example\custom_bot.py", line 42, in run
    self.set_state()
  File "C:\Users\messi\AppData\Local\Programs\Python\Python38\lib\site-packages\clashroyalebuildabot\bot\bot.py", line 116, in set_state
    self.state = self.detector.run(screenshot)
  File "C:\Users\messi\AppData\Local\Programs\Python\Python38\lib\site-packages\clashroyalebuildabot\state\detector.py", line 63, in run
    self._draw_text(d, v['bounding_box'], str(v['number']))
  File "C:\Users\messi\AppData\Local\Programs\Python\Python38\lib\site-packages\clashroyalebuildabot\state\detector.py", line 35, in _draw_text
    text_width, text_height = self.font.getsize(text)
AttributeError: 'FreeTypeFont' object has no attribute 'getsize'

Try a fresh pip install, I've just updated the package on pypi


Square

https://github.com/Mayccoll/Gogh/blob/a4cbffabf5f7183834fb6175de4d57fd0504a993/themes/square.sh#L23
Is this color correct? It results in very dark grey text and it's unreadable against the background. Maybe it's supposed to be #A1A1A1?

yea .. better #a1a1a1, i thing source was incorrect.  already change it c0e2c7b2a3652af4607ab126dd15b87f4d525fc8.
Source:
https://github.com/storm119/Tilix-Themes/blob/master/Themes-2/square.json
Thanks


RfC: Open access to callstack

It'll be nice to have an official way to access the callstack from the current function.  See:  https://github.com/LucHermitte/lh-vim-lib/blob/master/autoload/lh/exception.vim#L51 and https://github.com/LucHermitte/lh-vim-lib/blob/master/autoload/lh/log.vim#L250
Alas this approach is really clumsy and not always very robust as the exact message produced may know small variations, it's locale dependent, and IIRC changes may happen in the format from one vim version to the next.
In an ideal world (as far as I'm concerned in order to avoid transforming the information obtained), a callstack() function would return the list of call information. Each information would contain:

"script": filename of the vimscript where the function is defined
"pos":    absolute line number in this script file
"fname":  function name
"fstart": line where the function is defined in the script (not mandatory, but a necessary step to deduce the 3 first information)
"offset": offset, from the start of the function, of the line the current call is made.

The 3 first information are what is really interesting to fill the quickfix list. The 3rd and the 5th are what we have in v:throwpoint.

Luc Hermitte wrote:

It'll be nice to have an official way to access the callstack from the
current function.  See:
https://github.com/LucHermitte/lh-vim-lib/blob/master/autoload/lh/exception.vim#L51
and
https://github.com/LucHermitte/lh-vim-lib/blob/master/autoload/lh/log.vim#L250
Alas this approach is really clumsy and not always very robust as the
exact message produced may know small variations, it's locale
dependent, and IIRC changes may happen in the format from one vim
version to the next.
In an ideal world (as far as I'm concerned in order to avoid
transforming the information obtained), a callstack() function would
return the list of call information. Each information would contain:

"script": filename of the vimscript where the function is defined
"pos":    absolute line number in this script file
"fname":  function name
"fstart": line where the function is defined in the script (not mandatory, but a necessary step to deduce the 3 first information)
"offset": offset, from the start of the function, of the line the current call is made.

The 3 first information are what is really interesting to fill the
quickfix list. The 3rd and the 5th are what we have in v:throwpoint.

What do you need this for?
--
MORTICIAN:    Bring out your dead!
[clang]
Bring out your dead!
[clang]
Bring out your dead!
CUSTOMER:     Here's one -- nine pence.
DEAD PERSON:  I'm not dead!
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

2016-09-27 18:44 GMT+03:00 Luc Hermitte<EMAIL_ADDRESS>
It'll be nice to have an official way to access the callstack from the
current function.  See:
https://github.com/LucHermitte/lh-vim-lib/blob/master/autoload/lh/exception.vim#L51
and
https://github.com/LucHermitte/lh-vim-lib/blob/master/autoload/lh/log.vim#L250
Alas this approach is really clumsy and not always very robust as the exact
message produced may know small variations, it's locale dependent, and IIRC
changes may happen in the format from one vim version to the next.
In an ideal world (as far as I'm concerned in order to avoid transforming
the information obtained), a callstack() function would return the list of
call information. Each information would contain:
"script": filename of the vimscript where the function is defined
"pos": absolute line number in this script file
"fname": function name
"fstart": line where the function is defined in the script (not mandatory,
but a necessary step to deduce the 3 first information)
"offset": offset, from the start of the function, of the line the current
call is made.
The 3 first information are what is really interesting to fill the quickfix
list. The 3rd and the 5th are what we have in v:throwpoint.

I like the idea, but with some modifications:

No 'script' or 'fstart', supply 'func' with funcref (as of
funcref(), not function()) instead. Define get() arguments:

get(fref, 'sid'): script ID, number (additionally have
sid2sfname and sfname2sid functions)
get(fref, 'body'): function body, list
get(fref, 'signature'): function signature: dictionary like
{'args': ['foo', 'bar'], 'varargs': v:true, 'dict': v:true, 'closure': v:true}
get(fref, 'sline'): line where function is defined
get(fref, 'slines'): list of list of numbers, used to translate
body indexes (what is returned by get(fref, 'body')) to real script
line numbers.

offset should be in get(fref, 'body') indexes (function may be
generated and created by a single :execute line, in this case
get(fref, 'slines') will return something like [[42], [42], [42]]:
each line in body corresponds to one and the same line in script
file).

args: a: dictionary

locals: l: dictionary

script_globals: s: dictionary, may be absent. Alternatively:
sid2vars() function

Reasoning: your variant seems to be useful mostly for giving fancier
error messages, which is good for offline remote debugging (I mean,
debugging in case when bug occures only on user machine), but that’s
all. My is targeted at debugging the problem myself:

sid2sfname/sfname2sid functions: I always wanted to make it easier
to access  which is used in a number of places: mostly for quirks
like defining mappings with  in another file (requires manual
 expansion). This is always possible to work around, but better
have functions.
body: in addition to making it easier to print Python-style
tracebacks with access to the function body this also makes it easier
to serialize function when I have a list. And :function output
parsing does not work in general: try defining function with control
character inside and determine where you see literal ^[ and where
there is escape.
signature: again, easier to serialize. Though this time :function
parsing should work fine, it would be harder to use if signature is
needed for something, but serializing (as an example: some
plugin-defined callback which supplies funcref as much arguments as it
can handle like with current map() situation).
sline+slines: Only for pretty tracebacks, I do not see other purposes yet.
args/locals/script_globals: needed for postmortem debugging. Also
useful for offline remote debugging (i.e. you ask user to enable some
“verbose” mode which will serialize and record all related variables
and this can be sent to you).
For optimization purposes I sometimes write code that generates a
function and then calls it, so funcref() and not function name:
function names are useless in this case because most likely function
is a dictionary one here and it may have vanished at the point Vim
will check for the next character and I can do anything manually (i.e.
after function which generates something optimized have finished
executing).

As a summary: my proposal is needed for

fancier error messages
postmortem debugging
remote offline debugging
function serialization

Most of the above looks like something easy to implement: information
is already there, just needs generating a VimL object without
computing anything or any modifications to code not in f_get or
(new) f_callstack (gets information about the currently processed
point). (New) f_throwstack (callstack at the point where exception
occures, for use in :catch block) should be harder (do not remember
what information survives by the point Vim enters :catch, but pretty
sure that something out of what is needed for throwstack() to work
will be missing). slines AFAIK is not that easy to implement right,
but I would not say it is useful enough to spend time on if it will be
hard.
Without throwstack() (which Luc Hermitte did not suggest, did he?) new
changes will be useful only for log.vim or similar libraries’ users,
limited to the cases when author did call logging function,
throwstack() should be useful for debugging any plugin.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to<EMAIL_ADDRESS>For more options, visit https://groups.google.com/d/optout.

What do you need this for?

I have two use case nowadays:

I use it to log what my scripts do just with calls to call s:Verbose('bla %1 bli %2', mystring, mydict). As you see I don't fill the scriptname nor line numbers. And yet, when I ask logs to be produced in the quickfix window I can obtain things like:

autoload/lh/tags.vim|636| Run ctags on UpdateTags_for_All (forcing)
autoload/lh/tags.vim|158| Register: cd /home/me/dev/Optims/src/OTB && ctags  --tag-relative=yes --c++-kinds=+pf --fields=+imaSft --extra=+q   --languages=C,C++ -f tags -R
autoload/lh/tags.vim|782| Updating spellfile `/home/me/dev/Optims/src/OTB/code-symbols-spell.utf-8.add`
autoload/lh/tags.vim|1250| 107746 tag names filtered in 0.429986s
autoload/lh/tags.vim|1272| 107746 names obtained in 0.635885s
autoload/lh/tags.vim|1274| 60633 tag names uniquelly sorted in 0.122092s
autoload/lh/tags.vim|785| 60633 symbols obtained in 0.792411s
autoload/lh/tags.vim|789| spellfile built in 0.407464s from `/home/me/dev/Optims/src/OTB/code-symbols-spell.utf-8.add`

I also use it in my viml unit-testing framework to trace the stack when exceptions are thrown. Again, I fill the quickfix window.

tests/lh/let.vim|| SUITE <[lh-vim-lib] Testing LetIfUndef command>
tests/lh/let.vim|| function <SNR>185_UTMake[6]..lh#UT#run[5]..lh#UT#check[23]..<SNR>231_RunOneFile[11]..<SNR>231_RunOneTest[8]..<SNR>232_Test_let_if_undef_funcref[4]..lh#let#if_undef, ligne 6: Cannot set ['g:Dummyg_test function(''exists'')']: Vim(let):E704: Le nom d'une Funcref doit commencer par une majuscule : value @ function <SNR>185_UTMake[6]..lh#UT#run[5]..lh#UT#check[23]..<SNR>231_RunOneFile[11]..<SNR>231_RunOneTest[8]..<SNR>232_Test_let_if_undef_funcref[4]..lh#let#if_undef[3]..<SNR>55_BuildPublicVariableNameAndValue, ligne 4
autoload/lh/let.vim|123| called from lh#let#if_undef[6]
tests/lh/let.vim|333| called from s:Test_let_if_undef_funcref[4]
/home/me/.vim/addons/UT/ftplugin/vim/vim_UT.vim|58| called from s:UTMake[6]
tests/lh/let.vim|| SUITE<[lh-vim-lib] Testing LetIfUndef command> 10/11 tests successfully executed.

What will a builtin callstack function change? (As i'm already able to do what I need) It won't be influenced by the current locale (as v:throwpoint contains line in English, lignein French, etc), and it will permit me to simplify my code.

I have two use cases nowadays:

Yeah, both is just a bit better errors. You could extend this to the point where it will look like Python tracebacks (printed text) (Python has one of the best error reporting I have seen) most of time (and without any help from Vim developers: e.g. use some gettext binding to your favourite language to parse Vim language files, the only other thing you need to have Python-like tracebacks is :function output), but not to the point where it will look like Python tracebacks (objects): they also provide access to globals and locals at the point where exception is thrown.
I do not like the original suggestion, but I do think that callstack() and throwstack() functions as well as further modifications to get(fref, …) are very nice to have. Though I think mistook what @LucHermitte means by callstack(): it is my throwstack() with much less information.

I have two use cases nowadays:
Yeah, both is just a bit better errors.

It's not just about errors. The first use case is about logging what happens in complex plugins. My second use case is indeed about reporting errors.

Though I think mistook what @LucHermitte means by callstack(): it is my throwstack() with much less information.

Indeed, I did not need as much information as what you've proposed. callstack() and throwstack() are closely related though.

It seems that patch 8.2.1347 implements this feature I'm good to close the issue.


Allow selecting most important apps in the setup wizzard

The selection is only given, if a new configuration is initialized

Git
Primary Text Editor (one)

Visual Studio Code (default)
Notepad 2
Atom
Sublime Text 3
Spacemacs
Emacs
Vim
TeXnicCenter

Language Groups (many) (implemented as meta-apps)

Java
Clojure
JavaScript
PHP 5
PHP 7
Python 2
Python 3
Ruby
Go
C/C++ (gcc)
C/C++ (Clang)
LaTeX

Depends on #93

added app/group selection list to the wizzard in 0163ae0a9eecba0c082da659b3e70565014693b8

Currently Git is always pre-selected by res\apps-activated.template.txt.


MessageFormatter no longer modifies pointerposition of body-streams

Currently, the MessageFormatter provided for the logging middleware modifies the internal pointer of the body-streams of the request and response.  This PR makes the MessageFormatter more transparent by resetting the pointer to the original position if it is possible.
Why
We recently added logs to our application using GuzzleHttp\Middleware::log() and GuzzleHttp\MessageFormatter.  This caused our existing code to start failing as we were using $response->getBody()->getContents().
As I've now learned, it's probably better if we were to use (string) $response->getBody().
Nevertheless I feel like it would be better if MessageFormatter would no longer modify the internal pointer position so using this middleware is more transparent to the end user.
Example-code
/*
 * Original code
 */
$client = new \GuzzleHttp\Client();

// $body is not empty
$body = $client->get('www.example.com')->getBody()->getContents();

/*
 * Code modified to use logging middleware
 */
$handler = \GuzzleHttp\HandlerStack::create();
$handler->push(\GuzzleHttp\Middleware::log(new \Psr\Log\NullLogger(),new \GuzzleHttp\MessageFormatter()));
$client = new \GuzzleHttp\Client([
    'handler' => $handler
]);

// Original code: $body is empty
// New code in PR: $body is not empty
$body = $client->get('www.example.com')->getBody()->getContents();

// Original code: $body is not empty
// New code in PR: $body is not empty
$body = (string) $client->get('www.example.com')->getBody();

The problem here is that the application code $resp->getBody()->getContents(); you have is incorrect. One should have written (string) $resp->getBody().

I'm now aware the application code I had written was incorrect and have changed it.  I do feel like it's a bit of a footgun as I wrongly assumed that the getContents()-method would have gotten me the contents of the body without any side-effects, or that adding the logging middleware would have no side-effects.
I'm aware this was an error in my application code, resulting from lack of knowledge about streams.
I kindly ask you to reconsider this PR as other than restoring the internal pointer position of the streams, this change has no other impact on the library.
Even so, I still like to thank you for the work you do on this project since it brings a lot of value to our project and many with it.

Unfortunately this is the design of the psr-7 interfaces, which is out of our control. getContent has to just get the rest of the data in the stream from where ever the pointer is. ;)


MM-8622: Improved plugin error reporting

Summary
This represents the implementation effort of a design proposed in ~developer-toolkit on pre-release.mattermost.com.
Here's the main take aways from the webapp PR. More details are given in the accompanying server and redux PRs:

The Plugins > Management page is now driven by queries / websocket events re: PluginStatuses
Updated plugin UI for single server case:

Updated plugin UI for multi-server case:

Ticket Link
https://mattermost.atlassian.net/browse/MM-8622
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Added or updated unit tests (required for all new features)
[x] Has server changes: https://github.com/mattermost/mattermost-server/pull/8737
[x] Has redux changes (please link)
[x] Has UI changes
[x] Includes text changes and localization file (.../i18n/en.json) updates

This is going to be a great addition to plugins 👍

@asaadmahmood @michaelgamble thoughts on the above UI screenshots?

@jasonblais Looks good for the most part, shouldn't we have a different icon for the running and off state? Perhaps an x icon for the off state, and a checkmark icon for the running state?

@asaadmahmood Makes sense when the plugin is running.
The plugin may also be intentionally deactivated (e.g. someone installed Zoom but decided they didn't want it). So I'm not sure if "X" makes sense in that case, although definitely open to using a different icon.

@jasonblais, yep, I can effect those changes!

Ready for review! :D


SQL Server Get Rows (V2): InvalidPageResponse The response is not a valid paginated response.

Describe the Bug with repro steps
SQL Server Get Rows (V2) all of a sudden returning:
"InvalidPageResponse
The response is not a valid paginated response. The paginated response cannot be null."
This action has been working for months with no change from me.
What type of Logic App Is this happening in?
Consumption (Portal)
Which operating system are you using?
Windows
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON

Screenshots or Videos
No response
Browser
Edge
Additional context
No response

Can you re-attach your workflow json and any screenshots as well? Also is this a regular repro or just happens at times?


Change trigger.condition to function

trigger.condition is treated depending on truthy / falsey value, so it's not work as expected.
This PR changes trigger.condition to function with queryValue argument.
Not triggered in the following cases by the added trigger configuration on dist/js/index.js

empty or just have space
hamburger
ham@pizza

Hello @sakuraineed,
Thanks for your PR much appreciate.
Have a nice day, cheers! :)


Incorrect code signing certificate used for release - MFCMAPI 24.0.24358.03

The MFCMAPI 24.0.24358.03 release's executables appear to be code signed with the untrusted "TestAzureEngBuildCodeSign" code signing certificate as opposed to the standard trusted "Microsoft Corporation" certificate.

I see what happened - pulling release and will reissue shortly

should be fixed now


VS code makes some syntax error, when we manually save the changes

Description:
$title
Steps to reproduce:

Write a ballerina program in which it has @tainted annotation.

Before saving the file

Then manually save the file

Affected Versions:
SLP4-SNAPSHOT
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):
Area/LanguageServer
Suggested Assignees (optional):

A similar issue found if we have rest parameters in record type.
Before saving the file:

After saving the file:


Fixed covers annotation.

In my last PR I forgot to adjust the @covers annotation. Sorry for that.
Follows #866.

Oh, somebody way faster, see #868.


Validator and Results will Track Workload Progress

Scheduler.py

Outputs the number of jobs queued to Redis
Run validator after jobs are queued

Results.py

Cleaned up how we count as jobs are consolidated
After a consolidation run, output the progress to the job status queue

clearResultsAndQueues.py

Helper script to clear all the queues and results blob containers

getJobStatusMessages.py

Currently just reads from the job status queue and outputs messages that show total progress

Wow, nice description.


feat: support files for fs.allow #411

Resolves #411

@marcterradas
Check please function example from #L283,   I'm almost sure something is missing.

Thanks.


Question: is it supported on Windows?

Hi, i have a problem installing the lib on Windows
is it supported at all, or just linux?
if supported

what are the dependencies? The package.json file says it's just node-hid, which installs without any problems. But npm install node-usb-barcode-scanner fails with some complaints about Python missing.
So - is Python required as well? What else?

thanks
RG

In looking closer at the node-hid readme.
https://github.com/node-hid/node-hid#windows-notes

Mice and keyboards
In general you cannot access USB HID keyboards or mice.
The OS owns these devices.

Which is likely the problem, the USB barcode scanner this was designed for presents itself as a Keyboard in linux/mac.
I will add a note that this library does not support Windows, sorry!


Ec2Resource getStatus needs to check it being visible to SSM

In the current orchard.io.aws.resource EC2 support, the Ec2Resource needs to be recognized by Aws SSM in addition to the EC2 instance being in Running state.  The getStatus implementation does not yet check with SSM also.

https://github.com/salesforce/orchard/pull/20