Option to flatten results

Currently when "recursive" option is true, results get nested inside directory objects. In many cases you don't actually need that tree structure and flattened result is more convenient to consume.
This should probably come with some mechanism to ensure there are no duplicate filenames.

@dougwilson If you approve of this change, I can produce a PR.

Sorry I missed this issue when you opened it. I was just looking through everything now that all your PRs are merged looking to see if there is anything pending before releasing a 2.0 now. This feature definitely makes sense. It sounds like a semver-minor, so won't hold up 2.0 for this, but you're welcome to make a PR if you want 👍.
I'm thinking that maybe for the conflicts maybe:
(a) concat the dir names together with some character (maybe configurable?) like _. If you use a character that is illegal in a file / dirname like / then that would prevent the possibility of duplicates.
(b) provide a function (could map be reused here?) that would given the parth parts in like an array or something (or just a string of the real relative path) and expect the user to return whatever they want it to be.

[ ] sdfsdd
[ ] dfdfdf


[WIP] Local Navbar for internal navigation

On Hover:

New screenshots are updated in the PR description

Remove signup
Let the navbar elements come from a list of objects


Import code from the SDK v1.0.0-rc5

The microgrid API client code is imported as-is from the SDK v1.0.0-rc5, except for some fixes to make nox/the CI pass:

Fix imports
Add the missing Fuse type
Workaround a weird mypy error about type mismatch in grpcio
Fix wrong comparison
Ignore pylint check

Any other cleanups and improvements will be done in future PRs.

LGTM, though I am sad about the loss of Quantities for the fuse class

That should be addressed in the higher-level interface.

I was going to merge so I can move forward, as it is just importing code, but I still need a review from a code owner (@frequenz-floss/api-microgrid-team). Not sure if we want to change this, at least for repos that need a fast pace during the initial development (either add more owners or remove the requirement that only code owners can really approve)

Why is it owned by the microgrid api team?  They don't know this code and didn't write it either.  Unless you want to change the composition of the microgrid team,  this should be owned by the sdk team.

I added a new commit to add the SDK team as an owner but we still need approval from the old owner to merge the change of ownership. I also added a discussion item for next meeting to talk about team structure.

I'm force-merging to unblock this.


Semantic versioning

This PR adds optional bender like semantic versioning resolution to IPApprox. This PR adds 'semver' as a new optional dependency to IPApprox. If it is not installed, semver resolution will just be skipped without issuing a fatal error (however, a warning is printed to stdout). In order to make it easier to install dependencies together with IPApproX I added a minimum setuptools description to the project. Now it can be installed with pip.

both are great changes!


Biome Color Key Overlay

It'd be super helpful if there was an toggleable sidebar with the biome colors, because even after a ton of time playing the game and looking at this same map, I struggle to remember which color indicates which.
Alternately, maybe have the mouseover show surface biome in addition to coordinates?

+1 to this


updating britepool docs

Updating BritePool user id module description

@bansawbanchee - ping.

Hi, we cannot merge your docs into our doc set as there are changes pending. Could you either make the changes or cancel this PR, it is over 3 months old. Thanks.

I just fixed this myself by dropping the objectionable clause in a separate PR #2735 . Closing this one.


Fix ReflectionUtil typo

Pull Request Test Coverage Report for Build 4314

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
44 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.5%) to 52.028%

Files with Coverage Reduction
New Missed Lines
%

bundle/src/main/java/com/adobe/acs/commons/data/CompositeVariant.java
2
93.33%

bundle/src/main/java/com/adobe/acs/commons/data/Spreadsheet.java
8
87.94%

bundle/src/main/java/com/adobe/acs/commons/mcp/impl/processes/DataImporter.java
10
80.49%

bundle/src/main/java/com/adobe/acs/commons/data/Variant.java
24
84.74%

Totals

Change from base Build 4277:
0.5%

Covered Lines:
13056

Relevant Lines:
25094

💛  - Coveralls

Can you just use #1879 in the changelog?  I'm ok with using PR numbers if there's no defect number.

I think there is an overlap with #1883 and I am inclined to rather merge #1883 over this one as this also adds some unit tests.


Update README.md with some stuff that helped me install.

Got me up and running :) Some stuff that's super helpful to document.

After you make these corrections, please squash your commits and force push the branch back up.

I'm trying to get up and running but I don't know how to edit the .env file. Is there some instruction on how to do that?

@SaehanLee You'll need to create the file and can then just open and edit it with a text editor. Visit Help Conbtributors if you need more assistance.

closing as stale. Please feel free to re submit when ready.


Adding consul capability to connect via tls

Hello everyone,
I would like add the tls capability for consul.
Before this update I was not able to connect to a secured consul with a given key,ca and cert files.
@brian-brazil , I think it is for you

@YKlausz Ping - seems like besides my nit, the only outstanding TODO here is a make format run?

Thank you and now Is it good ?

I think this fixes #2365.

Merging, we can fix the import groups later if we care.

@Gouthamve Thanks for making the connection, I will mention in that issue and close it!

Filed an issue for documenting the new options: https://github.com/prometheus/docs/issues/681 - anyone, feel free to grab it.


Unit Test fails for UWP Packaged version of Window Form (WF) application

The VS solution consists of:

WF Project
UWP Package Project
Unit Test Project
Install Project for WF app

