feat: add support for multiple new languages to be parsed

This PR does a lot of things, but the only meaningful change is addition of new languages the support needs to be piped down to pydracula and cdracula as well.
And more tests.

Closed due to #14


.xls file creation

I was able to get a .xls file along with the .json whenever I ran the stock transactions option yet now can't get a .xls file created.

Are you seeing any error on the command line? If yes can you please send me the error?
I did update the version to use python3. So make sure you are using python3.

Yep using python 3 ...

Sorry been busy, but I just tested this and the stock transactions xls file is getting generated. Depending on the number of your transaction it will take some time to generate the file. My file was about 216Kb and around 1300Line items and it took about 5-6 minutes to complete.


Fix nil-pointer dereference of BuildSpec Strategy

Changes
There were cases in which the Build had a nil Strategy, which is copied into
the BuildRun Status.BuildSpec and later used internally, for example the
metrics code is using the Strategy field. In case it is nil, the function
call for the metrics failed with a nil-pointer dereference.
Introduce BuildSpec convenience function called StrategyName to return the
name of the strategy, which includes a nil safety check.
Replace all occurrences of BuildSpec.Strategy.Name with the newly introduced
function to avoid panics.
Submitter Checklist

[X] Includes tests if functionality changed/was added
[ ] Includes docs if changes are user-facing
[ ] Set a kind label on this PR
[x] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes
Fix nil-pointer dereference with panic in case Build spec Strategy field was not set.

/retest

Let me try to reopen to re-trigger the test.


[Snyk] Security upgrade org.eclipse.lyo.oslc4j.core:oslc4j-jena-provider from 5.0.0-SNAPSHOT to 5.0.0.Final

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

src/server-qm/pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

536/1000  Why? Recently disclosed, Has a fix available, CVSS 5
XML External Entity (XXE) Injection SNYK-JAVA-ORGECLIPSELYOOSLC4JCORE-2945713
org.eclipse.lyo.oslc4j.core:oslc4j-jena-provider:  5.0.0-SNAPSHOT -> 5.0.0.Final
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix errors related to executing dotnet

The problem arises from rm rf/usr/share/dotnet. The solution is to first run apt-get update to update the software package list, and then run apt-get remove - y '^ dotnet -. *' to solve the execution error issue. I have tested and just submitted the issues, but I don't know if they will be killed. You can also fork the project and modify it yourself in the action.yml file by adding a sudo apt-get update before line 174, And there is a duplication between sudo rm - rf/usr/share/dotnet and sudo apt-get remove - y '^ dotnet -. *'. Change to sudo rm - rf/usr/share/dotnet | | true and sudo apt get remove - y '^ dotnet -. *' | | true

Please consider merging this one... Without this PR builds will continue to fail

Workaround: If you set only android to true, it runs.

@jlumbroso @gruve-p @rake5k ^^

@jlumbroso @gruve-p @rake5k ^^

I am not the maintainer of this repo nor do I have any merge rights, Pinging me will not solve your request.

@ywt114 Thanks for your PR! I will merge this, but for future reference, rather than true, I prefer a log error message, as @ChrisCarini did very beautifully here:
https://github.com/jlumbroso/free-disk-space/pull/8#pullrequestreview-1580280900

I prefer a log error message, as @ChrisCarini did very beautifully here:

Thank you for the kind words, @jlumbroso ! 😃


Adjust spacing between Sections to be equal

Small cosmetic issue, but right now there is a significant amount of extra space between the Required Items section and the Misc. Items section (at least compared to the amt of space between the Misc. Items and Misc. Keys section). This seems to only be noticeable when the browser window size is adjusted to force each section to appear in a single column. See screenshot: https://i.imgur.com/mX5ffci.png

Related to #10. I'll leave it open since it can be fixed separately, but this is a much larger scope ticket that would also address this.


[FEATURE]Use Cloudflare on chartjs.org to provide HTTPS access?

Many websites hosted on Github Pages using Cloudflare as SSL CDN. They have free SSL support.
Consider to use it for HTTPS access on chartjs.org?

@fanthos why is it an issue that the website and docs are not using SSL?

@simonbrunel It's not critical, but these days it's very easy to set up SSL in a few minutes with Cloudflare or Netlify, so I think it would be worth doing.

I'm not sure it's a "few minutes" with Netlify in our case (see my reply to #5286)
How works Cloudflare? do we just need to configure DNS?

I am not familiar with Netlify.
Cloudflare requires to change dns server and it works like reverse proxy.

Yep, Cloudflare imports all of your existing DNS records, then you to switch over to their nameservers. Then SSL just works automatically once you proxy the requests through Cloudflare.

@nnnick, can you have a look how to setup an SSL certificate for chartjs.org (maybe using Cloudflare?), since you are the only one to have access to the domain admin?

Github now support HTTPS on custom domain.
https://blog.github.com/2018-05-01-github-pages-custom-domains-https/


remove beta libs

brought up local stack with branch of dp-authorisation florence login no adverse effects!


Consider EIP-5920 for inclusion

What was wrong?
I would like to add EIP-5920 as CFI.
How was it fixed?
I added EIP-5920 to the CFI list and table.
Cute Animal Picture

Codecov Report
Base: 71.84% // Head: 71.84% // No change to project coverage :thumbsup:

Coverage data is based on head (3355e88) compared to base (00b477a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #684   +/-   ##
=======================================
  Coverage   71.84%   71.84%
=======================================
  Files         570      570
  Lines       31570    31570
=======================================
  Hits        22681    22681
  Misses       8889     8889

Flag
Coverage Δ

unittests
71.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Oh wow, sorry I missed this, @Pandapip1 ! Would you mind cross-posting to an ACDE agenda so we can discuss on the call?

Oh wow, sorry I missed this, @Pandapip1 ! Would you mind cross-posting to an ACDE agenda so we can discuss on the call?

Sure!


Some .gs are ignored when pushing // Diff 'undefined'

I have 4 files in a script, two of them called 'onOpen.gs' and 'onEdit.gs'. This 2 files are ignored by the assistant. Instead of finding the changes in this 2 files, it gets next changes:

I pushed the 2 files with the terminal. When pulling them from the IDE, assistant keep ignoring the existing files in the IDE and suggest me to add them as new. When accepting to add them as new, next error is thrown:

I've been using the assistant for a month, and it's a recurrent bug: ignoring some files and/or detecting diffs in an 'undefined' file.

Hi, thanks for the feedback.
Can you provide a more detailed reproduction steps?
I've tried to add two files with onOpen.gs and 'onEdit.gs' in a test repo but they all seem worked as expected.

Thanks for your support :) I've been investigating and I think I have the bug:
When a .gs file contains a function with the same name it causes a bug. For instance:

hi, does it only happened when a file is named myFunction.gs?
i've managed to reproduce this when GAS IDE has a myFunction.gs file already. and seems like this file does not have a name filed which the others has in the GAS RPC response.
but there is no specification about this so i'm not sure wether this is a regular behavior.

oh, i found the cause. when a .gs file contains a function which function name(eg: doSomething()) is same as the file name(eg: doSomething.gs), the GAS RPC's response will omit the file name field(i don't know why).
so a quickly workaround is to give the file a different name from any of the function's name.
i'll continue try to solve this but the the RPC is so weird and without any document, i'm not sure it could be fixed.

@leonhartX I think it could be helpful to identify when this issue happens, warn the user, and perhaps allow them to have the js filename to be changed automatically.
I was thinking of either using  https://github.com/ariya/esprima or doing something similar to extract all of the function names in the apps script code.  Then I can compare to the script file names.
If there are conflicts we can either warn the user, or just add a suffix to the script file name - I can't think of any consequences of changing the script file name?

@gulliverhan Yes, I agreed that it's better to let user knows what's going wrong.
But I think it's difficult to do the analysis work, since user could change the filename and function name anytime, if we can not provide a consistent behavior in various situation, just a warn is enough.


Update Readme to reflect installation of python dependencies in the installation section.

Pointed out in #17.


Small vim window in the middle of screen

Hi
How can I make it so that whenever an iTerm 2 window is opened, and  a script which opens a tempfile in neovim is ran, this window opens as a floating small rectangle in the bottom middle part of the screen? I'm not very experienced with yabai commands and how to string them together, so any help would be appreciated.
I'm essentially trying to replicate something like this.

Oh, and for anyone familiar with i3wm, this was achived with the following:

bindsym $mod+m exec ~/text-scratchpad.sh```

That is a nice solution but I am doing something different that you might like:
# scratchpad
alt - v : /Applications/WezTerm.app/Contents/MacOS/wezterm start fish; \
          sleep 0.1 && /opt/homebrew/bin/yabai -m window --toggle float;\
          /opt/homebrew/bin/yabai -m window --grid 4:4:1:1:2:2

The first command is the terminal, I use the full path, but I think you could use the terminal name directly. The start fish is to run fish to start with wezterm, you could run your script there :).
This will be something similar to the first command with other terminals:
alacritty:
/Applications/Alacritty.app/Contents/MacOS/alacritty -e '/etc/profiles/per-user/m.manzanares/bin/fish'

kitty:
/etc/profiles/per-user/m.manzanares/bin/kitty --single-instance '/etc/profiles/per-user/m.manzanares/bin/fish'

then I need to sleep before running the yabai commands, so the terminal is already opened.
the end result:
https://user-images.githubusercontent.com/62728887/188142606-57896fba-3e34-4e3e-a474-47ee7f8fa35e.mov


How clangd works with multiple projects

Hello, I have multiple projects (so multiple compilation_commands.json files). They are all quite small, but share enormous common code. Compilation commands files are basically identical when it comes to flags and toolchain - they have to, as CMakeLists.txt uses same toolchain file and generates nearly identical compilation_commands.json files. But it seems that everytime I open different project I have to wait for clangd to index everything - sometimes it takes more than hour. Does it sound like misconfiguration on my part or is it to be expected?
Would it be viable to have clangd somehow run as a service that keeps everything in memory without need for restart everytime editor is closed?
And then would it be possible to have clangd run over the network? It would be great - we could setup central server with most of libraries (if not all) indexed and have clangd running there all the time - in such case it could even keep multiple indexes (for different configurations of libraries) and serve them depending on who wants what.
And since I'm dreaming, it would be great to have hierarchy of clangd servers, where central server has knowledge of all libraries and smaller servers (local, on client's machine) have knowledge of project-specific files only.

Hello, I have multiple projects (so multiple compilation_commands.json files). They are all quite small, but share enormous common code. Compilation commands files are basically identical when it comes to flags and toolchain - they have to, as CMakeLists.txt uses same toolchain file and generates nearly identical compilation_commands.json files. But it seems that everytime I open different project I have to wait for clangd to index everything - sometimes it takes more than hour. Does it sound like misconfiguration on my part or is it to be expected?
Would it be viable to have clangd somehow run as a service that keeps everything in memory without need for restart everytime editor is closed?

clangd should only perform that indexing once, and reuse it in the next runs(at least for the files that haven't changed). Could you provide more information about the directory layout and where compile_commands.json are located ?
In theory if the common code resides in a single directory and used by all other projects. that common code should only be indexed once.

And then would it be possible to have clangd run over the network? It would be great - we could setup central server with most of libraries (if not all) indexed and have clangd running there all the time - in such case it could even keep multiple indexes (for different configurations of libraries) and serve them depending on who wants what.
And since I'm dreaming, it would be great to have hierarchy of clangd servers, where central server has knowledge of all libraries and smaller servers (local, on client's machine) have knowledge of project-specific files only.

we are planning to work on something like this soon @usx95 and @kirillbobyrev can provide more information about those.

Hello, I have multiple projects (so multiple compilation_commands.json files). They are all quite small, but share enormous common code. Compilation commands files are basically identical when it comes to flags and toolchain - they have to, as CMakeLists.txt uses same toolchain file and generates nearly identical compilation_commands.json files. But it seems that everytime I open different project I have to wait for clangd to index everything - sometimes it takes more than hour. Does it sound like misconfiguration on my part or is it to be expected?
Would it be viable to have clangd somehow run as a service that keeps everything in memory without need for restart everytime editor is closed?

clangd should only perform that indexing once, and reuse it in the next runs(at least for the files that haven't changed). Could you provide more information about the directory layout and where compile_commands.json are located ?

compile_commands.json are located at the root of the project, this is where I start vim - I'm not sure what is the exact process of looking for these files and it seems that it always works. Never the less I have one gigantic directory where (cross-)compilers files reside (it is g++-9.2.0, so libstdc++) and other libraries (boost, libpqxx, protobuf, mqtt-cpp and a lot of others). When some library project reaches its target (so features are implemented and so on), it is packed into .deb file and installed - it is installed into this gigantic directory.
Other projects, ones that produce binaries and no external libraries, do not use anything except for stuff from this directory (and system headers for proper architecture, which reside in e.g. /usr/local/include) and each has its own compiler_commands.json file generated by CMake.
If clangd indeed reuses its compilation database (index files?), then most probably it is classical example of PEBKAC - I might have misconfigured something. I used clangd-10 from Debian repos provided by the clangd project.

And then would it be possible to have clangd run over the network? It would be great - we could setup central server with most of libraries (if not all) indexed and have clangd running there all the time - in such case it could even keep multiple indexes (for different configurations of libraries) and serve them depending on who wants what.
And since I'm dreaming, it would be great to have hierarchy of clangd servers, where central server has knowledge of all libraries and smaller servers (local, on client's machine) have knowledge of project-specific files only.

we are planning to work on something like this soon @usx95 and @kirillbobyrev can provide more information about those.

That would be absolutely awesome, especially if few users could use same running service and "federation" was supported.

Sorry I couldn't infer the information i was looking for from your description, let me put it this way:
Case 1
Let's say you've got a project in "/repos/common/" with a comp_cmds at "/repos/common/compile_commands.json".
then you've got some projects in "/repos/proj1/" and "/repos/proj2/" and have respective comp_cmds.json files in their source root.
Let's say you've opened "/repos/proj1/a.cc" clangd will index any file mentioned in "/repos/proj1/compile_commands.json" and resides under "/repos/proj1" and produce cache files inside "/repos/proj1/.clangd/index/". So it won't(well, shouldn't) index anything inside "/repos/common/". Note that it will still produce some index files for headers inside the common project, since they are indexed as a result of files in proj1 depending on them, but it won't parse any source file inside common project, unless you open a file in that project.
Once you open a file inside common project, it will trigger the same process for /repos/common/compile_commands.json.
While indexing any source file mentioned in a compile_commands.json, clangd will first check the cached version of that file and skip indexing if file contents haven't changed.
Case 2
"/repos/proj1" containing a subdirectory "/repos/proj1/common" and similarly for "/repos/proj2/" you've got a subdir "/repos/proj2/common" and there are comp_cmd.json files in:
"/repos/proj1/compile_commands.json"
"/repos/proj1/common/compile_commands.json"
"/repos/proj2/compile_commands.json"
"/repos/proj2/common/compile_commands.json"
once you open, /repos/proj1/a.cc clangd will again index everything inside proj1 directory except common subdirectory, as it has its own compile_commands.json. once you open a file inside "/repos/proj1/common/" it will be indexed similarly. but since "/repos/proj1/common" and "/repos/proj2/common" has their own compile_commands.json these projects won't be tied together, therefore won't share any cache hence will need to be indexed separately.

Sorry I couldn't infer the information i was looking for from your description

Sorry for that, I weren't sure what you were looking for and probably missed some (all :] ) details.
What you describe as Case 1 is how I have things set up. Let's say my setup is as follows:
/opt/common/
/repos/proj1
/repos/proj2
/repos/proj3
/opt/common/ is a directory where all custom libraries and compilers reside - paths to includes are shared via toolchain file by all CMakeLists.txt files in all /repos/projX projects. Note that it contains only headers - these are installed libraries.
Now each /repos/proj1 has its own compile_commands.json file generated by CMakeLists.txt. Basically any file in that projects #includes something from /opt/common/ directory - and in most cases this includes libstdc++ headers and boost headers. If my understanding is correct, clangd indexes file that I open (let's say main.cpp) and all its includes. This means that I have about half of directory /opt/common/ indexed separately for each project? This would explain why it takes so long after opening each file - since these projects are really small (most of them have three, four source fiels) but there is a lot of them it is a lot of indexing, especially since standard library and boost are used everywhere - I'll check it again because now it seems to me that it may be just my perception.
To be sure: in my case above (three projects, one common directory), /opt/common will be indexed three times, once for every /repos/projX directory?
And I just realised what you wrote in Case 2 - would it be possible to provide "fake" compile_commands.json file in root of /opt/common directory and somehow force clangd to index it? This way it would be indexed only once and most of my problems would go away.
Do I have it right or am I still missing something?

tl;dr; The slowness you are facing seems to be resulting from parsing files, rather than background-indexing. And clangd doesn't implement any re-use of "parsed headers" while parsing a file, therefore it needs to happen at least once whenever you open a new file.

To be sure: in my case above (three projects, one common directory), /opt/common will be indexed three times, once for every /repos/projX directory?

yes and no, there's no such a thing for "/opt/common/" to be indexed if it doesn't have any comp_cmds.json associated with it(or any source files).
but while indexing any source file in "/repos/projX" clangd needs to build the whole source file with all of its transitive includes (called a translation unit, TU for short) which apparently results in compiling half of the stuff inside /opt/common (looking at your description).
you can pass -log=verbose to the clangd and see which files are being indexed.

And I just realised what you wrote in Case 2 - would it be possible to provide "fake" compile_commands.json file in root of /opt/common directory and somehow force clangd to index it? This way it would be indexed only once and most of my problems would go away.

as explained above, unfortunately not. there's no such a thing as re-using cache for headers while parsing a TU in clangd (as of today), and anything in /opt/common is parsed a side effect of being included by some source file inside /repos/projX/. in case of missing comp_cmds.json files, clangd puts the index into $HOME/.clangd/index.

Do I have it right or am I still missing something?

looks correct to me, i hope i managed to provide some useful information :D

And then would it be possible to have clangd run over the network? It would be great - we could setup central server with most of libraries (if not all) indexed and have clangd running there all the time - in such case it could even keep multiple indexes (for different configurations of libraries) and serve them depending on who wants what.
And since I'm dreaming, it would be great to have hierarchy of clangd servers, where central server has knowledge of all libraries and smaller servers (local, on client's machine) have knowledge of project-specific files only.

we are planning to work on something like this soon @usx95 and @kirillbobyrev can provide more information about those.

That would be absolutely awesome, especially if few users could use same running service and "federation" was supported.
Yes, I think that should be possible. We're working on this feature this quarter. We'll make an announcement and write the docs once it's possible!

@kirillbobyrev Thanks, I somehow missed your answer. This would be absolutely awesome. I'll close this ticket and patiently wait for news regarding this feature.


Renovate v10 stability

Renovate v10 has been merged to master and released as v10.0.0 to npm, however it is tagged as next and not latest. Please subscribe to this issue to be notified of progress towards getting it tagged as latest.

Renovate v10 is now considered stable for GitHub - it is running on the GitHub App across 1000+ projects without any additional errors or warnings caused. I would prefer that some active GitLab users can test the new v4-only API first before I tag v10 as next, but I also don't want to wait forever. Please speak up if you are able to offer any feedback in the next week.

I just switched my private renovate-job on GitLab, replacing yarn global add renovate@latest with yarn global add<EMAIL_ADDRESS>I didn't check to see if I needed to upgrade Node from 6 to 8 so I received the typical compatibility error:
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=8".
error Found incompatible module

Once I resolved that issue, renovate installed successfully and began to run on my projects:
However, I'm now receiving generic 400 errors from GitLab:
INFO: Branch needs creating (repository=hyper-expanse/semantic-release-github, dependencies=tmp, branch=renovate/tmp-0.x)
 WARN: Could not find globally installed yarn (repository=hyper-expanse/semantic-release-github, dependencies=tmp, branch=renovate/tmp-0.x)
 INFO: Generated lockfile (repository=hyper-expanse/semantic-release-github, dependencies=tmp, branch=renovate/tmp-0.x)
       "seconds": 8,
       "type": "yarn.lock",
       "stdout": "yarn install v1.2.1\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Building fresh packages...\nsuccess Saved lockfile.\nDone in 7.43s.\n",
       "stderr": "warning Ignored scripts due to flag.\n"
ERROR: Error updating branch: undefined (400) (repository=hyper-expanse/semantic-release-github, dependencies=tmp, branch=renovate/tmp-0.x)
       "err": {
         "name": "GitLabError",
         "host": "gitlab.com",
         "hostname": "gitlab.com",
         "method": "POST",
         "path": "/api/v4/projects/hyper-expanse%2Fsemantic-release-github/repository/branches",
         "protocol": "https:",
         "url": "https://gitlab.com/api/v4/projects/hyper-expanse%2Fsemantic-release-github/repository/branches",
         "statusCode": 400,
         "statusMessage": "Bad Request",
         "headers": {
           "server": "nginx",
           "date": "Wed, 08 Nov 2017 16:33:46 GMT",
           "content-type": "application/json",
           "content-length": "26",
           "connection": "close",
           "cache-control": "no-cache",
           "vary": "Origin",
           "x-frame-options": "SAMEORIGIN",
           "x-request-id": "905befdb-7a82-455a-818e-4c9fb7d14d28",
           "x-runtime": "0.080713",
           "ratelimit-limit": "600",
           "ratelimit-observed": "26",
           "ratelimit-remaining": "574"
         }
       }
 INFO: Finished repository (repository=hyper-expanse/semantic-release-github)

I've increased the log level, and I'll post what I can once that job runs.

Here's a little more output for a different package with DEBUG messages:
 INFO: Generated lockfile (repository=hyper-expanse/conventional-gitlab-releaser, dependencies=gl-got, branch=renovate/gl-got-8.x)
       "seconds": 9,
       "type": "yarn.lock",
       "stdout": "yarn install v1.2.1\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Building fresh packages...\nDone in 7.92s.\n",
       "stderr": "warning Ignored scripts due to flag.\n"
DEBUG: yarn.lock hasn't changed (repository=hyper-expanse/conventional-gitlab-releaser, dependencies=gl-got, branch=renovate/gl-got-8.x)
DEBUG: No updated lock files in branch (repository=hyper-expanse/conventional-gitlab-releaser, dependencies=gl-got, branch=renovate/gl-got-8.x)
DEBUG: 1 file(s) to commit (repository=hyper-expanse/conventional-gitlab-releaser, dependencies=gl-got, branch=renovate/gl-got-8.x)
DEBUG: commitFilesToBranch('renovate/gl-got-8.x', files, message, 'master)' (repository=hyper-expanse/conventional-gitlab-releaser, dependencies=gl-got, branch=renovate/gl-got-8.x)
DEBUG: Checking if branch exists: renovate/gl-got-8.x (repository=hyper-expanse/conventional-gitlab-releaser, dependencies=gl-got, branch=renovate/gl-got-8.x)
DEBUG: Branch doesn't exist (repository=hyper-expanse/conventional-gitlab-releaser, dependencies=gl-got, branch=renovate/gl-got-8.x)
DEBUG: Creating branch renovate/gl-got-8.x (repository=hyper-expanse/conventional-gitlab-releaser, dependencies=gl-got, branch=renovate/gl-got-8.x)
ERROR: Error updating branch: undefined (400) (repository=hyper-expanse/conventional-gitlab-releaser, dependencies=gl-got, branch=renovate/gl-got-8.x)

The most I can get out of it is that perhaps the wrong arguments are being provided to the GitLab branch API endpoint.
Let me take a look at what those arguments should be.

@hbetts seems to me:

Branch does exist
Our branchExists() returns false
When we try to create the branch, you get the failure

The "Error updating branch" log is just a badly or unfortunately worded error message, I think it's actually creating it, not updating it.

Our code:
async function branchExists(branchName) {
  logger.debug(`Checking if branch exists: ${branchName}`);
  try {
    const url = `projects/${
      config.repoName
    }/repository/branches/${branchName.replace('/', '%2F')}`;
    const res = await get(url);
    if (res.statusCode === 200) {
      logger.debug('Branch exists');
      return true;
    }
    // This probably shouldn't happen
    logger.debug("Branch doesn't exist");
    return false;
  } catch (error) {
    if (error.statusCode === 404) {
      // If file not found, then return false
      logger.debug("Branch doesn't exist");
      return false;
    }
    // Propagate if it's any other error
    throw error;
  }
}

Here's the relevant GitLab doc:

Note it explicitly says URL-encoded for project but not for branch. It seems this might be a case where we shouldn't url encode the branch. I will look into this, thanks for your help so far.

And yet in the API intro GitLab says you must url-encode branch: https://docs.gitlab.com/ee/api/README.html#branches-amp-tags-name-encoding
I will raise a separate issue for this to get to the bottom of it

I'm running renovate locally now, and I get the following error for semantic-release-gitlab:
DEBUG: Branch doesn't exist (repository=hyper-expanse/semantic-release-gitlab, dependencies=codecov, branch=renovate/codecov-3.x)
DEBUG: Creating branch renovate/codecov-3.x (repository=hyper-expanse/semantic-release-gitlab, dependencies=codecov, branch=renovate/codecov-3.x)
ERROR: Error updating branch: undefined (400) (repository=hyper-expanse/semantic-release-gitlab, dependencies=codecov, branch=renovate/codecov-3.x)
       "err": {
         "name": "GitLabError",
         "host": "gitlab.com",
         "hostname": "gitlab.com",
         "method": "POST",
         "path": "/api/v4/projects/hyper-expanse%2Fsemantic-release-gitlab/repository/branches",
         "protocol": "https:",
         "url": "https://gitlab.com/api/v4/projects/hyper-expanse%2Fsemantic-release-gitlab/repository/branches",
         "statusCode": 400,
         "statusMessage": "Bad Request",
         "headers": {
           "server": "nginx",
           "date": "Thu, 09 Nov 2017 14:10:25 GMT",
           "content-type": "application/json",
           "content-length": "26",
           "connection": "close",
           "cache-control": "no-cache",
           "vary": "Origin",
           "x-content-type-options": "nosniff",
           "x-frame-options": "SAMEORIGIN",
           "x-request-id": "3b75437f-32de-41e5-98cd-89035c9fd815",
           "x-runtime": "0.062609",
           "ratelimit-limit": "600",
           "ratelimit-observed": "222",
           "ratelimit-remaining": "378"
         }
       }

However there are no branches in that project other than master:

Oh... I think I figured it out. There is what appears to be a typo for baseBranch:
body: {
          branch: branchName,
          ref: config.basBranch,
        },

@hbetts thank you for spotting that! fix on the way

Awesome!
Renovate hasn't finished running yet, but I can confirm that it's creating branches once again (and filing merge requests)

@hbetts released in<EMAIL_ADDRESS>

Running v10.6.2 now, and everything looks great! I also noticed labels on GitLab work again. Probably because of your work in #1064.
For what it's worth Ship It! :+1:

I want to check also that assignees is working too (because of id/ iid concerns). Can you confirm if you are using them at time of PR creation?

I haven't using the assignee feature.
I just pushed that feature to one of my project - https://gitlab.com/hyper-expanse/npm-publish-git-tag/commit/9f96a5be29dced9152b261906081e324dd2aea05
However, it doesn't appear to assign the merge request to me - https://gitlab.com/hyper-expanse/npm-publish-git-tag/merge_requests/30
I'll start looking into it later.

I've concluded that assignees is not working in GitLab and either never has been, or has been broken for some time - it's not a result of Renovate v10. I have opened #1131 to track this and do not consider it a blocker for shipping Renovate v10.

I fixed the assignees problem now. I think I'll wait until Monday before marking v10 as latest.

FYI it won't assign after any PR is already created

Yep. That is one reason testing renovate is taking me so long. I go through the process of deleting merge requests and branches to ensure a clean project environment for Renovate to renovate.

I've concluded that assignees is not working in GitLab and either never has been, or has been broken for some time

It worked when I first started using renovate, but stopped working several months ago.

I fixed the assignees problem now.

That's great!


Added property to cancel progress notification when user closes it

This PR fixes #89169 by adding cancelOnClose property which supposed to control if progress should be cancelled when notification are closed. Unfortunately, I didn't found any tests for withProgress and would be grateful for example of how such a test can be written (if should).
Thanks!

Closing for the reason outlined in https://github.com/microsoft/vscode/issues/89169#issuecomment-586695042


typographer: true should not touch quotes inside code elements

import Markdown from "markdown-it";

let markdown = Markdown({
  html: true,
  typographer: true,
});

console.log(
  markdown.render('"test" console.log("test");')
);

Result

“test” console.log(“test”);

Expected

“test” console.log("test");

This breaks potential code highlighting, copy-paste is invalid, etc. etc.
Of course, all possible breaks typographer can introduce need to be reviewed.
Verified in v4.01 and v5.02.

What's the reason to use html code tags instead of markdown ones in your case?
This works correctly and will produce exactly the expected output:
"test" `console.log("test");`

What's the reason to use html code tags instead of markdown ones in your case?

Markdown does not support any syntax for inline fenced blocks. I want to highlight inline code as well as block.

There are many way how smartquater can be exended. For example, it can analyze language to select proper quotes automatically. But i think, all those extentions should not be included in basic package.
Analyzing HTML tags nesting will do things much more complicated, and is a bit out of this project goals. Currently parser does not do anything with HTML tags, just forward it as raw output. So, i tend to decline this request. IMHO, if you wish to use HTML tags, you could write your own smartquoter.

If tag structure is not considered currently, it surely does not worth the complexity.
I'll just disable typographer for now.


Latest ini file update 2018-05-16 does not work with Windows Home 10.0.17134.1

FYI, I already had a working rdpwrap for 1803 as mentioned in issue 456, using a hand edited rdpwrap.ini.
I updated the latest ini update from today just to move onto the latest content from repo, applied by running v1.6.2 update.bat as admin and then restarting the PC.   Update successful to latest ini file, but RDP stopped working for me with this published ini.  Also this ini introduces a full screen remote procedure call error message from Windows whenever logging in regularly (not using RDP).
I am using the virgin untouched termsrv.dll from Microsoft, no patches whatsoever.
I reverted back to the ini values I reported as working in closed issue 456, posted by macchrome originally, which continue to work fine for me and the remote procedure call error is never present.   The new ini is not using these same values.
Values for the rdpwrap.ini working for me on 64bit Windows Home 10.0.17134.1 below:
[10.0.17134.1]
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=925D1
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=18B64
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=10E72
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=22E6C
SLInitFunc.x64=New_CSLQuery_Initialize
Could the default ini not working be related to not having an updated rfxvmt.dll for Home edition?  I am using the one installed prior to the Windows 10 1803 upgrade, when I had installed rdpwrap 1.6.2, which is dll file version 10.0.15063.1.
Curious if its just me or is anyone else seeing a problem after updating today.

SingleUserOffset.x64=18B64
DefPolicyOffset.x64=10E72

These two offsets are not looking correct:
.text:0000000180018B61                 lea     r14d, [rdi+1]     << no jump here
.text:0000000180018B65                 mov     [rdx], r14d
.text:0000000180018B68                 call    sub_180035DD4
.text:0000000180018B6D                 mov     ebx, eax
.text:0000000180018B6F                 test    eax, eax

.text:0000000180010E72                 mov     ebx, [rcx+63Ch]   << points here
.text:0000000180010E78                 mov     edi, [rcx+638h]
.text:0000000180010E7E                 cmp     ebx, edi          << actually should be there
.text:0000000180010E80                 jz      loc_18003AF9C

Could the default ini not working be related to not having an updated rfxvmt.dll for Home edition?

Could be that.

Closing as a duplicate of #486, because it contains more useful information.


Rubyfmt addition requires a stricter dependency on glibc

Input
On the latest release of sorbet-static, running type-checking on a Debian Stretch based container has started failing. We believe the cause to be the Rubyfmt addition.
Observed output
root@463b0b2bdbaa:/# more /etc/debian_version
9.12
root@463b0b2bdbaa:/# more /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@463b0b2bdbaa:/# uname -a
Linux 463b0b2bdbaa 5.4.0-1028-gcp #29~18.04.1-Ubuntu SMP Mon Oct 5 16:41:43 UTC 2020 x86_64 GNU/Linux
root@463b0b2bdbaa:/# gem install sorbet
Fetching sorbet-0.5.5994.gem
Fetching sorbet-static-0.5.5994-x86_64-linux.gem
Successfully installed sorbet-static-0.5.5994-x86_64-linux

  Thanks for installing Sorbet! To use it in your project, first run:

    bundle exec srb init

  which will get your project ready to use with Sorbet.
  After that whenever you want to typecheck your code, run:

    bundle exec srb tc

  For more docs see: https://sorbet.org/docs/adopting
Successfully installed sorbet-0.5.5994
2 gems installed
root@463b0b2bdbaa:/# srb --version
/usr/local/bundle/gems/sorbet-static-0.5.5994-x86_64-linux/libexec/sorbet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/local/bundle/gems/sorbet-static-0.5.5994-x86_64-linux/libexec/sorbet)
root@463b0b2bdbaa:/# srb tc -e ""
/usr/local/bundle/gems/sorbet-static-0.5.5994-x86_64-linux/libexec/sorbet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/local/bundle/gems/sorbet-static-0.5.5994-x86_64-linux/libexec/sorbet)

Expected behavior
The same as the Sorbet binary from the day before:
root@463b0b2bdbaa:/# uname -a
Linux 463b0b2bdbaa 5.4.0-1028-gcp #29~18.04.1-Ubuntu SMP Mon Oct 5 16:41:43 UTC 2020 x86_64 GNU/Linux
root@463b0b2bdbaa:/# gem install sorbet -v 0.5.5991
Fetching sorbet-0.5.5991.gem
Fetching sorbet-static-0.5.5991-x86_64-linux.gem
Successfully installed sorbet-static-0.5.5991-x86_64-linux

  Thanks for installing Sorbet! To use it in your project, first run:

    bundle exec srb init

  which will get your project ready to use with Sorbet.
  After that whenever you want to typecheck your code, run:

    bundle exec srb tc

  For more docs see: https://sorbet.org/docs/adopting
Successfully installed sorbet-0.5.5991
2 gems installed
root@463b0b2bdbaa:/# srb --version
Sorbet typechecker 0.5.5991 git 1a9dc46bbc2cee1cc62c73f9cbf6868456fad4d8 debug_symbols=true clean=0
root@463b0b2bdbaa:/# srb tc -e ""
No errors! Great job.

Sounds like we need to put this behind a configuration flag. Sorry about that; I'll see about fixing this today.

@jvilk Thanks, that would be great.
One potential solution, proposed by @XrXr on my team, was to maybe statically link Rubyfmt against musl instead of glibc. Not sure if that's something you would prefer to (or even can) do, but I wanted to relay just in case.
/cc @jvilk-stripe

We would love to fix this so that it can be built w/o issue. Until we can do that, and we promote this from an experimental feature, I'll add in the config option.


Dragging to bottom place doesn't seem to work

Dragging a system from 1. to last place works here:

 {{system.Name}}

                                     {{post.Name}}

Category name

Add Category

but not when the last tree nodes are removed like here:

 {{system.Name}}

                                     {{post.Name}}

Its not clear to me what your problem is. From your examples, 1. is the root of the tree in both, and thus has no where to be dragged to. As far as I can tell, everything from this demo seems to be working properly.

@zachlysobey  https://github.com/angular-ui-tree/angular-ui-tree/issues/564  seems the same...

Hey, sorry. I have been gone.
Oh I see I didn't copy paste well.
I solved the problem by adding a no-drag element at the bottom.
My problem was that I had nested draggable items, and I wasn't able to drag from first to last position on the outer ng-repeat. When I added a last invisible no-drag element it worked. I was however able to drag from last to first.
Sorry for the inconvenience.

@H-a-w-k  sorry, could you make a fiddle? With your demo-code?

@H-a-w-k
@zachlysobey
also, seems that we need some code improvement...

Seems like this issue has been resolved by @H-a-w-k.
@kotmatpockuh if you have suggestions to improve the code, feel free to submit a PR or provide feedback!

@Voles
no, it isn't solved
i could make you an video...


Add clarification of what "BBS" is

Had to dig into the code to find out what this stands for. Hopefully clarifying with "BBS (Bulletin Board System/Store)" will save others the trip.

Thanks!


Appear on main display in multi-monitor setup

Problem description
Currently if the top bar is hidden the main UI modal will appear on the leftmost display when using multiple monitors. It would be great if there was an option for the modal to be restricted to the user's main display.
I am currently using the Hide Top Bar extension.

Eyyyyyy, I use Hide Top Bar too! :grin: Honestly, I doubt there's anything I can do on my end since it works fine when the top bar is visible. I'm going to close in favor of #22 which would fix the issue.


Non pedantic error Buildings.Zones.ZoneTemplateAirvolume3D

Error is thrown in standard check mode (so not pedantic):
To reproduce, use
checkModel("BuildingSystems.Buildings.Zones.ZoneTemplateAirvolume3D")
There also errors thrown by:

[ ] BuildingSystems.Buildings.Zones.Examples.SingleZoneThermal3D
[ ] BuildingSystems.Buildings.Examples.ThermalModelHouse3D
[ ] BuildingSystems.Buildings.Examples.ThermalModelHouse3Dwindow

but I think, because of extends, they all based on the error in the zone.

Taken note of this errors! I think this errors are linked to the familiar connector-structure problem of ZoneTemplateGeneral - so I'm awaiting a trend-setting decision!

but I think, because of extents, they all based on the error in the zone
true!

Closing this issue with as it will be handled by #65


First draft for JOSS paper

This PR proposes a first draft for the JOSS paper describing the package. The JOSS guideline states that the paper should be between 250-1000 words. Authors submitting papers significantly longer than 1000 words may be asked to reduce the length of their paper. We are at about 1,500 words, which might not be a big issue but needs to be discussed.
The code used to generate the two figures of the paper are provided in paper/code/ and the figures in paper/figures. The first figure requires a .csv file, which is not included in the PR since we should include it in the genral repo of JuliaDynamics. The second figure is a comparison to the run time of ewstools, as assessed in paper/code/ewstools-tuto-1.py.
@Datseris, I suggest we have a call to talk about the draft :) Also, at some point you will need to put your affiliation and your funding.

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

Comparison is base (b1d3387) 36.42% compared to head (d91fd08) 45.22%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
+ Coverage   36.42%   45.22%   +8.79%
==========================================
  Files          18       17       -1
  Lines         442      356      -86
==========================================
  Hits          161      161
+ Misses        281      195      -86

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

Hi @Datseris, thanks a lot for your corrections :) I applied all of them (except for one I that answered to, see above). In particular, I reformulated the versatility section and moved it for a better flow of explanations. I hope you'll like it!


Ctrl+u / Ctrl+d not working

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.animate
Description
When trying to use ctrl+d or ctrl+u to scroll half of the page, it scrolls to the current position.
Neovim version
NVIM v0.9.0-dev-845+gfacbb11e0
Steps to reproduce

nvim .
Try to use CTRL+d og CTRL+u

Expected behavior
To scroll half of the page up / down.
Actual behavior
It jumps up, then scrolls to the initial postition of your cursor.
Here is my configuration.
			-- don't use animate when scrolling with the mouse
			local mouse_scrolled = false
			for _, scroll in ipairs({ "Up", "Down" }) do
				local key = "<ScrollWheel" .. scroll .. ">"
				vim.keymap.set({ "", "i" }, key, function()
					mouse_scrolled = true
					return key
				end, { expr = true })
			end

			local animate = require("mini.animate")
			return {
				resize = {
					timing = animate.gen_timing.linear({ duration = 100, unit = "total" }),
				},
				scroll = {
					timing = animate.gen_timing.linear({ duration = 150, unit = "total" }),
					subscroll = animate.gen_subscroll.equal({
						predicate = function(total_scroll)
							if mouse_scrolled then
								mouse_scrolled = false
								return false
							end
							return total_scroll > 1
						end,
					}),
				},
				open = {
					enable = false
				},

				close = {
					enable = false
				}
			}
		end,
		config = function(_, opts)
			require("mini.animate").setup(opts)
		end,

What does :nmap <C-u> and :nmap <C-d> show? Judging by behavior it is something like <C-u>zvzz.
Unfortunately, limited centering after movement command is one of a downsides of asynchronous animation. With that keybinding it will tell Neovim to start animate scroll but then immediately tell to forget previous animation and start animating zvzz.
One possible way to overcome this is to use MiniAnimate.execute_after() as shown in example. For <C-u>/<C-d> it would be something like this:
  vim.keymap.set(
    'n',
    '<C-d>',
    [[<Cmd>lua vim.cmd('normal! <C-d>'); MiniAnimate.execute_after('scroll', 'normal! zvzz')<CR>]]
  )
  vim.keymap.set(
    'n',
    '<C-u>',
    [[<Cmd>lua vim.cmd('normal! <C-u>'); MiniAnimate.execute_after('scroll', 'normal! zvzz')<CR>]]
  )

But it would often lead to jittering animations.

That was the issue for me as well! Closing now.

I got similar issue.

What does :nmap <C-u> and :nmap <C-d> show for you?

https://github.com/echasnovski/mini.nvim/pull/214 I created a pull request that adds a note for this issue, hope it is helpfull :)


Fix the Readme so that it has valuable information

I want to see descriptive title and description and the roadmap. Please also take note of the typos.

Working on this now

Included in Pre-Release v0.0.1-alpha


Solution::col is very slow

Hello,
When using coin_cbc on a large real world problem, I get very poor performance when reading the solution of the problem with Solution::col. Reading the values of all the variables in the problem takes 5 times longer than solving the actual problem.
I believe this is because each time a single variable is extracted, a new slice containing all the variable values is created :
https://github.com/KardinalAI/coin_cbc/blob/master/src/lib.rs#L328

It's not supposed to be expensive. As a workaround, you can sol.raw().sol() to get the slice of the solution.
Will try to check.

As a workaround, you can sol.raw().sol() to get the slice of the solution.

Yes, this is what I implemented as a workaround in good_lp, and collecting the results of my large problem went from taking 5s to being instantaneous.


Version updates for Firebase 5.3.0 (#1406)

Hey there! So you want to contribute to a Firebase SDK?
Before you file this pull request, please read these guidelines:
Discussion

Read the contribution guidelines (CONTRIBUTING.md).
If this has been discussed in an issue, make sure to link to the issue here.
If not, go file an issue about this before creating a pull request to discuss.

Testing

Make sure all existing tests in the repository pass after your change.
If you fixed a bug or added a feature, add a new test to cover your code.

API Changes

At this time we cannot accept changes that affect the public API.  If you'd like to help
us make Firebase APIs better, please propose your change in a feature request so that we
can discuss it together.

Closing in favor of #1432 with conflict resolution.


[dynamic-links] Link generated on IOS not work on Android

Problem Description
In my flutter app I'm using firebase_dynamic_links: ^4.0.3 to share posts between users
I don't know if this can be the problem but the generated Link is not the same on Iphone and Android
for example with the same post ID the generated link will be :

Iphone 6     : https://myappname.page.link/aBCD

Iphone 7     : https://myappname.page.link/aBCD

Iphone11    : https://myappname.page.link/aBCD

huawei android  : https://myappname.page.link/zFGH

Samsung android : https://myappname.page.link/pHTU

OBSERVED :

when I share the same post from Iphone to Iphone   :  work
when I share the same post from Android to Iphone  :  work
when I share the same post from Android to Android :  work
when I share the same post from Iphone to Android  :  NOT WORK ---> error 404 on url ( https://myappname.app/postId )

EXPECTED : Link should work also on Andoid when it's sent from Iphone
code used to create Link :
  Future<String> createPostLink(String postId) async {
    PackageInfo packageInfo = await PackageInfo.fromPlatform();
    String uriPrefix = "https://myappname.page.link";
    final DynamicLinkParameters parameters = DynamicLinkParameters(
      uriPrefix: uriPrefix,
      link: Uri.parse('https://myappname.app/$postId'),
      androidParameters: AndroidParameters(
        packageName: packageInfo.packageName,
      ),
      iosParameters: IOSParameters(
        bundleId: packageInfo.packageName,
        minimumVersion: packageInfo.version,
        appStoreId: '1528480989',
      ),
    );
    final ShortDynamicLink shortDynamicLink =
        await dynamicLinks.buildShortLink(parameters);
    final Uri shortUrl = shortDynamicLink.shortUrl;
    return shortUrl.toString();
  }

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-x64, locale en-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Community Edition (version 2020.2.1)
[✓] VS Code (version 1.63.0)
[✓] VS Code (version 1.59.0)
[✓] Connected device (4 available)

• No issues found!

please help fixing this issue !!

@azazadev
Can you provide the entire error log when you try to access the link from ios to android ?
Also, while doing so, does getInitialLink() shows any data or is null ?

Thanks @darshankawar for the quick replay !
I don't know how we can get error because the app is not launched in case of Android
take this simple scenario

User A ( Iphone ) share the post link to User B ( Iphone ) and User C ( Andoid ) via WhatApp ( example : https://myappname.page.link/aBCD )

User B ( Iphone ) receive WhatApp Message with Link https://myappname.page.link/aBCD and clic on the Link --> app will be launched and we receive the post id as expected in the UI

User C ( Andoid ) receive WhatApp Message with Link https://myappname.page.link/aBCD and clic on the Link --> what we observe is Loading indicator for 1 or  2 second after the browser is launched on the URL  https://myappname.app/postId with 404 error --> so the app is not launched so I cannot know what is the error ( please let me know if I can do something to debug it )

NOTE : this code is not executed in case of Andoid so we cannot know if the getInitialLink have data or not
code to handle DynamicLinks
Future handleDynamicLinks() async {
  final PendingDynamicLinkData data = await dynamicLinks.getInitialLink();
  await _handleDeepLink(data);
  dynamicLinks.onLink.listen((dynamicLinkData) async {
    _handleDeepLink(dynamicLinkData);
  }).onError((error) {
    logger.e('Link Failed: ${error.message}');
  });
}

Future<void> _handleDeepLink(PendingDynamicLinkData data) async {
  final Uri deepLink = data?.link;
  if (deepLink != null) {
    var isPost = deepLink.pathSegments.length == 1;
    if (isPost && _authenticationService.currentUser != null) {
      var postId = deepLink.pathSegments.first;
      if (postId != null) {
        // postId received successfully !!
      }
    }
  }
}

please let me know if you need any additional infos

I'm able to progress on this issue but I'm not convinced about the solution !
Finding
as from documentation we should Add deep link domains in AndroidManifest.xml as below
<intent-filter>
    <action android:name="android.intent.action.VIEW"/>
    <category android:name="android.intent.category.DEFAULT"/>
    <category android:name="android.intent.category.BROWSABLE"/>
    <data
        android:host="example.com"
        android:scheme="https"/>
</intent-filter>

in my case android:host="myappname.app"
but from this link android:host is equals to the page.link in my case this should be myappname.page.link
so in  AndroidManifest.xml I update
from <data android:host="myappname.app" android:scheme="https"/>
to      <data android:host="myappname.page.link" android:scheme="https"/>
New Test

reset the huawei Android settings
deploy the new version of app with AndroidManifest.xml changes
install new version on huawei Android
try to open the same link sent from IOS

Observed :
new bottom sheet menu with :
Complete Action using
myApp              ***          Chrome             ***           Browser

click on myApp

app is launched and postId is successfully received
NOTE : I think this bottom sheet to select between app and browser is not displayed on all Andoid smartphone :(
so can someone confirm what is the impact of changing the android:host in AndroidManifest.xml from myappname.app to myappname.page.link ? should I go with this change ?
how I can force opening the link with myApp and not with browser ( programmatically because inside the Firebase Console I thik this option exist "Open the deep link in your Android App" ) ?

should I go with this change ?

Thanks for the details and updates. According to the official document on setup, it does mention to add the deep link domains to manifest file: https://firebase.flutter.dev/docs/dynamic-links/android-integration#androidmanifestxml-configuration

how I can force opening the link with myApp and not with browser ( programmatically because inside the Firebase Console I thik this option exist "Open the deep link in your Android App" ) ?

If you select app from bottom sheet (shown on some android phones), does it open the app ?
in Firebase console: do you have the same setting as below:

If so, it may be a different issue to tackle and may need to open a new for better tracking.

If you select app from bottom sheet (shown on some android phones), does it open the app

yes
- with manifest change app is open and link is correctly handle inside the app ( postId is received )
-  without manifest change app is open but postId is not received

in Firebase console: do you have the same setting as below

Yes, I check for both I can select my Android app and IOS app

I have try to collect more information, so I create link with the same postId on Iphone and Android, so the output of the createPostLink method with postId ( example : 3cjsRsTIicIaVK2anA5x ) is :
Iphone  :  https://myappname.page.link/abcd
Android :  https://myappname.page.link/efgh
so I have try to debug those link by adding param d=1
for Iphone this is the debug output for URL https://myappname.page.link/abcd?d=1
The dynamic link has 2 warning(s)

    We could not find Android package name 'com.mydomain.myapp.xxxx' in this Google project. Learn more.
    There is no configuration to prevent phishing on this domain https://myappname.page.link. Setup URL patterns to whitelist in the Firebase Dynamic Links console. Learn more.

for Andoid this is the debug output for URL https://myappname.page.link/efgh?d=1
The dynamic link has 2 warning(s)

    We could not find bundle ID 'com.mydomain.myapp.xxxx' in this Google project. Learn more.
    There is no configuration to prevent phishing on this domain https://myappname.page.link. Setup URL patterns to whitelist in the Firebase Dynamic Links console. Learn more.

@darshankawar  hope this can help you to find something :)

Thanks for the update.
Keeping it open for further investigation from the team.
/cc @russellwheatley

Hey @azazadev, I've just tested creating a short dynamic link on iOS which opened my app. I then used the same link to open my android app and it worked. I used the example app code here.
I would advise building in release mode for it to work though (i.e. flutter run --release). Could you try and let me know if it works? Thanks

Hey @azazadev, I've just tested creating a short dynamic link on iOS which opened my app. I then used the same link to open my android app and it worked. I used the example app code here.
I would advise building in release mode for it to work though (i.e. flutter run --release). Could you try and let me know if it works? Thanks

Thanks @russellwheatley , i will try to test again when i have some time. Issue can be closed if no answer from my side


[tool_crash] FormatException

Command
flutter pub get

Steps to Reproduce

...
...
...

Logs
FormatException
#0      _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1465:5)
#1      _ChunkedJsonParser.close (dart:convert-patch/convert_patch.dart:499:7)
#2      _parseJson (dart:convert-patch/convert_patch.dart:37:10)
#3      JsonDecoder.convert (dart:convert/json.dart:610:36)
#4      JsonCodec.decode (dart:convert/json.dart:216:41)
#5      createPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:901:51)
#6      refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1022:5)
<asynchronous suspension>
#7      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:379:5)
<asynchronous suspension>
#8      PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:383:7)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)

[✓] Flutter (Channel stable, 3.24.1, on Microsoft Windows [Version 10.0.26100.2314], locale en-IN)
    • Flutter version 3.24.1 on channel stable at C:\Users\Dinak\Dependencies\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (3 months ago), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\Dinak\AppData\Local\Android\Sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = C:\Users\Dinak\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

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

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.11.35327.3
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2024.2)
    • Android Studio at C:\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 21.0.3+-12282718-b509.11)

[✓] VS Code (version 1.95.3)
    • VS Code at C:\Users\Dinak\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.100.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.26100.2314]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 130.0.6723.119
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 130.0.2849.80

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 5874a72aa4c779a02553007c47dacbefba2374dc
Plugins
device_info_plus-10.1.2
file_selector_linux-0.9.3+1
file_selector_macos-0.9.4+2
file_selector_windows-0.9.3+3
flutter_pdfview-1.3.4
flutter_plugin_android_lifecycle-2.0.23
fluttertoast-8.2.8
image_picker-1.1.2
image_picker_android-0.8.12+17
image_picker_for_web-3.0.6
image_picker_ios-0.8.12+1
image_picker_linux-0.2.1+1
image_picker_macos-0.2.1+1
image_picker_windows-0.2.1+1
open_file-3.5.10
open_file_android-1.0.6
open_file_ios-1.0.3
open_file_linux-0.0.5
open_file_mac-1.0.3
open_file_web-0.0.4
open_file_windows-0.0.3
path_provider-2.1.5
path_provider_android-2.2.12
path_provider_foundation-2.4.0
path_provider_linux-2.2.1
path_provider_windows-2.3.0
pdfx-2.8.0
sqflite-2.4.1
sqflite_android-2.4.0
sqflite_darwin-2.4.1
url_launcher-6.3.1
url_launcher_android-6.3.14
url_launcher_ios-6.3.1
url_launcher_linux-3.2.1
url_launcher_macos-3.2.1
url_launcher_web-2.3.3
url_launcher_windows-3.1.3

Closing this as a duplicate of https://github.com/flutter/flutter/issues/98905


Api-versioning

I doesn't look like it's possible to turn on api-verisoning for the client, would love support for that :)
Especially I would like to turn it on for the createPreviewSubscriptionHook, but when I pass apiVersion  to the createPreviewSubscriptionHook it still seems to be using the v1-endpoint.
export const usePreviewSubscription = createPreviewSubscriptionHook({
  dataset: "production",
  projectId: "abc123",
  apiVersion: 'X'
});

From network-tab I can see it still using the v1-endpoint, don't know if there is a smarter way to see what version the client is using.

https://sanity-io-land.slack.com/archives/C013NG0UF0B/p1618038372004900

@borispoehland can you share the configuration you're using?
You should be able to use apiVersion: "YYYY-MM-DD"` as specified in the docs, but if you can't I'm glad to assist with debugging :)

i did have same problem, but fixed when changing from
*[_type == "page"] | order(_updatedAt desc) | [0] to
*[_type == "page"] | order(_updatedAt desc)[0]
If you have similar problem, check your query string, some part could be outdated

Closing as it seems resolved, but feel free to re-open if it's still a problem :)


Add fusion reactivities and yield ratios

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 85.89744% with 11 lines in your changes missing coverage. Please review.

Project coverage is 91.33%. Comparing base (c799ee5) to head (60b6c02).

Files with missing lines
Patch %
Lines

src/cr39py/models/fusion.py
79.24%
11 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   91.78%   91.33%   -0.46%
==========================================
  Files          17       19       +2
  Lines         937     1015      +78
==========================================
+ Hits          860      927      +67
- Misses         77       88      +11

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

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Feature/abr documentation

PR to implement first action workflow to build and deploy documentation to pages

@patrickkesper here is the PR ... check whether you can participate in it :-)

The PR looks good to me :+1:


Extension causes high cpu load

Issue Type: Performance
Extension Name: vscode-extensions-files
Extension Version: 1.0.0
OS Version: Windows_NT x64 10.0.19042
VS Code version: 1.56.2

:warning: Make sure to attach this file from your home-directory:
:warning:c:\Users\HACKER~1\AppData\Local\Temp\donaldpipowitch.vscode-extensions-files-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

If anyone provides a merge request I'm happy to accept it ❤ Sadly I never found time to work more on this.


Feature: Metric Summary 2.0

Feature Details
Participant Details / Metric Summary for 2.0 data.
Example Code

Possible Implementation

Additional Comments

For reference (don't forget click actions to drive Participant Domain table)


Added instructions to integrate check source formatting with sublime text

Just making faster the formatting checking when working on Sublime Text

Merged and pushed to Brian. Thanks :)
View just my changes: https://github.com/natecavanaugh/check-source-formatting/compare/carloslancha:6af4235331...5cbd196f0e
View total diff: https://github.com/natecavanaugh/check-source-formatting/compare/621a5d1984...5cbd196f0e

Heya @carloslancha I also added instructions for using Sublime Linter integration as well.
Thanks a ton for sending this over!

Great! very useful the linter too! Thanks!


Feature/deployed dag endpoints

It seems good to me, but shouldn't you add unit tests for the new endpoint?

You are right, I will add them asap

@marioncottard I added the unit tests. Could you review again?

@ggsdc Yes I'm on it right now


Icons in the left ribbon dissappear

VSCode Version: Code 1.19.0 (816be6780ca8bd0ab80314e11478c48c70d09383, 2017-12-14T09:56:48.842Z)
OS Version: Linux x64 4.10.0-42-generic
Extensions:

Icons in the left ribbon are buggy, either not showing or tilting. I can access a feature using keyboard shortcuts i.e. ctrl+shift+g, and the last icon is replaced every time. As for now I have only two icons.

Extension
Author (truncated)
Version

vscode-pandoc
Dou
0.0.8

solidity
Jua
0.0.31

code-settings-sync
Sha
2.8.7

html-snippets
abu
0.1.0

yaml
ada
0.0.9

vscode-database
baj
1.2.0

githistory
don
0.2.3

pgsql
dou
0.0.8

vscode-html-css
ecm
0.1.8

vscode-pyvmmonitor
fab
0.0.3

badges
idl
1.0.8

vscode-todo-parser
min
1.9.1

python
ms-
0.9.0

cpptools
ms-
0.14.5

LiveServer
rit
3.0.2

preview-vscode
sea
1.4.2

sonarqube-inject
sil
1.3.1

vscode-todo-highlight
way
0.5.11

debug
web
0.21.2

markdown-all-in-one
yzh
0.11.2

(1 theme extensions excluded)

Steps to Reproduce:

Open vscode from terminal, using code . from my code folder.
See only two icons (or three, never all of them) in the left ribbon

Reproduces without extensions: Yes

I am also experiencing this after updating to Version 1.19.0. The search icon is the only persistent icon for me. I can use a keyboard shortcut to show another icon below the search icon, but it disappears after clicking on the search icon. I'm not sure, but this may have happened after I tried out Zen mode.

@isidorn I wonder if something is broken in 1.19, this is the second time I hear that people lost the icons in the activity bar?

@bpasero we did the big refactoring of the composite bar with the 1.18 release. So it should not be connected with that
@diegoquintanav @APlowman what context menu do you get if you right click on the activity bar (the left ribbon)?
What happens if you reload the window?
What happens if you resize the window vertically such that it no longer has enough space and then you resize it again to have a lot of space?
What happens if you hid / show the activity bar using the view menu?
Thanks

@isidorn

Reload window/ restart code / reboot my VM does NO effect.
resize the window vertically has NO effect.
using view menu can show the icon.

Right click can fix this problem.

@qin-nz do you remember that you used this menu before to remove a view from the side bar?

I think I never see this menu before.

@isidorn @bpasero Right-clicking on the activity bar and adding the icons back in has fixed it for me too. I have never used that context menu before.

Ok so the workaround is to show those viewlet again just use the context menu -> thus I think this is not critical candidate.
As for the issue I can only speculate why it is happening. We are now smareter as when we do the layout, so maybe we were lucky that this was not happening before due to some unneded additional layouting.
@APlowman @diegoquintanav @qin-nz if you can still reproduce this, can you F1 > developer tools> and put a brekapoint here and check what are the pinnedComposites and and what are the options.composites. Make sure to have the bottom panel closed while you are debugging, to not hit the wrong compositeBar

@isidorn Resizing, hiding and showing the activity bar does nothing. However, the context menu after right clicking the on the bar lets me add stuff the same way @qin-nz shows. This kind of solves it.

@isidorn The problem has surfaced again. I'm happy to try to help you but I'm not very experienced with this sort of thing. What do I do after opening developer tools?
I've tried to isolate the issue a bit more. First I open a new window in Code and use the activity bar context menu to select just two icons, A and B, where A appears above B (e.g. Explorer and Search). In this state, clicking between the two icons works fine, nothing disappears. Next, I remove icon B (A) again using the right-click context menu. Next, I add the icon B (A) back in with either a keyboard shortcut or via the View menu. Now there is a problem, because clicking on icon A (B) causes icon B (A) to disappear!

