Ruby error in handle_composer_errors

Describe the bug
A ruby error is being triggered when Dependabot is running since Monday and unable to fetch the git URL in Azure Repos (error suggests an authentication issue, but possibly also in part that our private repo has no version?)
Nothing has changed in our pipeline or dependabot files and token hasn't expired/revoked (but have tried regenerating anyway)
/home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:260:in `handle_composer_errors': The following git URLs could not be retrieved: https://dev.azure.com/**/**/_git/** (Dependabot::GitDependenciesNotReachable)
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:88:in `rescue in fetch_latest_resolvable_version_string'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:78:in `fetch_latest_resolvable_version_string'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:65:in `fetch_latest_resolvable_version'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:55:in `latest_resolvable_version'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker.rb:122:in `fetch_lowest_resolvable_security_fix_version'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker.rb:48:in `lowest_resolvable_security_fix_version'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/update_checkers/base.rb:124:in `preferred_resolvable_version'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation_2_7.rb:919:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation_2_7.rb:919:in `block in create_validator_method_medium0'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/update_checkers/base.rb:343:in `preferred_version_resolvable_with_unlock?'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation_2_7.rb:919:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation_2_7.rb:919:in `block in create_validator_method_medium0'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/update_checkers/base.rb:334:in `numeric_version_can_update?'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:270:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:270:in `validate_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/update_checkers/base.rb:277:in `version_can_update?'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:167:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:167:in `validate_call_skip_block_type'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:109:in `block in create_validator_slow_skip_block_type'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/update_checkers/base.rb:93:in `can_update?'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:167:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:167:in `validate_call_skip_block_type'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:109:in `block in create_validator_slow_skip_block_type'
	from bin/update_script.rb:595:in `block in <main>'
	from bin/update_script.rb:545:in `each'
	from bin/update_script.rb:545:in `<main>'
/home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/shared_helpers.rb:189:in `run_helper_subprocess': Failed to execute git clone --mirror --<EMAIL_ADDRESS>'/home/dependabot/.cache/composer/vcs/https---**-dev.azure.com-**-**--git-**/' (Dependabot::SharedHelpers::HelperSubprocessFailed)

Cloning into bare repository '/home/dependabot/.cache/composer/vcs/https---**-dev.azure.com-**-**--git-**'...
fatal: Authentication failed for 'https://dev.azure.com/**/**/_git/**/'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:270:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:270:in `validate_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:140:in `block in run_update_checker'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/shared_helpers.rb:265:in `with_git_configured'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:270:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:270:in `validate_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:191:in `block in create_validator_slow'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:139:in `run_update_checker'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:82:in `block in fetch_latest_resolvable_version_string'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/shared_helpers.rb:81:in `block in in_a_temporary_directory'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/shared_helpers.rb:81:in `chdir'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/shared_helpers.rb:81:in `in_a_temporary_directory'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:270:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:270:in `validate_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:80:in `fetch_latest_resolvable_version_string'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:65:in `fetch_latest_resolvable_version'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker/version_resolver.rb:55:in `latest_resolvable_version'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker.rb:122:in `fetch_lowest_resolvable_security_fix_version'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-composer-0.246.0/lib/dependabot/composer/update_checker.rb:48:in `lowest_resolvable_security_fix_version'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/update_checkers/base.rb:124:in `preferred_resolvable_version'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation_2_7.rb:919:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation_2_7.rb:919:in `block in create_validator_method_medium0'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/update_checkers/base.rb:343:in `preferred_version_resolvable_with_unlock?'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation_2_7.rb:919:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation_2_7.rb:919:in `block in create_validator_method_medium0'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/update_checkers/base.rb:334:in `numeric_version_can_update?'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:270:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:270:in `validate_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/update_checkers/base.rb:277:in `version_can_update?'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:167:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:167:in `validate_call_skip_block_type'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:109:in `block in create_validator_slow_skip_block_type'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.246.0/lib/dependabot/update_checkers/base.rb:93:in `can_update?'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:167:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:167:in `validate_call_skip_block_type'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11284/lib/types/private/methods/call_validation.rb:109:in `block in create_validator_slow_skip_block_type'
	from bin/update_script.rb:595:in `block in <main>'
	from bin/update_script.rb:545:in `each'
	from bin/update_script.rb:545:in `<main>'
##[error]The process '/usr/bin/docker' failed with exit code 1

Still the case with version 1.27.x?

@mburumaxwell Still happening :( I've updated the original error in the first post with updated output

I am facing the same issue. When try to update git submodules it shows
/home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.249.0/lib/dependabot/git_metadata_fetcher.rb:112:in fetch_upload_pack_for': The following git URLs could not be retrieved: https://mygitsubmodule_url (Dependabot::GitDependenciesNotReachable)`
Any ideas how to solve it?

Could this be related to #504 ?

It worked fine in January and part of February (19th Feb may have been the last day it worked, so it may be something in 1.26.2 or 1.26.3 that caused it to fail?), though the linked issue is from February last year so may not be related?
The immediate line before was checking is twig 3.8.0 should be updated, but the version resolver ruby file error (as included in the issue) is related to our ADO private repo not resolving (though nothing changed)

From: Maxwell Weru @.>
Sent: Saturday, June 8, 2024 2:30:40 pm
To: tinglesoftware/dependabot-azure-devops @.>
Cc: James Sampford @.>; Author @.>
Subject: Re: [tinglesoftware/dependabot-azure-devops] Ruby error in handle_composer_errors (Issue #1003)
Could this be related to #504https://scanmail.trustwave.com/?c=3040&d=_dzk5l91mzfBFbBMLtq99CpjYzey4HXljsh9rqDPsw&s=220&u=https%3A%2F%2Fgithub.com%2Ftinglesoftware%2Fdependabot-azure-devops%2Fissues%2F504 ?
—
Reply to this email directly, view it on GitHubhttps://scanmail.trustwave.com/?c=3040&d=_dzk5l91mzfBFbBMLtq99CpjYzey4HXljph8-vHK4w&s=220&u=https%3A%2F%2Fgithub.com%2Ftinglesoftware%2Fdependabot-azure-devops%2Fissues%2F1003%23issuecomment-2156038060, or unsubscribehttps://scanmail.trustwave.com/?c=3040&d=_dzk5l91mzfBFbBMLtq99CpjYzey4HXljp1w-Kedsg&s=220&u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJS7KU7XEH3R6NE4NZYTNXTZGMBPXAVCNFSM6AAAAABI774DKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGAZTQMBWGA.
You are receiving this because you authored the thread.Message ID: @.***>

It worked fine in January and part of February (19th Feb may have been the last day it worked, so it may be something in 1.26.2 or 1.26.3 that caused it to fail?), though the linked issue is from February last year so may not be related?
The immediate line before was checking is twig 3.8.0 should be updated, but the version resolver ruby file error (as included in the issue) is related to our ADO private repo not resolving (though nothing changed)

If after today's version, this still occurs. I recommend confirming that the token has access to the second repository (sometimes things change without our knowledge). Should it persist beyond that, you would have to raise the issue at https://github.com/dependabot/dependabot-core because that's an implementation detail that I have no clue how to solve. We can keep this open for a few weeks until then.

@mburumaxwell not sure if helps, but had a reply from someone https://github.com/dependabot/dependabot-core/issues/9978 where it seems something needs fixing here

The version of the Azure DevOps task used by OP has known auth issues which are caused because the credentials proxy is not used when running the updater. Using the latest task version should fix the issue.

Not sure if the latest version fixed the issue as had issue last night still with 1.36

@FinishingLine it was me :smile:
My comment might have been a bit cryptic; what I was trying to say is that the authentication issues in TaskV1 have been fixed in this project if you upgrade to TaskV2, which handles private feed authentication more like the GitHub Dependabot does.
If your pipeline is still failing, I'm going to assume your pipeline is still using version 1 of the task; Would you be able to try it with version 2 and see if it resolves the issue? If not, opening a new issue in this project would be helpful so we can investigate it with more relevant logs.


chore(upgrade): upgrade packages

Codecov Report

Merging #337 (d8db90d) into master (f004433) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #337   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           46        46
  Branches        14        14
=========================================
  Hits            46        46

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 f004433...d8db90d. Read the comment docs.


Failed to fetch manifest info for distro: HTTP Error 404: NOT FOUND

Not sure why but I seem to be getting errors for any of the tagged official distros, but not 3rd party. Anyone have any ideas why this might be?

C:\Users\USER\Code\WSL-Distribution-Switcher>python get-prebuilt.py alpine:latest
[*] Requesting authorization token...
[*] Fetching manifest info for alpine:latest...
[!] Failed to fetch manifest info for alpine: HTTP Error 404: NOT FOUND

C:\Users\USER\Code\WSL-Distribution-Switcher>python get-prebuilt.py ubuntu:trusty
[*] Requesting authorization token...
[*] Fetching manifest info for ubuntu:trusty...
[!] Failed to fetch manifest info for ubuntu: HTTP Error 404: NOT FOUND

C:\Users\USER\Code\WSL-Distribution-Switcher>python get-prebuilt.py pritunl/archlinux
[*] Requesting authorization token...
[*] Fetching manifest info for pritunl/archlinux:latest...
[*] Downloading layer sha256:fa15d8aec9382c4924fd3ec2f716d6d7733acdcb5ce2dff508e0a783dbe2d469...

f360e84 fixes this. It seems I need to prefix the name with library/ when asking for the official images.
(PS: Alpine won't run, you'll just get Error: 0x80070002. I wasn't able to get any busybox-based distro running, although I haven't really had the time to track down why they are failing.)

Actually, I also got Error: 0x80070002 after typing in bash  last tried to install Alpine. I think I ended up having to reinstall WSL to get rid of it. Shame as I'm keen to try and use Alpine wherever I can. Guess I'll stick with Arch for now.
Good to know some of the official images are now available again if I need them. Thanks for fixing the bug so quickly.


Move wildcard rejection date back 6 weeks

We missed a release somewhere, so the warning here won't hit stable
until December 11th.
r? @alexcrichton

@bors: r+ fce3dba47d79c097125776547ee679e6977f9a29
alas

:hourglass: Testing commit fce3dba with merge 41fbb95...

:broken_heart: Test failed - cargo-mac-32

@alexcrichton fixed

@bors: r+ cddd785

:hourglass: Testing commit cddd785 with merge fd32d90...

:broken_heart: Test failed - cargo-mac-64

Re-fixed

@bors: r+ 1b5c06fd030af1d253429a9bf388d5de1dfac1bc

:hourglass: Testing commit 1b5c06f with merge 1f4696e...

:broken_heart: Test failed - cargo-win-msvc-32

Looks like a bogus failure?

@bors: retry
On Thu, Dec 3, 2015 at 10:42 AM, bors<EMAIL_ADDRESS>wrote:

[image: :broken_heart:] Test failed - cargo-win-msvc-32
http://buildbot.rust-lang.org/builders/cargo-win-msvc-32/builds/192
—
Reply to this email directly or view it on GitHub
https://github.com/rust-lang/cargo/pull/2190#issuecomment-161743221.

:zap: Previous build results for cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-64 are reusable. Rebuilding only cargo-win-msvc-32...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


[BUG] Hitting in a new failure while trying to create the docker container

Reproduction steps
Failing here :
 => ERROR [chip-build-cert 14/16] RUN ./scripts/checkout_submodules.py --shallow --platform linux

Attached complete logs to the bug

Bug prevalence
Always
GitHub hash of the SDK that was being used
c988a2c4ffc99fe890cf6fbafb4cdcc33390c012
Platform
raspi
Platform Version(s)
No response
Anything else?
Logs_docker_failure.zip

Seeing early-eof failures. Re-trying again to be sure its not a temporary checkout failure.

Seems like a sporadic failure , closing it for now since the re-try worked fine.


R345637+r345605

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @bob-wilson

I don't suppose this will fix the ClangImporter/enum-anon.swift test failure that has been happening recently on master-next. Any idea what's causing that? I haven't had a chance to investigate.

Hmm, that might be due to upstream changes.  Do you have a link to the build bot output?

Yes, I'm pretty sure it is due to upstream changes. I saw it locally over at least a few days. You can probably see it in some of the master-next macOS build logs, but it's hard to sort through the other issues (like the one you fixed here) to find a link for you.


coda advanced dump-ledger equivalent for accessing staking ledgers (epoch ledgers)

Requested by @garethtdavies
Since this is a ledger-dumping mechanism we can stick it under advanced and don't need to worry too much about backwards compatibility or scalability.

https://github.com/MinaProtocol/mina/pull/7228/


TypeError: Cannot read properties of undefined (reading '0')

Steps to reproduce the issue:

Get the JWT token from a signed user
Delete the user from Firebase side (use firebase-admin or Firebase console, doesn't matter)
Use the verifyIdToken from getFirebaseAuth to verify the JWT token

[TypeError: Cannot read properties of undefined (reading '0')]

Hey @haruelrovix !
Thank you so much for your work!
The fix was released in 0.9.1.


Add from_name classmethod to PdgArray

Add convenience object constructor that accepts a string, or iterable of strings, representing the names of particles, and returns a PdgArray.

"H0" is the name for both PDG of 25 and 35. Need to check for duplicates in CSV and assign unique names.


fix bug 63050: NumberFormatException depending on language and logging level

fix bug 63050: NumberFormatException depending on language and logging level
https://bz.apache.org/bugzilla/show_bug.cgi?id=63050

This has been fixed via POEditor and will be included in 9.0.15 onwards.


Icon button

On Android, when you press the back icon, there is this round click effect. Is there a way to achieve this with this library?

I guess the same question applies to e.g. ContactChips. When I click them I would like to have this round click effect in the background. Maybe the entire Chip should be a button, not sure

That sounds exactly like what I was looking for!

As @Crash-- mentioned, you can use the Ripple component, or you can also treat it as an FAB without backgroundColor and shadow:
<MKButton style={{
    justifyContent: 'center',
    alignItems: 'center',
    width: 48,
    height: 48,
    borderRadius: 24,
  }}
  fab={true}
  rippleColor={`rgba(${MKColor.RGBIndigo},.2)`}
  rippleLocation="center"
  >
  <Image source={require('image!plus_dark')} />
</MKButton>


Improve logging and error handling

Implement solutions developed for the SDK for https://github.com/graphops/graphcast-sdk/issues/38 and https://github.com/graphops/graphcast-sdk/issues/37 into the POI Radio also.

We need to refactor how we deal with "errors" in the main loop, most importantly in the comparison logic. Instead of returning a Result, we should probably return an enum that has the possible values returned from the comparison. Some of those would trigger a notification and others won't.


Logging

Closes https://github.com/JohnDTill/Forscape/issues/35
To track down bugs and automate frontend testing, the UI must log the user interaction. Done is:

[x] Log all interactions which mutate the document

[x] Make sure all the logging components are identifiable, including editor vs. console

[ ] Create a way to simulate the session while avoiding redundant actions

[x] Create ways to log the system state

[ ] Create regression tests that the session outcome remains the same after changes

[ ] Create a test that future sessions must be replayable, i.e. a coder will know when they fail to log new mutations (perhaps keep a shadow version in the background? Hopeful there isn't too much global storage.)

[ ] Try to test as many UI features as possible:

Drawing equations

Layout placement

Autocomplete suggestions

Hover tooltips

Selected identifier highlighting

Context menu options

Copy as image

Copy as Unicode

Interaction with multi-codepoint Unicode graphemes

Search/replace

AST and symbol table visualisation

The logging is there. The testing could be a separate PR.


When loading commands from a repository, load documentation for subcommands from a README in each directory

We can load commands from say:
queries/
   mysql/
      performance/
         indexes.sql

The documentation for mysql and performance would come from mysql/README.md and performance/README.md

Superseded by #76


issue #114: find why client_max_body_count is overriden

The value for client_max_body_count is the good one, but the server is behaving like the value is 1 MB.

[ ] Find and fixe the comand that cause the issue

We will update the value globally. If this fixes the limit issue, then further investigation will be done on the ingress-controller.
Documentation on current fix : https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#proxy-body-size
@MaxenceGui can you update the version of the deployment to point to main. You can look into how it is done with Finesse for additional resource.

@SonOfLope Can we push this PR and I will create another one when main is ready to point at?

@SonOfLope Can we push this PR to see if the change works, and I will create another one when the main branch is ready to point at?

Yes. You can merge and we'll monitor if the changes are doing a difference.


Add dockerfile

Add dockerfile. There's still some optimization that can be done here, particular with caching the layer for compiling dependencies. However, I wasn't able to figure out how to get this working with multiple workspaces, and after enough time sitting through docker build steps, I figured it's not a huge priority. A possible solution seems to be cargo-chef, but it's maybe overkill for the time being.

@ogenev @carver re: copying over the source folders individually. There are two reasons for the current setup...

It's a bit of a hangover from a more advanced setup I was trying for caching dependencies, where you have to copy over the manifests from each workspace individually. To be fair, we're not using that setup so it's no longer a consideration (though, I could see us using it in the future to optimize docker builds)
I have a lot of extra files in my trin folder, python scripts, rocks databases, md files, etc. This is the easiest way to explicitly copy over only the necessary files. But, I also understand that this isn't a great justification for the complexity

So, those are the reasons. Neither of which are convincing. But, also part of me likes the explicit copy. It's somewhat wordy, but avoids the scenario of accidentally building the image with a .env file or some other file type that you forgot wasn't accounted for in .dockerignore. The most convincing argument for .dockerignore is what Carver mentioned, but docker will yell at you immediately during the build while you're compiling that it's missing those files, and then it's simply adding another line.
But, if you agree / disagree, lmk and I can do the .dockerignore no problem

Sure, it's a little messy, but I'm okay leaving the PR as-is.
It's compelling that the most likely failure mode would be: immediate build failure with somewhat clear message about missing a crate.
That's much better than the alternative: probably not notice that a bunch of extra stuff gets included in the build, and a bunch of unnecessary info gets pushed out to all the testnet nodes.


Issue on --list

Issue on the list command
root@prometheus:~# speedtest-cli --list
Retrieving speedtest.net configuration...
Traceback (most recent call last):
  File "/usr/bin/speedtest-cli", line 2000, in <module>
    main()
  File "/usr/bin/speedtest-cli", line 1986, in main
    shell()
  File "/usr/bin/speedtest-cli", line 1875, in shell
    secure=args.secure
  File "/usr/bin/speedtest-cli", line 1091, in __init__
    self.get_config()
  File "/usr/bin/speedtest-cli", line 1174, in get_config
    map(int, server_config['ignoreids'].split(','))
ValueError: invalid literal for int() with base 10: '

Does your PR have anything to do with the actual error or has it solved the issue? I ran into the same problem quite recently and I fixed it passing an empty list if sever_config['ignoreids'] is None

Receiving this error as well.
How can I resolve this?
Thanks

Looks like it's fixed on master under https://github.com/sivel/speedtest-cli/commit/cadc68b5aef20f28648072cf07a8f155639b81dd

Looks like it's fixed on master under cadc68b

Correct updated and got fixed


Graph Coloring Problem

Description
Added Graph coloring problem code i.e. to determine all the different ways in which graph can be colored using at most m colors.
Details:

Graph represented by its adjacency matrix.
Colors are represented by the integers 1,2,...,m.

I have used C++ language for this problem.
Issue number of this problem: #932

@Karnika06 remove json file

I have deleted json file. Now I have to again create a new branch and make PR ??

Removed json file. Done with the changes.


maintainers: remove avery

Description of changes
Remove Avery Lychee from maintainers list and from the treesheets maintainers array, persuant to Discord conversation.
Things done

[x] Remove Avery Lychee from maintainers list

[x] Remove Avery Lychee from treesheets maintainers list

Built on platform(s)
Not relevant

Add a :+1: reaction to pull requests you find important.

I affirm this change


Error when run demo.

Hello, thanks for this great toolbox.
Recently, I encountered an error when running demo.py,
2020-11-06 21:50:59,378   INFO  -----------------Quick Demo of OpenPCDet-------------------------
2020-11-06 21:50:59,413   INFO  Total number of samples: 	1
2020-11-06 21:51:01,488   INFO  ==> Loading parameters from checkpoint ../pretrain/pv_rcnn_8369.pth to CPU
2020-11-06 21:51:01,912   INFO  ==> Done (loaded 367/367)
Traceback (most recent call last):
  File "demo.py", line 109, in <module>
    main()
  File "demo.py", line 93, in main
    for idx, data_dict in enumerate(demo_dataset):
  File "demo.py", line 58, in __getitem__
    data_dict = self.prepare_data(data_dict=input_dict)
  File "/home/lufan/Projects/OpenPCDet/pcdet/datasets/dataset.py", line 142, in prepare_data
    if len(data_dict['gt_boxes']) == 0:
KeyError: 'gt_boxes'

I referred to dataset.py and found that three lines are added in the current version:
if len(data_dict['gt_boxes']) == 0:
     new_index = np.random.randint(self.__len__())
     return self.__getitem__(new_index)

I replace the code with
if self.training:
    if len(data_dict['gt_boxes']) == 0:
        new_index = np.random.randint(self.__len__())
        return self.__getitem__(new_index)

And the demo can work now.
Is this a bug in the current version or I made a mistake when run demo.py?

Thanks a lot. I believe it is the current version and I have same issue

Thank you for the bug report.  It is actually a bug added from my recent PR https://github.com/open-mmlab/OpenPCDet/pull/340.
Sorry, I will fix it.

Done.


[api-docs] Specify unicode emoji type for Custom Role Icons

A new commit was made into the api-docs repo. This issue was created automatically. Need to review if we made any change to the library for this commit.
https://github.com/discord/discord-api-docs/commit/e56f179670600df7f03273752e81efb042e1c8ee

Done


Password login

After email verification is done, allow user to set a password.   Also allow reset password in settings.
Working on design for this in the Login Flow for Tune Trees design document.

Came down creating signup button completely separate from sign in.  Trying to merge those functions is simply too difficult.  Also dropped pure email login for the moment.  Will be pretty easy to bring back, but the overlap with email/password signIn makes the UI tricker, harder to explain, and I think unfamiliar for most users.  If I get a better idea how conventions get established around this, I'll adjust the TuneTrees mechanism accordingly.  Summary:  Good enough for now.  And monkeying with all the nextauth quarks is really hurting my ability to make progress in parts of the app that will make a far greater difference to app useability.

Per above comment, closing.


bolt api objects

This PR adds the base class for Bolt API classes that will help us make api calls to bolt api endpoints.
The base class holds methods that will be used by all other API classes.
This PR also adds the httparty, vcr and webmock gems.

Also shouldn't this commit 3470276 be a fixup to this original commit cd197d2

I have fixed it up


OAUTH2 authentication

Is anyone working on OAUTH2 authentication / is it planned for an upcoming release?  This is something I am very interested in and can possibly work on it in the future.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35471246-oauth2-authentication?utm_campaign=plugin&utm_content=tracker%2F294006&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F294006&utm_medium=issues&utm_source=github).

We currently have an abstract auth backend for the OAuth2 bearer token.
If you want to make this a true feature request, i think it would be really helpful if you could in more detail describe what your goals are, or what sabre/dav does after implementing the OAuth2 feature you want.
Having OAuth2 support can mean a wide range of things for a lot of different people.

My goal would be for a user to be able to obtain a token from Google, Facebook, etc. which could be provided to sabre/dav for authentication instead of a username / password.  Similar to what is now required to access Google's CardDAV APIs.  It would probably need to be done in conjunction with a "whitelist", or some kind of extensible verification interface to only allow access to specific users.
I have recently implemented a similar authentication mechanism for a Meteor application I just wrote.  After receiving the result of the authentication attempt from the OAuth2 provider, I validate that the user is in an approved list.  If not, the login request is rejected.

Based on a token alone the server can't really figure out which OAuth provider to validate against though right? Would this mean you need different verification endpoints for every provider?
Anyway, sounds interesting. If you are willing to work on this I can keep this ticket open but will likely close it if I feel it's not really happening.
In either case I think it would be good for a feature like this to have a bit more specification and I would also recommend you write down the approach you'll take in terms of buildings this, so I'll be able to tell you early if it's the correct path.

Yes - My understanding is that you'd have to know who to verify the token with.  I can not work on it right now, but I will hopefully have the opportunity soon.  My hope was that I would find someone else was already in the process of working on it as well and I'd be able to help.


git-crypt: include man pages in output

Motivation for this change
Seems like they belong.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

~[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)~
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
~[ ] Tested execution of all binary files (usually in ./result/bin/)~
[x] Determined the impact on package closure size (by running nix path-info -S before and after) (265632824 -> 265637088)
~[ ] Ensured that relevant documentation is up to date~
[x] Fits CONTRIBUTING.md.

Thanks @nicknovitski :sparkles:


Browse in refactoring branch is broken for windows

Unfortunately setting a control message is not supported for windows, see here: https://github.com/golang/net/blob/master/ipv6/control_windows.go
So a Request struct will never have a iface. It will always be nil:
https://github.com/brutella/dnssd/blob/0d9d12fe7a9f5556afb42de4d7cd81884871d417/mdns.go#L222
This leads to a nil pointer exception at:
https://github.com/brutella/dnssd/blob/0d9d12fe7a9f5556afb42de4d7cd81884871d417/browse.go#L72
And it will never notify about any service because the ifaceIPs dictionary is always empty for windows:
https://github.com/brutella/dnssd/blob/0d9d12fe7a9f5556afb42de4d7cd81884871d417/browse.go#L79

Thanks

Thx for the fix.
I guess I wasn't clear on the issue. So the main issue on windows is that it will never notify about any service because the ifaceIPs dictionary is always empty for windows.
The root cause is that golang does not support control messages on windows, so you will never receive the interface information. Hence the ifaceIPs dictionary is always empty. Not sure what is the best solution for that case.
I hope this was more clear

Maybe you could use the Config.IPs field to workaround this limitation. But this is not recommended because of #8


L1: store supported capabilities for each peer

This would allow us to avoid cases in which we send a request to a peer that doesn't support it (ie, selecting a peer to fetch snap sync data which doesn't support the snap capability)

taking it


Internal server error 500 missing for GET & DELETE procedures

Http "Internal server error" 500 is missing for GET & DELETE procedures.
Please let me know if you are happy for me to submit a PR for this.

This error is also applicable for Notification procedure. PR will cover this.

Fixed with #86  - can be closed


⚠ Samsung has degraded performance

In 3eca086, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2166 ms

Resolved: Samsung performance has improved in 2722eaa.


[Cp Stag] fix Spanish translation

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/50381
https://github.com/Expensify/App/issues/50382
https://github.com/Expensify/App/issues/50390
PROPOSAL:
Tests

Change the language to Spanish
Open a DM or concierge
Verify that the translation is correct with a space
Create a group chat with only yourself
Verify that the welcome text is removed
Create a public room and invite at least 3 users
Verify that the second line in welcome text is Just use + button to split expense

[x] Verify that no errors appear in the JS console

Offline tests

Same as above
QA Steps

Change the language to Spanish
Open a DM or concierge
Verify that the translation is correct with a space
Create a group chat with only yourself
Verify that the welcome text is removed
Create a public room and invite at least 3 users
Verify that the second line in welcome text is Just use + button to split expense

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@nkdengineer Let me know when you're done with all the changes that need to be shipped with this PR so I can start reviewing once that's ready - make sure to add tests for each issue that this is fixing.

@ikevin127 All changes are done and the test steps for all related issues. I uploaded videos on all platforms for the original issues and added web videos for two other issues since these are logic bugs.

Cool - I'll start reviewing once everything is green 🟢

@nkdengineer beginning line is missing when starting the group with ownself, am I missing something here ?
https://github.com/user-attachments/assets/9ec246cb-a61f-4ae9-8c2e-03e86498d925

Looking at your test steps, I noticed we're removing the beginning line. I was comparing it with production, and it still has the line. If this was intentional, please ignore.

It's expexted.

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

#50381

#50382
https://github.com/user-attachments/assets/9fc427e0-fdc8-4014-b171-f606e36cfb31

#50390
https://github.com/user-attachments/assets/d66d842c-836b-4b24-82cc-7ff7b1716503

MacOS: Desktop

@thienlnam PR looks good, and the 3 issues mentioned have been resolved.
Before approving the PR, I wanted to confirm: when we start a group chat with ourselves, there is no beginning line. So, is the spacing between 'Say hello!' and the composer perfect as it is ?
Desktop

iOS

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


[Selenium Webdriver] Error:  "Could not load plugin wdio from module './plugin/wdio', and Cannot read property 'outputDir' of undefined"

I got the same issue
Here is my configuration
const { setHeadlessWhen } = require("@codeceptjs/configure");

// turn on headless mode when running with HEADLESS=true environment variable
// HEADLESS=true npx codecept run
setHeadlessWhen(process.env.HEADLESS);

exports.config = {
  tests: "./*_test.js",
  output: "./output",
  helpers: {
    WebDriver: {
      url: "http://localhost",
      browser: "chrome",
      host: "<IP_ADDRESS>",
      port: 4444,
      restart: false,
      windowSize: "1920x1680"
    }
  },
  include: {
    I: "./steps_file.js"
  },
  bootstrap: null,
  mocha: {},
  name: "googlecalendar",
  plugins: {
    retryFailedStep: {
      enabled: true
    },
    screenshotOnFail: {
      enabled: true
    },
    wdio: {
      enabled: true,
      services: ["selenium-standalone"]
    }
  }
};

{
  "name": "googlecalendar",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {},
  "dependencies": {
    "@wdio/selenium-standalone-service": "^6.0.4",
    "codeceptjs": "^2.5.0"
  }
}

Notes: already install selenium-standalone
When I run a test case, with basic steps
Feature("Login");

Scenario("Login to calendar", I => {
  I.amOnPage("https://calendar.google.com/");
});

I got the issue as in the title of the bug
Originally posted by @hungdao-testing in https://github.com/Codeception/CodeceptJS/issues/2151#issuecomment-605547416

I am also having this for  "codeceptjs": "^2.6.0"

seemed like this issue is raised in https://github.com/webdriverio/webdriverio/issues/5155
after digging into the issue, here is the stacktrace
MBP-Thanh-Home:amazon-ui-tests thanhnguyen$ npx codeceptjs run --grep @test --verbose
TypeError: Cannot read property 'outputDir' of undefined
    at new SeleniumStandaloneLauncher (/Users/thanhnguyen/Desktop/amazon-ui-tests/node_modules/@wdio/selenium-standalone-service/build/launcher.js:41:46)
    at module.exports (/Users/thanhnguyen/Desktop/amazon-ui-tests/node_modules/codeceptjs/lib/plugin/wdio.js:102:24)
    at createPlugins (/Users/thanhnguyen/Desktop/amazon-ui-tests/node_modules/codeceptjs/lib/container.js:273:44)
    at Function.create (/Users/thanhnguyen/Desktop/amazon-ui-tests/node_modules/codeceptjs/lib/container.js:45:25)
    at Codecept.init (/Users/thanhnguyen/Desktop/amazon-ui-tests/node_modules/codeceptjs/lib/codecept.js:57:15)
    at Command.module.exports (/Users/thanhnguyen/Desktop/amazon-ui-tests/node_modules/codeceptjs/lib/command/run.js:28:14)
    at Command.listener (/Users/thanhnguyen/Desktop/amazon-ui-tests/node_modules/codeceptjs/node_modules/commander/index.js:315:8)
    at Command.emit (events.js:209:13)
    at Command.parseArgs (/Users/thanhnguyen/Desktop/amazon-ui-tests/node_modules/codeceptjs/node_modules/commander/index.js:651:12)
    at Command.parse (/Users/thanhnguyen/Desktop/amazon-ui-tests/node_modules/codeceptjs/node_modules/commander/index.js:474:21)

Could not load plugin wdio from module './plugin/wdio':
Cannot read property 'outputDir' of undefined


Saying "a + b = c" gives "unrecognizable input" message

I just tried the demo, saying "a + b = c", but I got an "unrecognizable input" error. Same with "x + y = z". It doesn't happen if I wait for it to process a symbol before saying the next one.

Thanks for the report! I haven't worked on this project in a while, and I think bugs like this one are expected, unfortunately. Feel free to submit a pull request to fix this! Otherwise I might recommend looking for another library implementing latex transcription :)


How to verify images migration correctness

Hi, I am trying to migrate images from registry V1 to V2 by a docker client pulling from V1 and pushing to V2. After migration, I want to make sure all the layers content are same in both registry.
There is a Manifest api that can get layer blobsum in V2. Is the blobsum same with X-Docker-Checksum header returned by Get image layer api in V1. If not, is there a method to solve this problem?

I am unaware of X-Docker-Checkusm. You can experiment with it but there are no guarantees.
The V2 manifest includes the v1 layer json in the v1compatibility field. The safest way to check is to unpack that, then fetch those layers from the v1 registry, by their layer id, then verify that the manifest digest matches the digest of the content fetched by layer id.

@oilbeater in theory that would work, but I don't think this does in practice.
The reason for that is the docker engine does not keep the unexpanded tarfiles - it does expand them, then pack them when it wants to push. In the meantime, white-out files used by graphdrivers are going to have their mtime modified, technically generating a different tarfile thus a different sha.
Furthermore, in the v1 world things are highly unverified.
If you are strongly concerned about integrity here, you may try to compare the tarfiles directly with your own tooling, disregarding data like X-Docker-Checksum.
Let me know if that helps.

@dmp42 Thanks for your advice, comparing the tarfiles directly seems make sense.
I am a little confused that if every push generates a different sha, what's the meaning of the blobsum field.

@olibeater in the v2 world, every push (from the same build) will generate the same sha (likely not true in the v1 world though).

@dmp42 When image size is big, saving the tarballs and comparing them take lots time.
How the v2 generate the sha? If I can calculate the digest of tarball and compare it with V2 digest, things become mush faster.

@oilbeater right.
@dmcgowan or @RichardScothern can probably answer you about that.
I assume we just do sha256(tarball_binary_stream)

@oilbeater taking the sha256 of the tar stream is how the blob sum is calculated. Keep in mind though the sum may be compressed and recreating the tar and compressing may not produce the same blob sum even though the contents are the same. The tarsum utility was created to do such verifications, however it should only be used as a sanity check and not for security. Using tarsum would requiring pulling down the layers from v2 though.

Considering this closed.


Create view to show VLAN tags for F5 Self IPs

This view should be returned as the result for the F5 self IP collector


Not exactly about click

Hello!
     I apologize for disturbing you like this, however, would it be possible to tell me how you managed to get your function to be declared with arguments, but then not pass any in while calling them, as in your examples?
import click

@click.command()
@click.option('--count', default=1, help='Number of greetings.')
@click.option('--name', prompt='Your name',
              help='The person to greet.')

###############################################################
# Defined here with arguments

def hello(count, name):
    """Simple program that greets NAME for a total of COUNT times."""
    for x in range(count):
        click.echo('Hello %s!' % name)
###############################################################

if __name__ == '__main__':

###############################################################
    # Called here with none!

    hello()
###############################################################

     I would normally Google this, but I can't seem to come up with the correct search query!
Thank you kindly for understanding!

Because decorators aren't required to return the same thing they decorate. In this case they return a command object that wraps the function.

Hmm... I'll have to do more research, it seems, then. Thank you!


Allow users to copy the transaction hex before broadcast

After agreeing on the transactions parameters, allow users to copy the transaction hexadecimal to the clipboard.

Is this covered by https://github.com/WalletWasabi/WalletWasabi/pull/13508?

No, but I precised the title

Is this a duplicate of https://github.com/WalletWasabi/WalletWasabi/issues/6747?


Support text scale in NameTag and FloatingText

Fixes #1937

Refer to this link for build results (access rights to CI server needed):
http://jenkins.terasology.org/job/TerasologyPRs/271/
Hooray Jenkins reported success with all tests good!


Add clidle under "Bubble Tea in the Wild"

Hey! I made clidle, a Wordle game using Bubble Tea and Wish, I'd be grateful if you could check it out / feature it!

Nice work, this is fun!

Thank you!


[fix][security] Fix secure problem CVE-2017-1000487

Motivation
The secure problem CVE-2017-1000487 is caused by the dependency org.codehaus.plexu:plexus-utils:2.0.6. Refer to this.

CVE-2017-1000487
Plexus-utils before 3.0.16 is vulnerable to command injection because it does not correctly process the contents of double quoted strings.

The dependency tree is this.
io.prestosqlpresto-main:332
  -- io.airlift.resolver:resolver:1.5
      -- org.apache.maven:maven-core:3.0.4
           -- org.codehaus.plexus:plexus-utils:2.0.6

I try to exclude org.codehaus.plexus:plexus-utils:2.0.6 and import org.codehaus.plexus:plexus-utils:3.0.16, the Pulsar SQL still work.
Modifications
Exclude the dependency org.codehaus.plexus:plexus-utils:2.0.6, and import org.codehaus.plexus:plexus-utils:3.0.16.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: https://github.com/gaoran10/pulsar/pull/21

More CVE problems need to be fixed.
Error:  Failed to execute goal org.owasp:dependency-check-maven:7.4.4:aggregate (default) on project pulsar:
Error:
Error:  One or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal to '7.0':
Error:
Error:  clickhouse-jdbc-0.3.2.jar: CVE-2021-43304([8](https://github.com/apache/pulsar/actions/runs/4169916645/jobs/7218371260#step:8:9).8), CVE-2021-43305(8.8), CVE-2021-42387(8.1), CVE-2021-42388(8.1)
Error:  kafka-clients-2.7.2.jar: CVE-2023-251[9](https://github.com/apache/pulsar/actions/runs/4169916645/jobs/7218371260#step:8:10)4(8.8)
Error:  postgresql-42.4.1.jar: CVE-2022-31197(8.0)
Error:  stax2-api-4.2.1.jar: CVE-2022-40152(7.5)
Error:  testng-7.3.0.jar: CVE-2022-4065(7.8)


[#115251811] Display system URLs

What
Story: Basic Information listing URLs for Metrics and Visualisations
Display system URLs to simplify use of each environment. It works by adding variables to environment.sh and create a make target to call it.
How to review

Run make dev env
Check the new URLs

Who can review
Anyone but @HenryTK or myself

LGTM :+1:


Update Index.md

Good idea! More visual aids are always a good thing. I think we'll have to make sure the image is part of the repo itself, though, rather than a comment's image on GitHub's CDN. I'll try to add an image soon.

Thanks Stephen. I know i had to spent about two minutes figure it out
before and thats two minutes saved for someone else.
On Sun, Jan 18, 2015 at 3:30 PM, Stephen Celis<EMAIL_ADDRESS>wrote:

Good idea! More visual aids are always a good thing. I think we'll have to
make sure the image is part of the repo itself, though, rather than a
comment's image on GitHub's CDN. I'll try to add an image soon.
—
Reply to this email directly or view it on GitHub
https://github.com/stephencelis/SQLite.swift/pull/43#issuecomment-70424390
.

Closing in favor of https://github.com/stephencelis/SQLite.swift/commit/3d7ad5dfb8c6590355b6a92556ae47ffca8addaf
@ericcgu Just a note, you shouldn't need to muck around in the build phases tab for resources if you make sure to check Copy items if needed and your app under Add to targets: when dragging the database into your Xcode project. You can also select the file from the left-hand file inspector, and use the Target Membership section of the right-hand inspector to manage which targets bundle the resource.


Refactor hexgrid

Refactored the hexgrid crate:

Separated functions based on the purpose of each
Removed RenderPathEvent and DespawnTileEvent
Applied explicit system ordering to the build function for systems that access similar resources as mutable
Added 3 more HexOrientations (FlatTopOddUp, FlatTopOddDown, PointyTopOddRight, PointyTopOddLeft)
Removed unused dependencies
Adjusted how UI navigation moves
Grouped resource fields that are used in the same feature into the same resources, renamed ShortestPathBuilder to RenderTile and NodeStartEnd to PathFind
Changed how the tile rendering and camera movement is calculated

Lets discuss how to bring this work in.


While creating or updating event triggers retries are not changed

Describe the bug
trying to change the number of retires in event triggers doesn't have any effect on config.yaml

A more elaborate issue for this already exists - #832


Premiere CC '19 - FCP XML Video In/Out points not working

Just noticed the FCP XML files my program is generating are no longer working with Premiere - upon importing, the media browser shows each clip with a Video In of 00;00;00;00 and a Video Out of {video duration}
PPro CC 2019 (v13.1.4):

PPro CC 2018 (v12.1.2):

Reference peru.xml:
<xmeml version="4">
    <bin>
        <name>Test Project</name>
        <children>
            <sequence id="sequence-6">
                <media>
                    <video>
                        <track>
                            <clipitem frameBlend="FALSE">
                                <name>peru 2_0</name>
                                <file id="file-1">
                                    <name>peru 2.mp4</name>
                                    <rate>
                                        <timebase>24</timebase>
                                        <ntsc>TRUE</ntsc>
                                    </rate>
                                    <duration>3709</duration>
                                    <pathurl>peru 2.mp4</pathurl>
                                    <timecode>
                                        <rate>
                                            <timebase>24</timebase>
                                            <ntsc>TRUE</ntsc>
                                        </rate>
                                        <string>00:00:00:00</string>
                                        <frame>0</frame>
                                        <displayformat>NDF</displayformat>
                                    </timecode>
                                    <media>
                                        <video />
                                        <audio><channelcount>2</channelcount></audio></media>
                                </file>
                                <rate>
                                    <timebase>24</timebase>
                                    <ntsc>TRUE</ntsc>
                                </rate>
                                <duration>79</duration>
                                <start>0</start>
                                <end>79</end>
                                <in>320</in>
                                <out>399</out>
                            </clipitem>
                            <clipitem frameBlend="FALSE">
                                <name>peru 2_1</name>
                                <file id="file-2">
                                    <name>peru 2.mp4</name>
                                    <rate>
                                        <timebase>24</timebase>
                                        <ntsc>TRUE</ntsc>
                                    </rate>
                                    <duration>3709</duration>
                                    <pathurl>peru 2.mp4</pathurl>
                                    <timecode>
                                        <rate>
                                            <timebase>24</timebase>
                                            <ntsc>TRUE</ntsc>
                                        </rate>
                                        <string>00:00:00:00</string>
                                        <frame>0</frame>
                                        <displayformat>NDF</displayformat>
                                    </timecode>
                                    <media>
                                        <video />
                                        <audio><channelcount>2</channelcount></audio></media>
                                </file>
                                <rate>
                                    <timebase>24</timebase>
                                    <ntsc>TRUE</ntsc>
                                </rate>
                                <duration>159</duration>
                                <start>79</start>
                                <end>238</end>
                                <in>640</in>
                                <out>799</out>
                            </clipitem>
                        </track>
                        <track />
                        <track />
                    </video>
                    <audio>
                        <track />
                        <track />
                    </audio>
                </media>
            </sequence>
        </children>
    </bin>
</xmeml>

Any ideas? Not sure if it's a bug in Premiere or with the output formatting of the FCP adapter within OTIO

Are you using otioconvert to do the conversion?  Can you see what is different in the XML files from the older version of OTIO or see which version of OTIO introduced the bug?

Are you using otioconvert to do the conversion?

Yea, via the 'fcp_xml' adapter

Can you see what is different in the XML files from the older version of OTIO or see which version of OTIO introduced the bug?

I actually think it may be a bug introduced in Premiere 2019 or some tightening up on FCP XML structuring requirements(?)
OTIO XMLs created with the latest version (v0.11) work just fine on PPro 2018 (version 12.1.2 tested), as do ones generated with v0.8 (the version I was using previously) - however, OTIO XMLs created with either version 0.8 or 0.11 aren't properly loading clip video in/out points in PPro 2019 (versions tested: v13.1.4 & v13.0)

If you manually correct the in/out in the Premiere UI and write the XML back out, maybe that will give a clue about what is different.

Yup that definitely helped - so it appears Premiere may have changed the way it's handling clipitem's within sequences
Previously, having sequence->media->video->track->clipitem-> {<in>, <out>, ...} Premiere would import each clipitem as a 'clip' and would obey their in/out points (PPro '18 screenshot above)
Now it seems to require everything be wrapped in a <clip> and have all the in/out/etc info. moved up underneath it: clip->{<in>, <out>, ...} + media->video->track->clipitem->file ...
Going from the XML in the orig. post to the following works in Premiere '19:

Corrected peru.xml:
<xmeml version="4">
    <bin>
        <name>Test Project</name>
        <children>
            <clip>
                <name>peru 2_0</name>
                <duration>79</duration>
                <start>0</start>
                <end>79</end>
                <in>320</in>
                <out>399</out>
                <media>
                    <video>
                        <track>
                            <clipitem frameBlend="FALSE">
                                <name>peru 2_0</name>
                                <file id="file-1">
                                    <name>peru 2.mp4</name>
                                    <rate>
                                        <timebase>24</timebase>
                                        <ntsc>TRUE</ntsc>
                                    </rate>
                                    <duration>3709</duration>
                                    <pathurl>peru 2.mp4</pathurl>
                                    <timecode>
                                        <rate>
                                            <timebase>24</timebase>
                                            <ntsc>TRUE</ntsc>
                                        </rate>
                                        <string>00:00:00:00</string>
                                        <frame>0</frame>
                                        <displayformat>NDF</displayformat>
                                    </timecode>
                                    <media>
                                        <video />
                                        <audio><channelcount>2</channelcount></audio></media>
                                </file>
                                <rate>
                                    <timebase>24</timebase>
                                    <ntsc>TRUE</ntsc>
                                </rate>
                            </clipitem>
                        </track>
                    </video>
                    <audio>
                        <track />
                        <track />
                    </audio>
                </media>
            </clip>
            <clip>
                <name>peru 2_1</name>
                <duration>159</duration>
                <start>79</start>
                <end>238</end>
                <in>640</in>
                <out>799</out>
                <media>
                    <video>
                        <track>
                            <clipitem frameBlend="FALSE">
                                <name>peru 2_1</name>
                                <file id="file-2">
                                    <name>peru 2.mp4</name>
                                    <rate>
                                        <timebase>24</timebase>
                                        <ntsc>TRUE</ntsc>
                                    </rate>
                                    <duration>3709</duration>
                                    <pathurl>peru 2.mp4</pathurl>
                                    <timecode>
                                        <rate>
                                            <timebase>24</timebase>
                                            <ntsc>TRUE</ntsc>
                                        </rate>
                                        <string>00:00:00:00</string>
                                        <frame>0</frame>
                                        <displayformat>NDF</displayformat>
                                    </timecode>
                                    <media>
                                        <video />
                                        <audio><channelcount>2</channelcount></audio></media>
                                </file>
                                <rate>
                                    <timebase>24</timebase>
                                    <ntsc>TRUE</ntsc>
                                </rate>
                            </clipitem>
                        </track>
                    </video>
                    <audio>
                        <track />
                        <track />
                    </audio>
                </media>
            </clip>
        </children>
    </bin>
</xmeml>

Cool, thanks for digging into this!  We are going to try and find someone from apple or adobe with some expertise to weigh in.

Awesome, I went ahead and spent some time to file a bug with Adobe support and the tech was able to reproduce it on his end with the files I provided. I asked but he wasn't able to give me any kind of internal bug # or get me on any kind of notification list, etc :/
I was able to get some code down this afternoon to make the modifications I needed:
fstr = otio.adapters.write_to_string(project, adapter_name='fcp_xml')

# project -> bin 'folder'
fstr = fstr.replace('<project>', '<bin>')
fstr = fstr.replace('</project>', '</bin>')

outRoot = ET.fromstring(fstr)

cBinLeaf = outRoot.find('.//bin/children')

cCILeaves = outRoot.findall('.//clipitem')
for cLeaf in cCILeaves:
    # New parent <Clip>
    clip_elm = ET.SubElement(cBinLeaf, 'clip')

    # Copy name, duration, in, out, start, end from clipitem to new parent <clip>
    ET.SubElement(clip_elm, 'name').text = cLeaf.find('name').text
    inLeaf = cLeaf.find('in')
    ET.SubElement(clip_elm, 'in').text = inLeaf.text
    outLeaf = cLeaf.find('out')
    ET.SubElement(clip_elm, 'out').text = outLeaf.text
    startLeaf = cLeaf.find('start')
    ET.SubElement(clip_elm, 'start').text = startLeaf.text
    endLeaf = cLeaf.find('end')
    ET.SubElement(clip_elm, 'end').text = endLeaf.text
    durationLeaf = cLeaf.find('duration')
    ET.SubElement(clip_elm, 'duration').text = durationLeaf.text

    # Remove in/out/start/end/duration from clipitem
    cLeaf.remove(inLeaf)
    cLeaf.remove(outLeaf)
    cLeaf.remove(startLeaf)
    cLeaf.remove(endLeaf)
    cLeaf.remove(durationLeaf)

    # Create Media > Video > Track
    m_elm = ET.SubElement(clip_elm, 'media')
    v_elm = ET.SubElement(m_elm, 'video')
    t_elm = ET.SubElement(v_elm, 'track')
    t_elm.append(cLeaf)

    # Create Audio > Track * 2
    a_elm = ET.SubElement(m_elm, 'audio')
    ET.SubElement(a_elm, 'track')
    ET.SubElement(a_elm, 'track')

# Remove the dangling sequence (<clip>'s now reside under the bin directly)
cBinLeaf.remove(cBinLeaf.find('.//sequence'))

Having an Adobe or Apple expert take a look though would be good - I'm just kind of feeling my way through the structure
Also, somewhat related, I think #514 is in the right direction - being able to create bin items and attach just <clip>'s to them is essentially what I've got going on


lc.exe

i know this is an error only i’m having, but when i try to compile i keep getting an error about lc.exe and how it can’t be found or something and i tried to look online but couldn’t find anything useful. how can i fix this?

What version of visual studio are you trying to compile with?

What version of visual studio are you trying to compile with?

2022

What version of visual studio are you trying to compile with?

2022

if i exclude the license thing it works but doesn’t open

What license thing are you referring to?

What license thing are you referring to?

do you have a discord so i can dm you and show u?

Sure you can add me @ xav#3433


fix: github actions update

Fixes #31
Updated the config for node.yml

one question, why do you need this custom workflow if you already have a generic one? is it because of npm run build script that is not invoked in generic workflow?


should check if Operation already open

the program should check, if the selected operation is already open.

fixed via preferences


[ENHANCEMENT] multiple leagues

Is it possible to show info for 2 leagues? I run a relegation league(2 leagues).

This is definitely possible, but might take a while to implement. How would you want this implemented? Should transactions be combined? Should matchups be integrated? How about standings (being added soon), should that be combined or separate?
I'll try to get this done, but it might take me a while.

Maybe just a "League A" and "League B" Tab on the top. Transactions separate. Matchups on the same page would be nice. Standings separate.

I would love this to be a possibility as well. I'm running 2 12-team leagues and everyone wants to see what the other team is up to.

I have a similar request except I have 15 leagues running the same ruleset and we do a combined post season. If I was capable of doing it myself, I'd want a tab for each league and then an overall tab that shows all 180 teams power ranking, overall records and history (same as the current history, except combined to show the best from amongst all the leagues.) I'd also add a place for me to add a running top 25 (with voters, similar to NCAA rankings), though I know I'd need to manually update that table code each week.


Menuview graphical bug after commitMenuViewUpdate()

I have a graphical bug after calling commitMenuViewUpdate() on the menuview, after calling it the menuview shows the original layout it has before the call to the method and overlays the fixed layout after the call.
I'm using auto layout.
Here's a screenshot how it looks like.

Any suggestions?
THX and best regards,
Peter

how you change that lines in each date ?

@peter9teufel Please verify that the delegate wasn't set twice..I encountered the same issue after having it set via Storyboard and in a property observer.
Other than that, please let me know what you've tried so far and how your current setup looks like, otherwise I can't help you out...

That's it! Thx a lot for your support and your great calendar module!


Cypress astra local

Added Astra call to APS API test scripts and updated docker compose file for keycloak image

Q: if Astra picks up vulnerabilities of an unacceptable impact level (currently high or medium), how can we view the scan results with the vulnerability details?
It seems to me the results are only written to cypress/fixtures/state/scanResult.json and we need to add another upload step to .github/workflows/aps-cypress-e2e.yaml so we can access the results.

@ikethecoder @Elson9 this is ready for review now.
I added a Python script to create a Jira issue with the relevant vulnerability details.
I also added exit 1 on the step which reviews the Cypress results to cause a failed GHA status. If there are any high/med issues from Astra, there will be a failed test in Cypress > GHA will fail. And thus I added if: failure() to only run the Astra results processing steps in that case.
Example of when Astra hits vulnerability (I modified the severity up from Low - these aren't real issues)

Example Jira issue (will delete later, just left it for review)


Doesn't seem to always account for line break spacing

Sorry about this but it seems like it doesn't always take into account the space taken up by a line break when splitting books up. In the most recent lore book I made it put in one line's worth more text than actually fit in a page that had a line break in the middle.

You're right, good catch! I managed to reproduce the bug too trough this text:
Hey there! How's it going? I hope you're having a fantastic day. Just wanted to touch base and see what's up. I recently discovered this amazing coffee shop downtown.

The atmosphere is so cozy, and they serve the best cappuccino I've ever had. It's become my new go-to spot for some quiet time.

Which incorrectly produces:
Hey there! How's it
going? I hope you're
having a fantastic
day. Just wanted to
touch base and see
what's up. I recently
discovered this
amazing coffee shop
downtown.

The atmosphere is so
cozy, and they serve
the best cappuccino
I've ever had. It's

spot for some quiet
time.

I'm gonna take a look to see what the issue might be.

The issue has been found, it has to do with a regex which doesn't account for new lines with a space before them. Should be fixed by 3630fe45f68a180cba53000cbff37863fe71eba3.
Can you test again and confirm if the fix worked?

Doesn't seem to be working with a text that starts with a square bracket

I can't find any issues with square brackets, can you show some text which reproduces the error? What exactly does not work? Is text cut off?

I was writing lorebooks for an SMP with some roleplay with your online tool and noticed one was failing to paste, which means it doesn't fit
Text that does this for me, snipped to just the first 3 pages, second page fails to paste, removing the space after 'accident' makes it paste but since it's working for you with spaces preceding line breaks I'm assuming something else in this block of text is breaking it:

There is an abrupt change in the type of ink used at the one-third mark, and the first entry in the new ink is about receiving a tour from a dryad Wingyl had immediately decided was a friend. Later diary entries are more sporadic, skipping days or weeks, and focus much more on what happened since the last entry rather than on future plans.

Some entries are very ```

Yep, managed to reproduce this one too, very strange behavior. It works fine however when generating commands but not when copying and pasting. In fact, I've just noticed that I've only applied these fixes to the command generation, not the text generation.
Thanks for the heads up! I will get onto this ASAP. Sorry for any inconvenience!

It's fine! I can just check for any trailing spaces before linebreaks if pasting fails
you have made a very good tool I have recommended it to the other people on the server for their lorebooks (though i dont think anyone else is uh. decorating with chiselled bookshelves and then trying to fill them All)

I have discovered the cause of the bug, and it's an edge case. Basically, if you have  text which exactly fills out one row, and you add a empty space after, it will wrap to a new row.  This issue can be easily demonstrated by entering the same line 10 time, all of which have a space after:
a teleporter accident.
a teleporter accident.
a teleporter accident.
a teleporter accident.
a teleporter accident.
a teleporter accident.
a teleporter accident.
a teleporter accident.
a teleporter accident.
a teleporter accident.

The tool will assume all of them can fit in one page, since it does not account for the line breaks. If you attempt to paste the tool output into a Minecraft book, it would look something like this:
a teleporter accident.

a teleporter accident.

a teleporter accident.

a teleporter accident.

a teleporter accident.

a teleporter accident.

a teleporter accident.

a teleporter accident.

a teleporter accident.

a teleporter accident.

This would of course fail to paste, since we are well beyond the cap of 14 rows per page. I will try to figure out a fix for this, which I don't think should be too hard, as all we need to do is check for spaces after strings of specific widths. Thanks again for the bug report!

Another fix has been deployed by c410f1e. I'm keeping this issue open for now as I want to do some further testing to see if it really is fixed now.

I've developed a testing methodology to check if the app output matches the generated Minecraft book. Assuming the test itself is not flawed, I'm pretty sure the app should handle line breaks correctly, as I generated 96 pages all of which matched the Minecraft book. There may be other edge cases still unresolved, but


BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation

Hi, I'm new to SQLite, it's very good and easy to use. But i'm getting a very trick issue, below is the log:
2018-04-09 20:58:56.729955+0800 Sudoku[406:17869] [logging] BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode linked while in use: /private/var/mobile/Containers/Data/Application/A3091E4F-37BB-40B2-8384-1FA3339DD032/Documents/mysqldb.sqlite
2018-04-09 20:58:58.556336+0800 Sudoku[406:17857] [logging] BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use:
This log pops out around the database initiation, after getting this log all the database actions was failed due to the disc I/O error(code: 10)
I'm using SQLite.swift (0.11.4) by CocoaPods, Xcode 9.3, iOS 11.3, this issue doesn't comes out everytime, everytime I launch my app I got around 30% chance to get this error, then I have to relaunch the app again to get rid off it. Now I'm planning to release my app very soon, but cannot with this, I've tried to search the cause but no help.
Below is my initiate code:
        dbPath = "mysqldb.sqlite"
        let docsPath = NSSearchPathForDirectoriesInDomains(FileManager.SearchPathDirectory.documentDirectory, FileManager.SearchPathDomainMask.userDomainMask, true)[0]
        let databaseStr = "mysqldb.sqlite"
        dbPath = docsPath.stringByAppendingPathComponent(databaseStr)
        do {
            BBDB = try Connection(dbPath)
        } catch let error{
            BBDB = nil
        }

Could you please help me on this? Thanks

May i know Why this issue closed without response?

Hi,
We facing issue while deleted database file.
BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use: /private/var/mobile/Containers/Data/Application/

Hello  Team,
We are also facing this issue, how to resolve this one? Any suggestions
Thank you

has any update of this issue?

Seeing the same problem which kills app

has any update of this issue?


Bot only walking and spin, not catching any poke balls. dev version

Expected Behaviour
should walk, spin and catch poke balls after starting bot.
Actual Behaviour
bot can walk and spin pokestop, but cannot see any poke balls and catch them.
Steps to Reproduce
start bot using python pokecli.py using dev version.
Other Information
OS: Mac OS 10.11.6
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
bdcf2519d63555ac32246439fd17672896ee64e4
Python Version: (run 'python -V' and paste it here)
Python 2.7.12
Bot running summary log:
2016-08-08 09:34:14,160 [       cli] [INFO]
2016-08-08 09:34:14,160 [       cli] [INFO] Ran for 0:03:14
2016-08-08 09:34:14,160 [       cli] [INFO] Total XP Earned: 300  Average: 5565.73/h
2016-08-08 09:34:14,160 [       cli] [INFO] Travelled 0.03km
2016-08-08 09:34:14,161 [       cli] [INFO] Visited 6 stops
2016-08-08 09:34:14,161 [       cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
2016-08-08 09:34:14,161 [       cli] [INFO] Threw 0 pokeballs
2016-08-08 09:34:14,161 [       cli] [INFO] Earned 0 Stardust
2016-08-08 09:34:14,161 [       cli] [INFO]
2016-08-08 09:34:14,161 [       cli] [INFO] Highest CP Pokemon:
2016-08-08 09:34:14,161 [       cli] [INFO] Most Perfect Pokemon:

@dwangfeng your pokemon inventory could be full.
Without your config we can't say much.

Here is my config file, i double checked my item list and they are not full.
{
"auth_service": "google",
"username"<EMAIL_ADDRESS>"password": "yyyyyyyy",
"location": "43.898154, -79.401123",
"gmapkey": "some key",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"item_filter": {
"Pokeball":       { "keep" : 100 },
"Potion":         { "keep" : 30 },
"Super Potion":   { "keep" : 30 },
"Hyper Potion":   { "keep" : 30 },
"Revive":         { "keep" : 20 },
"Razz Berry":     { "keep" : 60 }
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort"
},
{
"type": "MoveToFort",
"config": {
"lure_attraction": true,
"lure_max_distance": 2000
}
},
{
"type": "FollowSpiral",
"config": {
"diameter": 4,
"step_size": 70
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50
},
"websocket_server": false,
"walk": 4.16,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"evolve_captured": "NONE",
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"catch": {
"any": {"catch_above_cp": 100, "catch_above_iv": 0.4, "logic": "and"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"release": {
"any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
"// Example of always releasing Rattata:": {},
"// Rattata": {"always_release": true},
"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
"// Pidgey": {"keep_best_cp": 3},
"// Example of keeping 2 stronger (based on IV) Zubat:": {},
"// Zubat": {"keep_best_iv": 2},
"// Also, it is working with any": {},
"// any": {"keep_best_iv": 3},
"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
"// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
"any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},
    "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
    "Mewtwo": {},
    "Dragonite": {},
    "Snorlax": {},
    "// Mew evolves to Mewtwo": {},
    "Mew": {},
    "Arcanine": {},
    "Vaporeon": {},
    "Gyarados": {},
    "Exeggutor": {},
    "Muk": {},
    "Weezing": {},
    "Flareon": {}

}

}

Same here.
Last Pokemon catched 21 hours ago at bot startup on three accounts.
The bot does not have catched any other Pokemon yet.
Seems that it's just working one time when starting the bot

@dwangfeng POKEMON inventory, not ITEM inventory.
"release": {
"any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},

You're releasing pokemon only if his CP or IV is below 0. In other word, you're not releasing any pokemon. You keep all of them.
Read the wiki please. You didn't even look at configuration parameters explanation ...
https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Configuration-files

@BriceSD i cannot understand your comments, does the above parameter have anything to do with not catching any pokemons?
by the way that is the default config for release config, what is the problem? can you tell me?

Hey @dwangfeng  check out the config files wiki. You need to change the release CP and IV so the bot releases Pokemon. At the moment it's set to not release any by using 0.
I realised mine was doing this so came to this section and found the answer, cheers @BriceSD

@djadstar does your bot catch any pokemon after the change?
i have done the change, nothing has changed, bot still walking and spin. no pokemons show and none caught.

Hey @dwangfeng once you added the code did your bot release a lot of pokemon?
If you look in the default config there are lots of lines that are commented out with //, if you remove the // on the line " // any": {"keep_best_iv": 3}, to make it "any": {"keep_best_iv": 3}, that will do what you need it to do.
Hope that helps.

@djadstar thanks, i figure it out, looks like a address issue, the place where i entered may not have any pokestops anymore, probably the reason, i changed the place, now it started working..