[CLI] nginx and nginx-core preventing install

Running fully updated version of SIFT VM with latest SIFT CLI (CLI 1.7.1 and saltstack v2018.35.0).
Followed instruction for Remnux CLI to install (copy to /usr/local/bin/remnux and chown root:root and chmod +x).
During installation, get several errors, first is nginx:

Incomplete due to Failures -- Success: 198, Failure: 43

List of Failures (first 10 only)

 NOTE: First failure is generally the root cause.

 IMPORTANT: If opening a ticket, please include this information.

  - ID: nginx
    SLS: remnux.packages.nginx
    Run#: 68
    Comment: Problem encountered installing package(s). Additional info follows:

Tried a second time to install, this time first error was from xscreensaver:

Incomplete due to Failures -- Success: 236, Failure: 5

List of Failures (first 10 only)

 NOTE: First failure is generally the root cause.

 IMPORTANT: If opening a ticket, please include this information.

  - ID: xscreensaver
    SLS: remnux.packages.absent.xscreensaver
    Run#: 11
    Comment: Problem encountered removing package(s). Additional info follows:

When I tried to manually install xscreensaver and nginx to determine the cause of error, I find:
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-09-01 20:34:40 UTC; 8ms ago
  Process: 91255 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
  Process: 91249 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

Sep 01 20:34:39 siftworkstation nginx[91255]: nginx: [emerg] listen() to [::]:80, bac...e)

Turns out apache2 is listening on port 80, which is preventing the nginx installation and setup, and xscreensaver depends on nginx.
Recommend disabling (either permanently or temporarily) apache2 to complete install.
Doing this resulted in successful install (241 Installed 0 Failures).

It's possible that SIFT might install Apache, I don't recall, or it might be something else. We should identify why apache is installed first.


NuttX enable CONFIG_MEMSET_OPTSPEED

Setting CONFIG_MEMSET_OPTSPEED (Optimize memset() for speed) on NuttX decreases cpu usage by 2-3% on a pixracer configured as a multicopter. Most of the decrease is in the attitude controller and EKF (probably some of our excessive/unnecessary struct initialization). There's a small increase in flash.
Investigate CONFIG_ARCH_MEMSET as well.

TODO: write basic testing to verify nuttx memset options.

@dagar Did you want this in before the NuttX upgrade?

To coincide with heavier NuttX testing?

Yes it is 2 birds with one stone.  But the rigorous testing my not be needed:  It turns out there is no arch specific equivalent for memset like memcpy CONFIG_ARMV7M_MEMCPY - so my fears of a similar error in the calling convention are not ill founded.
I have lit CONFIG_MEMSET_OPTSPEED and CONFIG_MEMSET_64BIT on master_nxphlite do you want it on master ?

I think it can wait, it'll be a nice little bonus with the update. Out of curiosity is there a way to bulk change all nuttx-configs for a single change like this or do you have to do each manually?
Fixed by https://github.com/PX4/Firmware/commit/ff8246fdee4f115e9e8f3606a1e603ed9fdef275

@dagar For thing like this, I do a scoped search and replace and have a regex tool that converts the modified files list to a list of commit commands. For refreshes it is more a manuals process, running make oldconfig on each target.


add aarch64/ARMv8 example stack

Following the request of @alexellis in https://github.com/docker/example-voting-app/pull/64 , build an example stack for aarch64 (ARM64, ARMv8).

One component of this is the Python component, and if there was a multiarch Python it would help a lot. Cf. https://github.com/docker-library/python/issues/175

Closing as #64 closed


Handle module plugs in proxy

Kino PR: https://github.com/livebook-dev/kino/pull/448

I dropped a comment in Kino as well. I don't think we need this code here, we can convert these into functions directly in Kino.Proxy itself. WDYT?

Agreed, I'll update kino instead. Thanks!


HID Support

Add HID support for devices which implement UART via HID. See https://github.com/dioannidis/usbasp .

Implemented.
See https://github.com/dioannidis/libUSBUARTTerminal/commit/9e0f7897f29d3373facc8f453cad5a203e184b1a


[TYPO] Change bashrc to zshrc in example for zsh completion

Looks like there was a typo in the example for typer-cli. zsh completion wouldn't be installed in ~/.bashrc.

Codecov Report

Merging #73 into master will not change coverage by %.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #73   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          214       214
  Lines         4001      4001
=========================================
  Hits          4001      4001

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 18a9719...eacaaff. Read the comment docs.

So, it will install completion in a different way depending on your shell, it supports Bash, Zsh, Fish, and PowerShell.
It would be installed in ~/.zshrc when using Zsh. That's just an example of how it would look like you were using Zsh.
So, I'll pass on this, but thanks for your contribution and effort! :cake:

So, I'm confused then. Is:
zsh completion installed in /home/user/.bashrc.

correct, then? If so, that's terribly confusing, as my zsh shell does not read ~/.bashrc, and the completions would be broken.
The pertinant change is in https://github.com/tiangolo/typer/pull/73/commits/eacaaff88db34efd3d67d70aa5675c6f3898f1bb, the rest of it is to get the tests to run successfully.


fix sails status code 4xx instead of 500 on non allowed verb (issue #29)

This will use api/responses/badRequest.js to return 400 statusCode.
If project want exact status code, api/responses/badRequest.js line
function badRequest(data, options) {
...
res.status(400);
...
can be changed with exact status code from data.statusCode

Great catch. Thanks!

Oops. Actually, I think I accepted that too quickly. I believe "response.status" only applies to Sails, correct?

@theganyo yes it is used into sails. negotiate() to decide some default response: https://github.com/balderdashy/sails/blob/master/lib/hooks/responses/defaults/negotiate.js#L40

I have tested with previous swagger-node-runner: version 0.5.13, the bug was not present there, but api return 200 instead of 405

connect    =>  HTTP/1.1 405 Method Not Allowed, correct response body
api             =>  HTTP/1.1 200 OK,                            correct response body
express     =>  HTTP/1.1 405 Method Not Allowed, correct response body
restify        =>  HTTP/1.1 405 Method Not Allowed, correct response body
sails          =>  HTTP/1.1 405 Method Not Allowed, correct response body

Great, thanks. I'll just add a comment on it.

@theganyo  thanks


docs: add CloudNative.Love to showcase

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

Test Plan

Test links

Deploy preview: https://deploy-preview-_____--docusaurus-2.netlify.app/
Related issues/PRs

Thanks
Your site looks great and we'll add it, but please respect the procedure we defined here: https://github.com/facebook/docusaurus/discussions/7826


chore(docs) updates hardware token docs

updates and migrates Harware Tokens docs as part of documentation migration https://github.com/sigstore/cosign/issues/822

This aims to deprecate https://github.com/sigstore/cosign/blob/main/TOKENS.md
Signed-off-by: ChrisJBurns<EMAIL_ADDRESS>

This is just a carbon copy of what is in https://github.com/sigstore/cosign/blob/main/TOKENS.md.
However, a thing to note is the image that is being used as a reference in the doc is from dlorenc-vmtest2. Do we have an official test image that we can use for examples?

@ltagliaferri Have pushed up the changes based on your PR comments.


Sublime Text 3 version

Hi.
That would be great if plugin will be ported to ST3.

Any news ?

I think it will be best to create a clone for sbt3. @qkdreyer @igormukhingmailcom


Duplicate calls made to URL, first one un-authenticated

I am using this awesome tool for integrating my Echo with openHAB and it works great, so firstly thanks very much!
Recently I added fail2ban to my setup to try and beef up security but was finding my ha-bridge VM was getting banned. Checking the openHAB Jetty request logs I was seeing two requests every time I executed a command via the ha-bridge, and the first one always fails with a 401 error - i.e. forbidden.
<IP_ADDRESS> -  -  [06/Nov/2016:22:45:38 +1300] "POST /rest/items/GF_Kitchen_CoffeeMachine HTTP/1.1" 401 1406
<IP_ADDRESS> -  -  [06/Nov/2016:22:45:38 +1300] "POST /rest/items/GF_Kitchen_CoffeeMachine HTTP/1.1" 201 0

Just wondering if this is a known issue? Does the bridge make some sort of initial attempt to connect? The URL for the device in ha-bridge is http://<username>:<password>@openhab:8080/rest/items/GF_Kitchen_CoffeeMachine using POST etc.
FYI: Any commands sent from the openHAB mobile app (which uses the REST API) come thru fine, as a single request.

After thinking about this a bit more, am I right in saying it is not ha-bridge that makes the calls to the openHAB REST API, it is Alexa itself. All ha-bridge does is provide the on/off URLs during discovery.
So is it possible Alexa is doing something with my URLs (maybe stripping the authentication details) and making the request in this form first, before sending the full URL?

And any idea why the failure request have 1406 bytes, but the succesfull request is empty? Trying to figure out what might be causing this...

It is the Alexa that calls the ha-bridge like it is a philips hue bridge, the ha-bridge in turn then calls the URL you provide. Do you have multi exec statements in your URL?

Here is a screen grab of an item as setup in ha-bridge - so the request is actually made by ha-bridge. I wonder if there are duplicate item definitions floating around (from earlier configs) that are being used? I checked the device db and there is only one reference to GF_Kitchen_CoffeeMachine in there. Anywhere else I should be checking?

I'll need you to turn on logging to what is happening:
"To set logging at a lower level, select the Show All Loggers checkbox and then you can set the explicit level on each of the processes components. The most helpful logger would be setting DEBUG for com.bwssystems.HABridge.hue.HueMulator component. Changing this and then selecting the Update Log Levels button applies the new log settings."
Post the log when you have the double call. Thanks

Hope this helps;
11-08-2016 09:19:59.944	DEBUG	hue state change requested: test from <IP_ADDRESS> body: {"on":true}	com.bwssystems.HABridge.hue.HueMulator
11-08-2016 09:19:59.944	DEBUG	executing HUE api request for network call: http://user:password@openhab.home:8080/rest/items/GF_Kitchen_CoffeeMachine	com.bwssystems.HABridge.hue.HueMulator
11-08-2016 09:19:59.944	DEBUG	executing HUE api request to Http POST: http://user:password@openhab.home:8080/rest/items/GF_Kitchen_CoffeeMachine	com.bwssystems.HABridge.hue.HueMulator
11-08-2016 09:19:59.944	DEBUG	Making outbound call in doHttpRequest: POST http://user:password@openhab.home:8080/rest/items/GF_Kitchen_CoffeeMachine HTTP/1.1	com.bwssystems.HABridge.hue.HueMulator
11-08-2016 09:19:59.953	DEBUG	POST execute on URL responded: 201	com.bwssystems.HABridge.hue.HueMulator
11-08-2016 09:20:02.232	DEBUG	hue state change requested: test from <IP_ADDRESS> body: {"on":false}	com.bwssystems.HABridge.hue.HueMulator
11-08-2016 09:20:02.233	DEBUG	executing HUE api request for network call: http://user:password@openhab.home:8080/rest/items/GF_Kitchen_CoffeeMachine	com.bwssystems.HABridge.hue.HueMulator
11-08-2016 09:20:02.233	DEBUG	executing HUE api request to Http POST: http://user:password@openhab.home:8080/rest/items/GF_Kitchen_CoffeeMachine	com.bwssystems.HABridge.hue.HueMulator
11-08-2016 09:20:02.233	DEBUG	Making outbound call in doHttpRequest: POST http://user:password@openhab.home:8080/rest/items/GF_Kitchen_CoffeeMachine HTTP/1.1	com.bwssystems.HABridge.hue.HueMulator
11-08-2016 09:20:02.237	DEBUG	POST execute on URL responded: 201	com.bwssystems.HABridge.hue.HueMulator

So it only shows 2 calls exterenally that are 3 seconds apart and they are successful.

Yes, but in my openHAB logs I am seeing;
<IP_ADDRESS> -  -  [08/Nov/2016:09:19:59 +1300] "POST /rest/items/GF_Kitchen_CoffeeMachine HTTP/1.1" 401 1406
<IP_ADDRESS> -  -  [08/Nov/2016:09:19:59 +1300] "POST /rest/items/GF_Kitchen_CoffeeMachine HTTP/1.1" 201 0
<IP_ADDRESS> -  -  [08/Nov/2016:09:20:02 +1300] "POST /rest/items/GF_Kitchen_CoffeeMachine HTTP/1.1" 401 1406
<IP_ADDRESS> -  -  [08/Nov/2016:09:20:02 +1300] "POST /rest/items/GF_Kitchen_CoffeeMachine HTTP/1.1" 201 0

Well, I have no idea why the OpenHAB has that. The ha-bridge only called out twice as the log indicates.

Hmm - the openHAB app uses the REST API as well but I am not seeing these duplicate calls with that. Thanks, I think you have confirmed what I was wanting to know - that ha-bridge doesn't make two calls for whatever reason. Must be something else.

Hi - I figured out what was going on so thought I would report back in case someone else comes across the same thing. It was due to the way I sending my authentication, i.e. in the URL itself.
Changing my ha-bridge config to authenticate using HTTP headers, e.g.;
[{"name":"Authorization", "value":"Basic <base64encoded-user:password>"}]

Has solved the issue.

Great!


Fix release action

This pull request changes the branch in the release GitHub action to master instead of main.

Again the github cli used the upstream instead of the fork. I think it is better to detach the fork as it is no longer sharing code with the upstream.

Again the github cli used the upstream instead of the fork. I think it is better to detach the fork as it is no longer sharing code with the upstream.


Refactor parquet lz4 and lzo decompression in to dwio common package

@yingsu00 Please review this.

@Yuhta @xiaoxmeng Can you please take a look at this?

@Yuhta @xiaoxmeng Please review this PR.

@yingsu00 Addressed all your comments, please review.

@yingsu00 The PR for LZ4 codec move from Arrow to Velox was merged today. I rebased this PR again. Please review. The failed linux-adapters requires a rerun. This is not related to the code changes.

@Yuhta Can you please review and merge this?


Question start/home page problem

Hi,
I thought i create _index.md in the content folder, as main/start/home page, but it doesn't work as expected. The content is far left.
did i do something wrong or is this normal behaviour. i take 2 screenshots to show what i mean.
can you give me a hint how i can correct this
i thought the page should look like this

but it's like this screenshot

i did complete new install, and run diff over the directories.

forgot to close

Probably, in that index.html, you forgot the container div.
See: https://getbootstrap.com/docs/5.3/layout/containers/#default-container


[Question] How to make  LeaderF window automatically focused and be in input mode after switching tabpage back?

Describe your question, feature request, or bug.
When I call LeaderF with option --stayOpen, after I press <C-T> to open a file in a new tabpage then come back to original tabpage, LeaderF window will be in normal mode and become a inactive window. How to make LeaderF window be the active window with input mode after I switch back to original tabpage?

There is no way, because LeaderF will be switch to normal mode after you press C-T.

There is no way, because LeaderF will be switch to normal mode after you press C-T.

OK, thank you.


[Fixed in GH-6052] Missing Visual Focus on Section1 Secondary Banner

Focus it's either missing or hidden behind the image as it seems to be the case for other banners

Tested on dev3.

Chrome ✅
Firefox ✅
Safari ✅


consider adding a license

its easier to point lawyers to :)

Yep please add MIT license.

done, enjoy :)


[BUG] laggy bloxstrap

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
Bloxstrap update makes my Roblox slow
Uploading 2024-10-17 15-59-24.mp4…
Bloxstrap Log
N/A

Upload the video again please
Have you tested this with the original launcher?

Upload the video again please
https://gofile.io/d/nyKtl1 here
Have you tested this with the original launcher?
ah the roblox is laggy idk why


Add base option to RakeTask

Thanks! Good find!

:+1:

Any chance of pushing a new release with this fix?

Yes, I will release new version pretty soon!


Blazor ToC improvements