Thanks for more details.
If somebody who sees this issue wants to do a live skype debugging session with me would be great. Just mail me at inikolic at microsoft com

@isidorn is there any place where you write to storage service maybe too early when not all viewlets are there and then we loose some?

@bpasero no, just checked and I only write to storageService on shutdown.

@isidorn I could get in skype today, I'm sending you an invite.

@diegoquintanav I have pinged you on Skype from my personal account.

@APlowman what you describe in https://github.com/Microsoft/vscode/issues/40531#issuecomment-353063778 is actually expected behaviour: as long as you are not explicitly "pinning" back a view to the side bar it will disappear once another view opens. We still show it if you make the view visible but it is not permanently added back to the side bar.
What still puzzles me is how you get into this state in the first place without ever using this context menu to remove an item.

@bpasero Ah, OK. That makes sense then. In that case, since reinstating the icons with the context menu, there is no longer any problem for me.

Still not sure how to reproduce but it looks like there is a chance that updateCompositeSwitcher modifies this.pinnedComposites which later on would be stored permanently.
The fix is to make sure a copy of that array is used in layout calls. If we decide to do a 1.19.2 we should probably include this one depending on how many users hit it.


Facebook: HTTP Error 404: Not Found

Checklist

[x ] I'm reporting a broken site support
[ x] I've verified that I'm running youtube-dl version 2020.03.08
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.facebook.com/story.php?story_fbid=1894260174032000']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.08
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-91-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6
[debug] Proxy map: {}
[facebook]<PHONE_NUMBER>032000: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2238, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
Description

WRITE DESCRIPTION HERE
Public Facebook videos can't be downloaded due to http error. Content is available even when not signed in (i.e. public).

Wrong. Not available in browse.


Align assembly creation with standard maven practice for multi module builds (fix dup, errors, conciseness)

Signed-off-by: Nigel Jones<EMAIL_ADDRESS>This PR (currently in draft, for comments & verification) aims to improve the creation of our assemblies

Use of relative paths has been replaced by the specification of modules (maven artifacts) within the project
We can use default behaviour in many cases to just get the jars we need
By fully qualifying each needed artifact we get error checking -- so we won't have silent errors as before where the assembly runs, but in fact missing files because the path is wrong, or the build order
The assembly is more concise & less error prone
By also adding dependencies in the pom we ensure the dependency is built at the correct time (after everything needed)
Follows maven principles/best practice rather than using cross-module file paths (../../.. ... etc)
We can stop using Uber jars and AUTOMATICALLY collate dependencies into directories. (size reduction, more as a user would expect) - though we can control this. For example the spring boot server chassis is already built with dependencies, so we can skip dependencies there. More use for clients/connectors.

As an example of the error, there is a bug in the current definition with:
18:28:46,345 [WARNING] The following patterns were never triggered in this artifact inclusion filter:
o  'org.odpi.egeria:admin-services-config-metadata-sample:*'
o  'org.odpi.egeria:config-metadata-server-sample:*'