The test project code works for the WF app located in the VS development path and after it is installed on the system by changing the test code AppId string  in the appCapabilities.SetCapability("app", AppId); statement.
For the UWP version I set the test code’s AppId to the value in the RegisteredUserModeAppID in the .\AppX\vs.appxricipe file generated by the UWP Package Project.
When I start the test the application opens followed by a delay of a few seconds then I get the following error messages from the WinAppDriver and an Exception User Unhandled dialog box that pop up in the test project:
Note: The app and appid strings have been replaced with xxx, processId string has been replaced with yyy, and file path strings have been replaced with zzz
WinAppDriver message:
{"desiredCapabilities":{"platformName":"Windows","app":"xxx","deviceName":"WindowsPC"},"capabilities":{"firstMatch":[{"platformName":"Windows"}]}}
HTTP/1.1 500 Internal Error
Content-Length: 230
Content-Type: application/json
{"status":13,"value":{"error":"unknown error","message":"Failed to locate opened application window with appId: xxx, and processId: yyy"}}
==============================================================
Exception User-Unhandled dialog box pops up on the test code Line:
session = new WindowsDriver(new Uri(WindowsApplicationDriverUrl), appCapabilities);
System.InvalidOperationException
HResult=0x80131509
Message=Failed to locate opened application window with appId: xxx, and processId: yyy
Source=WebDriver
StackTrace:
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters)    at OpenQA.Selenium.Appium.AppiumDriver1.Execute(String driverCommandToExecute, Dictionary2 parameters)    at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)    at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)    at OpenQA.Selenium.Appium.AppiumDriver1..ctor(Uri remoteAddress, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Appium.Windows.WindowsDriver`1..ctor(Uri remoteAddress, DesiredCapabilities desiredCapabilities)
at BIPNC_UiTests.uiTestSession.Setup(TestContext context) in zzz:line 91
at BIPNC_UiTests.uiTests.ClassInitilize(TestContext context) in zzz:line 61
Note:
line 61 is          Setup(context);
line 91 is             session = new WindowsDriver(new Uri(WindowsApplicationDriverUrl), appCapabilities);

Hi @bobbryant ,
The answer in my case was to set "Developer Mode". Just go to the Start menu and type "Use Developer Features". Set "Developer mode" to On and agree to the instal etc.
and run the WinAppDriver.exe in background .
it will fix your issue.

I have development mode enabled.
Bob Bryant
Email address<EMAIL_ADDRESS><EMAIL_ADDRESS>Cell Phone:<PHONE_NUMBER>
From: BalarajAdappa<EMAIL_ADDRESS>Sent: Tuesday, October 1, 2019 12:03 AM
To: microsoft/WinAppDriver
Cc: Bob Bryant; Mention
Subject: Re: [microsoft/WinAppDriver] Unit Test fails for UWP Packaged version of Window Form (WF) application (#890)
Hi @bobbryant https://github.com/bobbryant  ,
The answer in my case was to set "Developer Mode". Just go to the Start menu and type "Use Developer Features". Set "Developer mode" to On and agree to the instal etc.
and run the WinAppDriver.exe in background .
it will fix your issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/WinAppDriver/issues/890?email_source=notifications&email_token=ABTIUOJJNKONBPPZ4D3MEULQMLY2VA5CNFSM4I3MHIYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAAG4XQ#issuecomment-536899166 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABTIUONVG4676G4KTI5WIBLQMLY2VANCNFSM4I3MHIYA .  https://github.com/notifications/beacon/ABTIUOPAZ7EKSNTREKR6CQDQMLY2VA5CNFSM4I3MHIYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAAG4XQ.gif

Hi @bobbryant,
Are you still facing this issue? If so, I believe this has to do with a bug with how WinAppDriver tries to locate some WPF apps.
A workaround is the following:

Create your dedicated app session as you would normally - but place inside a try - catch expression since the app session is expected to fail. At the very least, this would launch your app even though WinAppDriver will be unable to attach onto it.

Create a new Desktop (root) Session. The purpose of this session would be to locate and switch to the WPF app window that the previously failed attempt launched.

Override your dedicated app session with the newly attached one.

The code will potentially look something like this:
        protected static WindowsDriver<WindowsElement> session;
        protected static WindowsDriver<WindowsElement> DesktopSession;

public static void Setup(TestContext context)
        {
            if (session == null)
            {
                // Create a new session to bring up an instance of the Calculator application
                var appiumOptions = new AppiumOptions();
                appiumOptions.AddAdditionalCapability("app", WPFAPPID);
                appiumOptions.AddAdditionalCapability("deviceName", "WindowsPC");
                DesktopSession = null;
                try
                {
                    Console.WriteLine("Trying to Launch App");
                    DesktopSession = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl), appiumOptions);
                }
                catch
                {
                    Console.WriteLine("Failed to attach to app session (expected).");
                }
                 //Create Desktop (root) Session
                appiumOptions.AddAdditionalCapability("app", "Root");
                DesktopSession = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl), appiumOptions);
                //Use inspect.exe to identify the main app window handle. This is what WinAppDriver will be
                //latching onto.
                var mainWindow = DesktopSession.FindElementByAccessibilityId("APP WINDOW HANDLE");
                Console.WriteLine("Getting Window Handle");
                var mainWindowHandle = mainWindow.GetAttribute("NativeWindowHandle");
                mainWindowHandle = (int.Parse(mainWindowHandle)).ToString("x"); // Convert to Hex
                appiumOptions = new AppiumOptions();
                appiumOptions.AddAdditionalCapability("appTopLevelWindow", mainWindowHandle);
                session = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl), appiumOptions);
            }
        }

Please re-open or create a new issue if the above wasn't able to address it^.

Thanks for the response
I know it’s been awhile but I finally got back to work on this problem. Using your example I can now test both the desktop and the UWP versions of my app by just changing the value in WPFAPPID.  The original app is from a Windows form project that I have added a Window Application Packing Project (UWP) and a  Unit Test Project.  At present there is very little difference between the desktop and UWP versions of the app that I need to tested.
I have not found a consistent set of documentation on using appium for testing in C# and most of my knowledge has come from examples on the web.
Thank again
Bob Bryant
Email address<EMAIL_ADDRESS><EMAIL_ADDRESS>Cell Phone:<PHONE_NUMBER>
From: Hassan Uraizee<EMAIL_ADDRESS>Sent: Friday, November 1, 2019 12:57 PM
To: microsoft/WinAppDriver
Cc: Bob Bryant; Mention
Subject: Re: [microsoft/WinAppDriver] Unit Test fails for UWP Packaged version of Window Form (WF) application (#890)
Hi @bobbryant https://github.com/bobbryant ,
Are you still facing this issue? If so, I believe this has to do with a bug with how WinAppDriver tries to locate some WPF apps.
A workaround is the following:

 Create your dedicated app session as you would normally - but place inside a try - catch expression since the app session is expected to fail. At the very least, this would launch your app even though WinAppDriver will be unable to attach onto it.

 Create a new Desktop (root) Session. The purpose of this session would be to locate and switch to the WPF app window that the previously failed attempt launched.

 Override your dedicated app session with the newly attached one.

The code will potentially look something like this:
    protected static WindowsDriver<WindowsElement> session;
    protected static WindowsDriver<WindowsElement> DesktopSession;

public static void Setup(TestContext context)
{
if (session == null)
{
// Create a new session to bring up an instance of the Calculator application
var appiumOptions = new AppiumOptions();
appiumOptions.AddAdditionalCapability("app", WPFAPPID);
appiumOptions.AddAdditionalCapability("deviceName", "WindowsPC");
DesktopSession = null;
try
{
Console.WriteLine("Trying to Launch App");
DesktopSession = new WindowsDriver(new Uri(WindowsApplicationDriverUrl), appiumOptions);
}
catch
{
Console.WriteLine("Failed to attach to app session (expected).");
}
//Create Desktop (root) Session
appiumOptions.AddAdditionalCapability("app", "Root");
DesktopSession = new WindowsDriver(new Uri(WindowsApplicationDriverUrl), appiumOptions);
//Use inspect.exe to identify the main app window handle. This is what WinAppDriver will be
//latching onto.
var mainWindow = DesktopSession.FindElementByAccessibilityId("APP WINDOW HANDLE");
Console.WriteLine("Getting Window Handle");
var mainWindowHandle = mainWindow.GetAttribute("NativeWindowHandle");
mainWindowHandle = (int.Parse(mainWindowHandle)).ToString("x"); // Convert to Hex
appiumOptions = new AppiumOptions();
appiumOptions.AddAdditionalCapability("appTopLevelWindow", mainWindowHandle);
session = new WindowsDriver(new Uri(WindowsApplicationDriverUrl), appiumOptions);
}
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/WinAppDriver/issues/890?email_source=notifications&email_token=ABTIUOMD4C4Z62XKGZXZ6TTQRSCZBA5CNFSM4I3MHIYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC377UQ#issuecomment-548929490 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTIUOP22QVH6BD3LNEJVTLQRSCZBANCNFSM4I3MHIYA .  https://github.com/notifications/beacon/ABTIUOISJ46ERYURU3UQAETQRSCZBA5CNFSM4I3MHIYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC377UQ.gif


Fix docs bash script

Fix conversion of task from powershell to bash.

@mergifyio/backport release/4.6.x

@mergifyio backport release/4.6.x


Separate updating of tools on agent

Signed-off-by: Trecia Agoylo<EMAIL_ADDRESS>This feature will allow updating of tools on agents separately by calling  'update_agents()' in the pipeline job. In this function, it will clone and install the tools on all the agents available, the cloned repository will be copied to the agent's local directory in order to be reused when docker mode is enabled.
When docker mode is enabled, setting up the same tools is also required. This feature will allow using the stored local copy of the repository in order to install the tools, removing the downloading of the repository in every container that is created.

For the shift to move things to /app does this break the install calls? How do you move to /app ?


AnsibleUndefinedVariable: 'ansible.parsing.yaml.objects.AnsibleUnicode object' has no attribute 'h'

Playbook config:
- hosts: all
  become: true
  debugger: on_failed

  roles:
  - role: m3nu.ansible_role_borgbackup
    borg_encryption_passphrase: 70E348BE-B802-4ED3-AB3E-710CA8925398
    borg_repository<EMAIL_ADDRESS>    borgmatic_hooks: https://hc-ping.com/a-b-c-d
    borg_exclude_patterns:
      - '*.pyc'
      - '~/*/.cache'
      - '.DS_Store'
      - '/var/lib/lxcfs/'
      - '/var/cache/*'
      - '/var/tmp/*'
      - '/home/*/.cache/*'
      - '/root/.cache/*'
      - '/var/lib/yum/yumdb'
    borg_remote_path: borg1
    borg_source_directories:
      - '/etc'
      - '/home'
      - '/root'
      - '/var'
      - '/srv'
    borg_retention_policy:
      keep_daily: 3
      keep_weekly: 2
      keep_monthly: 2
      keep_yearly: 2

Partial logs:
TASK [m3nu.ansible_role_borgbackup : Set Repository Fact] **********************
skipping: [instance-1]

TASK [m3nu.ansible_role_borgbackup : Ensures /etc/borgmatic exists] ************
ok: [instance-1]

TASK [m3nu.ansible_role_borgbackup : Add Borgmatic Configuration] **************
fatal: [instance-1]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'ansible.parsing.yaml.objects.AnsibleUnicode object' has no attribute 'h'"}

Running on CentOS 7 x64.
$ ansible-playbook --version
ansible-playbook 2.10.3
  config file = /Users/birkhofflee/.ansible.cfg
  configured module search path = ['/Users/birkhofflee/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/2.10.4/libexec/lib/python3.9/site-packages/ansible
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.9.1 (default, Feb 13 2021, 13:16:42) [Clang 12.0.0 (clang-1<IP_ADDRESS>)]

I have tried both the version on Ansible Galaxy and here master branch of this repo. Please shed some light on this issue. Thanks

You probably want to escape borg_repository and borgmatic_hooks. Else it's not valid YAML and thus the error.

See also http://www.yamllint.com

Thanks @m3nu .
---
- hosts: all
  become: true
  debugger: on_failed

  roles:
  - role: m3nu.ansible_role_borgbackup
    borg_encryption_passphrase: x-x-x-x-x
    borg_repository<EMAIL_ADDRESS>    borgmatic_hooks: "https://hc-ping.com/x-x-x-x-x"
    borg_exclude_patterns:
      - '*.pyc'
      - '~/*/.cache'
      - '.DS_Store'
      - '/var/lib/lxcfs/'
      - '/var/cache/*'
      - '/var/tmp/*'
      - '/home/*/.cache/*'
      - '/root/.cache/*'
      - '/var/lib/yum/yumdb'
    borg_remote_path: borg1
    borg_source_directories:
      - '/etc'
      - '/home'
      - '/root'
      - '/var'
      - '/srv'
    borg_retention_policy:
      keep_daily: 3
      keep_weekly: 2
      keep_monthly: 2
      keep_yearly: 2

yamllint playbook.yml produces no output. Ansible run still fails:
TASK [m3nu.ansible_role_borgbackup : Add Borgmatic Configuration] ********************************************
fatal: [instance-1]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'ansible.parsing.yaml.objects.AnsibleUnicode object' has no attribute 'h'"}
[instance-1] TASK: m3nu.ansible_role_borgbackup : Add Borgmatic Configuration (debug)>

should be
    borgmatic_hooks:
      healthchecks: 'https://hc-ping.com/a-b-c-d'

instead of
    borgmatic_hooks: https://hc-ping.com/a-b-c-d


enhancement(release): Improve Install script for macos, windows, linux

Why do we need it?
the install script involves some unnecessary user interaction.
also some parts are not quite polished
What it will bring?
it will enable automatically detect the latest release. and will install that if no env.INSTALL_VERSION specificed
Additional context
Check Contribution's guidelines

These are some of them

https://github.com/kubesimplify/ksctl-cli/blob/main/scripts/install.sh
https://github.com/kubesimplify/ksctl-cli/blob/main/scripts/install.ps1
https://github.com/kubesimplify/ksctl-cli/blob/main/scripts/uninstall.ps1
https://github.com/kubesimplify/ksctl-cli/blob/main/scripts/uninstall.sh

/assign

Oh forgot there is no automation 🧐😂

@verma-kunal any updates


Is it possible that the labels in the CSI tool are wrong?

In the wrf-chem example, the first label says "Airnow" and the second says "WRF-Chem". To me, this is very confusing, since:
a) There are two WRF-Chem mechanisms tested there
b) the "CSI" of Airnow doesn't make any sense: the values are compared against Airnow.
I believe, also seeing the examples that @btang1 sent to me, that we would expect the labels to be RACM_ESRL and RACM_ESRL_VCP.
Is that correct, @btang1?
Cheers
Pablo

yes. it is currently wrong in example file. those 2 should be names of 2 model, not include observations.
see my yaml file example attached.

@blychs

Thanks! I believe Becky is addressing this in #285 .
Cheers
Pablo

This is fixed now!


Remove ZF1 APPLICATION_ENV

APPLICATION_ENV was the ZF1 way of define the config source. ZF2 way is to have a environment config file in config folder

ping @akrabat

:+1:  I change it in my PR @Maks3w :P


Add package vds

Should I rename this to something else?
Because I found this:

Should I rename this to something else?

If you ask me, it is up to you.
What the others are saying? @Clyybber @Yardanico ?

I guess I can change it later if there is a problem.

I think it's okay - https://docs.microsoft.com/en-us/windows/win32/vds/about-vds is a service and if Nimble adds binary folder to PATH after the system PATHs so it'll work just fine.


Remove serverHeader

The server header was being served all the time by http-server to identify itself. While not usually a big deal, this is unnecessary and potentially reveals security vulnerabilities. Taking a page from engineering, I ask, why do we even need it? This PR removes the server header.
Fixes #237

Hey @zbynek you've been super active lately, what do you think of this PR?

Yup, so I'm not so worried about the use case that requires this header


[chip-test, dv] Investigate alert 37 on FPGA

In #16062, I was not able to clear the alert_cause_37 register on FPGA. The DV sim part was ok.
I would like to investigate this to figure out the root cause.

Hey @bilgiday, did you make any progress on this in the meantime?
Do you think it's still worth investigating this?

Hi @msfschaffner,
I checked the SV code, and it seems that the fatal_err signal is generating this alert. The fatal_err is driven by the FLASH_CTRL_FAULT_STATUS CSR.
Then, I printed the value of the FLASH_CTRL_FAULT_STATUS CSR from the failing part of the C code in my local branch:

The value of the CSR is 0x00000144.
The rd_err, seed_err, and phy_storage_err bits are 1.

As I only observe this behavior on FPGA, the problem is probably related to our FPGA flash_ctrl setup rather than the the Verilog implementation itself. WDYT?

Hey @bilgiday - ok interesting.
The reason why you can't clear this alert cause is that it is a fatal alert, which continues firing no matter what.
The question to me is more why the rd_err, seed_err, and phy_storage_err bits are 1 in this case, since these are not alert sources we would expect in this test (we expect ping fails and local alerts, but no flash ECC related alerts).
Do you have an indication in which phase of the test this happens?
static uint16_t alert_handler_num_fired_alerts(void) is called in multiple places I believe...

This issue has been root caused in #20961


Open sourcing the backend API server

Can you open source the underlying crawler/API server too?

Unfortunately there is no plan to open source the backend server too,
We may reconsider this when having more resources.

Wish to have an API server for building designer's news aggregator.
Do you have any suggestions?
Thanks.


Add ExactType to experimental

Based on https://github.com/python/mypy/issues/8363#issuecomment-2462048345

It's easy to show this is unsound: https://mypy-play.net/?mypy=latest&python=3.12&gist=e3f654f7d6840c8648f9a978671a2961 . Not sure we should add it here.


Can't have multiple rotations in a Matrix3

Im currently using the package vector_math64. If I make a matrix and set the rotations for different axes, the last axis on which setRotations is called will overwrite every rotation before that. So this matrix will only rotate around Y.
vm.Matrix3 rotation = vm.Matrix3.zero();
rotation.setRotationX(vm.radians(10));
rotation.setRotationY(vm.radians(10));
To get a matrix that can rotate around X and Y you would have to do this:
vm.Matrix3 rotation = vm.Quaternion.euler(vm.radians(-10),vm.radians(10) , 0).asRotationMatrix()
Is this behaviour intended?

@evilevidenz
Are you referring to this dart package ? https://pub.dev/packages/vector_math/install
Can you show us full code and flutter doctor -v ?

Yes I am reffering to this package: https://pub.dev/packages/vector_math/install
I already made a question on stackoverflow with a bit more code: https://stackoverflow.com/questions/68838386/flutter-matrix-rotation-on-multiple-axes.
Flutter doctor:
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19042.1165], locale de-DE)
• Flutter version 2.2.3 at C:\Users\noinn\X\flutter
• Framework revision f4abaa0735 (7 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\noinn\AppData\Local\Android\sdk
• Platform android-31, build-tools 31.0.0
X No Java Development Kit (JDK) found; You must have the environment variable JAVA_HOME set and the java binary in your PATH. You can
download the JDK from https://www.oracle.com/technetwork/java/javase/downloads/.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[√] VS Code (version 1.59.0)
• VS Code at C:\Users\noinn\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.25.0
[√] Connected device (2 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.159
• Edge (web)   • edge   • web-javascript • Microsoft Edge 92.0.902.73
! Doctor found issues in 2 categories.

Thanks for confirming. You'll need to report it in dedicated repo: https://github.com/google/vector_math.dart/issues
Closing from here. If you disagree, write in comments and I'll reopen it.
Thanks.


include new QGIS image, with improved outer UI and clipboard handling

Includes a much improved UI for the shell around the QGIS desktop in Jupyter. Thanks much to @yuvipanda for the work in https://github.com/jupyterhub/jupyter-remote-desktop-proxy that added this.
This is what the UI now looks like:

Improves how Copy - Paste works
Gives access in the UI to go back to JupyterHub launcher + Server manager
Greatly improves the look of the shell UI, to make this look and behave well integrated into the JupyterHub setup.

I tested this image on staging and it seems to work well.
cc @yuvipanda

Thanks @batpad. Can you let the folks in the #veda-ap channel know about these improvements too once this goes out?


Store state in share link url

Feature request
As an administrator, I want to enable link sharing without configuring a backing store.
eg, Grafana's Explore page encodes relevant state like:
https://example.com/grafana/explore?orgId=1&left={"datasource":"8M8oDGJVz","queries":[{"refId":"A","datasource":{"type":"prometheus","uid":"8M8oDGJVz"},"editorMode":"builder","expr":"go_build_info","legendFormat":"__auto","range":true,"instant":true}],"range":{"from":"now-1h","to":"now"}}
Benefit
Users could simply copy/paste the URL from the browser, without using the special share link UI.
It would also make Promlens operationally simpler, without requiring additional external resources.
Background
Currently, Promlens requires a storage provider (eg postgres or sqlite) to enable the share link functionality.
Looking at https://github.com/prometheus/promlens/blob/0e62d284ab9b15ef9ba380adb795bda5d8922621/pkg/sharer/sharer.go ,  this happens by approximately like:

user clicks "share link" button in client UI
client sends JSON of page state to server
server takes JSON string and generates a hash to use as the key and stores the JSON string at key
server returns key to client
client shows link in UI e.g. https://promlens-instance/?l=<key>

If the state were serialized in the link itself, the flow would be simplied:

user clicks "share link" button in client UI
client serializes page state (eg, base64 encoded json) and appends to URL as query fragment, eg https://promlens-instance/#<state>
client shows UI

or further:

as page state changes, client serializes page state into location hash with History.replaceState
at any point, user can copy the URL from the browser address bar

The above examples are a sketch, I'm flexible to other implementation approaches.
Is this in line with the direction for this project? I'm happy to help implement and test or discuss further.

at minimum it would be nice if PromLens was able to load state from Prometheus UI compatible url (i don't care so much about generating new shared links, that might initially only get saved to DB as they are right now).
This would allow using PromLens UI instead of Prometheus UI for prometheus compatible tools that don't have Prometheus compatible UI (like Mimir)


Snapshot for OpenSearch 3.0.0 not getting updated on aws.oss.sonatype

For k-NN, we are getting build failures related to a core change in our CI (failed action):
 > Task :integTest
Error occurred during initialization of VM
java.lang.Error: Could not create SecurityManager
	at java.lang.System.initPhase3(java.base@11.0.17/System.java:2065)
Caused by: java.lang.ClassNotFoundException: allow
	at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@11.0.17/BuiltinClassLoader.java:581)
	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@11.0.17/ClassLoaders.java:178)
	at java.lang.ClassLoader.loadClass(java.base@11.0.17/ClassLoader.java:522)
	at<EMAIL_ADDRESS>Method)
	at java.lang.Class.forName(java.base@11.0.17/Class.java:398)
	at java.lang.System.initPhase3(java.base@11.0.17/System.java:2050)

The issue was introduced in https://github.com/opensearch-project/OpenSearch/commit/e10c9253d621af08698d5b0966de4599ec342318 and then fixed in https://github.com/opensearch-project/OpenSearch/commit/4fc5c8d3fe17a87d2dc6e14a4d1c153b2e06e3e0.
However, I dont think https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/opensearch/3.0.0-SNAPSHOT/ hasnt been updated since Nov 10, before the fix was made. Wanted to see why it wasn't being updated and when it would be updated.

Related issue: https://github.com/opensearch-project/sql/issues/1065


Autocomplete doesn't handle selection of item on Firefox

Framework7 version: 3.1.0
Platform and Target: Windows 10 / Firefox 61.0.1
Live Link: https://framework7.io/docs/autocomplete.html (Issue is present on demo widget)

Describe the bug
When you type and autocomplete options are presented as a dropdown, when you select one, the dropdown disappears but the input is not updated with the selection.
To Reproduce
Steps to reproduce the behavior:

Go to https://framework7.io/docs/autocomplete.html
Using Firefox, type "App" in one of the autocomplete demo inputs on the demo widget
Select "Apple" from the list. The input value is not updated.

Expected behavior
When you click an autocomplete result, the form input should update
Actual Behavior
When you click an autocomplete result, the dropdown disappears but the input is not updated.
Additional context
I did some troubleshooting on this and it appears that the problem is with the blur event blocking the click event.
https://stackoverflow.com/questions/9335325/blur-event-stops-click-event-from-working
The input with the autocomplete hides the dropdown on its blur event and the click event on the autocomplete item never occurs.

Can someone else confirm this? I'm on same FF but on macOS and can't see such issue

Works here


Add disabled and sx props to MenuItemData

Fix docs for correct yarn command
Fix typo nesteMenuItemsFromObjectProps
Add sx and disabled as fields in MenuItemData to allow finer control from menuItemsData prop

Thanks for contributing @beaverusiv
Published to NPM as version 3.1.0.
Although it is a breaking change, the fix is a simple type fix so not worth jumping a major for that.

Just the typo fix is breaking i mean.


extended a watchdog

added 2 callbacks:

first is fired when main thread is not responding within a threshold period
second one delivers actual delay time

moved logging out of the calling thread
defaultThreshold = 0.015
in example removed sleep(1)

Thanks! I would rather keep things simpler in current shape. Better way to get the actual delays is to use runloop (as in version 1.0).


Unpin backports-datetime-fromisoformat again

About
This patch intends to verify our observations shared at https://github.com/conda-forge/wetterdienst-feedstock/pull/102#issuecomment-1751357548, checking again that the recently released package backports-datetime-fromisoformat: 2.0.0-pyh0c530f3_1 is indeed broken in one way or another.

@conda-forge-webservices recommended to close this PR, and re-open it from a fork instead.

@amotl, the reason that it's important not to make branches on the main repo is that they immediately upload packages as soon as CI succeeds even if the PR has not been merged, which we do not want.


Confusing stuff :( Not sure if its working or not ;/

1.does your act otherwise work fine? yes
2.Does your parser work? yes
3.Did you have the overlayplugin? yes with kagerou
4.did you start act as administrator? yes
Client is in german.
I have also Hojoring 7.7 and Discordtrigger installed.
Well the testdummy did not trigger at all , most of the lvl 60 raid / trials i tried did nothing as well.
Afterwards i went into e2s and strangly it spoke and worked pretty well.
The Twinning had maybe 2-3 triggers but in english. And e1n worked pretty poorly as well.
I'm kind of newbie in this stuff. So any ideas how to start troubleshooting or are most of the triggers just not working in german ?
mfg Majin

As far as I know, Kagerou isn't officially supported by Cactbot. Very possibly that's wrong, but you may have to use the base RainbowMage overlay that was maintained by Hibiyasleep until recently. (ngld is working on an update to that overlay for modernization purposes.) That would be the first thing to try.
One other thing to look for is to see whether there are any errors in the log. Plugins > Overlayplugin.dll, then look at the window at the bottom. If you see anything marked in red, see whether that might have a hint. The Twinning has full German support, so the fact that it's not working indicates that there's something very wrong with your setup. (I did a lot of the English work on the Twinning, Quisquous made some changes to my work, and then Akurosia did the German translations. You can see this in the file history. You might see whether that all looks correct.)

Translations are sort of done ad hoc by whoever contributes them.  So, support can be sort of spotty, sometimes.  In general, the savage raids get translated, but everything else not necessarily.  e2n doesn't have any german translations, but I would expect e2s to work properly.
It looks like the twinning doesn't have enough translations for the timeline to start (as they're all zone closing messages that have to be translated).  It is very surprising to me that things called out in English, however.  This suggests to me that cactbot is running in English (as there are some triggers that don't need translations) and most triggers need translations and so don't call out.  Can you check what's in your overlay plugin log? It should print out something like [9/29/2019 9:34:07 PM] Info: Language: de
I'm sorry that there's not better documentation about the state that everything is in.

yeah cactbot detect german.
And it has no red marks while running.
At the twinning there was basically only call outs at the first boss for the the jump attack thats it.

Savage should work mostly (i am also using German client).
Some updates for savage are comming in the next few hours as i am currently adding all missing translations i can find.
for twinning the only missing things should be following 2 lines, rest should be translated correctly:
0 "--Reset--" sync /00:0839:.*is no longer sealed/ window 100000 jump 0 #MISSINGSYNC
1167.3 "Gravity/Crossray??" #MISSINGTEXT

Akurosia can u start a test at the dummies ?

dummy has no german regex for provoke so it can not work.
if you type "/e You use Provoke" it should work fine if you are in Middle La Noscea

/e You use Provoke does nothing ;/

ok the provoke example might not work as you did not renamed your raidboss-example.js to raidboss.js
After this you need to reload your timeline overlay

i have no raidboss-example.js at all oO

it is under Overlayplugin -> cactbot -> user

ok it gives me a provoke notice . thats sth ;D

Other things like, poke, bow etc are currently not working in german (i already made a PR which will make them work)

Only @quisquous knows when a new release will be comming.
In the mean time you could clone the repo or download the master and replace the ui/raidboss content

ok the master ones works way better now ty ;)
Btw i noticed a difference depending on the class i m playing ..
Is there an option to make a genereal line for discord callouts ?

The difference is normal as some triggers are designed for healer/tank only (some things e..g are only displayed if they target you and not others)
and i don't think there is a generall discord callout option on cactbot side but this should be confirmed by @quisquous

Yeah, I usually only do a release when there's a been a lot of changes.  I might do one more before 5.1, but also maybe no.
I'm not quite sure what you mean by general discord callout.

well i think before the new masterupdates the boss told more stuff.
Now its personalized .. This means the bot stops speaking if i m dead or he skips tankbusters / aoe which even as dd is not bad to know for burst phases

which boss exactly do you mean? twinning?
Also since you hadn't the user/raidboss.js available, try renaming it and see if the issue still happens.
Otherwise i would need more information on what is missing for you and what did you expect

no e2s

if you need further assistance, we need more information what is not really working for you.
I just ran a check agains the raidboss emulator and everything got called out like expected for me (as i am playing DD, i did not checked for healer/tank specific callouts)

Well i m not sure its not working ...
Some people mentioned call outs stops if i m dead.
And i thought a general line which include tankbuster/ aoe would be not wrong if u wish so.
I can work pretty well with the bot as it is right now

Callouts always happen whether you're alive or dead.  There are callouts for aoe and tankbusters, and those are role specific.  I think dps cooldown alignment is generally not related to either of those things, and so is just noise.

Is this still a problem for you? I'm not sure I understand what's going on here.

No not really .. i suppose everything works as intended :)
Keep up the great work


Get-DbaBackupHistory fails on case sensitive instances

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[ ] feature
[ x] bug:

System Details

Operating system name and version:
Name                           Value

PSVersion                      5.1.14394.1000
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14394.1000
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

- Output of dbatools version:
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     0.8.957    dbatools                            {Start-SqlMigration, Copy-SqlDatabase, Copy-SqlLogin, Copy-SqlServerAgent...}
Script     0.8.956    dbatools                            {Start-SqlMigration, Copy-SqlDatabase, Copy-SqlLogin, Copy-SqlServerAgent...}

- SQL Server version for source/target
2012

## Steps to Reproduce
1) call Get-DbaBackupHistory against a CS instance
2. Received following error
Exception calling "ExecuteWithResults" with "1" argument(s): "An exception occurred while executing a Transact-SQL statement or batch."
At line:373 char:4
+             $results = $server.ConnectionContext.ExecuteWithResults($ ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ExecutionFailureException

We certainly do need to add CS to our test pool. I'll ask @Stuart-Moore to do this one, but I think he may be on vacation. Thanks for the report, Kenny!
@Stuart-Moore  can you also add the try catches?

this has been fixed already in development, although the cmdlet needs some love. Will do a PR in a bit.


Deploy docker container on Docker hub for easy backend development and setup

Actual Behaviour
The backend development as of now is a bit hard as the contributor need to set up the whole environment right from scratch.
Expected Behaviour
Setting up a Docker container that comes packed with the code and all the dependencies will not only speed up development but will also help in an easier deployment of code irrespective of platform / OS.
Would you like to work on the issue?
Yes

can I work on this issue @AakashMallik @mariobehling ?

Chances are we'll scrub the flask backend totally, soon... so i suggest waiting for a couple of days...


Normalized values

The pattern r"\d\d.0\d" is not properly normalized. I mean, the normalized values of amount and unit price entities are not correctly parsed when the decimal digit is 0 and the centesimal digit is different from 0. For instance, the text "18.02" is parsed with the normalized_value of "18.2" instead of "18.02".
Environment details
OS type and version:
Python version: 3.6.12
pip version: 20.2.4
google-cloud-documentai version: 0.4.0
Example
properties {
  text_anchor {
    text_segments {
      start_index: 2079
      end_index: 2084
    }
    content: "39,05"
  }
  type_: "line_item/amount"
  mention_text: "39,05"
  confidence: 0.9064523577690125
  page_anchor {
    page_refs {
      page: 1
      bounding_poly {
        normalized_vertices {
          x: 0.8506841063499451
          y: 0.7494745850563049
        }
        normalized_vertices {
          x: 0.8792385458946228
          y: 0.7494745850563049
        }
        normalized_vertices {
          x: 0.8792385458946228
          y: 0.7591425180435181
        }
        normalized_vertices {
          x: 0.8506841063499451
          y: 0.7591425180435181
        }
      }
    }
  }
  id: "12"
  normalized_value {
    text: "39.5"
    money_value {
      units: 39
      nanos: 50000000
    }
  }
}

Hi @edumotya , this looks like a product issue rather than a Python client library issue. Can you please confirm?

Hi @telpirion, sure, this is a product issue. This has nothing to do with the client library. How we proceed? should I open a ticket in GCP?

Okay, it looks like you'll want to follow the directions here and select the following:

Group: Machine Learning
Component: Document AI
Subcomponent: (processor)


Containerd on kubernetes 1.23+

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1186  #1187
Special notes for your reviewer:
Initial test uses upgrade from 1.16 for a reason:

to check install of old version
to check upgrade path

Does this PR introduce a user-facing change?:

NONE

/retest

/hold
until #1204 is merged

Can you refactor this PR so it doesn’t depend on #1204? It might take some time until it’s not merged and I don’t think that we should rush it.

No, I don't think it makes sense and is not worth the effort. #1204 is logical conclusion of containerd endeavor in KubeOne and so that's why E2E is based on top of it.

Alternatively, we can close #1204 in favour of this one and close both open issues at once.

/hold cancel

/hold
We should discuss this a bit further and double-check what's the plan for removing dockershim.

/retest

/retest

/retest

/retest

/retest

/retest

/hold cancel

/hold cancel


Update for<EMAIL_ADDRESS>

Fixed this: React.findDOMNode is deprecated. Please use ReactDOM.findDOMNode from require('react-dom') instead in LogMonitor

Please see https://github.com/gaearon/redux-devtools/issues/152. :-)
I'll do my best to cut a compatible release next week.

Please try 3.0 Beta 2 and leave feedback.
It includes React 0.14 support: https://github.com/gaearon/redux-devtools/releases/tag/v3.0.0-beta-2


OSError: sndfile library not found

M1 Max Sonoma
nicecube@nicecubes-MacBook-Pro stable-audio-tools % python3 ./run_gradio.py
Traceback (most recent call last):
  File "/Users/nicecube/Library/Python/3.11/lib/python/site-packages/soundfile.py", line 142, in <module>
    raise OSError('sndfile library not found')
OSError: sndfile library not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/nicecube/stable-audio-tools/./run_gradio.py", line 2, in <module>
    from stable_audio_tools.interface.gradio import create_ui
  File "/Users/nicecube/stable-audio-tools/stable_audio_tools/interface/gradio.py", line 10, in <module>
    from aeiou.viz import audio_spectrogram_image
  File "/Users/nicecube/Library/Python/3.11/lib/python/site-packages/aeiou/viz.py", line 26, in <module>
    from librosa import power_to_db
  File "/Users/nicecube/Library/Python/3.11/lib/python/site-packages/librosa/__init__.py", line 209, in <module>
    from . import core
  File "/Users/nicecube/Library/Python/3.11/lib/python/site-packages/librosa/core/__init__.py", line 6, in <module>
    from .audio import *  # pylint: disable=wildcard-import
    ^^^^^^^^^^^^^^^^^^^^
  File "/Users/nicecube/Library/Python/3.11/lib/python/site-packages/librosa/core/audio.py", line 8, in <module>
    import soundfile as sf
  File "/Users/nicecube/Library/Python/3.11/lib/python/site-packages/soundfile.py", line 162, in <module>
    _snd = _ffi.dlopen(_os.path.join(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: cannot load library '/Users/nicecube/Library/Python/3.11/lib/python/site-packages/_soundfile_data/libsndfile.dylib': dlopen(/Users/nicecube/Library/Python/3.11/lib/python/site-packages/_soundfile_data/libsndfile.dylib, 0x0002): tried: '/Users/nicecube/Library/Python/3.11/lib/python/site-packages/_soundfile_data/libsndfile.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/nicecube/Library/Python/3.11/lib/python/site-packages/_soundfile_data/libsndfile.dylib' (no such file), '/Users/nicecube/Library/Python/3.11/lib/python/site-packages/_soundfile_data/libsndfile.dylib' (no such file)

Hi Tacobyte.
First, you should really error dump into chatgpt instead of GitHub. You should also read the error even tho I know it’s always painful.
The problem is you need to install libsndfile, which the error says python can’t find (I think you use brew to install it on Mac)  -> detailed helpful instructions can be found here (it’s free): chatgpt.com
Just copy and paste the error into chatgpt and talk to it, it’ll guide you through the install process. Less wait time than GitHub.  You got this.  Enjoy!

If you just want to check out stable audio open and don’t want to deal with the python stuff, you can also use this free vst plugin and model engine I created at Audialab:
https://audialab.com/products/deep-sampler-2


Log from native runtimes is incorrect

https://docs.substrate.io/v3/runtime/debugging#log-from-native-runtimes this is not correct anymore. The referenced stuff in frame_support doesn't exist anymore. The user is now able to use log::debug from native and from wasm.

I can answer questions around this.


how to delete the image in Harbor's  storage while  harbor is deployed in k8s

I  noticed the method of  deleting the actual files of the repository using the registry's garbage collection.  Related method is in :
https://github.com/vmware/harbor/blob/master/docs/user_guide.md#deleting-repositories
But my harbor service is deployed in k8s  cluster, the 'delete'  command in user guide is not work. Also,
in my environment,  all the containers run  in namespace kube-system.
What's the simple way to delete image files in my environment?
If you are reporting a problem, please make sure the following information are provided:
1)Version of docker engine and docker-compose.
2)Config files of harbor, you can get them by packaging "harbor.cfg" and files in the same directory, including subdirectory.
3)Log files, you can get them by package the /var/log/harbor/ .

Currently there's not a good solution for GC in k8s deployment, we'll try to address that in future.

Closing due to inactivity.


Warning log initialize

Hi!!
When i load the component of my app thar import de vue2-editor, I've got the next warning:

Can anybody help me?

How you importing the component ? Paste u code

Hi!!
I have a component called "Editor" which has the next code:
import VueEditor from 'vue2-editor'
export default {
components: {
VueEditor
},
data() {
return {
content:"",
customToolbar: [ [{ font: [] }],
[{ size: ["small", false, "large", "huge"] }],
[
{ align: "" },
{ align: "center" },
{ align: "right" },
{ align: "justify" }
],
["bold", "italic", "underline"], [{ list: "ordered" }, { list: "bullet" }], ["image", "code-block"]]
};
}
};

Try import like
import { VueEditor } from "vue2-editor";

Instead
import VueEditor from "vue2-editor";

Mmm nothing, still have the same error. The input seems to work fine but the console log that error...

I cant reproduce the error
Can you reproduce in CodeSandbox ?

I solved it. I have in my index.html a `
`
Thanks!!

Cool. Please, mark issue like close.


Helm chart not exposing all necessary ports in istio-pilot service

Describe the bug
The "istio-pilot" Service in the "pilot" Helm subchart does not expose all necessary ports.
Expected behavior
Per operations guide, running curl http://istio-pilot:15003/v1/registration from within an istio-ingressgateway pod should return a response. It instead gets a connection timeout.
Steps to reproduce the bug
Install Istio using Helm into a Kubernetes cluster with a network model that does not forward service ports that are not declared in the service resource definition.
Version
Istio 1.0.5
Kubernetes 1.10.12 with Weave CNI
Installation
Helm
Environment
AWS
Cluster state
istio-dump.tar.gz

@johngmyers sorry for closing prematurely, appears to be a few possible docs issues in this one.

/v1/registration API is remnant of envoy V1 XDS API's so the V2 debug API's should be used instead:
https://github.com/istio/istio/blob/master/pilot/pkg/proxy/envoy/v2/debug.go#L54
15003 port is deprecated so it should not be in the docs

Another issue is that if global.controlPlaneSecurityEnabled is true, various things are configured to talk to istio-pilot:15005. Port 15005 is not exposed by the istio-pilot Service.

@costinm I see you added the global.controlPlaneSecurityEnabled value in this PR here:
https://github.com/istio/istio/pull/3949/files#diff-7dad29cba9d2ca3e8570c8f65f4b7e86
is the istio-pilot:15005 port still used for this and should it be exposed in the helm charts?


Add a default config file for partner defaults.

This enables a partner to provide their own default values without
overriding user settings during package upgrades.

LGTM

LGTM


DHCPv6 usually fails when PPPoE reconnects

My ISP tends to disconnect me approximately every 4 days and my router reconnects.
I'm running Debian testing with (currently) dhcpcd 10.0.8 although this has been going on since I started using this ISP around a year ago.
Rarely, rebind works. Over time this became rarer and rarer with the last successful rebind on May 4th, 2024. In most cases it doesn't work, even if I manually disconnect and reconnect repeatedly.
An example of a success. In this case I manually disconnected and reconnected after DHCPv6 failed.
2024-02-26T22:35:08.940726+00:00 rt0 dhcpcd[65449]: ppp0: carrier lost
2024-02-26T22:35:08.943471+00:00 rt0 dhcpcd[65449]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks NOCARRIER
2024-02-26T22:35:08.945321+00:00 rt0 pppd[79802]: Connection terminated.
2024-02-26T22:35:08.945329+00:00 rt0 pppd[79802]: Connect time 0.2 minutes.
2024-02-26T22:35:08.945334+00:00 rt0 pppd[79802]: Sent 9579 bytes, received 12155 bytes.
2024-02-26T22:35:08.951460+00:00 rt0 dhcpcd[65449]: ppp0: libudev: remove
2024-02-26T22:35:08.951929+00:00 rt0 dhcpcd[65449]: ppp0: interface departed
2024-02-26T22:35:08.954624+00:00 rt0 dhcpcd[65449]: ppp0: removing interface
2024-02-26T22:35:08.954634+00:00 rt0 dhcpcd[65449]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks DEPARTED
2024-02-26T22:35:08.983747+00:00 rt0 pppd[79802]: Exit.
2024-02-26T22:35:10.967729+00:00 rt0 pppd[79907]: Plugin rp-pppoe.so loaded.
2024-02-26T22:35:11.026007+00:00 rt0 pppd[79908]: pppd 2.4.9 started by root, uid 0
2024-02-26T22:35:11.051440+00:00 rt0 pppd[79908]: PPP session is 6
2024-02-26T22:35:11.068022+00:00 rt0 pppd[79908]: Connected to xx:xx:xx:xx:f9:f2 via interface enp5s0
2024-02-26T22:35:11.068659+00:00 rt0 pppd[79908]: Using interface ppp0
2024-02-26T22:35:11.068834+00:00 rt0 pppd[79908]: Connect: ppp0 <--> enp5s0
2024-02-26T22:35:11.081815+00:00 rt0 dhcpcd[65449]: ppp0: libudev: add
2024-02-26T22:35:11.086373+00:00 rt0 dhcpcd[65449]: ppp0: interface added
2024-02-26T22:35:11.086838+00:00 rt0 dhcpcd[65449]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks PREINIT
2024-02-26T22:35:11.088853+00:00 rt0 dhcpcd[65449]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks NOCARRIER
2024-02-26T22:35:11.091252+00:00 rt0 dhcpcd[65449]: ppp0: waiting for carrier
2024-02-26T22:35:11.091262+00:00 rt0 dhcpcd[65449]: ppp0: carrier acquired
2024-02-26T22:35:11.091611+00:00 rt0 dhcpcd[65449]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks CARRIER
2024-02-26T22:35:11.093337+00:00 rt0 dhcpcd[65449]: ppp0: IAID 00:00:00:01
2024-02-26T22:35:11.093344+00:00 rt0 dhcpcd[65449]: ppp0: IA type 25 IAID 00:00:00:02
2024-02-26T22:35:11.093349+00:00 rt0 dhcpcd[65449]: ppp0: soliciting an IPv6 router
2024-02-26T22:35:11.093353+00:00 rt0 dhcpcd[65449]: ppp0: delaying Router Solicitation for LL address
2024-02-26T22:35:11.093357+00:00 rt0 dhcpcd[65449]: ppp0: delaying DHCPv6 for LL address
2024-02-26T22:35:11.106127+00:00 rt0 pppd[79908]: Remote message: Login ok
2024-02-26T22:35:11.106147+00:00 rt0 pppd[79908]: PAP authentication succeeded
2024-02-26T22:35:11.106154+00:00 rt0 pppd[79908]: peer from calling number XX:XX:XX:XX:F9:F2 authorized
2024-02-26T22:35:11.110327+00:00 rt0 pppd[79908]: local  LL address fe80::4ce8:0377:8ec1:8b37
2024-02-26T22:35:11.110347+00:00 rt0 pppd[79908]: remote LL address fe80::xxxx:xxxx:xxxx:c801
2024-02-26T22:35:11.110351+00:00 rt0 dhcpcd[65449]: ppp0: sending Router Solicitation
2024-02-26T22:35:11.110505+00:00 rt0 dhcpcd[65449]: ppp0: reading lease: /var/lib/dhcpcd/ppp0.lease6
2024-02-26T22:35:11.110698+00:00 rt0 dhcpcd[65449]: ppp0: rebinding prior DHCPv6 lease
2024-02-26T22:35:11.110725+00:00 rt0 dhcpcd[65449]: ppp0: multicasting REBIND6 (xid 0x46f38d), next in 1.0 seconds
2024-02-26T22:35:11.114888+00:00 rt0 dhcpcd[65449]: ppp0: REPLY6 received from fe80::6aab:9ff:fe0d:c801
2024-02-26T22:35:11.114902+00:00 rt0 dhcpcd[65449]: ppp0: 2001:xxxx:xxxx:5dd0::/64: no valid lifetime
2024-02-26T22:35:11.114909+00:00 rt0 dhcpcd[65449]: ppp0: will expire
2024-02-26T22:35:11.114934+00:00 rt0 dhcpcd[65449]: ppp0: writing lease: /var/lib/dhcpcd/ppp0.lease6
2024-02-26T22:35:11.115291+00:00 rt0 dhcpcd[65449]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks REBIND6
2024-02-26T22:35:11.116980+00:00 rt0 pppd[79908]: local  IP address x.x.x.x
2024-02-26T22:35:11.116988+00:00 rt0 pppd[79908]: remote IP address x.x.x.x
2024-02-26T22:35:11.116993+00:00 rt0 pppd[79908]: primary   DNS address x.x.x.1
2024-02-26T22:35:11.116996+00:00 rt0 pppd[79908]: secondary DNS address x.x.x.1
2024-02-26T22:35:11.130309+00:00 rt0 dhcpcd[65449]: ppp0: DHCPv6 lease expired
2024-02-26T22:35:11.130476+00:00 rt0 dhcpcd[65449]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks EXPIRE6
2024-02-26T22:35:11.142318+00:00 rt0 dhcpcd[65449]: ppp0: soliciting a DHCPv6 lease
2024-02-26T22:35:11.142330+00:00 rt0 dhcpcd[65449]: ppp0: multicasting SOLICIT6 (xid 0x0b6420), next in 1.1 seconds
2024-02-26T22:35:11.147946+00:00 rt0 dhcpcd[65449]: ppp0: REPLY6 received from fe80::6aab:9ff:fe0d:c801
2024-02-26T22:35:11.147952+00:00 rt0 dhcpcd[65449]: ppp0: renew in 43200, rebind in 69120, expire in 86400 seconds

The last failed attempt:
2024-06-14T21:41:23.340010+00:00 rt0 dhcpcd[5694]: ppp0: carrier lost
2024-06-14T21:41:23.340054+00:00 rt0 dhcpcd[5694]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks NOCARRIER
2024-06-14T21:41:23.341731+00:00 rt0 dhcpcd[5694]: enp2s0: deleting address 2001:xxxx:xxxx:7dde::1/64
2024-06-14T21:41:23.342236+00:00 rt0 dhcpcd[5694]: enp2s0: deleting route to 2001:xxxx:xxxx:7dde::/64
2024-06-14T21:41:23.342728+00:00 rt0 dhcpcd[5694]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks EXPIRE6
2024-06-14T21:41:23.357367+00:00 rt0 dhcpcd[5694]: ppp0: deleting address 2001:xxxx:xxxx:xxxx:xxxx:90e6:f12d:db9/64
2024-06-14T21:41:23.358656+00:00 rt0 dhcpcd[5694]: ppp0: deleting route to 2001:xxxx:xxxx:xxxx::/64
2024-06-14T21:41:23.358834+00:00 rt0 dhcpcd[5694]: ppp0: deleting default route via fe80::xxxx:xxxx:xxxx:c801
2024-06-14T21:41:23.358933+00:00 rt0 dhcpcd[5694]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks ROUTERADVERT
2024-06-14T21:41:23.382324+00:00 rt0 pppd[5634]: Modem hangup
2024-06-14T21:41:23.382344+00:00 rt0 pppd[5634]: Connection terminated.
2024-06-14T21:41:23.392535+00:00 rt0 dhcpcd[5694]: ppp0: libudev: remove
2024-06-14T21:41:23.392755+00:00 rt0 dhcpcd[5694]: ppp0: interface departed
2024-06-14T21:41:23.395609+00:00 rt0 dhcpcd[5694]: ppp0: removing interface
2024-06-14T21:41:23.395621+00:00 rt0 dhcpcd[5694]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks DEPARTED
2024-06-14T21:41:53.426740+00:00 rt0 pppd[5634]: PPP session is 1
2024-06-14T21:41:53.442372+00:00 rt0 pppd[5634]: Connected to XX:XX:XX:XX:F9:F2 via interface enp5s0
2024-06-14T21:41:53.443046+00:00 rt0 pppd[5634]: Using interface ppp0
2024-06-14T21:41:53.443245+00:00 rt0 pppd[5634]: Connect: ppp0 <--> enp5s0
2024-06-14T21:41:53.459421+00:00 rt0 dhcpcd[5694]: ppp0: libudev: add
2024-06-14T21:41:53.464876+00:00 rt0 dhcpcd[5694]: ppp0: interface added
2024-06-14T21:41:53.465539+00:00 rt0 dhcpcd[5694]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks PREINIT
2024-06-14T21:41:53.467852+00:00 rt0 dhcpcd[5694]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks NOCARRIER
2024-06-14T21:41:53.471076+00:00 rt0 dhcpcd[5694]: ppp0: waiting for carrier
2024-06-14T21:41:53.471088+00:00 rt0 dhcpcd[5694]: ppp0: carrier acquired
2024-06-14T21:41:53.471637+00:00 rt0 dhcpcd[5694]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks CARRIER
2024-06-14T21:41:53.473600+00:00 rt0 dhcpcd[5694]: ppp0: IAID 00:00:00:01
2024-06-14T21:41:53.473611+00:00 rt0 dhcpcd[5694]: ppp0: IA type 25 IAID 00:00:00:02
2024-06-14T21:41:53.473619+00:00 rt0 dhcpcd[5694]: ppp0: soliciting an IPv6 router
2024-06-14T21:41:53.473626+00:00 rt0 dhcpcd[5694]: ppp0: delaying Router Solicitation for LL address
2024-06-14T21:41:53.473634+00:00 rt0 dhcpcd[5694]: ppp0: delaying DHCPv6 for LL address
2024-06-14T21:41:53.483827+00:00 rt0 pppd[5634]: Remote message: Login ok
2024-06-14T21:41:53.483861+00:00 rt0 pppd[5634]: PAP authentication succeeded
2024-06-14T21:41:53.483871+00:00 rt0 pppd[5634]: peer from calling number XX:XX:XX:XX:F9:F2 authorized
2024-06-14T21:41:53.486014+00:00 rt0 pppd[5634]: local  LL address fe80::81ef:e915:c9ac:6533
2024-06-14T21:41:53.486030+00:00 rt0 pppd[5634]: remote LL address fe80::xxxx:xxxx:xxxx:c801
2024-06-14T21:41:53.492411+00:00 rt0 pppd[5634]: local  IP address x.x.x.x
2024-06-14T21:41:53.492421+00:00 rt0 pppd[5634]: remote IP address x.x.x.x
2024-06-14T21:41:53.492426+00:00 rt0 pppd[5634]: primary   DNS address x.x.x.x
2024-06-14T21:41:53.492429+00:00 rt0 pppd[5634]: secondary DNS address x.x.x.x

And it just ends there.
While in this state, release and rebind have no effect. I do have an LL address for ppp0:
inet6 fe80::a863:18fc:e022:f0b peer fe80::xxxx:xxxx:xxxx:c801/128 scope link nodad

But:
Jun 16 14:22:12 rt0 dhcpcd[9030]: control command: dhcpcd -k ppp0
Jun 16 14:22:12 rt0 dhcpcd[9030]: ppp0: removing interface
Jun 16 14:22:12 rt0 dhcpcd[9030]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks STOPPED
Jun 16 14:22:27 rt0 dhcpcd[9030]: control command: dhcpcd -n ppp0
Jun 16 14:22:27 rt0 dhcpcd[9030]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks PREINIT
Jun 16 14:22:27 rt0 dhcpcd[9030]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks CARRIER
Jun 16 14:22:27 rt0 dhcpcd[9030]: ppp0: IAID 00:00:00:01
Jun 16 14:22:27 rt0 dhcpcd[9030]: ppp0: IA type 25 IAID 00:00:00:02
Jun 16 14:22:27 rt0 dhcpcd[9030]: ppp0: soliciting an IPv6 router
Jun 16 14:22:27 rt0 dhcpcd[9030]: ppp0: delaying Router Solicitation for LL address
Jun 16 14:22:27 rt0 dhcpcd[9030]: ppp0: delaying DHCPv6 for LL address
Jun 16 14:22:44 rt0 dhcpcd[9030]: control command: dhcpcd -k ppp0
Jun 16 14:22:44 rt0 dhcpcd[9030]: ppp0: removing interface
Jun 16 14:22:44 rt0 dhcpcd[9030]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks STOPPED
Jun 16 14:22:53 rt0 dhcpcd[9030]: control command: dhcpcd -n ppp0
Jun 16 14:22:53 rt0 dhcpcd[9030]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks PREINIT
Jun 16 14:22:53 rt0 dhcpcd[9030]: ppp0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks CARRIER
Jun 16 14:22:53 rt0 dhcpcd[9030]: ppp0: IAID 00:00:00:01
Jun 16 14:22:53 rt0 dhcpcd[9030]: ppp0: IA type 25 IAID 00:00:00:02
Jun 16 14:22:53 rt0 dhcpcd[9030]: ppp0: soliciting an IPv6 router
Jun 16 14:22:53 rt0 dhcpcd[9030]: ppp0: delaying Router Solicitation for LL address
Jun 16 14:22:53 rt0 dhcpcd[9030]: ppp0: delaying DHCPv6 for LL address

The only thing that works is (re)starting dhcpcd after the ppp interface is already up.
Finally reporting this now should imply my honest intention to be available for further info and testing :-)

@gadall can you test that please?

@rsmarples Most awesome indeed! I manually disconnected and reconnected several times and DHCPv6 worked perfectly every time.
Thank you!!!


importing xgmml to arangodb

i know that i can export a graph with xgmml extension but can i import a file with xgmml extension to arangobd thank you

arangoimp / arangoimport does not support XGMML at this point in time. If you want to import this format, you'll have to write your own import script, or something that pre-processes the XML data into a form that arangoimport supports (if you want to avoid using a driver or the HTTP API for the actual import).


new new chair nuke

please

This  should   be  a  config option
#Enable pilot chair
#default true/false
false
(for  me and noobs recomend  true)
)
:netbeans:

the pilot's chair is going to be reworked at some point soon, this is more of a temporary removal to avoid people asking questions about the broken mechanics until it's reworked

no
git gud

Sorry, but we're not planning on doing this at this time. Thanks for your PR.


❇ Add IAM role and KMS key for RDS to S3 export

Creating an IAM role and policy to export RDS snapshot to S3
Resolves #773

Currently the export is hanging, I think the role needs more permissions
Reference: https://repost.aws/knowledge-center/rds-mysql-export-snapshot

Snapshot has now been ingested into S3


How do I enable 2FA for a User

I have followed the documentation and cannot see how to enable 2FA for a user within the API.
./manage.py two_factor_status<EMAIL_ADDRESS><EMAIL_ADDRESS>disabled
It's sounds very basic, what am I missing here?
Expected Behavior

I am expecting to see some reference to enabling 2FA for a user within the documentation.

Current Behavior

There is no reference to enabling 2FA for a user within the documentation.

Possible Solution

Add a reference to enabling 2FA for a user within the documentation.

Steps to Reproduce (for bugs)

Installed and configured as per documentation at: https://django-two-factor-auth.readthedocs.io/en/stable/installation.html
I removed existing auth routes 'django.contrib.auth.urls' (and added a logout route based on the provided example).
The django-two-factor-auth views are displaying and I can login however there is no request for an OTP at any point. When I click Next button on login page, I am expecting OTP entry request but my user is authenticated to the admin portal / app.
When I check status I get:
./manage.py two_factor_status<EMAIL_ADDRESS><EMAIL_ADDRESS>disabled
Context

I am trying to use the framework to add 2FA to user authentication.

For what it's worth, this is my User model.
`from django.contrib.auth.models import AbstractUser
....

class User(AbstractUser):
    organisation = models.ForeignKey('Organisation', null=True, on_delete=models.CASCADE)`

Your Environment

Browser and version: Firefox Quantum 65.0
Python version: 3.6.8
Django version: 2.1.7
django-otp version: 0.5.2
django-two-factor-auth version:
Link to your project:

I entered a non-existent route and was given some routes I was not familiar with:
tfa ^account/login/$ [name='login']
tfa ^account/two_factor/setup/$ [name='setup']
tfa ^account/two_factor/qrcode/$ [name='qr']
tfa ^account/two_factor/setup/complete/$ [name='setup_complete']
tfa ^account/two_factor/backup/tokens/$ [name='backup_tokens']
tfa ^account/two_factor/backup/phone/register/$ [name='phone_create']
tfa ^account/two_factor/backup/phone/unregister/(?P\d+)/$ [name='phone_delete']
tfa ^account/two_factor/$ [name='profile']
tfa ^account/two_factor/disable/$ [name='disable']
I was looking for:
tfa ^account/two_factor/setup/$ [name='setup']
The package is working well, thank you 👍

Thank you for that!


Problems with running the example via Tomcat

I've run your app-layout-annotation-example (for Vaadin 10) via jetty:run (as goal in the Eclipse Maven build) - like you've described it. Everything is fine in the resulting page (http://localhost:8080).
But when I run the same project via Eclipse's "Run on Server" (Tomact 8) the outcome is an incomplete page - not all page elements are displayed, the page is shattered. So it seems, that some elements are missing. I've looked into the Chrome Console and there it says that a lot of bower_components failed to load.
I've then tried another thing - have installed the app-layout-annotation-example-2.0.1-SNAPSHOT.war from the project's target folder in an external Tomcat 8. But it shows the same negative results.
Any advice?

Hmm this is a question for one of the Vaadin team I have no clue how this could happen. Maybe open an issue at flow?

No - in the Eclipse case they are not packed. They lack. This might be the clue!
I've used your example because I had the same effect before in another project (my own) - there I have added app-layout-2.1.1.jar and app-layout-addon-2.0.1-SNAPSHOT.jar in my path. app-layout-addon-2.0.1-SNAPSHOT.jar contains the resources you've mentioned. But nevertheless the elements are missing on the page. Is there something I did not understand regarding your AddOn? Do I have to precompile something to get these resources from the jar into META-INF??

Maybe you need to tell the Eclipse plugin explicitly where to find the additional resources.

I've already tried - and as I've stated above: they are packed into app-layout-addon-2.0.1-SNAPSHOT what is then put into the lib folder of the war file.
But to deploy this special example project via Eclipse to Tomcat is also not the main question I have. I want to use your AddOn in my own projects. As I've above stated, I've thought, that I just have to put the jars on the classpath and then it is working. But it seems, that not all resources in the jar files are found (app-layout-addon-2.0.1-SNAPSHOT.jar contains the resources that you've mentioned).

@mirkoliver can you try the solution on #157

Hi @deyaeddin , my project doesn't use SpringBoot or Spring. So this can not be the point.

Any news regarding this problem ? I have the same issue deploying to Wildfly 12. My application name is AppLayoutTest and it is deployed to localhost:8080/AppLayoutTest. But application is searching for resources starting from root (/). So instead of searching for localhost:8080/AppLayoutTest/frontend/bower_components/app-layout/app-header-layout/app-header-layout.html it is searching for localhost:8080/frontend/bower_components/app-layout/app-header-layout/app-header-layout.html. My temporary workaround is deploying application to root and then everything works. What controls the path for resources, is there a setting I can change ?

Reopen if issue persists


ARROW-15869: [C++] Fix Valgrind failure (uninitialized value)

Fix Valgrind failure (uninitialized value) in hash_one kernel tests in the arrow-compute-aggregate-test by adding PrintTo() to Scalar to be used by GTEST.

@github-actions crossbow submit test-conda-cpp-valgrind


settings: file: drop CONFIG_SETTINGS_FILE_DIR

There is already CONFIG_SETTINGS_FILE_PATH, which is set to full file path,
while CONFIG_SETTINGS_FILE_DIR is required to be set to its parent
directory. This is redundant, as parent directory path can be easily found
out either during runtime or optionally during buildtime by CMake.
CONFIG_SETTINGS_FILE_DIR was actually introduced recently after Zephyr 3.2
release as a replacement of deprecated CONFIG_SETTINGS_FS_DIR. This means,
that there is no need to deprecate it for 3.3 release and dropping it
should be fine. Adjust 3.3 release notes accordingly, so that
CONFIG_SETTINGS_FILE_PATH will be used directly.
This patch stops using deprecated CONFIG_SETTINGS_FS_DIR. There is actually
no value in respecting it, as setting anything other than parent directory
of CONFIG_SETTINGS_FS_FILE makes no sense.
There is actually one use of CONFIG_SETTINGS_FILE_DIR in file backend
tests, to derive directory for files containing tested settings.
CONFIG_SETTINGS_FILE_PATH is not used there, so it makes little sense to
derive directory name from it. Instead, just use hardcoded "/settings"
subdirectory, as this was the default value of CONFIG_SETTINGS_FILE_DIR.
Deriving parent directory can be done either in runtime or in
buildtime (e.g. using some helper CMake function). Doing it in runtime
however allows to create directory recursively (which this patch actually
implements), e.g. for some more nested FS tree structure. Additionally it
will simplify migration of settings configuration from Kconfig to
device-tree (yet to be developed feature).

Rebased to fix merge conflict.


Update variables.tf

Description
Minimum password length.
You can specify the minimum number of characters allowed in an IAM user password. You can type any number from 6 to 128.
Motivation and Context
This is supported by official document.

Hi @changhyuni !
This default value should be customized by the users of this module as necessary individually.


add the number of pending tasks to metrics

pending tasks: tasks with status RUNNING or QUEUED.
also refactor class name about task to remove prefix 'Huge'.
Change-Id: Id21e9d91a0b83b807189fffbee0247219322f234

rebased


Assets under the Releases page do not contain the download links

The previous version v5.0.4 v5.0.4 (2022-02-04) did contain the download links in the assets section (it shows a number of 32 links)
The current release v5.1.0 (https://github.com/mattermost/desktop/releases/tag/v5.1.0) only shows the yml files and the source code (it shows a number of 9 links)
Can the assets section also include the download links as before?

This may be same as https://github.com/mattermost/desktop/issues/2113 with PR https://github.com/mattermost/desktop/pull/2114.

Yep, same issue. Closing as duplicate.


Better install instructions

Can we get some better installation instructions?
I'm struggling to understand what exactly I need to do in order to use this action.
Step 1 states "Create a repository to host this GitHub Action or select an existing repository."
Do I fork this repo? Clone it then upload to me own account? Or if I select a pre-existing repo, is it the one I want to be scanned?
Step 2 "Create the env values from the sample workflow below (GH_TOKEN, SEARCH_QUERY) with your information as repository secrets. More info on creating secrets can be found here. Note: Your GitHub token will need to have read access to the repository in the organization that you want evaluated"
Where do I put these env vars? I see an .env-example file, so I guess I need an .env file, but where would it go? In the repo I want scanning, or in some other repo (see issues with step 1)

Hi @paul-uz! Thanks for creating this issue! I agree we need some better instructions.
It's easiest in terms of setup if you use the repo that you want scanned as the repo where you run this action.
Here is an example: I'd like to get statistics on github.com/zkoppert/project-a and I would also like the resulting reports to be opened as issues in that repo.

I go to the github.com/zkoppert/project-a repository
click on "add file"
I name the file at the top with the path for GitHub workflows and my specific file name:

I copy an example from the issue-metrics README.md file. I chose this one because I want to run the report monthly.

name: Monthly issue metrics
on:
  workflow_dispatch:
  schedule:
    - cron: '3 2 1 * *'

permissions:
  issues: write

jobs:
  build:
    name: issue metrics
    runs-on: ubuntu-latest

    steps:

    - name: Get dates for last month
      shell: bash
      run: |
        # Get the current date
        current_date=$(date +'%Y-%m-%d')

        # Calculate the previous month
        previous_date=$(date -d "$current_date -1 month" +'%Y-%m-%d')

        # Extract the year and month from the previous date
        previous_year=$(date -d "$previous_date" +'%Y')
        previous_month=$(date -d "$previous_date" +'%m')

        # Calculate the first day of the previous month
        first_day=$(date -d "$previous_year-$previous_month-01" +'%Y-%m-%d')

        # Calculate the last day of the previous month
        last_day=$(date -d "$first_day +1 month -1 day" +'%Y-%m-%d')

        echo "$first_day..$last_day"
        echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"

    - name: Run issue-metrics tool
      uses: github/issue-metrics@v2
      env:
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        SEARCH_QUERY: 'repo:owner/repo is:issue created:${{ env.last_month }} -reason:"not planned"'

    - name: Create issue
      uses: peter-evans/create-issue-from-file@v4
      with:
        title: Monthly issue metrics report
        token: ${{ secrets.GITHUB_TOKEN }}
        content-filepath: ./issue_metrics.md
        assignees: <YOUR_GITHUB_HANDLE_HERE>

After I paste it in my browser, I change line 40 SEARCH_QUERY: 'repo:owner/repo is:issue created:${{ env.last_month }} -reason:"not planned"' to match the issues I want to get metrics on. I want metrics for all issues created last month so I change it to SEARCH_QUERY: 'repo:zkoppert/project-a is:issue created:${{ env.last_month }}'
Next I change line 47 assignees: <YOUR_GITHUB_HANDLE_HERE> to be  assignees: zkoppert since I want the metrics report issue to be assigned to me.
I commit the workflow file to the repo

I can either wait for my workflow to run on the first day of the month, or I can navigate to https://github.com/zkoppert/project-a/actions/workflows/metrics.yaml and click the "Run Workflow button"

Then after the workflow runs (time to complete will vary by repo), you should see an issue pop up in the repo like this one: https://github.com/zkoppert/project-a/issues

Hope that helps! I'll also work on improving the README documentation.

How do I create the GITHUB_TOKEN secret exactly?

GITHUB_TOKEN should be automatically generated as a part of the GitHub action running. More info on that at https://docs.github.com/en/actions/security-guides/automatic-token-authentication. Is your workflow file in the same repository that you are running metrics on?
Could you post your workflow file?

I copied the workflow you posted and just changed the github user name to my own.

Here is the decision point on whether or not you need to generate your own token or use the built in one (called GITHUB_TOKEN):
If you are running this workflow in the same repository as the one that you are measuring and the issue with the metrics should also appear in that repository then you do not need to create your own token.
If you are running this workflow in a different repository from the one you are measuring or you want the resulting issue with the metrics in it to appear in a different repository, then you need to create your own token.

With regards to the workflow file, you mentioned that you changed the github username. That's great! Did you also change the SEARCH_QUERY? Step 5 from my list above?

No, I kept the search query the same. That wasn't the issue though, it's the token that's not working.
I'm running the action in the report I want to report on, but I get that validation error, so it seems the auto generated token isn't working?

Here is the decision point on whether or not you need to generate your own token or use the built in one (called GITHUB_TOKEN):
If you are running this workflow in the same repository as the one that you are measuring and the issue with the metrics should also appear in that repository then you do not need to create your own token.
If you are running this workflow in a different repository from the one you are measuring or you want the resulting issue with the metrics in it to appear in a different repository, then you need to create your own token.

Can you provide succinct instructions on how to set up the 2nd type of token as well, please?

I've added instructions for the 2nd type of token in this pull request. Let me know if you feel like something is missing there.

regarding the auto-generated token not working, do you have this in your workflow file:
permissions:
  issues: write

regarding the auto-generated token not working, do you have this in your workflow file:
permissions:
  issues: write

Yes, as its in the workflow i copied from you posted here.
I fixed the repo:owner/repo string in the search query, but i still get a validation error
Here is my file

name: Monthly issue metrics
on:
  workflow_dispatch:
  schedule:
    - cron: '3 2 1 * *'

permissions:
  issues: write

jobs:
  build:
    name: issue metrics
    runs-on: ubuntu-latest

    steps:

    - name: Get dates for last month
      shell: bash
      run: |
        # Get the current date
        current_date=$(date +'%Y-%m-%d')

        # Calculate the previous month
        previous_date=$(date -d "$current_date -1 month" +'%Y-%m-%d')

        # Extract the year and month from the previous date
        previous_year=$(date -d "$previous_date" +'%Y')
        previous_month=$(date -d "$previous_date" +'%m')

        # Calculate the first day of the previous month
        first_day=$(date -d "$previous_year-$previous_month-01" +'%Y-%m-%d')

        # Calculate the last day of the previous month
        last_day=$(date -d "$first_day +1 month -1 day" +'%Y-%m-%d')

        echo "$first_day..$last_day"
        echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"

    - name: Run issue-metrics tool
      uses: github/issue-metrics@v2
      env:
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        SEARCH_QUERY: 'repo<OWNER/REPO_NAME_HERE> is:issue created:${{ env.last_month }} -reason:"not planned"'

    - name: Create issue
      uses: peter-evans/create-issue-from-file@v4
      with:
        title: Monthly issue metrics report
        token: ${{ secrets.GITHUB_TOKEN }}
        content-filepath: ./issue_metrics.md
        assignees: paul-uz

Seems to be sorted. I was re-running the old workflow, despite editing the file. I triggered a new run and its using the updated file.

Is that updated file is working as expected?

It is! I was stupidly re running the previous workflows, thinking it would use the updates I made, but it wasn't. Lesson learnt.
Thank you for the help and for updating the docs to help others like me :)


Remove doc-ready dependency

The doc-ready project has been abandoned as there is now a standard way to do that same thing.  Please remove this stale dependency.

Hi, thanks for the PR. Please make the necessary code style adjustments, you can do it using the lint script of the package. It used to be a check ran on PRs and I'll probably add the workflow back for that again, so you'll have to rebase

@p-sam Thanks!  Do you have any sense for when you might provide a new release that includes this change?

I'm not sure yet, because I'd like to sort out Electron 14 support and the recently merged PR had some unforeseen consequences. You can follow along on the recently opened issue to find out more about this


A few questions

Hello,
I came across this project while trying to figure out the best way to rotate my snapshots with osc-cli. This is exactly what I'm looking for except:

it is not available through pip (pypi.org), is that something you're planning to do? It would make installation/updates easier with automation tools
it uses aws credentials and tooling, could it rather use the osc-cli and ~/.osc/config.json config instead? It seems osc-cli doesn't support Tags, right? So maybe that's why you are using the aws tooling?

Side note: shouldn't this line: https://github.com/outscale-dev/osc-bsu-backup/blob/master/osc_bsu_backup/cli.py#L40 be osc-bsu-backup instead?
Best,
~Nico

Hello Nicolas

we're gonna considerate to push the package on pypi, since we already do it for osc-cli
the tool need a complete rewrite to use osc-cli, it's not planned for the moment but it's in our todo


Could you provide the pretrain model?

Hello, I am interested in attempting this task. However, upon downloading the necessary models, it appears that there's a need for me to train the model independently. May I inquire if there's a pre-trained model? I am considering engaging in some downstream tasks.

Sorry, I do not understand your question. There's a pre-trained model in the shared google drive.


NIFI-1252

Allows empty private key passphrase by removing the validator on the property.

@pvillard31 Thank you for contributing this fix against the last release.  This was handled via NIFI-1415 in commit 93e2c5219599f24b54517dd43195c3d121030c5e as part of the 0.5.0 release.  I was not able to reproduce and believe it should be have as desired.  Please let us know if this is not the case.

@apiri That's OK for me!


[MM-23065] - Return to a DM/channel when you reload or go to root url

Summary
This is the same fix as before for returning to a DM or channel after reloading the page or going to root URL. Tested both webapp and desktop, however I am able to close DM's and leave channels successfully this time. Let's check on the test server as well.
Ticket Link
https://mattermost.atlassian.net/browse/MM-23065
Fix v5.23.0

Creating a new SpinWick test server using Mattermost Cloud.

Test server creation failed. See the logs for more information.

Creating a new SpinWick test server using Mattermost Cloud.

Test server creation failed. See the logs for more information.

Creating a new SpinWick test server using Mattermost Cloud.

Test server creation failed. See the logs for more information.

Creating a new SpinWick test server using Mattermost Cloud.

Test server creation failed. See the logs for more information.

Creating a new SpinWick test server using Mattermost Cloud.

Test server creation failed. See the logs for more information.

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-5224.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Tested and can actually reproduce the bug in the test server, back to investigating.

New commit detected. SpinWick will upgrade if the updated docker image is available.

Mattermost test server updated with git commit 93a060e77ecbc36808e4df922046d121a336fad5.
Access here: https://mattermost-webapp-pr-5224.test.mattermost.cloud

New commit detected. SpinWick will upgrade if the updated docker image is available.

Mattermost test server updated with git commit 0ea2e1235d5f21f9f5a109e767de77f4a925d4e3.
Access here: https://mattermost-webapp-pr-5224.test.mattermost.cloud

@Willyfrog @devinbinnie I couldn't find any bugs and couldn't reproduce the cases but I added an additional check which would make it more robust.

New commit detected. SpinWick will upgrade if the updated docker image is available.

Mattermost test server updated with git commit be169332afe439ae03a946a93504146cc346a73c.
Access here: https://mattermost-webapp-pr-5224.test.mattermost.cloud

if you have tested and couldn'r repro, I guess that's good enough!

Test server destroyed

/cherry-pick release-5.23

/update-branch

Error trying to update the PR.
Please do it manually.


Fix scalar variable support, and throw more meaningful errors and warning.

Addresses #2 and #4

LGTM :clown_face: