Add --locale parameter

Added UI locale parameter documentation

Hi @artl93, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Art Leonard). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


lyxal: Watch glucoslim-erfahrungen(?!.(yolasite|company|tilda).(com|site|ws))

lyxal requests the watch of the watch_keyword glucoslim-erfahrungen(?!\.(yolasite|company|tilda)\.(com|site|ws)). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Rejected by cigien in Charcoal HQ. Reason: 'Uses non-capturing groups'


docker files for kaiwa!

We removed the original Dockerfile because it tried to manage LDAP. I am okay with Dockerfile in general. Also, I don't think we need it as a data volume, it doesn't seem right: usually the application code is baked into the image. Looks like this Dockerfile does everything right.

I think we'll use that for now, it's a step forward.

i want to develop! :) and I use docker to setup my environment, before developing! ;) docker is important, for helping developers and also for easy deployment even though the app should not be dependent on docker for deployment \o/


Note that you can help provide direction in the README

/cc @Moya/contributors

Gonna merge this. I also discovered that @Moya/contributors was a private team, so @-ing them hasn't actually notified them until now :open_mouth:

ahhhh


Predefined agent variable Agent.MachineName not defined - should be Agent.ComputerName

I was attempting to limit a pipeline to a specific agent based on it's machine name. I received a pipeline error stating that there was no variable with the name Agent.MachineName defined. I looked at the agent's "Capabilities" tab and saw that there was a variable named Agent.ComputerName instead. I ended up being able to use that variable name successfully.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9ffebdc8-521c-44b5-cde4-4abdc1bd6f18
Version Independent ID: dc0effda-6d93-62aa-64c5-4e6f283b0826
Content: Predefined variables - Azure Pipelines
Content Source: docs/pipelines/build/variables.md
Product: devops
Technology: devops-cicd-build
GitHub Login: @juliakm
Microsoft Alias: jukullam

@steji113  I apologize for the delay on this. What version of Pipelines were you using?

Closed due to no response.


spec/acceptance directory is not marked as request

I have just set up Capybara with RSpec in a new Rails 3.1 app and added a simple test to spec/acceptance.
But unfortunately I get the error:
undefined method `visit' for #<RSpec::Core::ExampleGroup::Nested_1:0x0000000337f020>

If I rename spec/acceptance to spec/requests or manually add :type => :request, then it works as expected.
According to reademe:

A good place to put these specs is spec/requests, as rspec-rails will automatically tag them with :type => :request. (In fact, spec/integration and spec/acceptance will work just as well.)

So either README or the automatic tagging of acceptance directory should be fixed.

+1 + the same thing with integration directory for me

@gorn: Weird. Perhaps you are missing something? Check the README again, or take a look at http://opinionatedprogrammer.com/2011/02/capybara-and-selenium-with-rspec-and-rails-3/ .
@ everyone else: This should be working. I have it working in a Rails 3.1 app, and grepping rspec-rails (which sets the :request type) for 'acceptance' yields:
lib/rspec/rails/example.rb
30:    :file_path => c.escaped_path(%w[spec (requests|integration|acceptance)])

If anyone wants to dig, feel free. :-)

It works now. For future reference: I did fresh install following the http://opinionatedprogrammer.com/2011/02/capybara-and-selenium-with-rspec-and-rails-3/ tutorial. Originally I have only followed the README.rdoc. Unfortunately I am unable to track down the step which made broke it. I think it is workt mentioning the tutorial in README.rdoc as it nicely sums up everything needed for capybara on rails as opposed to README.doc which is more general.

I agree with this issue. However if you use the acceptance testing DSL ("feature" instead of "describe"), it works fine. You don't even have to require any capybara files in the spec_helper, it seems that they are required automatically.

 I had a local commit adding "acceptance" in my rspec-rails clone, hence my grep result -- you guys are completely right, it doesn't actually recognize "acceptance" for the directory name. I fixed the README, and my blog post as well.
I'm sorry my thinko in the README caused such trouble and confusion for you guys! I'll be more careful next time I edit. Thanks everyone for the report and the insistence. :-)

@joliss Sorry to hijack this but I wonder if that section needs to be rewritten, again. I think that's part of the problem here. I know I rewrote it a while back, but it could be abbreviated still. This is how I imagine people reading it currently:

You can make an example group and tag it :type => :request. Oh by the way, :type => :acceptance works too. These are RSpec versions of Rails integration tests Capybara request specs blah blah. So actually scratch what I just said about :type => :request, stick your tests in spec/requests. Or spec/integration. See, easy!!

I mean I get why all that is there, because we're assuming that people aren't using Rails, and then we say "oh but if you do use Rails, then you can do this instead". Maybe it would be a good idea to move the Rails stuff down to the Rails section?

My confusion was for the same reason from the other point of view - I use RoR and I somewhat did not pay attention that the README is NOT only for Rails so I did not even seeked for RoR section ;-) ... well this is called languagecetrism ;-) ... however maybe the RoR should be separated to its own section maybe even repeating some general info.
Thanks for great code BTW.

@mcmire wrote:

@joliss Sorry to hijack this but I wonder if that section needs to be rewritten, again.

Right. I made a pull request at #577. Do you think that's better?

@gorn wrote:

I use RoR and I somewhat did not pay attention that the README is NOT only for Rails so I did not even seeked for RoR section ;-)

Actually, I think a lot of people get tripped up by this and forget to
include 'capybara/rails'.
@jnicklas, back when you added rails.rb, was there something that
stopped you from autodetecting Rails (like defined? Rails.version)?
I'm thinking that we could require capybara/rails.rb at load-time for
Capybara, and wrap it in an if defined? Rails.version block.
One thing we'd have to deal with is deferring these lines in rails.rb
until the Rails app has been loaded, or Rails.root won't be defined:
Capybara.asset_root = Rails.root.join('public')
Capybara.save_and_open_page_path = Rails.root.join('tmp/capybara')

The reason we don't autodetet Rails is because if defined?(Foo) is generally considered bad practice. Yehuda has written a couple of blog posts about this, and I agree with him. I don't think it's too much to ask of people to read through the README for a new project.

The reason we don't autodetet Rails is because if defined?(Foo) is generally considered bad practice.

Well, now that you put it that way, yes, it seems like a really bad idea. :-)

Right. I made a pull request at #577. Do you think that's better?

Yeah, much better :)


(PUP-9143) Remove reference to ca_location from puppet device

This commit removes a reference to Host#ca_location in the puppet device application that was left over from the CA removal.

CLA signed by all contributors.


Create new EVA (Somatic) evidence table in rewrite version

On the evidence page in the rewrite, can we please create a new data table that displays the EVA (Somatic) evidence data?
Example GraphQL API query
BRAF and lung cancer
Data table

Data table column
Disease/phenotype
Reported disease/phenotype
ClinVar ID
Functional consequence
Clinical significance
Literature

GraphQL API field
evidences.rows[x].disease.name
evidences.rows[x].diseaseFromSource
evidences.rows[x].recordId
evidences.rows[x].variations[y].functionalConsequence.label
evidences.rows[x].clinicalSignificance
evidences.rows[x].literature

Sample data
lung carcinoma
lung cancer
RCV000014859
Missense variant
Pathogenic
5 publications

Please note that not all rows will have an entry in literature.
Within the data table, can we please do the following?

Link the value in the "Disease/phenotype" column to the relevant profile page in the Platform
Link the value in the "ClinVar ID" column to the ClinVar website using identifers.org and the following construct - https://identifiers.org/clinvar.record/ + evidences.rows[x].recordId (e.g. RCV000014862)
Reformat the value in the "Functional consequence" column by removing the underscores separating each work (e.g. "inframe_deletion" --> "Inframe deletion")
Link the value in the "Functional consequence" column to the Sequence Ontology website using identifers.org the following construct - https://identifiers.org/so/ + evidences.rows[x].variations[y].functionalConsequence.id (e.g. Frameshift variant)
Use the literature drawer component used in other evidence tables (e.g. Gene2Phenotype) for rows with 2+ literature entries

QC checks

CNOT9 (ENSG00000144580) and hepatocellular carcinoma (EFO_0000182)
AC058822.1 (ENSG00000282278) and melanoma (EFO_0000756)

Are we also going to display the review_status or star_rating in evidence.clinvar_rating?

With the latest iteration of the GraphQL API, can we please update the EVA evidence data table?
Sample query: KIT and piebaldism

[ ] Update "Allelic requirement" column as previously, the field was a string evidences.rows[x].allelicRequirement; however, it is now an array called evidences.rows[x].allelicRequirements with an "s". Within the column, if there is only one entry in evidences.rows[x].allelicRequirements, please display the string. If there are two or more entries in evidences.rows[x].allelicRequirements, please list the entries in an unordered list. ** Please note that very often, this field will be null **

[ ] Remove the "P-value" column and replace with a column called "Score" and display the evidences.rows[x].score value and by default, sort the table by this column (descending order)

[ ] Ensure that the "Variant" column can accept null values

[ ] In the "ClinVar ID" column, please display the evidences.rows[x].studyId as the recordId field has been deprecated

[ ] The field evidences.rows[x].clinicalSignificance has become an array called evidences.rows[x].clinicalSignificances - please display the elements of that array in the "Clinical significance" column

[ ] In the "Confidence" column, map the strings returned by the API to ClinVar's star ratings

Number of stars
String returned by GraphQL API

four
practice guideline

three
reviewed by expert panel

two
criteria provided, multiple submitters, no conflicts

one
criteria provided, conflicting interpretations

one
criteria provided, single submitter

none
no assertion for the individual variant

none
no assertion criteria provided

none
no assertion provided

For the stars, please use the FontAwesome star-solid icon with the Open Targets Corporate Blue #3489ca

With the latest iteration of the GraphQL API, can we please update the EVA (Somatic) evidence data table?
Sample query: BRAF and lung cancer

[ ] Update "Allelic requirement" column as previously, the field was a string evidences.rows[x].allelicRequirement; however, it is now an array called evidences.rows[x].allelicRequirements with an "s". Within the column, if there is only one entry in evidences.rows[x].allelicRequirements, please display the string. If there are two or more entries in evidences.rows[x].allelicRequirements, please list the entries in an unordered list. ** Please note that very often, this field will be null **

[ ] Remove the "P-value" column and replace with a column called "Score" and display the evidences.rows[x].score value and by default, sort the table by this column (descending order)

[ ] Ensure that the "Variant" column can accept null values

[ ] In the "ClinVar ID" column, please display the evidences.rows[x].studyId as the recordId field has been deprecated

[ ] The field evidences.rows[x].clinicalSignificance has become an array called evidences.rows[x].clinicalSignificances - please display the elements of that array in the "Clinical significance" column

[ ] In the "Confidence" column, map the strings returned by the API to ClinVar's star ratings

Number of stars
String returned by GraphQL API

four
practice guideline

three
reviewed by expert panel

two
criteria provided, multiple submitters, no conflicts

one
criteria provided, conflicting interpretations

one
criteria provided, single submitter

none
no assertion for the individual variant

none
no assertion criteria provided

none
no assertion provided

For the stars, please use the FontAwesome star-solid icon with the Open Targets Corporate Blue #3489ca

-[ ] please show the confidence string when hovering the stars, not to loose the extra granularity that the text message provides

As discussed:

[ ] Add reported disease/phenotype as tooltip in disease column. The tooltip content would be “Reported disease or phenotype:\n{diseaseFromSource}”
[ ] Add show more rows functionality to table.
[ ] Add empty stars as they do in clinvar
[ ] Also add the tooltip on-hover for entires with no stars
[ ] Remove score column


Incorrect progress bar

Progress bar every time make new line

this is tracked by https://github.com/mbolotov/k6-intellij-plugin/issues/3


docs: updated togglebox and toggleboxgroup stories

Removed wrapping helper component to improve code snippets.

Description
We have some stories throughout our Storybook that will not display how to use the component under the docs code tab if they are wrapped in a helper component. This HOC (Higher Order Component) pattern does not pair well with the Storybook documentation.
These can be refactored so that the logic from the helper component is integrated directly into the component stories.
I'd like for these changes to serve as a reference for the other stories we need to update. I will be opening those up for open source contributions so others in the community can gain some experience with Storybook.
Here is a an outline of how to go about these changes.
Refactoring Storybook files with helper components
Open the story files related to the component (e.g., ToggleBox.stories.tsx, ToggleBoxGroup.stories.tsx).
Remove the import of the *StoryHelper components.
Integrate the state management and handlers directly into the story templates. Replace the occurrences where the *StoryHelper components were used with the state management logic.
Ensure that the state management, handlers, and component rendering are all contained within the same story file.

Which issue(s) does this PR relate to?

Testing
Test out the ToggleBox and ToggleBoxGroup components.
View the Docs page for these components and click the Code button to open up the code example.

Trade-offs

Screenshots
Before
ToggleBox

ToggleBoxGroup

After
ToggleBox

ToggleBoxGroup

Checklist

[ ] This PR is associated with a JIRA and it is mentioned in the commit message footer ("Closes …")
[ ] Significant changes have been tested downstream to avoid breaking changes
[ ] This PR contains breaking changes and states in the commit message body ("BREAKING CHANGE: …")
[x] I have reviewed the changes and provided detail to the sections above

can i try this?


[Extractor] Extract tags

Tags is the only way to organize endpoints on the API view, it would be nice to have them exported as part of the APIs

We would like to have this functionality added too....as we depend on organizing the endpoints as mentioned by TLaborde.


GitUtils.getValidMergedPRs() returns false positives when PRs are merged into feature branches

cc @roryabraham coming from https://expensify.slack.com/archives/C07J32337/p1715047410791299
Problem
When we merged a PR from Rushat it broke the markPullRequestsAsDeployed() part of the staging deploy.
The PR in question had some commits that merged in PRs from other contributors into a feature branch e.g. Merge pull request #12 from software-mansion-labs/travel/terms-and-conditions.
AFAICT we:

Get all the commits then pass them to getValidMergedPRs() here
Parse the PR # out using a regex

However, in the case where this failed the PR doesn't exist... so we hit a 404 in the next step. I think around here:
https://github.com/Expensify/App/blob/2d96b8a36c0facf4bc9fb398030b92cebc5679fb/.github/actions/javascript/markPullRequestsAsDeployed/markPullRequestsAsDeployed.ts#L116-L120
Solution

We could just skip any RequestError with a 404 status...?
Or figure out how to filter out the PRs that are not merged by Expensify?

Thanks for the detailed report. It's been a while since I worked on this code, but I always use TDD in CIGitLogicTests.sh

Probably just ignoring 404s is easier to implement. Seems fine

I always use TDD in CIGitLogicTests.sh

Not sure if I followed what you mean there. Gonna raise a PR to catch the RequestError and log, but throw other errors.

I think this is done and no payments are due, closing it out


Sid data type support discussion

I have created a fork+branch with incomplete Sid data type support at https://github.com/MatthewMWR/perfview/tree/SidTypeSupport_2016-10 with extraction methods, test data covering multiple data layout scenarios, and a unit test.
If it will work for you, the compare URL is https://github.com/Microsoft/perfview/compare/master...MatthewMWR:SidTypeSupport_2016-10?expand=1
Currently this is missing a key element (why I haven't done a PR yet): In Registered/Dynamic parsing context we need to fix up the field lengths for Sid and following fields per-event (like with strings). I have the method to determine the length of the data, but I don't know where to implement the run time offset fixups.

Assigning to me to look at the PR that Matt has created above.

@MatthewMWR is this something that you're still interested in pursuing?  Can you also share if there was anymore progress on this that isn't documented here?  Thanks.

Hi Brian. I haven't thought about this in ages, but I would like to see it through to completion. My memory is that the scenario seemed 95% solved. In trying to think of a next step, maybe I could break this into multiple smaller changes. For example the kernel case is done (IIRC), so we could get that out of the way before addressing the Dynamic case.


Destructuring Assignment

Apply on options
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment

example where we could add that please

Sorry, i was talking to mangolin that i should give a better description
https://github.com/raulmangolin/mango-reactions/blob/master/src/reactions.js#L10
I was reading the code and the object defaults have 7 properties but is only used two.
url and refreshTime

it actually uses none, I mean, I pass the default.url to the message.push, but that's it only.
it's purpose is to pass itself for the return in case the user don't put any options, but it's dumb at all because it raises an error if the user don't passes the needed options.
it's kinda of a redundant thing, and to prevent reassignment too. we could cut that to just the ones really needed for the app to work of without the user passes options... OR remove at all the defaults and keep just the url and refreshTime.

Perfect :)


[SMALL] Allow SQL Specific config after UseSqlServer

Adding a SQL Server specific return type from UseSqlServer that allows setting things specific to SqlServerOptionsExtension
Introducing a relational base class that isn't used yet but will be used for CommandTimeout shortly

:shipit:


The timestamp on Readme.md is incorrect

The commit on readme has date 00:00:00 2000
If this is intended, maybe changing it to some user specified date would be better.
It's adding lot of years beside contribution graph

Hi, @s-i-d-d-i-s  Thanks for raising the issue. This is a very valid concern that I missed out on and should be addressed in priority. I've added a comment to the proposed fix in the PR. Would be great if you can take a look.


[RESOLVED] S100-Primario has been restarted (uptime < 10m)

Problem started at 01:45:29 on 2023.05.28
Problem name: S100-Primario has been restarted (uptime < 10m)
Host: S100-Primario
Severity: Warning
Operational data: 00:06:22
Original problem ID: 22761
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23452&eventid=22761

Problem has been resolved in 4m 0s at 01:49:29 on 2023.05.28
Problem name: S100-Primario has been restarted (uptime < 10m)
Host: S100-Primario
Severity: Warning
Original problem ID: 22761


Pratyush Suvarna - Task Done

Completed the assignment. Just had to use port 30000 instead of 35000 as changing the default range would cause me to change some settings I didn't want to.

Service NodePort is opened on 30000(which is fine, the task mentioned it on 35000)


fix update is_being_synced properties

Some properties, like storage_policy, are not supported by the ccr syncer. This PR maintains those properties for both local and remote tables while restoring.

run buildall

The test cases: https://github.com/selectdb/ccr-syncer/pull/146


getting install error for CsQuery, EpPlus, FluentMigrator.runner, Serenity.Web on vs 2017

getting install error for CsQuery, EpPlus, FluentMigrator.runner, Serenity.Web on vs 2017. How do I fix this? I can not start first step...

Can you copy the entire stack trace?
Sent with GitHawk

That's strange I've got VS2017 always updated and can't simulate this, maybe some Extension you might have.

I am getting the same results on my desktop in VS 2017, but on my laptop it works without a flaw. Both computers are up to date with the latest node.js, etc. I tried to figure out what's going on without success to this point.

This is probably connection / NuGet server issue. NuGet server fails from time to time.


Add tests for Secp module

TESTING STATUS:
SECP Module

reduce_and_nondet_bigint3.cairo: FAILING (Issue with ids structs)

REDUCE
NONDET_BIGINT3

is_zero.cairo: FAILING (Issue with ids structs)

IS_ZERO_NONDET
IS_ZERO_PACK
IS_ZERO_ASSIGN_SCOPE_VARS

div_mod_n.cairo: FAILING (Issue with ids structs)

DIV_MOD_N_PACKED_DIVMOD
DIV_MOD_N_SAFE_DIV

get_point_from_x.cairo: FAILING (Issue with ids structs)

GET_POINT_FROM_X

compute_slope.cairo: FAILING (Issue with ids structs)

COMPUTE_SLOPE

ec_doble.cairo: FAILING (Issue with ids structs)

EC_DOUBLE_ASSIGN_NEW_X
EC_DOUBLE_ASSIGN_NEW_Y

https://trello.com/c/25CiNpBu/30-test-common-library-hints-secp


Creating shops : u'minecraft:chest'

I can't create shops with mc edit. This message apears : u'minecraft:chest'
please help me ! ;) thanks !!

I guess you're running on Windows or OSX.
The fix for this bug is already know and easy applicable.
Just read in this reddit post and all shall be fine with your shops :smile:


How to log messages when using docker compose

So, with that I can see on the logs if there is messages entering in the queue? Thanks


[Feature] Use XDG directories for config files on Linux

Is your feature request related to a problem? Please describe.
septum init creates a file .septum/config in the current working directory, but I would like to create it relative to the home directory.
Describe the solution you'd like
When Septum tries to create .septum/config in the home directory, it should instead store it relative to $XDG_CONFIG_HOME. If this environment variable is not defined, it should have the value $HOME/.config/. Thus the full path becomes $HOME/.config/septum/config.
Similarly, cache files (don't know if Septum has any) could be relative to $XDG_CACHE_HOME (which is by default $HOME/.cache).

I can try to implement this if you can tell me how to tell Septum to create the file in the home directory instead of the current working directory :slightly_smiling_face:

Maybe there should be a crate for doing this?  This isn't part of the Ada standard lib and I ran across similar code in Alire yesterday to do this.

I think it's just a matter of using Ada.Command_Line.Environment?

Might not be needed: Ada.Environment_Variables.Value does the job.

So it's something like this:
Env_Home           : constant String := Ada.Environment_Variables.Value ("HOME", "~");
Env_XDG_Config     : constant String := Ada.Environment_Variables.Value ("XDG_CONFIG_HOME", Env_Home & "/.config");
Septum_Config_Path : constant String := Env_XDG_Config & "/septum/.config";


Translation to Vietnamese - chapter 5

Translation to Vietnamese - update chapter 5
5 - The 🤗 Datasets library

[x] 1.mdx
[x] 2.mdx
[x] 3.mdx
[x] 4.mdx
[x] 5.mdx
[x] 6.mdx
[x] 7.mdx
[x] 8.mdx

6 -  The 🤗 Tokenizers library

[x] 1.mdx
[x] 2.mdx
[ ] 3.mdx
[ ] 3b.mdx
[ ] 4.mdx
[ ] 5.mdx
[ ] 6.mdx
[ ] 7.mdx
[ ] 8.mdx
[x] 9.mdx
[ ] 10.mdx

Please review this pull request @lewtun. Thanks.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Given FMU file '' not found or cannot be read!

Hello again
I have trouble changing state of the fmi_adapter node from unconfigured to the configured (and later active).
yaml file with params :

fmi_adapter_node:
¨¨¨¨¨¨ros__parameters:
¨¨¨¨¨¨¨¨¨¨fmu_path: "/tmp/OpenModelica_ros123/OMEdit/DampedPendulum/DampedPendulum.fmu"

Steps I tried :

ros2 run fmi_adapter fmi_adapter_node __params:=my_params.yaml (my_params.yaml file is in the directory where I executed command, it is populated as explained in the paper cited in the README file and shown above [I tried with different quotes and without quotes])
Second terminal : ros2 lifecycle set /fmi_adapter_node configure

After step 2, in the second terminal I got the error Transitioning failed and in the first terminal I got errors :
[ERROR]... Caught exception in callback for transition 10
[ERROR]... Original error: Given FMU file '' not found or cannot be read!
[WARN].... Error occurred while doing error handling.
Based on the error, it seems like I didn't set correctly path to the FMU file but I don't know what is wrong
Alternatively, running through launch works :
ros2 launch fmi_adapter fmi_adapter_node.launch.py fmu_path:=/tmp/OpenModelica_ros123/OMEdit/DampedPendulum/DampedPendulum.fmu
This way, I can see output with ros2 topic echo /revolute1_angle

The command line interface for ros2 has been changed after Dashing. You have to pass the parameter file as follows now:
ros2 run fmi_adapter fmi_adapter_node --ros-args --params-file my_params.yml

See https://docs.ros.org/en/foxy/Tutorials/Parameters/Understanding-ROS2-Parameters.html#load-parameter-file for details.


Provisioning fails to find 'restart-mon.yml'

RUNNING HANDLER [ceph.ceph-common : restart ceph mons] *************************
fatal: [mon2]: FAILED! => {"failed": true, "reason": "ERROR! the file_name '/home/shay/vagrant/ceph-ansible/restart-mon.yml' does not exist, or is not readable"}
Modified locally the paths under "roles/ceph-common/handlers/main.yml" to "./roles/ceph-common/handlers/" instead of "./"

Closed by https://github.com/ceph/ceph-ansible/pull/1412


Feature/506 fbuchmaier extra volumes

thanks @fbuchmeier-abi, for providing the initial code
due to lack of signed CLA, I've decided to merge the code from his branch into my fork and created the MR
so full credits to him
closes #506

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: smangels:x: fbuchmeier-abiYou have signed the CLA already but the status is still pending? Let us recheck it.

@simar7, I've realised that I have the same issue with the CLA when merging his code into my repository - sad. I think that I have to redo the PR and just copy his code changes. I guess that the issue us that his employer has hard times to sign the CLA (quite common in Germany).


Support user-defined audit sink names

i.e. allow user input for here and here.

Reported by multiple solution owners

Reported by multiple solution owners


Add the ability to calculate make the camera component bounds to behave like the old camera object

What could be improved
Using cameraComponent.setBounds(), the camera still renders out of bounds components. This happens because the BoundedPositionBehavior object only prevents the center of the view finder to go out of the screen.

I think it's more nice to not render empty space, as it was the case with the old camera object.

Note that this is the intended behavior, as discussed in #2564.
Why should this be improved
Well, it would be nice for the camera to not render empty space.
Any risks?

No risk. I think the best way to do it would be to create a cameraComponent.calculateVisibleWorldViewfinderBounds() or something like that, so that it can be used alongside of cameraComponent.setBounds().

Here is a work around for anyone that might need it:
https://stackoverflow.com/a/77167193/789545
It shouldn't be too hard to implement that into the camera either (remember to take the zoom level into consideration too though) if anyone is keen to do a PR.

Just opened a PR @spydon 👍


Compatibility with Kong 1.x

KongProxyController request error { name: 'invalid size',
  message: 'size must be an integer between 1 and 1000',
  code: 9 }

Using Konga 12.2 and 13.
Name        : kong-community-edition
Arch        : noarch
Version     : 1.0.0rc1
Release     : 1
Size        : 46 M
Repo        : installed
From repo   : bintray--kong-kong-community-edition-rpm
Summary     : Kong is a distributed gateway for APIs and Microservices, focused on
            : high performance and reliability.
URL         : https://getkong.org/
License     : ASL 2.0
Description : Kong is a distributed gateway for APIs and Microservices, focused on
            : high performance and reliability.

This is caused by Kong 1.0.0. Please implement support for Kong 1.0.0. Thank You! :1st_place_medal:

Same, testing Kong 1.0rc2 some today and see similar errors on all service/route/consumer pages.

My guess is they don't return size in the way the admin API did in the past?

@pantsel I know the problem :P , Kong caught onto your max int size tricks and finally now limits you to 1000 per request.

Implement something recursive like such as this with the pagination logic(my java client code), and Konga should be all set!:
public Consumers getKongConsumers()
    {
        Consumers kongConsumers = new Consumers();

        request = new Request.Builder()
                .header("Authorization", "Bearer " + jwt_token)
                .url(base_admin_url + "/consumers?size=" + MAX_SIZE) //Disable pagination and give us all of it!
                .build();
        try
        {
            response = client.newCall(request).execute();
            //Got a valid response body?
            if(response != null && response.body() != null && response.isSuccessful())
            {
                kongConsumers = gson.fromJson(response.body().string(), Consumers.class);

                if(kongConsumers != null && kongConsumers.getOffset() != null)
                {
                    kongConsumers = getKongConsumers(kongConsumers.getOffset(), kongConsumers);
                }
            }
            else if(response != null && "401".equals(Integer.toString(response.code())))
            {
                renewJwtToken();
                return getKongConsumers();
            }
            else
            {
                //Empty response body, how do we want to handle this
            }
        }
        catch(IOException e)
        {
            //Send an email
            System.out.println("GetKongConsumers" + " Error: " + e.getMessage());
        }

        return kongConsumers;
    }

    public Consumers getKongConsumers(String offset, Consumers kongConsumers)
    {
        Consumers paginatedConsumers = new Consumers();
        try {
            request = new Request.Builder()
                    .header("Authorization", "Bearer " + jwt_token)
                    .url(base_admin_url + "/consumers?offset=" + URLEncoder.encode(offset, "UTF-8") + "&size=" + MAX_SIZE)
                    .build();
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        try
        {
            response = client.newCall(request).execute();
            //Got a valid response body?
            if(response != null && response.body() != null && response.isSuccessful())
            {
                paginatedConsumers = gson.fromJson(response.body().string(), Consumers.class);
                kongConsumers.getData().addAll(paginatedConsumers.getData());
                if(paginatedConsumers.getOffset() != null)
                {
                    kongConsumers = getKongConsumers(paginatedConsumers.getOffset(), kongConsumers);
                }
            }
            else
            {
                //Empty response body, how do we want to handle this
            }
        }
        catch(IOException e)
        {
            //Send an email
            System.out.println("GetKongConsumers" + " Error: " + e.getMessage());
        }

        return kongConsumers;
    }

Nice! Could you submit PR for this?

@jeremyjpj0916 , yup, noticed that.
I just need to find some time to deal with the fix.
I believe that I will manage to get to it in the next couple of days

Excited to test it out! Once you get that out I will continue testing to see if there are any other compatibility issues between Kong 1.0 and the 0.14.x series Konga is already compatible with. Hopefully no more surprises hah.

Bumping this for attention, we could also use this feature as Kong 1.0 will be released soon.

Kong 1.0 will be released soon.
Isn't it released already? At least on my server Kong 1.0 is waiting to be updated and due this I need to hold that update and make YUM black magic to exclude it from automatic updates.

Kong 1.0 GA dropped today  -> https://konghq.com/blog/kong-1-0-ga/

I have encountered the same problem, anyone can make a PR to solve this issue?

see also #315

Hello guys, I know I've been absent for a while but I had some RL issues to address while waiting for Kong to finalize their 1.x version.
They've changed a number of things Konga was depending upon, and a s a result, issues like this and  #315 started occuring.
The changes that need to be done to the project in order to achieve 1.x compatibility are not trivial and I need your help to verify that things are working as expected.
Kong 1.x compatibility is being worked on the next branch. Feel free try it out and drop some feedback. If you're using docker, pull pantsel/konga:next.
Bare in mind that while there may still be some broken features, the basic Kong API integration should be working just fine.
I'm yet to decide if Konga 0.14.x will be backwards compatible to Kong < 1.x. In case it won't, I will keep a branch of Konga 0.13.x active for the ones that don't want to upgrade their Kong installations just yet.
Cheers.

Cross posting from the gitter chat:
"
@pantsel Starting to look good, pagination seems to work on service/routes/plugins pages. Plugins page opening up the schema and fields seem to load fine. Consumers, their acl's and their creds seem to load fine(acl has been needing pagination and searchability for awhile but thats another issue for another day lol). So far 1 bug I have found. If you go into an individual service or an individual route, right now the plugins tab on either loads ALL plugins and not just the ones meant for that given service or route. Probably a simple fix not querying down on what needs to be.
"

@wilderchen , have you noticed something concerning the services entity that is not working as expected on Konga:next due to that change? It seems to be working fine on my end.

@jeremyjpj0916 ,

right now the plugins tab on either loads ALL plugins and not just the ones meant for that given service or route

This happens because their API stopped working with query strings for some reason.
/plugins?service_id={service_id} brings back all plugins
only the /services/{service_id}/plugins is valid now.
That's why it's hard to keep up with this project. They're breaking everything on nearly every release with no apparent reason. Almost feels like they're doing it on purpose.
Anyways, I'll make the needed changes, thanks again for the feedback man.

Well IMHO that's neither more 'restful' nor better taxonomy. Quite the contrary, it's ver un-restful, plus apart from the results you can get through paths, now there's no way for example to only get a list of only enabled plugins for a service/route?
That doesn't make sense to me...

@pantsel
Creating an upstream resource seems to work against Kong 1.0, creating a target(ip:port) does not seem to work against Kong 1.0. Also snapshots does not work(but I consider it to be the lowest of priorities).
-Jeremy

Seems my upstream edit throws an interesting error, Images are as follows top / middle / bottom. All I really want is the active healthcheck by itself with no passive healthcheck anyways... Error in red at the top when i tried to save after deleting all the http statuses out of the auto-populated passive healthchecks section after my initial submit:

@pantsel I see you did some commits on Christmas 👍 , coding Santa over there lol. So new issue. ACL whitelist to a Service or Route does not seem to work at the moment:

@jeremyjpj0916 , that was due to the changes on the plugins schema like @wilderchen pointed out.
Just pushed some fixes on the next.
Thanks for the debuging effort man!
Keep it up.
We're close...

@pantsel
Okay -
JWT plugin seems fixed
ACL plugin seems fixed
Upstreams stuff seems fixed(edit/passive/active and newer fields)
Broken -
Rate limiting/Correlation Id plugin on service/route (drop down menu options no longer seem to look right, treated as text field currently)
Also the consumers accessible services and routes page does not load still behaving like my prior screenshot.

@jeremyjpj0916 , he consumers accessible services page loads with no probs on my side.
Can you please check the JS console or the server logs for "ninja" errors :)?
If there aren't any, it probably means that it takes a lot of time to do the back and forth calculations with Kong (since you have lots of consumer groups).
If no errors are raised, wait and see if it times out.

Its been up doing the dot spin thing for about 10 mins lol. I don't see why it would be the this slow for 500ish things? Nothing in my js logs or server logs, the terminal window for std out errors has nothing either.

Get consumer, check if he has oauth/jwt/etc creds and get his acl groups.
If consumer lacks the creds or lacks the acl whitelist group(or he has the acl blacklist group, I don't use blacklist personally though) against the service/route maps with their resources then not authorized?

Doing mostly local processing after querying the needed info from Kong on a few calls?
The query for each of those takes a few seconds 2-5 on the host using admin API now but not minutes :p .
I tried snapshots too, didn't seem to work yet either.

I can't seem to be able to reproduce this one man. I'll try to investigate further and get back to you.

Its not a big deal yo, the other issues:
Rate limiting/Correlation Id plugin on service/route (drop down menu options no longer seem to look right, treated as text field currently)
and
Also removing API(Deprecated) from UI will be good, it no longer exists as a resource in 1.0, as well as the consumers accessible API resources page).
For others maybe snapshots are useful too. I do straight C* backups for Kong generally.
Edit -
The request transformation plugin seems broken from how it use to look as well.
All the ^ are more important anyways :P .

The request transformation plugin also breaks due to the schema changes.

@pantsel Right rc2 was an early release candidate and not fully in the image of Kong 1.0 yet. 1.0 drops all support for API resources since they intend for all active Kong users to migrate to service/route model for the 1.0 release(there is a Kong 0.15 which has most of the 1.0 enhancements with support still for deprecated resources).

Updating a service does not work either it seems(I tried changing the name), I assume the same error probably applies for updating routes too. Error thrown is this:

@pantsel
Further info on why some of my plugins can't load or add/enable/disable on 1.0, such as:
https://github.com/Optum/kong-upstream-jwt (I think it has to do with being an "empty" schema that has no fields?)
0.14.1 Konga JSON view:
{
"created_at":<PHONE_NUMBER>653,
"config": {},
"id": "79b19c0f-43ec-4353-8bb2-2e1e7ea7eafb",
"name": "kong-upstream-jwt",
"enabled": true
}
$ curl localhost:8001/plugins/schema/kong-upstream-jwt
{"fields":{}}
/ $

1.0 Konga JSON view(can't open or disable/enable this plugin under the hood):
{
"created_at":<PHONE_NUMBER>.438,
"consumer": null,
"id": "74865976-80ba-4e22-8c56-bd9466841676",
"service": null,
"enabled": true,
"run_on": "first",
"config": {},
"route": null,
"name": "kong-upstream-jwt"
}
/ $ curl localhost:8001/plugins/schema/kong-upstream-jwt
{"fields":{}}
/ $
Error in console when I attempt to disable/enable the plugin:
KongProxyController request error { message: '2 schema violations (created_at: expected an integer; run_on: required field missing)',
name: 'schema violation',
fields:
{ run_on: 'required field missing',
created_at: 'expected an integer' },
code: 2
DELETING it does work if its already present(was there before i upgraded to 1.0.
Now after deleting it I manually added it back via CURL with:
curl -X POST http://localhost:8001/plugins --data "name=kong-upstream-jwt"
Maybe a new way you handle plugins in 1.0 causes a breaking issue with empty schema plugins?

Also for tracking purposes, maybe this is also why the request transformer plugin your Konga app struggles with: https://github.com/Kong/kong/issues/4137 , seems they have some fixes to make of their own after 1.0 regarding that plugin.

I also have a problem when trying to change the config of one of my own plugins via konga. Output in konga log:
KongProxyController request error { message: 'schema violation (run_on: required field missing)',
name: 'schema violation',
fields: { run_on: 'required field missing' },
code: 2 }

I don't know if it is a problem with my plugin not being upgraded to kong 1.0. It looks like this was the problem - but I haven't found something about this in the plugin documentation.
Should I open a new issue and/or describe the problem here in more detail? Or does anybody have an idea how to solve this?

@dsteinkopf , I'll try to use your plugin with the changes I'm making for 1.x compatibility. I'll get back to you once i have an answer.
By the way, have you tried with konga:next? @jeremyjpj0916 's custom plugins are tested and working now.

Thank you very much. If I can do anything myself or help you in some way, just let me know.
Yes, I am running kong and konga via docker: konga image is pantsel/konga:next. (kong 1.0 image seem not to be available officially - so I am using dsteinkopf/kong-dup:latest which in turn uses temporarily dsteinkopf/kong-1.0:2018-12-27)

@dsteinkopf , I intsalled your plugin localy using the next branch and it seems to be working fine.
Bare in mind that the next branch now holds  Konga 0.14.1-rc6. So, If that's not the version you currently have installed, update your installation.
Let me know what happens.

Also seeing a problem around request-termination plugin currently, I cannot disable/enable it. I cannot submit to modify it. Here is its current JSON as seen by Konga:
{
  "created_at":<PHONE_NUMBER>.556,
  "consumer": null,
  "id": "fe7c76be-ffc6-4732-b6ac-9b6b48b5bee1",
  "service": null,
  "name": "request-termination",
  "run_on": "first",
  "config": {
    "status_code": 200,
    "body": null,
    "content_type": null,
    "message": "Success"
  },
  "route": {
    "id": "c358bcf8-16ea-45cc-a1a3-0e0b6bddd006"
  },
  "enabled": true
}

What displays when trying to edit it:

@jeremyjpj0916, this seems to be the same problem as mine (see above).

After manually "PATCH"ing the ip-restriction plugin (from my example above) via curl, this plugin can now be edited via konga. I fetched the plugins from kong via curl, removed created_at from it, added "blacklist": []. Then curl --insecure -X PATCH -H "Content-Type: application/json" -H "Accept: application/json" --data $(jq -c . <xxip-restriction.mod) https://kong-ext-zt.steinkopf.net/kong-ext/plugins/a7fc793b-5760-495f-b9a5-54346fab3656 | jq.

I think it's fixed with the latest commits.
Pull next again and check it out.
Waiting for feedback.
Cheers

(had to wait for build on docker hub)
Sorry, konga footer shows rc8 but I don't see any difference to before: Still schema violation (run_on: required field missing) on my own and bundles plugins when they are "old" (migrated from before kong 1.0). Did I make a mistake??
What did you change? (How) can we help?

Good news about the displayed creation date: Seems correct now 👍

@dsteinkopf , I found aproblem with plugin updates that was addressed with commit https://github.com/pantsel/konga/commit/f8a565f6861c5af79037f9b23c0c6cbf04089850 .
Other than that, I cannot reproduce the issue on my env. Maybe because I'm applying the plugins from scratch.
** Long shot: try on different browsers just in case. We stumbled upon a strange cache-related thingy yesterday with @jeremyjpj0916 . **
What If you delete and and re-apply those plugins.
Everything works OK (create/update)?

You could try to reproduce the problem by installing a 0.14 version, installing some plugin(s) and then upgrading. Of course, this is much hassle...
At the moment I am not at a PC, but I tried changing a plugin via my Phone. Still the same error about run_on :-(
I read about run_on on the kong pages... Question is: Why is it missing when konga is updating the plugin, while it is there in the json kong which sends when fetching the plugin data. Also konga shows it inthe raw view ...
Newly adding a plugin works fine.
Also I cannot see any difference between migrated and new plugins. Both contain the run_on attributes. At least it looks like this.
Could you (or I myself with your help) build a konga version which does more logging? e.g. the jsons kong gets from and sends to kong?

@dsteinkopf , @jeremyjpj0916
I think I've found the problem while upgrading from 1.0.0rc2 to 1.0.0.
Patched that and pushed a commit on the next (0.14.1-rc9 now).
Fingers crossed!

My update on the progression of this on the next branch:
Everything seems to be great now, have not tested snapshot imports but I see latest issues resolved such as:

request termination saves fine now
consumer accessible routes page loads properly
"bundled" is no longer a required  plugins dependency to see the ^ page or to take snapshots

IMO Konga is ready to expose a full release for 1.0 at this stage. The only caveat it seems to me is that at the moment the request transformation plugin is broken on Kong's end, so Konga can't exactly integrate properly with it yet, but once that done I am sure @pantsel can do a quick fix up for that specific plugin.
EDIT -
One more bug lol, go to consumers page and try to create an Oauth2.0 token on consumer, you will see a schema violation under "name" in red. I tried a HS256 JWT creation for a consumer and that seems to work though. I only use oauth/jwt creds on consumers so someone else can give the other boring ones (key auth/hmac/basic auth) a go 😆  .

@jeremyjpj0916 , that error was missleading.
The actual error if you check the console is : redirect_uris: "required field missing"
According to Kong's docs, the property name is redirect_uri but Kong 1.x needs it to be plural?

And updating migrated existing plugins ip-restriction and acl still results in schema violation (config.blacklist: field required for entity check when updating). I guess this is a problem with the difference between empty/null/whatever and an empty list.

I think that you won't be able to avoid some manual labor like deleting -> re-assigning plugins on this one.

ok. that would be ugly but acceptable... But aren’t you (konga) able to get the schema from the plugins and check if there are any missing attributes?

That's what Konga is doing. The attributes are generated dynamically from the schema.
Still, I don't think that the specific issue  config.blacklist: field required for entity check when updating has to do with that.
On my env, those plugins are working with no probs whatsoever so I can't reproduce that error using Kong 1.0.0.
Is there a possibility you had defined config.blacklist before upgrading and now you're trying to delete config.blacklist and setting only config.whitelist?

I did some experiments to check your question about existing blacklist.
This is one of my upgraded plugins:
# curl --silent --insecure -X GET https://mykonga/kong-ext/plugins/44c111f6-863a-4a42-a269-097f45b2dc79 | tee xxip-restriction_from_kong.json | jq .
{
  "created_at":<PHONE_NUMBER>,
  "config": {
    "whitelist": [
      "<IP_ADDRESS>",
      "<IP_ADDRESS>"
    ]
  },
  "id": "44c111f6-863a-4a42-a269-097f45b2dc79",
  "service": {
    "id": "5e350633-545d-44dd-bdf7-1ac1becca952"
  },
  "enabled": true,
  "run_on": "first",
  "name": "ip-restriction"
}

As you can see, blacklist is missing here. Kong won't accept this json:
# curl --silent --insecure -X PATCH -H "Content-Type: application/json" -H "Accept: application/json" --data @xxip-restriction_from_kong.json https://mykonga/kong-ext/plugins/44c111f6-863a-4a42-a269-097f45b2dc79 | jq
{
  "message": "schema violation (config.blacklist: field required for entity check when updating)",
  "name": "schema violation",
  "fields": {
    "config": {
      "blacklist": "field required for entity check when updating"
    }
  },
  "code": 2
}

Then I added an empty blacklist to the JSON:
jq -c <xxip-restriction_from_kong.json '.config |= .+ { "blacklist":[] }' | tee xxip-restriction_plus_blacklist.json | jq
{
  "created_at":<PHONE_NUMBER>,
  "config": {
    "whitelist": [
      "<IP_ADDRESS>",
      "<IP_ADDRESS>"
    ],
    "blacklist": []
  },
  "id": "44c111f6-863a-4a42-a269-097f45b2dc79",
  "service": {
    "id": "5e350633-545d-44dd-bdf7-1ac1becca952"
  },
  "enabled": true,
  "run_on": "first",
  "name": "ip-restriction"
}

This will work then:
# curl --silent --insecure -X PATCH -H "Content-Type: application/json" -H "Accept: application/json" --data @xxip-restriction_plus_blacklist.json https://mykonga/kong-ext/plugins/44c111f6-863a-4a42-a269-097f45b2dc79 | jq
{
  "created_at":<PHONE_NUMBER>,
  "config": {
    "whitelist": [
      "<IP_ADDRESS>",
      "<IP_ADDRESS>"
    ],
    "blacklist": []
  },
  "id": "44c111f6-863a-4a42-a269-097f45b2dc79",
  "service": {
    "id": "5e350633-545d-44dd-bdf7-1ac1becca952"
  },
  "enabled": true,
  "run_on": "first",
  "consumer": null,
  "route": null,
  "name": "ip-restriction"
}

Now this plugin seems to be correctly upgraded and I am also able to edit it via konga.
So I think, konga should be able to add the blacklist by itself. - But I also consider this described method as an acceptable way to upgrade the plugins manually (at least for me).
--
Now I have to look for another plugin in my installation with this problem to create screenshots :-)

This is a screenshot just after pressing "submit":

Ok so the blacklist field was not required prior to Kong 1.0.0 and it is now.
It would be helpful ig they had a required: true property in the plugins schema but instead they got this:
{
    "fields": [
        {
            "whitelist": {
                "elements": {
                    "type": "string"
                },
                "type": "array"
            }
        },
        {
            "blacklist": {
                "elements": {
                    "type": "string"
                },
                "type": "array"
            }
        }
    ]
}

No way of knowing if a field is required without per-case monkey-patching which is something I generally try to avoid if I have a better solution.

Yes, you're right. I consider this a bug in this plugin :-(
The kong plugin doc says about the required attribute in the schema:

Default: false. If true, the property must be present in the configuration.

So required does NOT say that this field has to be filled (not empty) - it just says it must be present. Should we open a bug report in kong?

I'll try to handle it somehow, maybe by populating everything there is in the schema regardless of whether the property exists in their reponse or not

Ok fine. But as you said, this is not the ideal solution...

We work with what we have :)

Strange, that is what Konga is sending to Kong on my env.
As you can see there is no config.blacklist defined.
{
  "created_at":<PHONE_NUMBER>,
  "id": "ddf25733-116d-4dbc-b5a9-490c98b4d04d",
  "service": null,
  "enabled": true,
  "run_on": "first",
  "consumer": null,
  "route": null,
  "name": "acl",
  "config": {
    "whitelist": [
      "test"
    ],
    "hide_groups_header": false
  }
}

Still, it updates with no probs.
Question, are you by any chance using Casandra as a datastore? Im using Pg here.

THAT is strange. I am also using kong 1.0.0 which I built myself from https://github.com/Kong/docker-kong (alpine directory) because kong 1.0 isn't yet available from https://hub.docker.com/_/kong.
Did you try to use curl and PATCH  this JSON (without blacklist) ?
And no - I am also using pg.

BTW. What is your knowledge of the transformer plugin problem? (I am currently trying to add a request-transformer without success.)

That is a Kong issue. The schema is messed up on 1.0.0
https://github.com/Kong/kong/issues/4137

@pantsel Noted on the oauth change here for their docs: https://github.com/Kong/docs.konghq.com/issues/1092 , if I get time later I will fix it myself, thanks for fixing it in Konga!

@pantsel Okay tested OAuth2.0 client cred creation now, seems to be working good. Did some regression testing and it seems the request termination plugin created on a route breaks once again xD -

I can taste the finish lineeeee.

Confirmed ^ problem was fixed by the commit. Thx.

@pantsel ^ seems to have fixed the issue. I did try a restore snapshot and I have a oauth2 and jwt cred assigned to a user. I didn't restore it to an empty node but just clicked restore on a kong environment that already had that snapshot data and I see these errors:

I imagine if it successfully checks they are already present it should just count as a success and keep going right and add +1 to the imported row? Since services/plugins/routes/cousmers/acls all did so.

Closing this issue due to housekeeping since Konga 0.14.1 is fully compatible with Kong 1,x.
Feel free to reopen if you stumble upon anything weird.


Cannot install from git

Hi,
When trying to install from git as per the documentation, I received the following error:
Creating virtualenv luna-MtvwdPsJ-py3.10 in /home/jeremy/.cache/pypoetry/virtualenvs
Installing dependencies from lock file

Because lambdasoc (0.1.dev27+gefd5442) @ git+https://github.com/ktemkin/lambdasoc.git@HEAD depends on nmigen (*) which doesn't match any versions, lambdasoc is forbidden.
So, because luna depends on lambdasoc (0.1.dev27+gefd5442) @ git+https://github.com/ktemkin/lambdasoc.git, version solving failed.

I saw in another issue I could instead try pip install ., but this also gives an error:
Defaulting to user installation because normal site-packages is not writeable
Processing /home/jeremy/Downloads/luna
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting amaranth-boards@ git+https://github.com/amaranth-lang/amaranth-boards.git@main
  Cloning https://github.com/amaranth-lang/amaranth-boards.git (to revision main) to /tmp/pip-install-r5euf53l/amaranth-boards_5e1919b96376435392db67a27f19d5e4
  Running command git clone --filter=blob:none --quiet https://github.com/amaranth-lang/amaranth-boards.git /tmp/pip-install-r5euf53l/amaranth-boards_5e1919b96376435392db67a27f19d5e4
  Resolved https://github.com/amaranth-lang/amaranth-boards.git to commit 609a65c163c1374fb5f9c528253c36caa8edd56f
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package amaranth-boards produced metadata for project name unknown. Fix your #egg=amaranth-boards fragments.
Discarding git+https://github.com/amaranth-lang/amaranth-boards.git@main: Requested unknown from git+https://github.com/amaranth-lang/amaranth-boards.git@main (from luna==0.1.0.dev0) has inconsistent name: filename has 'amaranth-boards', but metadata has 'unknown'
Collecting usb-protocol@ git+https://github.com/usb-tools/python-usb-protocol
  Cloning https://github.com/usb-tools/python-usb-protocol to /tmp/pip-install-r5euf53l/usb-protocol_867f717767d54f2c9f5da760f02d3564
  Running command git clone --filter=blob:none --quiet https://github.com/usb-tools/python-usb-protocol /tmp/pip-install-r5euf53l/usb-protocol_867f717767d54f2c9f5da760f02d3564
  Resolved https://github.com/usb-tools/python-usb-protocol to commit a9830731a8de6946bfee014e6b0188ee83a716f2
  Preparing metadata (setup.py) ... done
Collecting amaranth@ git+https://github.com/amaranth-lang/amaranth.git@main
  Cloning https://github.com/amaranth-lang/amaranth.git (to revision main) to /tmp/pip-install-r5euf53l/amaranth_f62391ffd97b4bc685174083be7a2465
  Running command git clone --filter=blob:none --quiet https://github.com/amaranth-lang/amaranth.git /tmp/pip-install-r5euf53l/amaranth_f62391ffd97b4bc685174083be7a2465
  Resolved https://github.com/amaranth-lang/amaranth.git to commit 666ee27fd0fa9fb90109e0e201f878f9ab034c85
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package amaranth produced metadata for project name unknown. Fix your #egg=amaranth fragments.
Discarding git+https://github.com/amaranth-lang/amaranth.git@main: Requested unknown from git+https://github.com/amaranth-lang/amaranth.git@main (from luna==0.1.0.dev0) has inconsistent name: filename has 'amaranth', but metadata has 'unknown'
Collecting amaranth-soc@ git+https://github.com/amaranth-lang/amaranth-soc.git@main
  Cloning https://github.com/amaranth-lang/amaranth-soc.git (to revision main) to /tmp/pip-install-r5euf53l/amaranth-soc_a01fc66bb4ce41f1a7613f4e087ec057
  Running command git clone --filter=blob:none --quiet https://github.com/amaranth-lang/amaranth-soc.git /tmp/pip-install-r5euf53l/amaranth-soc_a01fc66bb4ce41f1a7613f4e087ec057
  Resolved https://github.com/amaranth-lang/amaranth-soc.git to commit bddf5a82ff63ad55c13138a654da511317f6861c
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package amaranth-soc produced metadata for project name unknown. Fix your #egg=amaranth-soc fragments.
Discarding git+https://github.com/amaranth-lang/amaranth-soc.git@main: Requested unknown from git+https://github.com/amaranth-lang/amaranth-soc.git@main (from luna==0.1.0.dev0) has inconsistent name: filename has 'amaranth-soc', but metadata has 'unknown'
Requirement already satisfied: pyvcd<0.3.0,>=0.2.4 in /home/jeremy/.local/lib/python3.10/site-packages (from luna==0.1.0.dev0) (0.2.4)
Collecting ziglang<0.9.0,>=0.8.0
  Downloading ziglang-0.8.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (68.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.1/68.1 MB 1.9 MB/s eta 0:00:00
Collecting pyusb<2.0.0,>=1.1.1
  Downloading pyusb-1.2.1-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.4/58.4 KB 23.5 MB/s eta 0:00:00
Collecting libusb1<2.0.0,>=1.9.2
  Downloading libusb1-1.9.3-py3-none-any.whl (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.5/60.5 KB 28.7 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement amaranth-boards (unavailable) (from luna) (from versions: 0)
ERROR: No matching distribution found for amaranth-boards (unavailable)

Could you please help me understand what the correct way to install this package is?

The plan moving forward is to stop using poetry entirely in favour of pip.
pip install . should be working at the moment against HEAD but it's good to know when it isn't!
Can you please provide a bit more info about your environment:

OS & version
Python version
Are you using a virtual environment tool such as virtualenv or pyenv ?

Environments I've tested and can confirm work from a fresh environment:

macOS 12 & 13, Ubuntu 22.04, Arch latest
Python 3.10 and 3.11, PyPy 3.9

Hi,
Sorry, I should have provided that info earlier. I’m using Ubuntu 22.04 with python from the apt repo, 3.10. The only other things installed via pip are litex and amaranth (and their dependencies). No virtual environment, I’m running a separate VM with the fresh Ubuntu install so there isn’t really a need for one.

Ah okay, this could indeed be related to the recent shift amaranth made to pyproject.toml.
There's an open PR which is related:
https://github.com/greatscottgadgets/luna/pull/192/files#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552
In the meantime you could try this change on your local requirements.txt:
- -e git+https://github.com/amaranth-lang/amaranth.git#egg=amaranth
+ amaranth -e git+https://github.com/amaranth-lang/amaranth.git#egg=amaranth

Seems that this problem is related to pip 22 which ships with ubuntu by default. Upgrading to pip 23 and using the PR you mentioned works fine.


Timeout during deploy: TimeoutError: Promise timed out after 1200000 milliseconds

- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
Persistent timeout during deploy using netlify deploy -d /some/path while running in Microsoft Azure Pipelines environment on an Ubuntu host.  Timeout error mentions 120000ms, but actual deploy execution time before failure is much longer than that (over 20 minutes)
> npm install netlify-cli

npm WARN deprecated<EMAIL_ADDRESS>I wrote this module a very long time ago; you should use something else.

><EMAIL_ADDRESS>postinstall /home/vsts/work/node_modules/netlify-cli
> node ./scripts/postinstall.js

Success! Netlify CLI has been installed!

Your device is now configured to use Netlify CLI to deploy and manage your Netlify sites.

Next steps:

  netlify init     Connect or create a Netlify site from current directory
  netlify deploy   Deploy the latest changes to your Netlify site

For more information on the CLI run netlify help
Or visit the docs at https://cli.netlify.com

npm WARN saveError ENOENT: no such file or directory, open '/home/vsts/work/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/vsts/work/package.json'
npm WARN work No description
npm WARN work No repository field.
npm WARN work No README data
npm WARN work No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+<EMAIL_ADDRESS>added 722 packages from 402 contributors and audited 13182 packages in 42.61s
found 4 vulnerabilities (2 moderate, 2 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> netlify deploy -d /home/vsts/work/1/b

Deploy path: /home/vsts/work/1/b
Deploying to draft URL...
- Hashing files...
✔ Finished hashing 34740 files
- CDN diffing files...
✔ CDN requesting 2 files
- Uploading 2 files
✔ Finished uploading 2 assets
- Waiting for deploy to go live...
 ›   Warning:
 ›   {
 ›      "name": "TimeoutError"
 ›   }
 ›
TimeoutError: Promise timed out after 1200000 milliseconds
    at Timeout.setTimeout [as _onTimeout] (~/work/node_modules/p-timeout/index.js:27:54)

- If the current behavior is a bug, please provide the steps to reproduce.
We run this in Azure Pipelines on ubuntu-latest Microsoft-hosted hosts.  The directory being deployed to netlify is fairly large, but this used to work some months ago.  Exact steps are:

Set up authentication (set $NETLIFY_SITE_ID and $NETLIFY_AUTH_TOKEN)
Generate a website (a large site) to $BUILD_BINARIESDIRECTORY (our is 673M and 38086 files)
npm install netlify-cli
$(npm bin)/netlify deploy -d $BUILD_BINARIESDIRECTORY

- What is the expected behavior?
Deploy should succeed
- Please mention your node.js, and operating system version.

nodejs: v10.16.0
npm: 6.10.2
Ubuntu Xenial (16.04)

ok and just to be sure of the source of the problem, does this still happen if you revert the CLI version from 6.12.x to a few-months-old version?

Interesting thing happened after I opened this.
After several months of failures, deploy succeeded on the full site, but only after I accidentally deployed an empty directory (because site generation failed earlier).
I am re-running to see if this continues to succeed.

Heisenbug!

Basically.
Succeeded a second time as well.  Perhaps deploying an empty directory corrected a bad state somewhere.
I'll re-open if this re-occurs.

On a possibly related note, I attempted to add netlify deploy --prod after deploy and it hung for over an hour before I killed it at:
- CDN diffing files...
✔ CDN requesting 2 files
- Uploading 2 files
✔ Finished uploading 2 assets
- Waiting for deploy to go live...

This feature isn't important for us, but I'm mentioning it just in case.

no clue at all. maybe @davidwells can help, otherwise i’d leave it for now


[ES Temperature] Support informal degrees and fix issue in ES auto-gen for Units (#2877)

Fixes #2877.

Support informal usage of upperscript o as degrees in PT and ES (#2877);

Fix issue in generation of Spanish unit resources;

Re-generate all resources across platforms.

@chexi-ms, could you please review? Thanks.


Remove folder issue from video library

bool result = await myPictures.RequestRemoveFolderAsync(folder);
The following exceptions occasionally occur when deleting a folder from a video library using the
code above.
[System.Exception:The remote procedure call failed.(Exception from HRESULT: 0x800706BE)
at Windows.Storage.StorageLibrary.RequestRemoveFolderAsync(StorageFolder folder)].
Because this exception does not occur every time, I don't know how to solve it.

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: 7f59ce84-4e55-82be-a007-fed934e3f41b
Version Independent ID: 6d5d61e5-d4bf-4e56-c0c5-ca6fb19e6e6d
Content: 音乐、图片和视频库中的文件和文件夹 - Windows UWP applications
Content Source: windows-apps-src/files/quickstart-managing-folders-in-the-music-pictures-and-videos-libraries.md
Product: uwp
Technology: data-and-files
GitHub Login: @lastnameholiu
Microsoft Alias: alholiu

Hi @singhwong, thanks for reaching out with your feedback. Is there anything you'd like to see on our documentation that could potentially help solve your roadblock?
If else, I'm thinking there might be answers to your exception issue on our developer resources. For community assistance with development questions I recommend that you ask on our forums or StackOverflow. Otherwise, please see the developer support page for your support options. If you get assistance through these other resources and believe that information would help us improve the docs, please come back and let us know.

The code below is my solution, so far this is feasible.Every time the folder deletion operation is performed, the folders in the video library are obtained again.
var removeLibrary = await StorageLibrary.GetLibraryAsync(KnownLibraryId.Videos);  var myLibraryFolders = removeLibrary.Folders; foreach (var folder in myLibraryFolders)     {        if (folder.Path == remove_library.FolderPath)           {              result_bool = await removeLibrary.RequestRemoveFolderAsync(folder);            }     }


Install error

I am newb. I am installing molbert with jupyter notebook.
I downloaded code zip. After unzip, I made python code within the same folder.
I used the following code
!conda activate molbert
!pip install --user -e .
Error message is too long. I don't know how to fix.
error: subprocess-exited-with-error
pip subprocess to install build dependencies did not run successfully.
exit code: 1
[603 lines of output]
Ignoring numpy: markers 'python_version == "3.5" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.5" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.7" and platform_system == "AIX"' don't match your environment
Collecting wheel
Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
Collecting setuptools
Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB)
Collecting Cython>=0.29.2
Using cached Cython-0.29.34-py2.py3-none-any.whl (988 kB)
Collecting numpy==1.14.5
Using cached numpy-1.14.5.zip (4.9 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py): started
Building wheel for numpy (setup.py): finished with status 'error'
error: subprocess-exited-with-error
python setup.py bdist_wheel did not run successfully.
exit code: 1

[264 lines of output]
Running from numpy source directory.
C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\misc_util.py:464: SyntaxWarning: "is" with a literal. Did you mean "=="?
  return is_string(s) and ('*' in s or '?' is s)
blas_opt_info:
blas_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries mkl_rt not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

blis_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries blis not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

openblas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries openblas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
  NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

atlas_3_10_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

atlas_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\system_info.py:624: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  self.calc_info()
blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries blas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\system_info.py:624: UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  self.calc_info()
blas_src_info:
  NOT AVAILABLE

C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\system_info.py:624: UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  self.calc_info()
  NOT AVAILABLE

'svnversion'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
non-existing path in 'numpy\\distutils': 'site.cfg'
'svnversion'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
F2PY Version 2
lapack_opt_info:
lapack_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries mkl_rt not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

openblas_lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries openblas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

openblas_clapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries openblas,lapack not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas,tatlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas,tatlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas,tatlas not found in C:\Users\onsky\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\libs
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  NOT AVAILABLE

atlas_3_10_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas,satlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas,satlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas,satlas not found in C:\Users\onsky\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\libs
<class 'numpy.distutils.system_info.atlas_3_10_info'>
  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in C:\Users\onsky\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
  NOT AVAILABLE

atlas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in C:\Users\onsky\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\libs
<class 'numpy.distutils.system_info.atlas_info'>
  NOT AVAILABLE

lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\system_info.py:624: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  self.calc_info()
lapack_src_info:
  NOT AVAILABLE

C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\system_info.py:624: UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  self.calc_info()
  NOT AVAILABLE

C:\Users\onsky\anaconda3\lib\site-packages\setuptools\_distutils\dist.py:265: UserWarning: Unknown distribution option: 'define_macros'
  warnings.warn(msg)
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win-amd64-3.1
creating build\src.win-amd64-3.1\numpy
creating build\src.win-amd64-3.1\numpy\distutils
building library "npymath" sources
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
error: subprocess-exited-with-error

python setup.py clean did not run successfully.
exit code: 1

[10 lines of output]
Running from numpy source directory.

`setup.py clean` is not supported, use one of the following instead:

  - `git clean -xdf` (cleans all files)
  - `git clean -Xdf` (cleans all versioned files, doesn't touch
                      files that aren't checked into the git repo)

Add `--force` to your command to use it anyway if you must (unsupported).

[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for numpy

Failed to build numpy
Installing collected packages: wheel, setuptools, numpy, Cython
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
error: subprocess-exited-with-error
Running setup.py install for numpy did not run successfully.
exit code: 1

[269 lines of output]
Running from numpy source directory.

Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:

  - `pip install .`       (from a git repo or downloaded source
                           release)
  - `pip install numpy`   (last NumPy release on PyPi)

blas_opt_info:
blas_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries mkl_rt not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

blis_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries blis not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

openblas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries openblas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
  NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

atlas_3_10_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

atlas_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\system_info.py:624: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  self.calc_info()
blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries blas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\system_info.py:624: UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  self.calc_info()
blas_src_info:
  NOT AVAILABLE

C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\system_info.py:624: UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  self.calc_info()
  NOT AVAILABLE

'svnversion'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
non-existing path in 'numpy\\distutils': 'site.cfg'
'svnversion'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
F2PY Version 2
lapack_opt_info:
lapack_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries mkl_rt not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

openblas_lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries openblas not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

openblas_clapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries openblas,lapack not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas,tatlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas,tatlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas,tatlas not found in C:\Users\onsky\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\libs
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  NOT AVAILABLE

atlas_3_10_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas,satlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas,satlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas,satlas not found in C:\Users\onsky\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\libs
<class 'numpy.distutils.system_info.atlas_3_10_info'>
  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in C:\Users\onsky\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
  NOT AVAILABLE

atlas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in C:\Users\onsky\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\Users\onsky\anaconda3\libs
<class 'numpy.distutils.system_info.atlas_info'>
  NOT AVAILABLE

lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack not found in ['C:\\Users\\onsky\\anaconda3\\lib', 'C:\\', 'C:\\Users\\onsky\\anaconda3\\libs']
  NOT AVAILABLE

C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\system_info.py:624: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  self.calc_info()
lapack_src_info:
  NOT AVAILABLE

C:\Users\onsky\AppData\Local\Temp\pip-install-9yrprwod\numpy_b427a95ae1794d528bdd41165161d396\numpy\distutils\system_info.py:624: UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  self.calc_info()
  NOT AVAILABLE

C:\Users\onsky\anaconda3\lib\site-packages\setuptools\_distutils\dist.py:265: UserWarning: Unknown distribution option: 'define_macros'
  warnings.warn(msg)
running install
C:\Users\onsky\anaconda3\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

error: legacy-install-failure
Encountered error while trying to install package.
numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
pip subprocess to install build dependencies did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

Did you figure this out?


chart: add support for Ingress v1 API

Hi,
After running "jx dash" it returns:
W0520 01:15:15.674690   20991 warnings.go:70] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
error: no dashboard URL. Check you have 'chart: jx3/jx-pipelines-visualizer' in your helmfile.yaml
Checked out the file "ingress.yaml" has "networking.k8s.io/v1beta1", can you please change it to networking.k8s.io/v1.
Thank you
Matias.

yes, in fact it's a bit more complex when supporting the v1 API, because some fields have been renamed, as explained in https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122
FYI there is an example of ingress template that supports both v1beta1 and v1 APIs here: https://github.com/grafana/helm-charts/blob/main/charts/grafana/templates/ingress.yaml

fixed by #134


Figure out a preferable way to return checkpoints data.

Background
As each counterpoint has (potentially) multiple measurements, if multiple checkpoints are to be returned from a function what would be the best way to return them.
Questions To Answer

How to return data of multiple Checkpoints

Options

Each measurement in each checkpoint are returned as one row, including checkpoint identification (grouping is done on app level)
Measurements are grouped by checkpoint and returned in a complex type (`ARRAY[JSON]' perhaps?)
No such possibility, there would be function to return checkpoints, and then each checkpoint would need to be queried separately
Something different?

Desired Outcome
The method of choice to return these data.
### Tasks
- [ ] Questions have been answered or we have a clearer idea of how to get to our goal
- [ ] Discussion with the team
- [ ] Documentation
- [ ] Create recommendations and new implementation tickets
- [ ] item here..

Additional Info/Resources [Optional]

Changing it rather to Question instead of Spike.

After some impromptu conversation in the office we figured that the best slution, at least for now is:
    OUT id_checkpoint UUID,
    OUT checkpoint_name TEXT,
    OUT measure_name TEXT,
    OUT measure_columns TEXT[],
    OUT measurement_value JSONB[],
    OUT checkpoint_time TIMESTAMP WITH TIME ZONE

always ordered by id_checkpoint first to ensure, that measurements from the same checkpoint are after each other.


Upgrade to Quarkus CXF 2.2.7

The current PR fixes https://issues.redhat.com/browse/CEQ-8392 (3.2)
... and there is a related issue for  2.13 https://issues.redhat.com/browse/CEQ-8389

Replaced by https://github.com/jboss-fuse/camel-quarkus/pull/296