leaving this in to check the build.
As an example of dependencies, here I added all the connectors into server/lib (the thin jars, not with dependencies), and this is what the assembly process gave me:
jonesn:egeria/ (issue3231) $ ls /Users/jonesn/IdeaProjects/egeria/open-metadata-distribution/open-metadata-assemblies/target/egeria-2.1-SNAPSHOT-distribution/*T/server/lib
FastInfoset-1.2.15.jar                                        janusgraph-cassandra-0.5.2.jar
HdrHistogram-2.1.11.jar                                       janusgraph-core-0.5.2.jar
HikariCP-3.4.5.jar                                            janusgraph-cql-0.5.2.jar
HikariCP-java7-2.4.13.jar                                     janusgraph-driver-0.5.2.jar
LatencyUtils-2.0.3.jar                                        janusgraph-es-0.5.2.jar
ST4-4.0.8.jar                                                 janusgraph-lucene-0.5.2.jar
admin-services-api-2.1-SNAPSHOT.jar                           java-driver-core-4.7.2.jar
admin-services-client-2.1-SNAPSHOT.jar                        java-driver-shaded-guava-25.1-jre-graal-sub-1.jar
admin-services-config-metadata-server-sample-2.1-SNAPSHOT.jar javapoet-1.8.0.jar
admin-services-registration-2.1-SNAPSHOT.jar                  javassist-3.26.0-GA.jar
admin-services-server-2.1-SNAPSHOT.jar                        javatuples-1.2.jar
admin-services-spring-2.1-SNAPSHOT.jar                        javax.activation-api-1.2.0.jar
analytics-modeling-api-2.1-SNAPSHOT.jar                       javax.annotation-api-1.3.2.jar
analytics-modeling-server-2.1-SNAPSHOT.jar                    javax.json-1.0.jar
analytics-modeling-spring-2.1-SNAPSHOT.jar                    jaxb-api-2.3.1.jar

and it goes on.
 And before we were putting many of these in every single jar, making our distribution many times the size it needed to be.
Todos

the build of the assembly took a long time locally. need to check on build service (here). However we can remove the creation of all 'jar-with-dependencies' which will save time. It is the server chassis that currently takes a long time.
In the process I noticed quite a few discrepancies which still need addressing - ie exactly what do we want where. We have a security sample but used by our notebooks, so we add to server/lib. What do we actually want? Should we extend the LOADER_PATH to samples too?
I've excluded the ranger/security connectors - they pull in so many dependencies
still need to work through some bugs in file placement (ie properties)
need to running server & containers
the tutorial assembly used for our notebooks as not been refactored yet
need to identify need for any other assemblies
old assembly file needs removing

Interesting to see that this approach is exposing some more underlying build issues.
The verification build failed with a number is issues around Cassandra/Janusgraph that we hadn't previously seen -- since we'd built individually.
Yet as a coherent stack, we probably do want the consistency these errors expose issues in
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for org.hdrhistogram:HdrHistogram:2.1.11 paths to dependency are:
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:cassandra-data-store-connector:2.1-SNAPSHOT
    +-com.datastax.oss:java-driver-core:4.7.2
      +-org.hdrhistogram:HdrHistogram:2.1.11
and
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:server-chassis-spring:2.1-SNAPSHOT
    +-org.springframework.boot:spring-boot-starter-actuator:2.3.1.RELEASE
      +-io.micrometer:micrometer-core:1.5.2 (managed) <-- io.micrometer:micrometer-core:1.5.1
        +-org.hdrhistogram:HdrHistogram:2.1.12
,
Require upper bound dependencies error for org.apache.tinkerpop:tinkergraph-gremlin:3.4.5 paths to dependency are:
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:cassandra-data-store-connector:2.1-SNAPSHOT
    +-com.datastax.oss:java-driver-core:4.7.2
      +-org.apache.tinkerpop:tinkergraph-gremlin:3.4.5
and
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:graph-repository-connector:2.1-SNAPSHOT
    +-org.janusgraph:janusgraph-core:0.5.2
      +-org.apache.tinkerpop:tinkergraph-gremlin:3.4.6
,
Require upper bound dependencies error for org.apache.tinkerpop:gremlin-driver:3.4.5 paths to dependency are:
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:cassandra-data-store-connector:2.1-SNAPSHOT
    +-com.datastax.oss:java-driver-core:4.7.2
      +-org.apache.tinkerpop:gremlin-driver:3.4.5
and
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:graph-repository-connector:2.1-SNAPSHOT
    +-org.janusgraph:janusgraph-driver:0.5.2
      +-org.apache.tinkerpop:gremlin-driver:3.4.6
,
Require upper bound dependencies error for org.apache.lucene:lucene-core:7.7.2 paths to dependency are:
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:graph-repository-connector:2.1-SNAPSHOT
    +-org.janusgraph:janusgraph-lucene:0.5.2
      +-org.apache.lucene:lucene-core:7.7.2
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:graph-repository-connector:2.1-SNAPSHOT
    +-org.janusgraph:janusgraph-lucene:0.5.2
      +-org.apache.lucene:lucene-analyzers-common:8.4.1
        +-org.apache.lucene:lucene-core:8.4.1
and
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:graph-repository-connector:2.1-SNAPSHOT
    +-org.janusgraph:janusgraph-lucene:0.5.2
      +-org.apache.lucene:lucene-queryparser:7.7.2
        +-org.apache.lucene:lucene-core:7.7.2
and
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:graph-repository-connector:2.1-SNAPSHOT
    +-org.janusgraph:janusgraph-lucene:0.5.2
      +-org.apache.lucene:lucene-spatial:7.7.2
        +-org.apache.lucene:lucene-core:7.7.2
and
+-org.odpi.egeria:open-metadata-assemblies:2.1-SNAPSHOT
  +-org.odpi.egeria:graph-repository-connector:2.1-SNAPSHOT
    +-org.janusgraph:janusgraph-lucene:0.5.2
      +-org.apache.lucene:lucene-spatial-extras:7.7.2
        +-org.apache.lucene:lucene-core:7.7.2

We can skip these warnings if desired - but in general we'd be better adding a transitive dependency (as we tend to also do within a module) - though the two paths to lucene 7.7.2 and 8.4.1 just within janusgraph is intriguing.

Note - current assembly build is taking 06:48 the right way (using artifacts) vs 0:47 the wrong way (incorrect content, relative paths). Reviewing debug logs

Closing for now until the issues written up in #3231 are resolved.
Currently the dependency management is not working as expected, so we can only retrieve ALL dependencies
This means any seperation between connectors, clients, samples cannot be done -- the best we'll get is ALL dependencies.
Requires more thought. Closing here.

Reopening as per discussion in #3548

The revised version of this PR now

Corrects dependencies for open-metadata-assemblies so that we ensure all relevant source projects are built before we try to assemble
Moves the assembly to use maven modules as sources (rather than files)
adds back in missing modules found during inspection
Adds the discovery engine plugins into server/lib
Ensures all utilities/samples are added as 'executable' jars (with dependencies)
Adds all connectors into server/lib IN ADDITION to all of their dependencies (note: this is correctly more than needed due to issue with maven in https://issues.apache.org/jira/projects/MASSEMBLY/issues/MASSEMBLY-940?filter=allopenissues -- and also means we have many individual egeria jars). A little tweaking may be possible but we're bumping up against limitations here.

Running locally the tests were fine.
Suspect either resource or network issues (we had the latter yesterday).
Close/reopen to kick off again

Exception still occuring - in
[INFO] Using working directory for this process: /home/vsts/work/1/s/open-metadata-test/open-metadata-fvt/access-services-fvt/subject-area-fvt/target/../../../../../open-metadata-distribution/open-metadata-assemblies/target/egeria-2.2-SNAPSHOT-distribution/egeria-omag-2.2-SNAPSHOT
Exception in thread "Thread-1900" java.lang.RuntimeException: unexpected
	at com.bazaarvoice.maven.plugin.process.StdoutRedirector.run(StdoutRedirector.java:39)
Caused by: java.io.IOException: Stream Closed
	at java.io.FileOutputStream.writeBytes(Native Method)
	at java.io.FileOutputStream.write(FileOutputStream.java:326)
	at com.bazaarvoice.maven.plugin.process.StdoutRedirector.run(StdoutRedirector.java:34)

The implication would be that something different about the assembly has changed stdout/logging in some way that then breaks the test FVT....

The spring app is self contained -- the assembly change should not have modified it in any way
The same test works locally - albeit MacOS
the test //could// be modified to run from the server chassis but I use the assembly in case in future FVTs depend on pluggable connectors (likely)

removed the logging of the egeria server output (interesting question as to whether to leave in....)
[ERROR] Error: Unable to access jarfile server/server-chassis-spring-2.2-SNAPSHOT.jar

Yet built locally on macOS & Ubuntu 16.10 (zulu jdk, java 11) with a clean git clone, and havign removed ~/.m2, in both cases the build and test ran perfectly to completion.

Also noted verify build uses
-Dmaven.source.skip=true
for invocation and
MAVEN_OPTS=-XX:TieredStopAtLevel=1
No impact locally - all still works.

The issue may be down to
2020-08-14T13:19:05.3539632Z [DEBUG] Adding artifact: org.odpi.egeria:server-chassis-spring:jar:2.2-SNAPSHOT with file: /home/vsts/work/1/s/open-metadata-implementation/server-chassis/server-chassis-spring/target/server-chassis-spring-2.2-SNAPSHOT.jar to assembly location: server/server-chassis-spring-2.2-20200814.131312-1.jar.
2020-08-14T13:19:05.3541269Z [DEBUG] Adding file: /home/vsts/work/1/s/open-metadata-implementation/server-chassis/server-chassis-spring/target/server-chassis-spring-2.2-SNAPSHOT.jar to archive location: egeria-omag-2.2-SNAPSHOT/server/server-chassis-spring-2.2-20200814.131312-1.jar

We don't get this with the UI - out other springboot app
2020-08-14T13:22:09.9411753Z [DEBUG] Adding artifact: org.odpi.egeria:ui-chassis-spring:jar:2.2-SNAPSHOT with file: /home/vsts/work/1/s/open-metadata-implementation/user-interfaces/ui-chassis/ui-chassis-spring/target/ui-chassis-spring-2.2-SNAPSHOT.jar to assembly location: server/lib/ui-chassis-spring-2.2-SNAPSHOT.jar.
2020-08-14T13:22:09.9416076Z [DEBUG] Adding file: /home/vsts/work/1/s/open-metadata-implementation/user-interfaces/ui-chassis/ui-chassis-spring/target/ui-chassis-spring-2.2-SNAPSHOT.jar to archive location: egeria-omag-2.2-SNAPSHOT/server/lib/ui-chassis-spring-2.2-SNAPSHOT.jar

Not clear from the pipeline definition how this config to rename with date is getting added in (as it doesn't occur locally)
it also seems other files in the assembly are affected:
2020-08-14T13:23:52.2818512Z [DEBUG] Adding artifact: org.odpi.egeria:open-metadata-types:jar:jar-with-dependencies:2.2-SNAPSHOT with file: /home/vsts/work/1/s/open-metadata-resources/open-metadata-archives/open-metadata-types/target/open-metadata-types-2.2-SNAPSHOT-jar-with-dependencies.jar to assembly location: utilities/open-metadata-types-2.2-20200814.130044-1-jar-with-dependencies.jar.
2020-08-14T13:23:52.2820234Z [DEBUG] Adding file: /home/vsts/work/1/s/open-metadata-resources/open-metadata-archives/open-metadata-types/target/open-metadata-types-2.2-SNAPSHOT-jar-with-dependencies.jar to archive location: egeria-omag-2.2-SNAPSHOT/utilities/open-metadata-types-2.2-20200814.130044-1-jar-with-dependencies.jar
2020-08-14T13:23:52.2821366Z [DEBUG] Processing binary attachment: jar-with-dependencies for module project: org.odpi.egeria:open-connector-archives:jar:2.2-SNAPSHOT
2020-08-14T13:23:52.2822958Z [DEBUG] Adding artifact: org.odpi.egeria:open-connector-archives:jar:jar-with-dependencies:2.2-SNAPSHOT with file: /home/vsts/work/1/s/open-metadata-resources/open-metadata-archives/open-connector-archives/target/open-connector-archives-2.2-SNAPSHOT-jar-with-dependencies.jar to assembly location: utilities/open-connector-archives-2.2-20200814.131717-1-jar-with-dependencies.jar.

It looks as if the cause is https://stackoverflow.com/questions/10525231/maven-snapshot-jar-file-names-not-consistent-using-maven-assembly-in-manifest-fi
and in particular note:
If the snapshot was resolved from a repo then it will be timestamped, if it came from the reactor or local repo, then it will be -SNAPSHOT. The plugin calls into the maven resolution logic so this is core maven behavior.
In the case above the plugin SHOULD be resolved from the reactor - not a repo. In fact the filename clearly shows it comes from the reactor -- by the path name that is given. that's the source tree not .m2
It appears this is affecting all resources using a classifier - even though it's not clear in the docs this is the case
Workaround seems to be to use '${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}' in the assembly definition


update to metrics 0.23.0 or could work with metrics-exporter-promethe…

…us 0.15.1
What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

https://github.com/huggingface/text-generation-inference/issues/2184

@Narsil please help review


No indication Quick Accent causes issues in some games

Microsoft PowerToys version
0.76.2
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Quick Accent
Steps to reproduce
Quick Accent interferes with some games, primarily those with control schemes similar to FPS games, where you may want to be jumping while running or shooting.
I am aware of #20349.
This is not a duplicate.
Having an exclude list is great.
 At least in Doom 2016.
It would be easy if the selection bar showed. You immediately get the idea what's wrong. But if that's missing, all you get is inputs getting stuck randomly (like your character running sideways without pressing any buttons), jump not working, etc.
Without some sort of miraculous epiphany, all you can rely on is shotgun debugging of everything in your PC, hardware and software included. Did my keyboard break? The game? Driver issue? Google is not showing any good results, is my problem really that niche?
✔ Expected Behavior
I guess the bug here would be that the selection bar does not show in some fullscreen applications. I tested only a couple of games - doesn't show up in Doom 2016, does show up in Bioshock 1/2.
Frankly I don't know what the solution would be. I know game engines all differ wildly in how they put the picture on the screen, so I don't know if a universal fix is possible.
If ensuring it always paints on top is not feasible (likely given the amount of game engines and graphics apis out there), perhaps something easier to implement? Is it possible to detect if the accents bar doesn't show and drop a notification for the user to eventually notice? Or some other unusual state or inputs that may indicate a user struggling?
❌ Actual Behavior
No response
Other Software
No response

I'd argue the simplest solution (outside of a fix to the overall issue) is best here - we should have some sort of "Warning!" text in the PowerToys UI for Quick Accent that informs users to disable Quick Accent before gaming. This would hopefully provide some level of knowledge that it causes issues.

For me, even with the game detection on, I still get the bar in Rise of the Tomb Raider


What about a minecraft inspired minimap to add-on to this?

I like this idea of a mod but what about adding a minimap as well that is minecraft-inspired.

Billy, the original creator of Pl3xMap, had started work on something like this early on in Pl3xMap's infancy but eventually abandoned/lost motivation to keep it up.
If you want a minimap that pulls server data and displays it client-side, I'm open to pull requests that add this. Pl3xMap already does something similar by replacing in-game maps with the webmap's tiles.
You'll need to look elsewhere if you're looking for a standalone generic minimap mod.


Added federated:id claim in token request

Fixes https://github.com/epinio/ui/issues/246
This PR adds the federated:id scope to the token request (https://dexidp.io/docs/custom-scopes-claims-clients/#scopes)

Scope
Description

federated:id
ID token claims should include information from the ID provider. The token will contain the connector ID and the user ID assigned at the provider.

This scope is used from the Epinio server to understand which was the provider used to login and use this information to associate the right group with the proper role.
See https://github.com/epinio/epinio/pull/1865/files for the server implementation.

Verified fixed in epinio v1.9.0-rc3 - all good


Dtree features

Hi Morgan,
I did some modifications to the docstrings and the logic inside the class.
You really did a good job crafting the class. Thank you so much.
On several occasions, I went for simplifying the class and putting some work to perform checks on the user's plate.
I'll try to comment throughout the code.
Also, I rebased main, probably that's why you cant merge straightaway :/

hi @solegalli,
I'm sorry but I never noticed this PR. I performed additional changes to the code base after you created this PR. Consequently, there are many conflicts.
Should I replicate your code from this PR in feature-engine feature-engine PR #454? Or, is there a better approach?
Sorry again for the overlook :(

Can we not resolve the conflicts from here? Did you try?
I can come back and check them a bit later, otherwise.


[AUTOPATCHER] Patches CVE-2021-45960 for expat

        Patches CVE-2021-45960 for expat.
        This patch and PR was automatically generated and needs human verification before merging.

To be fixed with #1937