Fixes #19124
Fixes #18829
The issues explain the problems that I'm seeking to resolve, including with screenshots in #19124. AFAICT, the sidebar ToC doesn't have any capacity to short-circuit URL matching behavior (https://dotnet.github.io/docfx/tutorial/intro_toc.html). It selects links in ways that are detrimental to desirable navigation:

The built-in components ToC entries are selected when following cross-links in other contexts.
Following cross-links within the doc set, the Security and Identity node Blazor topics are selected when the reader should see the Blazor ToC node entry for the topics. Seems that the selection is made top-to-bottom and then based on indent level.
Internal (MS doc search) and external (Google, etc.) referrals result in ToC node topic selection outside of the Blazor ToC.

This PR:

Adds bookmarks to all of the ToC built-in component links in hopes that they won't match URLs to those topics. [btw - An alternative here might be to place the built-in components node last in the Blazor ToC node. However, that should be considered as a last resort because these links should be under Components.]
Removes Blazor topics from the ToC for Security and Identity, Host and deploy, and Performance so that users will never be outside of the Blazor ToC when they follow cross-links or land in the doc set from search.

cc: @danroth27 @mkArtakMSFT

@scottaddie Ok ... the build report is clear now, so this is ready for review.

I reverted the last one. Let's :pray: hope 🤞 that readers just get to the end of it and then follow the link to the Blazor Templates topic. That will land them in the node, and we won't lose our consistency on where tutorials are located in the ToC.


Remove all instances of expose-all-unfoldings.

Hmmm.  I'm sure I needed it at some point, but if we don't actually need it then that's good!  Maybe some other option's fixing the same problem?


Update or replace django-jenkins

We use the package django-jenkins in edx/openedxstats. This package was last released in 2016 and last commit was in 2017. It hasn't yet added support for Django3.2. Please follow the guidance in https://openedx.atlassian.net/wiki/spaces/AC/pages/3036972032/Handling+Outdated+Dependencies to resolve the problem this poses for the Open edX Django 3.2 upgrade.

I think she's still out for another day or two, but I can go ahead and assign it to you.  Thanks for looking into this!

@jmbowman hi, I already reviewed this dependency a bit, and before committing to a code refactoring, I'm evaluating the possibility of removing the package.  However, I'm not pretty sure how it is being used inside https://github.com/edx/openedxstats.
A quick search in the repo does not display something relevant apart from the dependency definition in the requirements file and a GitHub actions operation not related to django-jenkins.
The dependency is not even included in production nor testing requirements, and it is not included in the app INSTALLED_APPS setting, which reinforces the possibility of deleting it. To be 100% sure I ask you for guidance on who to contact in order to get clarification on this matter.
@nedbat @awais786 hi, I'm tagging you since you were working on the openedxstats repo recently and maybe you guys have a better insight into how django-jenkins is used.

We have already merged django3.2 upgrade PR in openedxstats. Openedxstats already using githubactions so I don't think we need this package any more. Also we should remove this from repo.
@nedbat Please let me know if you any concerns ?

Hey, @nedbat just doing a follow-up on this issue. Please let us know your thoughts on this matter when you have the chance.

openedxstats no longer installs django-jenkins.  I've made a pull request to get rid of the obsolete requirements files that still mentioned it: https://github.com/edx/openedxstats/pull/116.

Thanks for your reply @nedbat. I think we can mark this TODO as DONE once the PR https://github.com/edx/openedxstats/pull/116 gets merged.

It's merged now.

@natabene I moved this one to Done status since there's no longer dependency on django-jenkins

@jfavellar90 Thank you!


[SPARK-9546][SQL] Centralize orderable data type checking.

This pull request creates two isOrderable functions in RowOrdering that can be used to check whether a data type or a sequence of expressions can be used in sorting.

Merged build triggered.

Merged build started.

Test build #39473 has started for   PR 7880 at commit 28502f5.

Test build #39473 has finished for   PR 7880 at commit 28502f5.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class RowOrdering(ordering: Seq[SortOrder]) extends Ordering[InternalRow]

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #39482 has started for   PR 7880 at commit 0439b43.

Merged build triggered.

Merged build started.

Test build #39483 has started for   PR 7880 at commit f9e322d.

Test build #39482 has finished for   PR 7880 at commit 0439b43.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class RowOrdering(ordering: Seq[SortOrder]) extends Ordering[InternalRow]

Merged build finished. Test FAILed.

Test build #39483 has finished for   PR 7880 at commit f9e322d.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class RowOrdering(ordering: Seq[SortOrder]) extends Ordering[InternalRow]

Merged build finished. Test PASSed.

LGTM

Thanks - merging this in.


Update hooks and dev deps

Update hooks and development dependencies to the latest versions

Codecov Report

Merging #141 (d9f7c83) into main (2097e18) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #141      +/-   ##
==========================================
- Coverage   92.03%   91.96%   -0.07%
==========================================
  Files          29       29
  Lines        1569     1569
==========================================
- Hits         1444     1443       -1
- Misses        125      126       +1

Flag
Coverage Δ

unittests
91.96% <ø> (-0.07%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

ggshield/docker.py
96.66% <0.00%> (-1.67%)
:arrow_down:

Continue to review full report at Codecov.

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


[BUG] GIE failured to be launched using java 8/11/18 in docker environment (centos:centos7)

Describe the bug
A clear and concise description of what the bug is.

Additional context
Add any other context about the problem here.

Closing as has already been resolved on latest release (v0.16.0).


Question: Usage inside a plugin

Hello,
I would like to use the plugin inside another plugin like this:
  class CopyTemplatesPlugin implements Plugin<Project> {

    void apply(Project project) {

        def extension = project.extensions.create('copyTemplatesSettings', CopyTemplatesPluginExtension)

        project.tasks.create(name: 'copyFoo', type: Download) {

            group "documentation"

            // works but extension settings (to configure this dynamical) are not available in the configuration phase
            // src extension.template

            src 'https://somewhere.de/index.html'
            dest 'tmp'

            group "documentation"

        }

        project.task('copyBar', type: Download) {

            group "documentation"

            doLast {
                download {
                    src extension.url
                    dest 'tmp'
                }
            }
        }
    }
}

the copyFoo Task works but the extension object is not available. The copyBar Task reads the extension closure but throws an exception "Please provide a download source"
How can I solve this?

The copyBar task has an additional download block inside of it. Do you need that? Either remove the type: Download or the download block. This should at least solve the problem with the "Please provide a download source" error.

thanks, I've tried out both.
project.task('copyBar', type: Download) {

            group "documentation"

            doLast {
                src 'https://somewhere.de/index.html'
                dest 'tmp'
            }
        }

terminates with the same exception
 project.task('copyBar') {
            group "documentation"
            doLast {
                download {

                    src 'https://toms-toy.de/index.html'
                    dest 'tmp'
                }
            }
        }

throws another exception:
Could not find method download() for arguments [de.docs_as_co.toolchain.common.gradle.CopyTemplatesPlugin$_apply_closure2$_closure3$_closure4@63d26532] on task ':copyBar' of type org.gradle.api.DefaultTask.
could that be related to the build.gradle in my buildSrc Folder?
dependencies {
    compile gradleApi()
    compile localGroovy()
[...]

    compile 'de.undercouch:gradle-download-task:3.4.3'
}

I don't know about the second case, but the first one is pretty clear. You have to define src and dest in the task definition and not in the doLast block. That's too late.

I have no clue why the second example is not working. To reproduce this, you can checkout
https://github.com/duschata/reproduceDownloadError.git
the download() function call in the closure of the build.gradle has another scope as the download function called from the Plugin project-object. I don't know why

the download() function call in the closure of the build.gradle is executed by
public DownloadExtension configure(@SuppressWarnings("rawtypes") Closure cl) {
        DownloadAction da = ConfigureUtil.configure(cl, new DownloadAction(project));
        try {
            da.execute();
        } catch (IOException e) {
            throw new IllegalStateException("Could not download file", e);
        }
        return this;
    }

at the  da.execute(); call
but this function is not available inside the plugin...

to make it a litte bit clearer:
at this point (in my plugin)
        project.task('copyBar') {
            group "documentation"
            doLast {
                download {

                    src 'https://somewhere.de/index.html'
                    dest 'tmp'
                }
            }
        }

there is no DownloadPlugin available (because it's not set by the closure delegate). So the thrown exception is absolute correct: type org.gradle.api.DefaultTask has no method "download"
If we make the DownloadPlugin available for the closure delegate (...type: Download) the action.execute() function in your script parses the closure and does not find a src, dest and so on and says goodby by throwing an exception. The point download inside the doLast block is never reached. But if this point could be reached, there is no function with the download(Closure closure) signature in your Download.class, the script will also terminate. The process in the build.gradle is different. The block is parsed by the DownloadExtension, founds the download part and delegates it to the annotated  @TaskAction.  A found a quickfix (very quick and dirty) by skipping the parsing in the configuration phase and it works for me. Please have a look at it to understand my problem (maybe there is a better solution) https://github.com/duschata/reproduceDownloadError/tree/quickfix

Why don't you just use it like this?
project.task('downloadTemplatePlugin', type: Download) {
    group "documentation"
    src 'https://somewhere.de/index.html'
    dest tmp
}

thanks for answering, see at my first comment. During the configuration-phase there is no access to the extension object which I need.

I read the whole thread again and I understand that the extension object is not available. My question is: why do you need the extension object at all? Why can't you use type: Download?

I would like to "wrap" the plugin by an own plugin. Inside the configuration-closure (extension) of my plugin I would like to provide a set of plugin-specific defined download sources. There should be no possibility for the user to use other URLs than the predefined.

So, what you are trying to do is to write your own extension that executes the extension of gradle-download-task. Is that correct? If yes, you may call the DownloadAction class yourself like it is done in DownloadExtension:
https://github.com/michel-kraemer/gradle-download-task/blob/master/src/main/java/de/undercouch/gradle/tasks/download/DownloadExtension.java

... or maybe subclass DownloadExtension.


Is there a way to access members of a dictionary without knowing the keys beforehand?

If I have a dictionary, is there a way to explore it without knowing what keys it contains?

No. That should be fixed. I'll make a todo-item.

There is a planned feature for this, thx!


WIP

what is this about

All will be revealed in due course.  Ignore this for the time being.
I'm currently just using this PR to invoke CI builds to see what results my changes get in Travis.

Codecov Report

Merging #288 into master will decrease coverage by 0.2%.
The diff coverage is 87.71%.

@@            Coverage Diff             @@
##           master     #288      +/-   ##
==========================================
- Coverage   83.39%   83.18%   -0.21%
==========================================
  Files          38       37       -1
  Lines        1764     1683      -81
==========================================
- Hits         1471     1400      -71
+ Misses        293      283      -10

Impacted Files
Coverage Δ

hca/upload/upload_submission_state.py
29.82% <0%> (ø)
:arrow_up:

hca/upload/api_client.py
95.38% <94.33%> (+27.99%)
:arrow_up:

hca/util/compat.py
84.21% <0%> (-10.53%)
:arrow_down:

hca/util/pool.py
88.23% <0%> (-2.95%)
:arrow_down:

hca/cli.py
59.13% <0%> (-1.74%)
:arrow_down:

hca/upload/upload_config.py
90.16% <0%> (-1.64%)
:arrow_down:

hca/util/__init__.py
87.14% <0%> (ø)
:arrow_up:

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 876cab9...d522f4b. Read the comment docs.


Little improvements in etcd_bootstrap_script.sh

What this PR does / why we need it:
Improve Indentation and readability.
Special notes for your reviewer:
Release note:

NONE

@StenlyTU thanks for your PR. I tested it locally and saw that etcd container throws the following error log:
standard_init_linux.go:228: exec user process caused: exec format error

Can you please check this? Thanks.

I think you have ARM based chipset. Can you check if this is not an issue with using the wrong image on built for another architecture?

@StenlyTU we haven't heard anything from you from a while. We have started work on https://github.com/gardener/etcd-custom-image/issues/16, which would invalidate any changes you've made in this PR. So I would vote in favour of closing this PR since the changes made here don't bring any functional improvement, for the cost of making a new release of the etcd-custom-image for the same etcd version being used within gardener, given that we will be restructuring the repo, code and releases.
Are you ok with this suggestion?


warnings on bulk PFCOUNT

Hey,
I'm pushing a lot of data into ardb by piping files with commands in Redis Protocol (RESP).
I get a lot of warnings like: WARN Invalid merge op which decode faild for key
What does it mean?

I get the same warning when testing with redis-benchmark tool and set -n to 100000 or more. Maybe it's a bug.


[test_lib] Fix abstract_type & compatible_type

Hi,
This is just a bugfix PR.
Erik

Hi Erik,
It seems OK to me, merging now.


Adding randomized expression building and rolling for tests

adds randomized expression building ExDiceRoller.ExpressionBuilder, including randomized variables, options, and all operators but exponentiation
adds large-scale randomized rolls using ExDiceRoller.RandomizedRolls, which builds randomized expressions via ExDiceRoller.ExpressionBuilder with unexpected errors being accumulated and returned
uses the above to perform large-scale randomized expression testing
includes various fixes that have come out of the above testing

Pull Request Test Coverage Report for Build 49

60 of 60 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 46:
0.0%

Covered Lines:
192

Relevant Lines:
192

💛  - Coveralls

Pull Request Test Coverage Report for Build 49

60 of 60 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 46:
0.0%

Covered Lines:
192

Relevant Lines:
192

💛  - Coveralls


Appstudio update test-component-pac-ilml

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-ilml-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
9 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
18 seconds
inspect-image

✅ Succeeded
4 minutes
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
13 seconds
label-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-ilml-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
47 seconds
build-container

✅ Succeeded
17 seconds
inspect-image

✅ Succeeded
16 seconds
deprecated-base-image-check

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
13 seconds
clair-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
40 seconds
label-check

✅ Succeeded
9 seconds
show-sbom

✅ Succeeded
9 seconds
show-summary


Won't work because mplayer/ffmpeg can't handle https

Running somafm play groovesalad don't play anything.
Gives error when press m
  Playing   SomaFM Groove Salad

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: This socket has been ended by the other party
    at Socket.writeAfterFIN [as write] (net.js:285:12)
    at ReadStream.<anonymous> (/Users/wolf/.nvm/versions/node/v4.8.0/lib/node_modules/somafm/cli.js:149:25)
    at emitOne (events.js:77:13)
    at ReadStream.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:153:18)
    at ReadStream.Readable.push (_stream_readable.js:111:10)
    at TTY.onread (net.js:537:20)

Problem is probably with https links
https://api.somafm.com/channels.json returns https links to playlists
running mplayer -playlist https://api.somafm.com/groovesalad256.pls returns
https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.
running mplayer -playlist http://api.somafm.com/groovesalad256.pls works
Tried reinstall ffmpeg and mplayer.
upd: looks like in my case mplayer uses internal ffmpeg
$nvm current
v4.8.0

$brew reinstall ffmpeg --with-libvpx --with-libvorbis --with-openssl --with-theora --with-x265 --with-fdk-aac
$brew install mplayer --HEAD

The playlist files in channels.json are always referenced via HTTPS:

channels.json (HTTPS)
channels.json (HTTP)

Fetching the channels per HTTP won't fix your problem. I'm thinking about parsing the playlist files manually and passing the direct stream URL (http://ice1.somafm.com/groovesalad-256-mp3) to MPlayer. That should solve it.

Just released 2.0.0. Direct stream URLs are passed to MPlayer now instead of playlist URLs.
@diimdeep The HTTPS problems should be fixed now. Feel free to reopen this issue if it still doesn't work for you.


test: save hparams to yaml

What does this PR do?
loading Attrib params from YAML
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?

        If stream is None, return the produced string instead.
        """
>       return dump_all([data], stream, Dumper=Dumper, **kwds)
E       TypeError: dump_all() got an unexpected keyword argument 'sort_keys'


Suggestion: Remove anvil damage

In the same vein as disabling anvil level scaling, the option to disable damage to an anvil from using it/dropping on entities or blocks would be appreciated.

I don't see why not.

Sorry for the late reply, but I think Anvil Fix would do it better than I could.


visualize the trained model

Hi, thanks very much for your open source.
When I run python ../flow/visualize/visualizer_rllib.py traind/model/path 200 --horizon 2000 --gen_emission, I found that the SUMO-GUI was opened a lot. In addition, I found that the SUMO-GUI only performs fixed-time signal control instead of using trained model. May I ask if you have encountered this problem?
What's more? May I ask if you use the trained output files or the visualizer_rllib output files to measure agents' performance? THe trained output files refer to the CoTV/output files when training the model. The visualizer_rllib output files refer to the Visualize/output files when run visualizer_rllib.py.
I am looking forward to hearing from you.

About the fixed-time signal control, please refer to Issue #4, let me know if any further questions

The experiment results in CoTV paper are averaged from the output files in 18 episodes after training convergence, covering the randomness of urban traffic and the stochasticity of DRL model operation.
After training has converged, either the output files when training the model or running visualizer_rllib.py can be used in the method evaluation, because visualizer_rllib.py actually restores the same trained model by checkpoint files:
https://github.com/Guojyjy/CoTV/blob/5ce1a95cc52d7a108294488a701025b488787f07/flow/flow/visualize/visualizer_rllib.py#L155


图片错误

Description
HTML的图片里一阶拓扑非平凡项的图洞都捅出来了
(Optional:) Please add any files, screenshots, or other information here.

(Required) What is this issue most closely related to? Select one.
Choose One
Internal issue ID
0e020721-25a6-4e4e-bf29-aac110d2824a
Paper URL
https://arxiv.org/html/2403.08696v1
Browser
Chrome/<IP_ADDRESS>
Device Type
PC

The picture in this article is wrong produced, the correct picture is just a disk with an additional pole which is the one loop order correction from non-perturbative effect.


not working

not working as of 12/12/2018
except for sometimes the radio works

hi) what exactly doesn't work?
I don't listen radio,  but everything else is fine for me now.


fix(driver): Resolve Exception during PerformUpgrade using LogScriptOutput #577

Just an update from 2001 to resolve https://github.com/DbUp/dbup-sqlite/issues/2
Checklist

[x] I have read the Contributing Guide
[x] I have checked to ensure this does not introduce an unintended breaking changes
[x] I have considered appropriate testing for my change

Description
Breaking changes ⚠

Drop non supported frames.  (Netstandard 1.3/Mono)
Replace System.Data.SQLite with Microsoft.Data.SqLite
Create removed from TemporarySQLiteDatabase, it is now implicit

Note: targeting main because that is all I can see.

Thanks @jafin. Finally got to the refactor+upgrade and looks like I did many of the same things you did. I've merge in the v6 beta branch.
This is a good test, so worth including in the code base.


Complex normalization

Which issue(s) are closed by this pull request?
Changes proposed in this pull request:

adapt fft_norm setter and don't allow "rms" and "power" normalization of complex time signals
adapt complex setter and check if fit_norm is allowed
edit dsp.normalize accordingly

Thanks for taking care, I discovered the following issue:
signal = pf.Signal([1,2,3], 44100)
signal.fft_norm = 'rms'
signal.complex = True
signal.freq

signal.freq throws an error, because pf.dsp.fft.normalization is called.
How do we want to handle this? Check for the fft_norm in the setter of complex?

I'm wondering about the meaning of the 'amplitude' normalization for complex time signals.
A real-valued tones, it shows the amplitude of the tones in terms in the correct "implied unit" (see Ahrens et al., 2020) by compensating for the number of samples.
What does is mean in the context of complex signals? For example, is the concept of "complex tones" (=power signals) meaningful? Or is the 'amplitude' normalization just to the seen as compensation for the number of samples?

Maybe the example cos(2pift)+jsin(2pif*t) is a meaningful example. It results in a spectrum with 1 at +/- the frequencies with amplitude normalization. I'll approve :)


Train 244

🚂:two::four::four::train:

https://github.com/dcos/dcos/pull/1971 – Bump dcos-ui package to 1.11-rc.1
https://github.com/dcos/dcos/pull/1987 – Remove cosmos object storage

Enterprise Cosmos doesn't need a object store any more as this functionality is moved to package registry. Remove object store configuration from DC/OS. The current cosmos master ignores this flags, and this PR removes those unused flags from dcos.

https://github.com/dcos/dcos/pull/2040 – Update CentOS AMIs to version 7.4-1708

Related Issues

DCOS_OSS- Foo the Bar so it stops Bazzing.
DCOS- Foo the Bar so it stops Bazzing.

Checklist for all PR's

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and Review Process
What is the review process and when will my changes land?
All PRs require 2 approvals using github's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mesosphere-mergebot bump-ee

Huhu, can you still add https://github.com/dcos/dcos/pull/2038 (+ the corresponding downstream PR)? They got ready right now, so I am not sure if you've seen them.

@jgehrcke Yeah just noticed it when I was adding the corresponding EE PR and thought that I hadn't seen an OSS PR for it 😛 Will add.

@mesosphere-mergebot bump-ee

mergebot/enterprise/build-status/aggregate should succeed once the EE turns green with another approval. If not a status retrigger like running a tox build at other end should relay it properly.

@mesosphere-mergebot label ready for review

@mesosphere-mergebot merge-it


React Client improvements

Proposed

[x] Upgrade to react 18
[x] Move off of CRA in favor of Vite
[x] Update Typescript version
[x] Add basic .eslintrc and .prettierrc so that CI can run on this client

Moving to react 18
Unless we're using packages tied to react <18 (we can also upgrade them along with react!) we could definitely upgrade to the 18th version, it's been around for a while and seems stable enough.
Vite instead of CRA
CRA has been great for creating apps when there was no other big alternatives around, but has fallen behind both in performance and configurability compared to newer tools such as Vite.
The challenge in this step is probably set up a couple of things (such as jest, eslint) that  CRA brings out of the box while Vite does not
Upgrade TS version
Typescript has just released 4.9 whereas we're using 3.9 in the project, we're a full major behind.
Hopefully this upgrade is seamless since there isn't that much code

Regarding jest. There is no first-class support for Vite right now, there have been a lot of discussions in github but looks like the best alternative is to use vitest instead

Chakra issue with vitest

Another issue with chakra and the mocking of window global:
https://github.com/chakra-ui/chakra-ui/discussions/6664

Hey @lakardion , thanks for working on this! I'm still working on getting up to speed with the advantages of using Vite vs. CRA, and any tradeoffs included in that migration. But here are some of my thoughts on the direction I think the React side of the bootstrapper should be headed in:
Rest vs. GraphQL
The power of the bootstrapper is that it can give us flexibility when choosing a tech stack for various client projects, as well as a great developer experience by providing sensible defaults and tooling. We currently have GraphQL set up to work well, so it makes the most sense for us to build on that existing functionality rather than replace it.
Using jest vs. vitest
I think the key here is to set a smooth migration path and decent support for both Vue and React. Both stacks don't need to be exactly the same, but the more we can maximize cross-compatibility, the more flexibility we have when staffing projects due to a lowered learning curve. So whichever direction we go should keep that as a goal. I'll dig more into each framework before giving an opinion on my personal preference.
Chakra vs. Tailwind
We've established as a team that we're going to move toward adopting Tailwind as a CSS framework with an accompanying design system that will allow smoother handoffs between dev and design and quicker implementation time for MVP builds. In light of that, maybe this is a good place to work on adding in Tailwind? That way we can get ahead of any hurdles in that adoption. At the very least, we won't have to worry about the issues with Chakra testing (tbh we haven't done a ton of front end testing anyway). The current version of the bootstrapper still allows us to generate Chakra projects without these issues.
Let me know your thoughts! I'll spend more time reviewing this week and dedicate time to helping out where I can.

@OKitsMikael Thank you very much for your feedback.
Here are my thoughts:
Regarding Rest vs GraphQL
I totally agree with you here to keep both approaches. The attached PR latest changes removed Gql code due to :

How hard it was to be able to swap one for the other whenever someone were to use the library. You can see my attempt in this commit: (which I ended up reverting). I felt a bit overwhelmed on both the UX and DX results if we added such a bifurcation for gql and rest.
As of DX: we would have to rename main.gql.tsx or main.rest.tsx to main.tsx to run the app with the corresponding api approach.
In terms of UX, it would require users to run a script after the bootstrapper finished, to erase all related traces (packages, and file variants) of the picked api approach's counterpart.
I saw the vue app was just Rest so I thought it would fit to have Rest default in both?
Anyhow the 2nd was just an self-excuse to keep rest only.
I thought we would probably want a gql and a rest template. Rather than keeping the same template for both? What do you think?.
Cookie cutter should use the answer from Use GraphQL? (which right now it is only for the server code afaik) and choose either react-rest or react-gql templates

jest vs vitest
To be honest I did not have real issues with this swap (except for the mentioned issue with Chakra). They are both pretty much the same and share most of their apis at least for the base functions (describe, it, expect). So I'm eager to hear from what you gather after checking them out.
Something worth noting is that vite, and vitest come from the Vue community so they most likely will integrate great with Vue.
Chakra - Tailwind
Glad to hear the team is shifting towards using tailwind!.
We worked in a couple of projects already with Pari where we have added tailwind starting off from bootstrapper so I definitely have the code around for this and I can add it to the attached PR

Oh and about this:

I'm still working on getting up to speed with the advantages of using Vite vs. CRA, and any tradeoffs included in that migration.

If you like some drama here is a PR for React docs asking to change CRA for Vite as the main suggestion for creating new apps
https://github.com/reactjs/reactjs.org/pull/5487#issuecomment-1409720741

@OKitsMikael Updated the PR adding back graphql and branching both rest and gql approaches through cookiecutter templating


WIP: SSH

This is exactly the same as my other SSH PR, I'm just an idiot. :)

@sthulb ha np

@ehazlett Care to test?

@sthulb this needs a rebase please.  thanks!

@ehazlett rebased.

@sthulb crap i just merged some more before seeing this.  so sorry!  please ping me on irc when you get it so I can take a look before anything else! :)

@ehazlett Apparently there were some issues with a rebase...

A big +1 for this! This would improve windows command line prompt (cmd.exe) & PowerShell experience a great deal for users as Windows by default doesn't have ssh.exe in PATH.

So it turns out that writing a SSH client is pretty hard :stuck_out_tongue:

@sthulb hehe that's no surprise at all. I think it makes sense to make this investment here rather than boot2docker, since that is going to go away. So I may take a look into the code as well in the next couple of weeks. :-)

@ahmetalpbalkan I have a fully working client in a branch now.

@sthulb oooh that's sweet would love to try out.

@ahmetalpbalkan See #909!


🐛 Dart command not found flutterfire cli on Debian 10

Bug report
Describe the bug
Installed flutter fire cli on debian 10 buster and ran flutterfire configure. Got dart: command not found
Steps to reproduce
Steps to reproduce the behavior:

Create a new project
Add to pubspec.yaml

firebase_core: ^1.10.0
firebase_messaging: ^11.2.5

Run:

# Install the CLI if not already done so
dart pub global activate flutterfire_cli

# Run the `configure` command, select a Firebase project and platforms
flutterfire configure

Actual Output

Expected behavior
The CLI should find dart and generate the required files

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on Debian GNU/Linux 10 (buster) 4.19.0-18-amd64, locale en_IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
[✓] Connected device (2 available)

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.14.4
Flutter SDK 2.5.3
state_mve 1.0.0+1

dependencies:
- cupertino_icons 1.0.0
- firebase_core 1.11.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_messaging 11.2.5 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.8.1 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.1.0
- charcode 1.3.1
- clock 1.1.0
- collection 1.15.0
- fake_async 1.2.0 [clock collection]
- firebase_core_platform_interface 4.2.3 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.5.3 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_messaging_platform_interface 3.1.5 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.2.6 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- js 0.6.3
- matcher 0.12.10 [stack_trace]
- meta 1.7.0
- path 1.8.0
- plugin_platform_interface 2.1.2 [meta]
- sky_engine 0.0.99
- source_span 1.8.1 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.2 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0 [collection]
- vector_math 2.1.0

I went through /home/hemil/.pub-cache/bin/flutterfire which is where pub stored the flutterfire command. The shebang was:
#!/usr/bin/env sh

Changing it to:
#!/usr/bin/bash

worked.
Note: It worked on my MacOS 12.0.1 without any modifications. This maybe totally due to some configuration of my system but I hope its existence as an issue helps someone in the future.

Hi @HemilTheRebel, Thanks for filing the issue. It seems like the fluttefire tool is not able to find the dart tool located at /flutter/bin/dart., Could you please check if you dart file located at /flutter/bin/dart?
if so, please try running dart in your terminal and check if you get any error or output from the dart tool.

My dart installation comes from flutter. Running dart --version outputs:
Dart SDK version: 2.14.4 (stable) (Wed Oct 13 11:11:32 2021 +0200) on "linux_x64"

Running flutter --version outputs:
Flutter 2.5.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 18116933e7 (3 months ago) • 2021-10-15 10:46:35 -0700
Engine • revision d3ea636dc5
Tools • Dart 2.14.4

My dart tool works fine. The problem seems to be that because the shebang uses env, it seems to ignore my .bashrc where I have set the path to include flutter's bin

Thanks for the info, I am unable to reproduce the issue, Leaving this issue open for further investigation.

Since you are getting the error dart command not found after running flutterfire configure,
according to the CLI documentation, any issues using the tool need to be reported in dedicated repo: https://firebase.flutter.dev/docs/cli/#reporting-an-issue, so please open this issue here https://github.com/invertase/flutterfire_cli/issues
Closing from here.


A bug appears in case you have start/end date in recurring events

Bug description
A bug appears in case you have start/end date in recurring events, a lot of events created in the first day.
I got your recurring-events example and just added the lines below:
{
      start: new Date(),
      end: new Date(),
      title: 'Daily',
      color: colors.red,
      rrule: {
        freq: RRule.DAILY,
        byweekday: [RRule.MO, RRule.SU, RRule.WE, RRule.TU]
      }
    }

The 2 lines below added to the example above:
      start: new Date(),
      end: new Date(),

Working plunker that reproduces the issue
http://plnkr.co/edit/zda0isH8vF0uamikctlX?p=preview
As you know, no one save recurring events separated in a database, you create an event and set it as "recurring event" in your calendar, so in your calendar, you will have start/end date by default.
Dirty solution:
I think there should be better solution than deleting start end properties manually like:
delete event.start;
delete event.end;

If I'm not mistaken, you're using angular-calendar which is a different project, available here ;)


Reolink issue "codecs not match: H265,AAC" in Chrome (PC) only

Hi,
I'm using a Reolink E1 Outdoor POE which I've configured as follows:
  streams:
    your_reolink_camera:
      - "rtsp://myuser:mypwd@<IP_ADDRESS>:554/h265Preview_01_main"

I can open the stream from the go2rtc webui from a Win PC on Edge and on Chrome on an Android device.
But when trying to open the stream via Chrome on a Windows PC the camera video is not displayed. Just getting a black screen with a play/pause button at the bottom.
I'm getting this error in the log
2023-10-19 22:38:11.910712571  22:38:11.910 TRC [api] GET /api/ws?src=your_reolink_camera <IP_ADDRESS>:60617 2023-10-19 22:38:12.210116329  22:38:12.210 DBG [webrtc] new consumer url=your_reolink_camera 2023-10-19 22:38:12.219684568  22:38:12.219 DBG [webrtc] add consumer error="codecs not match: H265,AAC"

https://github.com/AlexxIT/go2rtc#codecs-madness

thanks @AlexxIT.
I've seens this before. But not sure what I can do  to make it work as well on Chrome on a Win desktop?
I'm using the latest version of the Chrome Browser, shouldn't that support HVEC/H265 ?
I've also tried to use the 264 stream
rtsp://myuser:mypwd@<IP_ADDRESS>:554/h**264**Preview_01_main
But also that does not work.

Have you seen another error for second stream?


Migrate SignInPage to function component ... again

Details
https://github.com/Expensify/App/pull/19498 was reverted. It seems like this one-liner change resolves the problem, so that's the only significant diff between this PR and https://github.com/Expensify/App/pull/19498.
Fixed Issues
$ https://github.com/Expensify/App/issues/16301
Tests

Sign up for NewDot with a new account.
Sign in to NewDot with an account that does not require 2FA by copy/pasting the magic code.
Sign in to NewDot with an account that does not require 2FA by clicking on the magic code.
Sign in to NewDot with an account that requires 2FA by copy/pasting the magic code.
Sign in to NewDot with an account that requires 2FA by clicking on the magic code.

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

Offline tests
None - the sign-in flows are all online-only.
QA Steps
Same as tests.

[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 / Chrome
[x] iOS / native
[x] iOS / 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 approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[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 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(themeColors.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 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.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/47436092/a79f6042-34ac-4298-ba30-9e8995da9e1c

https://github.com/Expensify/App/assets/47436092/d83b31ce-af75-4a78-9f82-f6bd3d7e2e19
https://github.com/Expensify/App/assets/47436092/478ea7d3-6166-4f7a-9ae4-825a21659483

Mobile Web - Chrome
https://github.com/Expensify/App/assets/47436092/73e9b4e5-75d3-4f13-a534-4763c1e12d00

Mobile Web - Safari
https://github.com/Expensify/App/assets/47436092/26c016d6-6acd-45d5-90e6-6c7f8a972455

Desktop
https://github.com/Expensify/App/assets/47436092/ebc298d4-fb26-4ae4-aa8a-d85d88187604

iOS
https://github.com/Expensify/App/assets/47436092/bcff39f1-a85e-47c8-bd96-3c45bc3f539f

Android
https://github.com/Expensify/App/assets/47436092/b56defd7-972b-4602-9dfe-099684fb6e31

Use the links below to test this build in android and iOS. Happy testing!

:test_tube::test_tube: Use the links below to test this build in android and iOS. Happy testing! :test_tube::test_tube:

android :robot:
iOS :apple:

https://ad-hoc-expensify-cash.s3.amazonaws.com/android/20708/index.html
https://ad-hoc-expensify-cash.s3.amazonaws.com/ios/20708/index.html

desktop :computer:
web :spider_web:

https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/20708/NewExpensify.dmg
https://20708.pr-testing.expensify.com

: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.

🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.3.37-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.37-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Positioning of presub and presup (HTML-CSS, SVG output)

When one of presub or presup have different width then smaller string is align to left instead of right (HTML-CSS and SVG output)
Sample: https://jsfiddle.net/1va6y0xf/1/
Attachment shows NativeMML output in firefox (this one is correct):

This is a duplicate of #1072.  The fix is ready and will be included in v2.6.


Unable to add custom repositories

This is a new installation of hacs, using 0.13.2
Home Assistant 0.97.2, running in docker
I am unable to add custom repositories. I have not been able to add any at all.
The example below is from trying to install hassio-addons/addon-jupyterlab-lite as plugin.
Error message:
Could not add 'hassio-addons/addon-jupyterlab-lite' with type 'plugin' at this time.
If you used the correct type, check the log for more details.
Logs:
2019-08-26 15:00:09 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsapi/78040ee2-214e-4b0d-aac7-ac47cc0491a6-17f71034-2b59-47c3-8ced-1efc93c055b1/repository_register to <IP_ADDRESS> (auth: False)
2019-08-26 15:00:09 DEBUG (MainThread) [hacs.api] Endpoint (repository_register) called
2019-08-26 15:00:09 DEBUG (MainThread) [hacs.api] Skipping hassio-addons/addon-jupyterlab-lite
2019-08-26 15:00:09 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/78040ee2-214e-4b0d-aac7-ac47cc0491a6-17f71034-2b59-47c3-8ced-1efc93c055b1/settings to <IP_ADDRESS> (auth: False)
2019-08-26 15:00:09 DEBUG (MainThread) [hacs.http] Endpoint (settings) called
2019-08-26 15:00:10 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/78040ee2-214e-4b0d-aac7-ac47cc0491a6-17f71034-2b59-47c3-8ced-1efc93c055b1/static/materialize.min.css.gz to <IP_ADDRESS> (auth: False)
2019-08-26 15:00:10 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/78040ee2-214e-4b0d-aac7-ac47cc0491a6-17f71034-2b59-47c3-8ced-1efc93c055b1/static/all.min.css.gz to <IP_ADDRESS> (auth: False)
2019-08-26 15:00:10 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/78040ee2-214e-4b0d-aac7-ac47cc0491a6-17f71034-2b59-47c3-8ced-1efc93c055b1/static/materialize.min.js.gz to <IP_ADDRESS> (auth: False)
2019-08-26 15:00:10 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/78040ee2-214e-4b0d-aac7-ac47cc0491a6-17f71034-2b59-47c3-8ced-1efc93c055b1/static/static/hacs.css to <IP_ADDRESS> (auth: False)
2019-08-26 15:00:10 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/78040ee2-214e-4b0d-aac7-ac47cc0491a6-17f71034-2b59-47c3-8ced-1efc93c055b1/static/hacs.js to <IP_ADDRESS> (auth: False)
2019-08-26 15:00:10 DEBUG (MainThread) [homeassistant.components.http.view] Serving /hacsweb/78040ee2-214e-4b0d-aac7-ac47cc0491a6-17f71034-2b59-47c3-8ced-1efc93c055b1/static/webfonts/fa-solid-900.woff2 to <IP_ADDRESS> (auth: False)
Thanks
K-J

Try the hassio tab, HACS does not handle add-ons.


AZURE_PORT and AZURE_VIRTUAL_DIRECTORY are ignored for nuget package manager

Describe the bug
I have a repository that uses nuget to manage the dependencies of the different software modules there in. The repository is hosted on an Azure DevOps configured with port (8443) and a /tfs virtual directory, so the repository URL looks like this:
https://tfs.Org.com:443/tfs/Org/MozOrg/_git/ApiAffaires/
I use the extention v.<IP_ADDRESS>5 and when i try to run the pipeline with minimal settings like the following
To Reproduce
Steps to reproduce the behavior:

run pipeline with minimal settings

name: 'Dependabot'
trigger: none
pool:
  name: Build_Linux
  vmImage: 'ubuntu-latest'

steps:
- task: dependabot@1

With config file
version: 2
updates:
  - package-ecosystem: "nuget"
    directory: "/"
    schedule:
      interval: "daily"
    target-branch: "develop"
    labels:
      - "Nuget Dependencies"
    groups:
      angular:
        applies-to: version-updates
        patterns:
        - "@angular*"
        update-types:
        - "minor"
        - "patch"

look at the error, we can see that the API endpoint is good but the path to the repo itself is not
API enpoint (good) : https://tfs.org.com:443/tfs/
repository : https://tfs.Org.com/Org/MozOrg/_git/ApiAffaires/
Should be : https://tfs.Org.com:443/tfs/Org/MozOrg/_git/ApiAffaires/

Using '**https://tfs.org.com:443/tfs/**' as API endpoint
Pull Requests shall be linked to milestone (work item) 0
Pull Requests shall be labeled ["Nuget Dependencies"]
Working in Org/MozOrg/_git/ApiAffaires, 'develop' branch under '/' directory
Cloning repository into /home/dependabot/dependabot-updater/tmp/Org/MozOrg/_git/ApiAffaires
/home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.247.0/lib/dependabot/file_fetchers/base.rb:175:in `rescue in clone_repo_contents': Cloning into '/home/dependabot/dependabot-updater/tmp/Org/MozOrg/_git/ApiAffaires'... (Dependabot::RepoNotFound)
fatal: repository 'https://tfs.Org.com/Org/MozOrg/_git/ApiAffaires/' not found
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.247.0/lib/dependabot/file_fetchers/base.rb:163:in `clone_repo_contents'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11294/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.11294/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.11294/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from bin/update_script.rb:505:in `<main>'
/home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.247.0/lib/dependabot/shared_helpers.rb:429:in `run_shell_command': Cloning into '/home/dependabot/dependabot-updater/tmp/Org/MozOrg/_git/ApiAffaires'... (Dependabot::SharedHelpers::HelperSubprocessFailed)
fatal: repository 'https://tfs.Org.com/Org/MozOrg/_git/ApiAffaires/' not found
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11294/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.11294/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.11294/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.247.0/lib/dependabot/file_fetchers/base.rb:792:in `block in _clone_repo_contents'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.247.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.11294/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.11294/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.11294/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.247.0/lib/dependabot/file_fetchers/base.rb:776:in `_clone_repo_contents'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11294/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.11294/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.11294/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.247.0/lib/dependabot/file_fetchers/base.rb:165:in `clone_repo_contents'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11294/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.11294/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.11294/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from bin/update_script.rb:505:in `<main>'

Expected behavior
the repo complete path is wrong
Actual result : https://tfs.Org.com/Org/MozOrg/_git/ApiAffaires/
Expected result : https://tfs.Org.com:443/tfs/Org/MozOrg/_git/ApiAffaires/
Extension (please complete the following information):

Extension on Azure DevOps [Azure DevOps Server] > [Azure Pipelines] > Dependabot
v.<IP_ADDRESS>5

Still having the bug in <IP_ADDRESS>8

Not sure, but have you tried specifying extra environment variables? Recently we also tried it out and as far as I remeber we had a similar issue and were able to solve it this way...
steps:
- task: tingle-software.dependabot.dependabot.dependabot@1
  displayName: Dependabot
  inputs:
    dockerImageTag: latest
    extraEnvironmentVariables: 'AZURE_HOSTNAME=<your-host>/tfs;AZURE_ORGANIZATION=<collection>

I tryed few combinaison and, if I change the variable, it change the API Endpoint that was fine before. So after it doesnt find the API and vice me a Repo Not Found error
Here is the results of the suggestion you made, but most of the thing i tryed gives me this error
Status: Downloaded newer image for ghcr.io/tinglesoftware/dependabot-updater-nuget:1.28
Using 'https://tfs.org.qc.ca/tfs:443/tfs/' as API endpoint
Pull Requests shall be linked to milestone (work item) 0
Pull Requests shall be labeled ["Nuget Dependencies"]
Working in Org/MozOrg/_git/ApiThing, 'cpbe/Dependabot-Extension-test' branch under '/' directory
Cloning repository into /home/dependabot/dependabot-updater/tmp/Org/MozOrg/_git/ApiThing
##[debug]Ressources d’environnement de l’agent – Disque : / 9102,00 Mo disponible(s) sur 15350,00 Mo, Mémoire : 2136,00 Mo utilisé(s) sur 7653,00 Mo, Utilisation de l’UC : 6,73 %
/home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.253.0/lib/dependabot/file_fetchers/base.rb:175:in `rescue in clone_repo_contents': Cloning into '/home/dependabot/dependabot-updater/tmp/Org/MozOrg/_git/ApiThings'... (Dependabot::RepoNotFound)
fatal: Authentication failed for 'https://tfs.org.qc.ca/tfs/Org/MozOrg/_git/ApiThing/'

Thanks for the effort @hypetsch

true, you are right - sorry.
Just had a quick look in the logs from back then, the repo URL seems to be ok but the API endpoint is then in the form of https://tfs.org.qc.ca/tfs:443/tfs/

Closing as duplicate of #1034
We do not use the OnPrem service, this will only be fixed by a contribution from users of the same.


97-configurable-debounce-time

Add a debounceTimer configuration option
This PR adds a debounceTimer config option that allows for setting the debounce rate lower than the default of 200ms.
This makes it possible to set the debounce timer as low as zero milliseconds so that pressing CMD+Z will only delete a single character at a time instead of sometimes deleting more than one character at a time.

@trevrdspcdev Hi there!
Thanks a lot for contribute in editorjs-undo, it is a great feature, and it is working as expected. Only one thing, please add the feature in the Readme file.
Thanks again, I will look forward to your new commit.
Best,
Mario

@trevrdspcdev Hi there! Thanks a lot for contribute in editorjs-undo, it is a great feature, and it is working as expected. Only one thing, please add the feature in the Readme file.
Thanks again, I will look forward to your new commit. Best, Mario

Thanks Mario! I've updated README.md as requested. 🙂

@trevrdspcdev Hi there! Thanks a lot for contribute in editorjs-undo, it is a great feature, and it is working as expected. Only one thing, please add the feature in the Readme file.
Thanks again, I will look forward to your new commit. Best, Mario

Thanks @MarioRodriguezS! I've updated README.md as requested. slightly_smiling_face

Perfect! @trevrdspcdev, the pull request will be accepted, and the feature will be available in the v2.0-rc.3 soon.
Best,
Mario


Accesibility improvements and overflow fix on main page

Fixed old index.html still available.
https://github.com/netcoreconf/netcoreconf20201/issues/3#issue-1973926881

Added fix to issue https://github.com/netcoreconf/netcoreconf20201/issues/5


React-query with customClient throws Invalid hook call.

What are the steps to reproduce this issue?
Call orval with a custom client when generating code for react-query
My config file:
module.exports = {
  roma: {
    // name of your api
    input: {
      target: './roma/openapi.json', // swagger file. can be yaml or json, and can point to an external resource (url)
    },
    output: {
      mode: 'tags-split', // Split the methods by tags.
      target: 'api', // where to output the apis if mode = "single". This prop is mandatory even if not single ¯\_(ツ)_/¯
      schemas: 'model', // Where to output the type definitions
      client: 'react-query', // Generate react-query hooks
      workspace: 'roma/', // Where to output the api files
      mock: false, // Whether to generate msw files for mocking tests etc.
      prettier: true, // Format the output with prettier
      override: {
        useTypeOverInterfaces: true, // Prefer type to interface {}
        mutator: {
          path: './use-client.ts', // Path to the custom httpClient (within the workspace-dir)
          name: 'useFusionClient', // Name of the hook to use
        },
      },
    },
  },
};

What happens?
Within the generated code, it generates this function:
export const getAllCategories = (signal?: AbortSignal) => {
  return useFusionClient<CategoryDto[]>({
    url: `/api/apps/categories`,
    method: 'get',
    signal,
  });
};

This will throw the error Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons
What were you expecting to happen?
Generated code should not use the getAllCategories function, but go directly from useGetAllCategories to useFusionClient
Any logs, error output, etc?
…
Any other comments?
…
What versions are you using?
Operating System: MacOS
Package Version: Orval v6.20.0
Browser Version: N/A

Ugh nvm, I had cocked up my custom hook.

Thanks for posting back!


[deprecation] Make service create|update -d=false the default

In https://github.com/docker/docker/pull/31144 we added support for -d and concluded that it should eventually default to false, however in order not to break the behavior we temporarily defaulted to -d=true and added a warning.
This issue is to keep track of:

Making -d=false the default
Removing the warning

It should be marked P1 and milestoned with the proper release.
Are we thinking 17.09?
@thaJeztah What's your opinion? Once we figure this out, would you mind creating the appropriate milestone and setting it to this issue?
I think in the future in order to properly handle deprecation, we should probably have milestones for the next 12 months or so and create P1 issues in advance so we never forget at release time.
/cc @aaronlehmann @vieux

I think we came to changing the behaviour after one release yes, so 17.09 sounds good to me. There was still discussion about providing a ~/.docker/config.json option to override the default (so that users can either switch early, or use the "asynchronous" option also in future versions if desired); would that still be something to consider?
If we're ok with changing the default in 17.09, we should add it to https://github.com/docker/docker/blob/master/docs/deprecated.md


Unable to infer base type using is on Flutter 2.0

I am getting this error The getter 'loadFromNetwork' isn't defined for the type 'Event & LoadEvent'.
Before flutter 2.0 this wasn't an issue with is check it was able to infer types from base classes.
Steps to Reproduce
Here is an example snippet identical to our code.
import 'package:flutter/material.dart';
abstract class Base{
  String get eventType;
  int get originator;
  // other data
}
abstract class NetworkLoadEvent extends Base {
  bool get loadFromNetwork;
  bool get showLoading;
  bool get showToast;
  String get toastMessage;
}

abstract class BaseEventClass<
  Event extends Base,
  LoadEvent extends NetworkLoadEvent>{

  @protected
  void mapEventToState(
    Event event,
  ) {
    if (event is LoadEvent) {
      // event.loadFromNetwork is error
     // The getter 'loadFromNetwork' isn't defined for the type 'Event & LoadEvent'.
      if (event.loadFromNetwork) {
        // load from network
      }
    }
  }

  @protected
  void doSomething(LoadEvent e){
    // more work
  }

  @protected
  void doSomethingMore(LoadEvent e);
}

Expected results:
Should infer the types automatically like it did before Flutter 2.0
Actual results:
The getter 'loadFromNetwork' isn't defined for the type 'Event & LoadEvent'. Try importing the library that defines 'loadFromNetwork', correcting the name to the name of an existing getter, or defining a getter or field named 'loadFromNetwork'.
Current Solution
Cast using as  (event as LoadEvent).loadFromNetwork but this gives two lint errors of  avoid_as and unnecessary_cast. It's a round-around solution but any solution from flutter like it used to work before 2.0 would be better.

Flutter analyze
The getter 'loadFromNetwork' isn't defined for the type 'Event & LoadEvent'. Try importing the library that defines 'loadFromNetwork', correcting the name to the name of an existing getter, or defining a getter or field named 'loadFromNetwork'

Flutter doctor verbose
[√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.19042.685], locale en-US)
    • Flutter version 2.0.1 at N:\Wazo\Projects\flutter\flutter_windows_v0.5.1-beta\flutter
    • Framework revision c5a4b4029c (4 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    • Android SDK at O:\Programs\Android
    • Platform android-30, build-tools 29.0.0
    • ANDROID_HOME = O:\Programs\Android
    • Java binary at: O:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at O:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code, 64-bit edition (version 1.54.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.20.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.190
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 88.0.705.81

! Doctor found issues in 1 category.

Hi @hey24sheep
From what I can see, the issue is related to Dart rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you

@pedromassango Hi, I have already added doctor output and minimal usable code use the code on https://dartpad.dev/flutter and you will get the error.
If you want to run it locally, just default pubspec.yaml will work. The code I provided is not dependent on any 3rd party.
I have also already added comment on the line which is giving the issue.


How can i get "api_key"?

Hi!
How can i get an "api_key"?

Hello, you get "api_key" when you add an application to the Yandex advertising network, but in the plugin you only need to specify the id of the ad block that you created, since Yandex automatically selects "api_key". Or did you mean something else?

Привет! Как я могу получить "api_key"?

Hello, you get "api_key" when you add an application to the Yandex advertising network, but in the plugin you only need to specify the id of the ad block that you created, since Yandex automatically selects "api_key". Or did you mean something else?

Hi! How can i get an "api_key"?

Hello, you get "api_key" when you add an application to the Yandex advertising network, but in the plugin you only need to specify the id of the ad block that you created, since Yandex automatically selects "api_key". Or did you mean something else?