feat: remove binary impl for edge, transcoder, ingest

Proposed changes
The reasoning behind this is because ideally we should provide a simple way for users to launch all services under a single binary. This change refactors how global state works. Allowing us to change the global state as a trait. This also has the effect of removing code duplication.
Types of changes
What types of changes does your code introduce to Scuffle?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, you may want to start the discussion by explaining why you chose the solution you did, what alternatives you considered, etc.

Do you plan to use the binary helper for the platform api as well?

@lennartkloock yeah likely

@lennartkloock yeah likely

In this pr?


Add an Image to the Background of Home page

I'll like to work on this.

Let's Assign this Issue to a Beginner Coder :)

You can work on our Other Issues

Can i work on this issue?

hey pls assign this to me


goroutine leak in drainBufferOnCancel

Here's how memory consumption looks like with the engine on the latest commit. 40k+ (and growing) goroutines are stuck on:
goroutine profile: total 58657
47854 @ 0x43cd76 0x406ab0 0x406898 0x1cb6453 0x46e2a1
#	0x1cb6452	github.com/thanos-community/promql-engine/execution/exchange.(*concurrencyOperator).drainBufferOnCancel+0x32	/home/giedrius/go/pkg/mod/github.com/vinted/promql-engine@v0.0.0-20221024105757-4c9896d26166/execution/exchange/concurrent.go:88

10700 @ 0x43cd76 0x44cc3c 0x1ca48cb 0x46e2a1
#	0x1ca48ca	github.com/thanos-community/promql-engine/worker.(*Worker).start+0x20a	/home/giedrius/go/pkg/mod/github.com/vinted/promql-engine@v0.0.0-20221024105757-4c9896d26166/worker/worker.go:61

Full goroutine dump:
promql_engine.txt

https://github.com/thanos-community/promql-engine/blob/8e5169a06e7c1012fd2e3cf8785ac0850452c02f/engine/engine.go#L190 sounds like we should always cancel this context but we don't for some reason?

https://github.com/thanos-community/promql-engine/pull/94 I added a fix here, at least it fixes this particular case :smile: I see no reason not to always cancel the context at the end of an execution.


Augury shows 2 NgForm when there is 1

Also happen with elements, we see multiple NgModel and Array when there is only one per element.

Can't seem to re-produce this issue. From the screenshots it looks like you're testing this with the sample demo app for forms on the augury.io website? I used the same application and only one NgForm appears in the instance providers list. Same with NgModel, and Array on the inputs, only one appears now.

This does look like it went away somehow. Will reopen if we see it again.


Features/entity property encryption

Introduced IEncryptionProvider on EntityDbContext to provide ability to encrypt nominated database fields with a nominated encryption scheme

Need to improve the technique in future by not registering the IEncryptionProvide in DI, instead set it as an extension on the DbContextOptions...if possible, or some other technique


[Snyk] Security upgrade ruby from 2.6.5 to 2.7.6

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

openshift-configs/Dockerfile

We recommend upgrading to ruby:2.7.6, as this image has only 417 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

714
Exposure of Resource to Wrong Sphere SNYK-DEBIAN10-CURL-3065760
No Known Exploit

714
Integer Overflow or Wraparound SNYK-DEBIAN10-GIT-3232718
No Known Exploit

714
Integer Overflow or Wraparound SNYK-DEBIAN10-GIT-3232719
No Known Exploit

714
Out-of-bounds Read SNYK-DEBIAN10-LIBTASN16-3061094
No Known Exploit

714
OS Command Injection SNYK-DEBIAN10-OPENSSL-2807585
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

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

Checkmarx One – Scan Summary & Details – b0757022-22de-4010-ab60-bdd0b1e856fa
No New Or Fixed Issues Found


Make glossary entries consistent

Unifies the style.

Yep. Anyway, it's merged, it was rather a comment for myself.


ngrok

[x] Use ngrok?

It works:
C:\Users\Suriyaa\Downloads\sinatra>ruby server.rb
[2016-08-27 14:49:49] INFO  WEBrick 1.3.1
[2016-08-27 14:49:49] INFO  ruby 2.3.0 (2015-12-25) [x64-mingw32]
== Sinatra (v1.4.7) has taken the stage on 8972 for development with backup from WEBrick
[2016-08-27 14:49:49] INFO  WEBrick::HTTPServer#start: pid=13136 port=8972
I got some JSON: {"action"=>"edited", "issue"=>{"url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/issues/1", "repository_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload", "labels_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/issues/1/labels{/name}", "comments_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/issues/1/comments", "events_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/issues/1/events", "html_url"=>"https://github.com/SuriyaaKudoIsc/payload/issues/1", "id"=>173594564, "number"=>1, "title"=>"ngrok", "user"=>{"login"=>"SuriyaaKudoIsc", "id"=>5073946, "avatar_url"=>"https://avatars.githubusercontent.com/u/5073946?v=3", "gravatar_id"=>"", "url"=>"https://api.github.com/users/SuriyaaKudoIsc", "html_url"=>"https://github.com/SuriyaaKudoIsc", "followers_url"=>"https://api.github.com/users/SuriyaaKudoIsc/followers", "following_url"=>"https://api.github.com/users/SuriyaaKudoIsc/following{/other_user}", "gists_url"=>"https://api.github.com/users/SuriyaaKudoIsc/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/SuriyaaKudoIsc/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/SuriyaaKudoIsc/subscriptions", "organizations_url"=>"https://api.github.com/users/SuriyaaKudoIsc/orgs", "repos_url"=>"https://api.github.com/users/SuriyaaKudoIsc/repos", "events_url"=>"https://api.github.com/users/SuriyaaKudoIsc/events{/privacy}", "received_events_url"=>"https://api.github.com/users/SuriyaaKudoIsc/received_events", "type"=>"User", "site_admin"=>false}, "labels"=>[], "state"=>"open", "locked"=>false, "assignee"=>nil, "assignees"=>[], "milestone"=>nil, "comments"=>0, "created_at"=>"2016-08-27T12:48:28Z", "updated_at"=>"2016-08-27T12:49:50Z", "closed_at"=>nil, "body"=>" - [x] Use ngrok?"}, "changes"=>{"body"=>{"from"=>" - [ ] Use ngrok?"}}, "repository"=>{"id"=>66713769, "name"=>"payload", "full_name"=>"SuriyaaKudoIsc/payload", "owner"=>{"login"=>"SuriyaaKudoIsc", "id"=>5073946, "avatar_url"=>"https://avatars.githubusercontent.com/u/5073946?v=3", "gravatar_id"=>"", "url"=>"https://api.github.com/users/SuriyaaKudoIsc", "html_url"=>"https://github.com/SuriyaaKudoIsc", "followers_url"=>"https://api.github.com/users/SuriyaaKudoIsc/followers", "following_url"=>"https://api.github.com/users/SuriyaaKudoIsc/following{/other_user}", "gists_url"=>"https://api.github.com/users/SuriyaaKudoIsc/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/SuriyaaKudoIsc/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/SuriyaaKudoIsc/subscriptions", "organizations_url"=>"https://api.github.com/users/SuriyaaKudoIsc/orgs", "repos_url"=>"https://api.github.com/users/SuriyaaKudoIsc/repos", "events_url"=>"https://api.github.com/users/SuriyaaKudoIsc/events{/privacy}", "received_events_url"=>"https://api.github.com/users/SuriyaaKudoIsc/received_events", "type"=>"User", "site_admin"=>false}, "private"=>false, "html_url"=>"https://github.com/SuriyaaKudoIsc/payload", "description"=>":tada: A payload server build by @SuriyaaKudoIsc.", "fork"=>false, "url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload", "forks_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/forks", "keys_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/keys{/key_id}", "collaborators_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/collaborators{/collaborator}", "teams_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/teams", "hooks_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/hooks", "issue_events_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/issues/events{/number}", "events_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/events", "assignees_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/assignees{/user}", "branches_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/branches{/branch}", "tags_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/tags", "blobs_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/git/blobs{/sha}", "git_tags_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/git/tags{/sha}", "git_refs_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/git/refs{/sha}", "trees_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/git/trees{/sha}", "statuses_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/statuses/{sha}", "languages_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/languages", "stargazers_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/stargazers", "contributors_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/contributors", "subscribers_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/subscribers", "subscription_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/subscription", "commits_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/commits{/sha}", "git_commits_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/git/commits{/sha}", "comments_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/comments{/number}", "issue_comment_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/issues/comments{/number}", "contents_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/contents/{+path}", "compare_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/compare/{base}...{head}", "merges_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/merges", "archive_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/{archive_format}{/ref}", "downloads_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/downloads", "issues_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/issues{/number}", "pulls_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/pulls{/number}", "milestones_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/milestones{/number}", "notifications_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/notifications{?since,all,participating}", "labels_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/labels{/name}", "releases_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/releases{/id}", "deployments_url"=>"https://api.github.com/repos/SuriyaaKudoIsc/payload/deployments", "created_at"=>"2016-08-27T12:38:29Z", "updated_at"=>"2016-08-27T12:46:22Z", "pushed_at"=>"2016-08-27T12:46:21Z", "git_url"=>"git://github.com/SuriyaaKudoIsc/payload.git", "ssh_url"=>"git@github.com:SuriyaaKudoIsc/payload.git", "clone_url"=>"https://github.com/SuriyaaKudoIsc/payload.git", "svn_url"=>"https://github.com/SuriyaaKudoIsc/payload", "homepage"=>nil, "size"=>0, "stargazers_count"=>0, "watchers_count"=>0, "language"=>"Ruby", "has_issues"=>true, "has_downloads"=>true, "has_wiki"=>true, "has_pages"=>false, "forks_count"=>0, "mirror_url"=>nil, "open_issues_count"=>1, "forks"=>0, "open_issues"=>1, "watchers"=>0, "default_branch"=>"master"}, "sender"=>{"login"=>"SuriyaaKudoIsc", "id"=>5073946, "avatar_url"=>"https://avatars.githubusercontent.com/u/5073946?v=3", "gravatar_id"=>"", "url"=>"https://api.github.com/users/SuriyaaKudoIsc", "html_url"=>"https://github.com/SuriyaaKudoIsc", "followers_url"=>"https://api.github.com/users/SuriyaaKudoIsc/followers", "following_url"=>"https://api.github.com/users/SuriyaaKudoIsc/following{/other_user}", "gists_url"=>"https://api.github.com/users/SuriyaaKudoIsc/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/SuriyaaKudoIsc/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/SuriyaaKudoIsc/subscriptions", "organizations_url"=>"https://api.github.com/users/SuriyaaKudoIsc/orgs", "repos_url"=>"https://api.github.com/users/SuriyaaKudoIsc/repos", "events_url"=>"https://api.github.com/users/SuriyaaKudoIsc/events{/privacy}", "received_events_url"=>"https://api.github.com/users/SuriyaaKudoIsc/received_events", "type"=>"User", "site_admin"=>false}}
<IP_ADDRESS> - - [27/Aug/2016:14:49:52 +0200] "POST /payload HTTP/1.1" 200 - 0.0150
<IP_ADDRESS> - - [27/Aug/2016:14:49:52 Mitteleuropõische Sommerzeit] "POST /payload HTTP/1.1" 200 0
- -> /payload
== Sinatra has ended his set (crowd applauds)
[2016-08-27 14:49:55] INFO  going to shutdown ...
[2016-08-27 14:49:55] INFO  WEBrick::HTTPServer#start done.

C:\Users\Suriyaa\Downloads\sinatra>


Blinking cursor is not even 30fps?  Gallery > Components > Text Fields

Add showPerformanceOverlay: true to the MaterialApp in app.dart to see.

FYI @mpcomplete @Hixie.  I haven't tried repaintRainbow, it's possible we're repainting the whole screen.

Looks like CPU scaling.

Confirmed that it's CPU scaling.  We have no trouble animating at 60 Hz while blinking the cursor.


[openrr-client] Add LocalMove

This PR adds a struct to move robots to a goal directly.
The placement of the sample configuration file named local_move_sample.toml, which is used for tests, should be discussed.

What is the plan to implement the control loop?
I want to use this for dummy navigation in urdf-viz.

I want to discuss it with you. I consider the following two candidates:

implement a function for the control loop
NOT Implement such a function but implement a binary whose main calls LocalMove functions in while loops.

I think both of them are acceptable; in my opinion, implementing the control loop as a struct method is not good since users cannot add break rules in their own cases. I worry about that, e.g. in case actuators do not work, such a function falls into infinite loop with publishing non-zero commands.
Please give me comments on this.

I think implementing the control loop requires time measurement (e.g. using arci_ros::rate()), and LocalMove struct should not include it.


Nothing happens pressing main switch

I've wired a momentary switch for the main switch, and when it connects to ground, nothing happens at all. It grounds pin D12, like it shows in the wiring diagram. I've got this on a breadboard right now. When I connect the power, I get a hiss sound out of the speaker, but that's all. Come to think of it, I don't get anything either when I ground the aux switch. Have I wired something incorrectly?

What speakers are you using,  I had the same issue with a buzzing when turning on my saber. The speakers were drawing too much power and cause the DFplayer not to function. What I did was get some apple headphones and just temporarily wrapped wire around the connections and connected it to the speaker output. Give that a shot

I think my speaker might be a bit too large, but that's not really the issue. I am getting the 'boot up' sound out of the speaker, and using the Serial Monitor on the PC, I get Connecting to DFPlayer...Connected to DFPlayer!
But when I press the 'main' button, which connects pin D12 to ground, I do not get any response. There is no sound from the DFPlayer and my LED does not light up. Nothing comes up on the Serial Monitor (I am not sure if it is supposed to, or not?) I cannot think of what I did wrong. I do not have the gyro module attached, but I just wanted to get the sound player working, for now. I thought it would at least come on and play the standard hum sound.

If you do not have the MPU, the sketch will stop in setup seeing that the acc/gyro cannot be initiated. You need that MPU!!! You can disable this check, but you need to do it on your own.

What LSOS version are you using. And your speaker will be drawing too much power.  I had the same issue I was using a speaker from some disassembled desktop speakers. Try it with some headphones.
Also scroll down to the bottom of LSOS sketch and uncomment LS_INFO and post the boot info

Or what Proto said. I was thinking that but wanted to check :p

I have connected the MPU now, and still nothing. I will post the boot info as soon as I can figure it out.
Thank you for all of the help, I am pretty new to Arduino so I apologize if my questions aren't very good...

Well, it looks like the MPU is failing.
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ  DEFAULT VALUE Initializing I2C devices... Testing device connections... MPU6050 connection failed Initializing DMP... DMP Initialization failed (code 1) Connecting to DFPlayer... Connected to DFPlayer !
What do I need to do about it? I'm pretty sure my connections are solid.

I would check ur wiring, that you for sure have lsos 1.3.
You also need to calibrate it, and I would run the example raw for the mpu to see if it is putting out changing values. Otherwise it could be faulty

Got it working! I was on lsos 1.0, first of all. there was also a problem with the MPU connection, as you thought. The main button is still a little touchy, doesn't seem to trigger every time. I will keep playing with it, but it appears to be working much better now. Thank you for the help!

Meant to post the Serial output for you in the last post.
`L02ÿÿÿÿÿÿÿÿ
EEPROM LOADED
Initializing I2C devices...
Testing device connections...
MPU6050 connection successful
Initializing DMP...
address: 96
output: -1
address: 98
output: -1
address: 100
output: -1
address: 102
output: -1
address: 104
output: -1
address: 106
output: -1
Enabling DMP...
Enabling interrupt detection (Arduino external interrupt 0)...
DMP ready! Waiting for first interrupt...
Connecting to DFPlayer...
Connected to DFPlayer !
START ACTION
END ACTION
START ACTION
END ACTION
`

So this may need a new issue, but...
I have gotten everything working, but now the incorrect sound files play. I read the section on copy order, and was very careful to follow it. Here's what I did:

formatted the SD card FAT32 (used quick format if it matters)
drag/dropped all files from the 'soundfont1' folder onto the root of the SD card.
that didn't work, so I formatted again, then copied each file in the soundfont individually, one at a time, in order. Still had the same problem, the hum sound plays on bootup, and when I press the main button, a blaster hit effect plays instead of the startup sound.

I have tried copying on both a Mac and a PC, both running latest OS.

Care to copy the config sounds first ;o) ? Read the Soundfont.h, you can find the order the code expects on the SD card.
case 1:
// soundFont directory 01 is reserved for config menu sounds
break;
default:
// If you specify a ID number not defined here you will end up
// on the first defined soundfont
case 2:

oh wow. I'm sorry, if it's really that easy then I'm an idiot...
Thanks for being patient with me, this is a great project! I'm really excited to get it working.

Also make sure u use the 1.3 sound files with the 1.3 code.

I'm still getting incorrect sounds, even after formatting and copying the contents of the 1.3 SDCard folder to the sd card root. Below I've pasted screenshots of the directories, which I drag/dropped as described in the Readme:

Are u using the one button code or 2 button. 1.3 or 1.4

1.3

The topic is that the Soundfont.h reflect my working setup with 5 distinct sound fonts, but the SDCard.7z has only a single one, and less files.
As this is a recurring difficulty for users, but I do not want to maintain different combos, I'm going to copy files to that the zip matches my setup. Of course many files will have multiple copies, i.e. all sound fonts will be the same.

Updated SDCard.7z for LSOS 1.4
You can use v1.4, same as 1.3, with some improvements and bug fixes as well as the selectable SINGLEBUTTON feature. If disabled, same as 1.3.

Thank you, I will test this out when I get home from work tonight! I really appreciate all of your help!

Have you heard of the drivesort utility? It is designed to update the copy order to match the alphabetical order for FAT32 drives. I think LSOS users might benefit from using it.
http://www.anerty.net/software/file/DriveSort/?lang=en

bfenty, did you try the new SDcard.7zip? Let me know what you get.
wrt to the sort utility, it is something to consider, thanks for linking it in,

Yes, the new sdcard.zip worked well. Thank you!
I am working on modifying the code to support toggle switches as well as momentary switches. I've got it updated but not sure how I can contribute it back to the project? Or if you even want that. My setup has a toggle switch is why, thought others might benefit. I just made long press start start the saber and long press stop shut it down.

V 1.4 would not compile for me, but I used the soundfont.h from 1.4 with the rest from 1.3 and it worked.

I discovered that I forget to update the MPU lib in 1.4... sorry for that! Now it's fixed.
As to contribution, glady, but the thing is I''m also not that experienced in using GitHub, that is one reason I still keep using branches instead of updating the master... so in theory I welcome each and every one of you willing to contribute, it;s just that I need to learn first how this can be done in a professional fashion. Any suggestions are welcome.

I am not the person to ask for help with github. I will keep working on my own a little bit and if I can figure out how, I will be happy to contribute further. I really like the idea of LSOS and appreciate you putting it together.
I'm hoping to 3D print a 'capsule' that will hold the different parts together, make wiring easier, and help avoid solder breaking apart. Once I have done that, I will post a link so hopefully others can use it.
This thread has gone away from the main topic, I'm not sure if we should close it now? Or if there is a better way to discuss the project ongoing? Again, I am not very familiar with Github.

Yes this can be closed, thought I might look at the issues and see what's resolved.

One more question, where do i get the LSOS v 1.4?
I dowload the last one and does nothing for me


feat: add SQLite3 Config busyTimeout

Description
See #6930

add a new Config busyTimeout

Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

@kenjis, I have a question, is there any particular reason why uniqueKeys and busyTimeout config options are added only on the test database array in the config file? Is it so since the main (default) db array defaults to mysqli driver, and the array has to only contain what could used in default case?
I am thinking how to implement the routine of installation on apps like Bonfire2, where the DB is chosen and config options are set in CLI by a script modifying .env file. To add  uniqueKeys and busyTimeout options one would need to also modify the Database.php config file using CLI, as entries only in .env would have no effect if the keys are not set in the Database.php file.

Yes, the default is for MySQLi, and the tests is for SQLite3.
The Config/Database.php setting should be updated for the database driver you use.

My main interest is to have the issue resolved (which any solution in config does). But in support of the @kenjis solution, I think that a special-config-option-based way to deal with concurrency (like handling foreign keys, for that matter, which is one other sqlite specific option) could be considered preferable to a generic way (which should also be made available), because it helps to turn on features that are on by default in mysql/postgresql, and that are assumed by some popular addons (like support for foreign keys is assumed by Shield).

The WAL mode is persistent. We don't need the config for it.
https://sqlite.org/wal.html#persistence_of_wal_mode

The question we should ask is whether or not we're planning to add this type of config position for every single item. Also, what about other databases - there are some init options in MySQL... in other databases as well.

We can add options for init options.
I think it is better to add an config item for this in this case.
It can tell there is the config to devs.

I've changed the implementation.


Vertical line near badge

Why i've got this issue with the badge? It's something related to the title field?

Thanks

A few people have experience this when using a transparent cell background. There is no code within the class that seems to draw this line, however using a white background seems to address the issue.
See this comment


New order-dispatch hook proposal

As discussed on the CDS calls and as referenced in https://jira.hl7.org/browse/FHIR-34104

Hey Lloyd,
Would you consider using ServiceRequest as the example instead of MedRequest?
Implementers working towards the specific use-case driving the creation of this hook, US-based prior auth, will not use this hook for pharmacy ePA, because the US already has mature, in-prod interop in NCPDP.
Isaac
p.s. I tried to create a branch of your branch to make this easier for you, if you agree, but github won't let me create a PR / I'm not spending the time to figure it out, here's the full doc: https://gist.github.com/isaacvetter/72c6073ddb3dc45829c1f2d2ba0ed3a6

Hi Isaac,
Part of me wants to push back and say "But CDS-Hooks is an international spec, so the U.S. regulatory requirement doesn't matter..."  Also, there are some medications that aren't handled under NCPDP that actually will manifest through this CRD process.  However, in the interest of making you happy, change applied.
As I was doing so, I cleaned up/clarified a few other things.
I've been thinking a bit more about "order-assign" vs. "order-dispatch" and I really prefer the latter.  The reality is that the order doesn't change at all during the dispatch process, and it might be dispatched to multiple parties over time.  Assignment sounds much more like a one-time thing and also like something where it's a fait-accomplis when the action is done, rather than merely being a request that says "Hey, would you mind taking this on?"  I think "dispatch" is a term that reflects that better.

@lmckenzi ,

Any concerns with changing order to a bundle of orders to enable workflows in which multiple orders are being dispatched?
Isn't listing the performer duplicating info in the request (ServiceRequest/MedRequest, etc?)

I hadn't considered multiples as a workflow, but guess it's at least possible.  However, we don't necessarily want to pass in the full orders because, in this case, the orders will already exist.  So it makes more sense to send an array of local references I think?
No, it's not duplicating info.  Dispatching means that either the order didn't specify a performer and now you're assigning it; or it specified a high-level performer and now you're choosing someone specific.

I don't fully understand what workflow within the EHR "order-dispatch" corresponds to. Selecting an order, signing an order etc. are specific identifiable, commonly agreeable things across EHRs. What exactly is "dispatching an order"? Without being able to clearly articulate that, we're just asking for nebulous hooks that may not correspond to actual clinical workflow points.
The existing description mentions selecting a place of service or performer. However, this selection doesn't always need to be done? It could be that the patient just shows up / calls their preferred performer, at which point the order gets synced (pull sync) by that location, and scheduled. So I don't know if this "order-dispatch" process is a thing / is well understood. I feel like CRD is rushing through a spec without understanding workflows.
Tomorrow, another vendor with a different use-case in mind comes around and assumes, there is some place in the EHR where, for example a lab is selected to be sent to for a particular order by a human end user after the order is signed. Is that true? No - lab order routing is automated without human intervention. And even if there was a point of human intervention, that would be a completely different workflow point than the CRD use-case.
Also, in the context of CRD, what I at least agree with / requested is a "background" hook. I don't know that this order-dispatch hook will meet the background processing requirements of CRD. Prior authorization requirements need to often be evaluated in the background.. If we leave the background processing aside, the workflow we are trying to hit is when a referral entry user tries to check for coverage requirements. This is actually a more defined workflow point. So if we go with a hook of "coverage-requirements-check" I think that is at least more realistic. Another vendor is not going to come around tomorrow and mistakenly assume it does something which it doesn't.
Likewise, saying that the order detail is already available is also very CRD specific thinking, and even may not hold in CRD either. If the hook is implemented for the case of changing performing location or provider, is that data filed to the EHR before the hook fires? Is that data available on the FHIR server yet? Some EHR may cancel the record and create a new record for the change - so the FHIR ID even may change etc. So I would say the resource should be included in the bundle? We should follow the precedent of order-select and order-sign..

'dispatch' happens when an order that was not assigned to a specific performer becomes assigned to a performer -either as a 'candidate' or as 'performed'.  If dispatching occurs without human intervention then, ideally, it should happen prior to order signature so that if the assigned performer will influence cost or other decision criteria, the human in the loop can adjust.  If that's simply not possible, then I guess there wouldn't be an opportunity for decision support in that case.
As has been mentioned many times, "coverage requirements" is only one type of decision support CRD might provide.  If you have someone who is receiving a referral and is keying in the order for local performance, that too could FHIR the order-select and order-sign hooks, so that scenario should be caught.
The order detail being available isn't CRD-specific thinking.  If the order isn't yet 'official', then the order-sign hook covers what's needed.  If the order was signed and persisted without a performer and a performer is later assigned, then by definition, the order is pre-existing.
I'm not dead-set against including the orders as a Bundle.  I'm just pointing out that the use-case is different.  With order-select and order-sign, there was a high likelihood that the orders wouldn't be available for query.  With order-dispatch, by definition the order already exists and is available.

@lmckenzi, I think you're missing the point that "dispatch" is not a workflow in EHRs. You're giving a technical explanation of what you mean by dispatch. However, there isn't a workflow point corresponding to this.

If an EHR has no point in their workflow where they select a particular recipient for a non-directed referral or choose an imaging center for a DI order, then they won't implement the hook.  If they do have locations in their workflow where a human makes such choices, then they will.  Are you asserting that no EHRs have locations where humans take undirected orders and pick particular providers to perform them?


Question about error metrics

Thx for your work!
How can I get 3px error?

All functions in evaluate_stereo.py report threshold error metrics.


Will read_cb be called immediately after alloc_cb for uv_read_start?

I found node_http_parser.cc allocates a single buffer for multiple parsers.
  static void OnAllocImpl(size_t suggested_size, uv_buf_t* buf, void* ctx) {
    Parser* parser = static_cast<Parser*>(ctx);
    Environment* env = parser->env();

    if (env->http_parser_buffer() == nullptr)
      env->set_http_parser_buffer(new char[kAllocBufferSize]);

    buf->base = env->http_parser_buffer();
    buf->len = kAllocBufferSize;
  }

Will read_cb be called immediately after alloc_cb for uv_read_start, especially in Windows IOCP?

Yes, for a given stream. On Windows it's possible to get alloc_cb and
read_cb intertwined, but from the perspective of a single stream, they will
always come one after the other.
PS: Please use the mailing list for questions next time.
On Oct 11, 2016 01:46, "strrchr"<EMAIL_ADDRESS>wrote:
I found node_http_parser.cc allocates a single buffer for multiple parsers.
static void OnAllocImpl(size_t suggested_size, uv_buf_t* buf, void* ctx) {
Parser* parser = static_cast<Parser*>(ctx);
Environment* env = parser->env();
if (env->http_parser_buffer() == nullptr)
  env->set_http_parser_buffer(new char[kAllocBufferSize]);

buf->base = env->http_parser_buffer();
buf->len = kAllocBufferSize;

}
Will read_cb be called immediately after alloc_cb for uv_read_start,
Especially in Windows IOCP?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/libuv/libuv/issues/1085, or mute the thread
https://github.com/notifications/unsubscribe-auth/AATYGJeq-b6KCyYFYqZgyK0m6QIhvru4ks5qytxsgaJpZM4KTIWg
.


sqlite library?

What sqlite library is required for this code to run?

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

ID: ffb01c6a-6aa4-23b8-c9d9-a37ef752cba8
Version Independent ID: beb22f38-bebd-5e85-2517-a8ba8455360d
Content: Work with SQLite in an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app-xplat/working-with-sql.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Simply what you need is add reference to this package Microsoft.EntityFrameworkCore.Sqlite


File Dialog Bookmark does not work on OSX

On OSX (14.2) - the file dialog bookmark interface appears to allow a path bookmark to be saved, however - when the dialog is closed and subsequently relaunched - the bookmark list is empty , suggesting that the bookmark was not successfully saved.

Closing as duplicate of #620


featureSuppot skip specific lines number for csv stream load

Proposed changes
One subtask of DSIP-028
Problem summary
Support set skip line number for stream load to load csv file.
Usage -H skip_lines:number:
curl --location-trusted -u root: -T test.csv -H skip_lines:5  -XPUT http://<IP_ADDRESS>:8030/api/testDb/testTbl/_stream_load

Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[x] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[x] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 36.05 seconds
load time: 553 seconds
storage size:<PHONE_NUMBER>8 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230118114439_clickbench_pr_83113.html


fix: lint-staged err on git add with twclasses

Fixes #13

@lnikell what do you think?

Hey I closed #13.
Check https://github.com/novuhq/hacksquad-website/issues/13#issuecomment-1272396041


Encapsulate helper do calculate bytesToGiB

https://github.com/Projeto-Pindorama/libcmon/blob/1c5ec7517a664882153fe60ae2a8736859d54602/fdisk-list.go#L24
You can make it better with:
func bytesToGiB(bytes int64) float32 {
    return float32(bytes) / float32(1024*1024*1024)
}

I think we can play more with this idea.
Maybe I can borrow a concept I've made at Copacabana's build system and bring it here. Just a moment.

This is fixed by https://github.com/Projeto-Pindorama/libcmon/blob/master/porcelana/units.go.


Small tweaks to streamline local-dev-setup guide

How to categorize this PR?

/area documentation
/kind enhancement
What this PR does / why we need it:

Make it clearer in the introduction what you're about to get following the guide
streamline installation docs
fix macOS spelling
minor language fixes

Special notes for your reviewer:
Release note:

NONE

/needs rebase
ref https://github.com/gardener/gardener/pull/4317


It doesn't centre if you make the task bar too high

How to reproduce:

unlock task bar
drag it up to about 40% of your screen height
restart TaskbarX
it will remain on the left always

If the taskbar(s) height goes over 200px then TaskbarX thinks the taskbar is vertical.

One temporary fix I found was dragging the task bar to the bottom then back up but it gets reset eventually. Maybe this can be implemented somehow?

@asdsadsaasd12312132 Should be fixed now in <IP_ADDRESS>. Instead of checking if the taskbar is higher than 200px it now checks if the taskbar(s) height is higher than the taskbar(s) width. If it is higher then the taskbar should be vertical if not then horizontal.


Compute Local Mean in Consensus State and More Refactoring Goodness

This should be the last big PoET-related PR (fingers crossed).  It completes the transition from the 0-7-based architecture/implementation to the new 0-8 architecture.  This PR:

adds the remaining generic PoET configuration settings (target wait time, et al) to the PoET configuration view, updates the PoET configuration view to cache values so it doesn't have to re-fetch them (as the state view is read-only and they cannot change for the particular instantiation of the PoET configuration view), and adds unit tests for checking them
removes the sawtooth.poet.fixed_duration_count setting as it is redundant because of sawtooth.poet.population_estimate_sample_size and also brings code closer to spec (spec does not define a separate fixed duration count and instead has defined the population estimate sample size as the fixed duration count)
updates the PoET enclave factory to use the PoET configuration view instead of directlying using the more-generic configuration view
pulls the computation of the local mean inside the consensus state object, which includes encapsulating the keeping and updating of population samples within the consensus object
updates the wait timer (when creating) and wait certificate (when validating) to use the consensus state for computing the local mean as well as removing the prior implementation of this in the WaitTimer class
because everything is now encapsulated inside the consensus state class, the previous PoET configuration class variables (target wait time, et al) have been removed from the WaitTimer class

To test locally:
cd /project/sawtooth-core/integration/sawtooth_integration/docker
In poet-smoke.yaml, after the line:
sawtooth.consensus.algorithm=poet \
Add:
sawtooth.poet.target_wait_time=5 \
sawtooth.poet.initial_wait_time=0 \
sawtooth.poet.fixed_population_estimate_sample_size=10 \

Execute:
run_docker_test poet-smoke.yaml
Go get your beverage of choice and cross your fingers that the test passes.

Tested locally - I did see an error on one run, but I don't think it's related to these changes. The error was a state where nodes were repeatedly requesting a specific missing block. It looked like the responses were being sent, but then the block would be requested again. Perhaps the requested block was invalid somehow and being tossed out prior to hitting the completer (bad signature?).

Rebase before merge


ANTLR grammar for opening_hours

Hey @simonpoole
I am not sure if you are aware but @d1g is working on a ANTLR grammar for opening_hours:
https://github.com/opening-hours/opening_hours_grammar
Would it make sense to integrate with that? Have you checked out ANTLR before? Let us know.

Stale


[ASCII-1947] Fix tests running next to an agent on MacOS runner

What does this PR do?

This PR aims to fix ASC owned tests that were failing when executed next to a running Agent (due to already bound port, or in the opposite, unexpectedly get successful response from the Agent).
Motivation

To be able to run tests on gitlab MacOS runner which run the Agent in parallel.
Describe how to test/QA your changes

Manual tests done.

/merge


Fastlane sync not finding provisioning profiles

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
While Fastlane Match and Sync are working locally, they are failing on Github Actions. The error being No matching provisioning profiles found and can not create a new one because you enabled readonly. Check the output above for more information.. I have seen this issue in the Issues history, but none of the suggested solutions I could find are working.
Command executed
This is the failing fast file.
`# This file contains the fastlane.tools configuration
You can find the documentation at https://docs.fastlane.tools

For a list of all available actions, check out

https://docs.fastlane.tools/actions

For a list of all available plugins, check out

https://docs.fastlane.tools/plugins/available-plugins

Uncomment the line if you want fastlane to automatically update itself
update_fastlane
default_platform(:ios)
DEVELOPER_APP_ID = ENV["DEVELOPER_APP_ID"]
DEVELOPER_APP_IDENTIFIER = ENV["DEVELOPER_APP_IDENTIFIER"]
PROVISIONING_PROFILE_SPECIFIER = ENV["PROVISIONING_PROFILE_SPECIFIER"]
TEMP_KEYCHAIN_USER = ENV["TEMP_KEYCHAIN_USER"]
TEMP_KEYCHAIN_PASSWORD = ENV["TEMP_KEYCHAIN_PASSWORD"]
APPLE_ISSUER_ID = ENV["APPLE_ISSUER_ID"]
APPLE_KEY_ID = ENV["APPLE_KEY_ID"]
APPLE_KEY_CONTENT = ENV["APPLE_KEY_CONTENT"]
GIT_AUTHORIZATION = ENV["GIT_AUTHORIZATION"]
MATCH_PASSWORD = ENV["MATCH_PASSWORD"]
def delete_temp_keychain(name)
delete_keychain(
name: name
) if File.exist? File.expand_path("~/Library/Keychains/#{name}-db")
end
def create_temp_keychain(name, password)
create_keychain(
name: name,
password: password,
unlock: false,
timeout: 0
)
end
def ensure_temp_keychain(name, password)
delete_temp_keychain(name)
create_temp_keychain(name, password)
end
platform :ios do
lane :closed_beta do
setup_ci(verbose: true)

increment_build_number(xcodeproj: "Metal/Metal.xcodeproj")

sync_code_signing(
  type: "appstore",
  git_basic_authorization: Base64.strict_encode64(GIT_AUTHORIZATION),
  readonly: is_ci,
  verbose: true
)

gym(
  configuration: "Release",
  workspace: "Metal/Metal.xcworkspace",
  scheme: "Metal",
  export_method: "app-store",
  export_options: {
    provisioningProfiles: {
        DEVELOPER_APP_ID => PROVISIONING_PROFILE_SPECIFIER
    }
  }
)

pilot(
  apple_id: "#{DEVELOPER_APP_ID}",
  app_identifier: "#{DEVELOPER_APP_IDENTIFIER}",
  skip_waiting_for_build_processing: true,
  skip_submission: true,
  distribute_external: false,
  notify_external_testers: false,
  ipa: "./Metal.ipa"
)

end
end`
Complete output when running fastlane, including the stack trace and command used
`Run<EMAIL_ADDRESS>with:
lane: closed_beta
env:
APP_STORE_CONNECT_TEAM_ID: ***
DEVELOPER_APP_ID: ***
DEVELOPER_APP_IDENTIFIER: ***
DEVELOPER_PORTAL_TEAM_ID:
FASTLANE_APPLE_ID: ***
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD:
MATCH_PASSWORD: ***
GIT_AUTHORIZATION: ***
PROVISIONING_PROFILE_SPECIFIER: ***
TEMP_KEYCHAIN_PASSWORD: ***
TEMP_KEYCHAIN_USER: ***
APPLE_KEY_ID: ***
APPLE_ISSUER_ID: ***
APPLE_KEY_CONTENT: ***

Executing lane closed_beta on macOS.
Error: could not handle the request
[17:27:55]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[17:27:57]: ------------------------------
[17:27:57]: --- Step: default_platform ---
[17:27:57]: ------------------------------
[17:27:57]: Driving the lane 'ios closed_beta' 🚀
[17:27:57]: ----------------------
[17:27:57]: --- Step: setup_ci ---
[17:27:57]: ----------------------
[17:27:57]: Creating temporary keychain: "fastlane_tmp_keychain".
[17:27:57]: $ security list-keychains -d user
[17:27:57]: ▸ "/Users/runner/Library/Keychains/fastlane_tmp_keychain-db"
[17:27:57]: Found keychain '/Users/runner/Library/Keychains/fastlane_tmp_keychain-db' in list-keychains, adding to search list skipped
[17:27:57]: Enabling match readonly mode.
[17:27:57]: ------------------------------------
[17:27:57]: --- Step: increment_build_number ---
[17:27:57]: ------------------------------------
Current version of project Metal is:
32
/Users/runner/work/di-metal-ios/di-metal-ios
[17:28:01]: $ cd /Users/runner/work/di-metal-ios/di-metal-ios/Metal && agvtool next-version -all && cd -
[17:28:01]: ▸ Setting version of project Metal to:
[17:28:01]: ▸ 33.
[17:28:01]: ▸ Also setting CFBundleVersion key (assuming it exists)
[17:28:01]: ▸ Updating CFBundleVersion in Info.plist(s)...
[17:28:01]: ▸ Updated CFBundleVersion in "Metal.xcodeproj/../Metal/Info.plist" to 33
[17:28:01]: ▸ Updated CFBundleVersion in "Metal.xcodeproj/../Metal/Metal Demo-Info.plist" to 33
[17:28:01]: ▸ Updated CFBundleVersion in "Metal.xcodeproj/../Metal/Metal Dev-Info.plist" to 33
[17:28:01]: ▸ Updated CFBundleVersion in "Metal.xcodeproj/../MetalTests/Info.plist" to 33
[17:28:01]: ▸ Updated CFBundleVersion in "Metal.xcodeproj/../MetalUITests/Info.plist" to 33
[17:28:01]: ▸ /Users/runner/work/di-metal-ios/di-metal-ios
[17:28:02]: -------------------
[17:28:02]: --- Step: is_ci ---
[17:28:02]: -------------------
INFO [2022-03-10 17:28:02.91]: -------------------------------
INFO [2022-03-10 17:28:02.91]: --- Step: sync_code_signing ---
INFO [2022-03-10 17:28:02.91]: -------------------------------
INFO [2022-03-10 17:28:02.91]: Successfully loaded '/Users/runner/work/di-metal-ios/di-metal-ios/fastlane/Matchfile' 📄
+--------------+------------------------------------------------+
|          Detected Values from './fastlane/Matchfile'          |
+--------------+------------------------------------------------+
| git_url      | https://github.com/carsdotcom/di-ios-certs.git |
| storage_mode | git                                            |
| type         | appstore                                       |
+--------------+------------------------------------------------+
+--------------------------------+------------------------------------------------+
|                            Summary for match 2.204.3                            |
+--------------------------------+------------------------------------------------+
| type                           | appstore                                       |
| git_basic_authorization        | ********                                       |
| readonly                       | true                                           |
| verbose                        | true                                           |
| generate_apple_certs           | true                                           |
| skip_provisioning_profiles     | false                                          |
| app_identifier                 | ["***\n"]                  |
| username                       | ***                     |
| team_id                        | ***                                     |
| storage_mode                   | git                                            |
| git_url                        | https://github.com/carsdotcom/di-ios-certs.git |
| git_branch                     | master                                         |
| shallow_clone                  | false                                          |
| clone_branch_directly          | false                                          |
| keychain_name                  | fastlane_tmp_keychain                          |
| force                          | false                                          |
| force_for_new_devices          | false                                          |
| include_all_certificates       | false                                          |
| force_for_new_certificates     | false                                          |
| skip_confirmation              | false                                          |
| safe_remove_certs              | false                                          |
| skip_docs                      | false                                          |
| platform                       | ios                                            |
| derive_catalyst_app_identifier | false                                          |
| fail_on_name_taken             | false                                          |
| skip_certificate_matching      | false                                          |
| skip_set_partition_list        | false                                          |
+--------------------------------+------------------------------------------------+
INFO [2022-03-10 17:28:02.92]: Cloning remote git repo...
INFO [2022-03-10 17:28:02.92]: If cloning the repo takes too long, you can use the clone_branch_directly option in match.
INFO [2022-03-10 17:28:02.92]: $ git clone https://github.com/carsdotcom/di-ios-certs.git /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20220310-2239-1rsgnbz -c http.extraheader='Authorization: Basic '
INFO [2022-03-10 17:28:02.98]: ▸ Cloning into '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20220310-2239-1rsgnbz'...
INFO [2022-03-10 17:28:03.66]: ▸ remote: Enumerating objects: 40, done.
INFO [2022-03-10 17:28:03.66]: ▸ remote: Counting objects: 100% (40/40), done.
INFO [2022-03-10 17:28:03.67]: ▸ remote: Compressing objects: 100% (32/32), done.
INFO [2022-03-10 17:28:03.68]: ▸ remote: Total 40 (delta 4), reused 37 (delta 1), pack-reused 0
INFO [2022-03-10 17:28:03.68]: ▸ Receiving objects: 100% (40/40), 69.85 KiB | 4.99 MiB/s, done.
INFO [2022-03-10 17:28:03.68]: ▸ Resolving deltas: 100% (4/4), done.
INFO [2022-03-10 17:28:03.71]: $ git --no-pager branch --list origin/master --no-color -r
INFO [2022-03-10 17:28:03.72]: ▸   origin/master
INFO [2022-03-10 17:28:03.72]: Checking out branch master...
INFO [2022-03-10 17:28:03.72]: $ git checkout master
INFO [2022-03-10 17:28:03.74]: ▸ Already on 'master'
INFO [2022-03-10 17:28:03.74]: ▸ Your branch is up to date with 'origin/master'.
INFO [2022-03-10 17:28:03.74]: 🔓  Decrypted 'MJUVRU4G38.p12'
INFO [2022-03-10 17:28:03.74]: 🔓  Decrypted 'MJUVRU4G38.cer'
INFO [2022-03-10 17:28:03.74]: 🔓  Decrypted 'AppStore_.mobileprovision'
INFO [2022-03-10 17:28:03.74]: 🔓  Successfully decrypted certificates repo
DEBUG [2022-03-10 17:28:03.74]: Your certificate 'MJUVRU4G38.cer' is valid
INFO [2022-03-10 17:28:03.74]: Installing certificate...
INFO [2022-03-10 17:28:03.74]: $ security list-keychains -d user
INFO [2022-03-10 17:28:03.75]: ▸     "/Users/runner/Library/Keychains/fastlane_tmp_keychain-db"
INFO [2022-03-10 17:28:03.75]: $ security find-certificate -a -c 'Apple Worldwide Developer Relations Certification Authority' /Users/runner/Library/Keychains/fastlane_tmp_keychain-db
INFO [2022-03-10 17:28:03.78]: $ security list-keychains -d user
INFO [2022-03-10 17:28:03.80]: ▸     "/Users/runner/Library/Keychains/fastlane_tmp_keychain-db"
DEBUG [2022-03-10 17:28:03.80]: Installing WWDR Cert: curl -f -o /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/AppleWWDRCA.cer20220310-2239-8jy4aa https://developer.apple.com/certificationauthority/AppleWWDRCA.cer && security import /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/AppleWWDRCA.cer20220310-2239-8jy4aa -k /Users/runner/Library/Keychains/fastlane_tmp_keychain-db
INFO [2022-03-10 17:28:03.92]: ▸ 1 certificate imported.
INFO [2022-03-10 17:28:03.92]: ▸ 100  1062  100  1062    0     0  16755      0 --:--:-- --:--:-- --:--:-- 17700
INFO [2022-03-10 17:28:03.92]: $ security list-keychains -d user
INFO [2022-03-10 17:28:03.94]: ▸     "/Users/runner/Library/Keychains/fastlane_tmp_keychain-db"
DEBUG [2022-03-10 17:28:03.94]: Installing WWDR Cert: curl -f -o /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/AppleWWDRCAG3.cer20220310-2239-vsttkf https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer && security import /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/AppleWWDRCAG3.cer20220310-2239-vsttkf -k /Users/runner/Library/Keychains/fastlane_tmp_keychain-db
INFO [2022-03-10 17:28:04.20]: ▸ 1 certificate imported.
INFO [2022-03-10 17:28:04.20]: ▸ 100  1109  100  1109    0     0  24076      0 --:--:-- --:--:-- --:--:-- 25790
ERROR [2022-03-10 17:28:04.23]: There are no local code signing identities found.
You can run security find-identity -v -p codesigning fastlane_tmp_keychain to get this output.
This Stack Overflow thread has more information: https://stackoverflow.com/q/35390072/774.
(Check in Keychain Access for an expired WWDR certificate: https://stackoverflow.com/a/35409835/774 has more info.)
INFO [2022-03-10 17:28:04.29]: $ security import /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20220310-2239-1rsgnbz/certs/distribution/MJUVRU4G38.cer -k '/Users/runner/Library/Keychains/fastlane_tmp_keychain-db' -P ******** -T /usr/bin/codesign -T /usr/bin/security -T /usr/bin/productbuild
INFO [2022-03-10 17:28:04.35]: ▸ 1 certificate imported.
INFO [2022-03-10 17:28:04.36]: Setting key partition list... (this can take a minute if there are a lot of keys installed)
INFO [2022-03-10 17:28:04.37]: $ security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ******** /Users/runner/Library/Keychains/fastlane_tmp_keychain-db 1> /dev/null
ERROR [2022-03-10 17:28:04.40]: security: SecItemCopyMatching: The specified item could not be found in the keychain.
INFO [2022-03-10 17:28:04.40]: $ security import /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20220310-2239-1rsgnbz/certs/distribution/MJUVRU4G38.p12 -k '/Users/runner/Library/Keychains/fastlane_tmp_keychain-db' -P ******** -T /usr/bin/codesign -T /usr/bin/security -T /usr/bin/productbuild
INFO [2022-03-10 17:28:04.48]: ▸ 1 key imported.
INFO [2022-03-10 17:28:04.49]: Setting key partition list... (this can take a minute if there are a lot of keys installed)
INFO [2022-03-10 17:28:04.49]: $ security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ******** /Users/runner/Library/Keychains/fastlane_tmp_keychain-db 1> /dev/null
+-------------------+------------------------------------------------------+
|                          Installed Certificate                           |
+-------------------+------------------------------------------------------+
| User ID           | ***                                           |
| Common Name       | Apple Distribution: Dealer Inspire Inc. (***) |
| Organisation Unit | ***                                           |
| Organisation      | Dealer Inspire Inc.                                  |
| Country           | US                                                   |
| Start Datetime    | 2022-03-10 15:52:06 UTC                              |
| End Datetime      | 2023-03-10 15:52:05 UTC                              |
+-------------------+------------------------------------------------------+
ERROR [2022-03-10 17:28:04.53]: No matching provisioning profiles found for 'AppStore_***
.mobileprovision'
ERROR [2022-03-10 17:28:04.53]: A new one cannot be created because you enabled readonly
ERROR [2022-03-10 17:28:04.53]: Provisioning profiles in your repo for type appstore:
ERROR [2022-03-10 17:28:04.53]: - 'AppStore_***.mobileprovision'
ERROR [2022-03-10 17:28:04.53]: If you are certain that a profile should exist, double-check the recent changes to your match repository
WARN [2022-03-10 17:28:04.54]: Lane Context:
INFO [2022-03-10 17:28:04.54]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios closed_beta", :KEYCHAIN_PATH=>"~/Library/Keychains/fastlane_tmp_keychain", :ORIGINAL_DEFAULT_KEYCHAIN=>""/Users/runner/Library/Keychains/login.keychain-db"", :BUILD_NUMBER=>"33"}
ERROR [2022-03-10 17:28:04.54]: No matching provisioning profiles found and can not create a new one because you enabled readonly. Check the output above for more information.
INFO [2022-03-10 17:28:04.54]: Successfully generated documentation at path '/Users/runner/work/di-metal-ios/di-metal-ios/fastlane/README.md'
+------+------------------------+-------------+
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in user_error!': \e[31m[!] No matching provisioning profiles found and can not create a new one because you enabled readonly. Check the output above for more information.\e[0m (FastlaneCore::Interface::FastlaneError) |              fastlane summary               | 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing'
+------+------------------------+-------------+
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:266:in fetch_provisioning_profile' | Step | Action                 | Time (in s) | 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:112:in block (2 levels) in run'
+------+------------------------+-------------+
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:111:in loop' | 1    | default_platform       | 0           | 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:111:in block in run'
| 2    | setup_ci               | 0           |
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:110:in each' | 3    | increment_build_number | 4           | 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:110:in run'
| 4    | is_ci                  | 0           |
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/actions/sync_code_signing.rb:19:in run' | 💥   | sync_code_signing      | 1           | 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'
+------+------------------------+-------------+
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'

ERROR [2022-03-10 17:28:04.60]: fastlane finished with errors
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:229:in chdir' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:229:in execute_action'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'
from Fastfile:67:in block (2 levels) in parsing_binding' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/lane.rb:33:in call'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:49:in block in execute' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:45:in chdir'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:45:in execute' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/command_line_handler.rb:36:in handle' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/commands_generator.rb:109:in block (2 levels) in run'
from /usr/local/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:187:in call' 	from /usr/local/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:157:in run'
from /usr/local/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in run!'
from /usr/local/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/commands_generator.rb:353:in run'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/commands_generator.rb:42:in start' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in take_off'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/bin/fastlane:23:in <top (required)>' 	from /usr/local/lib/ruby/gems/2.7.0/bin/fastlane:25:in load'
from /usr/local/lib/ruby/gems/2.7.0/bin/fastlane:25:in <main>' /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in user_error!': No matching provisioning profiles found and can not create a new one because you enabled readonly. Check the output above for more information. (FastlaneCore::Interface::FastlaneError)
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:266:in fetch_provisioning_profile'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:112:in block (2 levels) in run' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:111:in loop'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:111:in block in run' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:110:in each'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/match/lib/match/runner.rb:110:in run' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/actions/sync_code_signing.rb:19:in run'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:255:in block in execute_action' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:229:in chdir'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:229:in execute_action' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/fast_file.rb:159:in method_missing' 	from Fastfile:67:in block (2 levels) in parsing_binding'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/lane.rb:33:in call' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:49:in block in execute'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:45:in chdir' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/runner.rb:45:in execute'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/commands_generator.rb:109:in block (2 levels) in run' 	from /usr/local/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:[18](https://github.com/carsdotcom/di-metal-ios/runs/5499912754?check_suite_focus=true#step:6:18)7:in call'
from /usr/local/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:157:in run' 	from /usr/local/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in run!' 	from /usr/local/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/commands_generator.rb:353:in run' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/commands_generator.rb:42:in start'
from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in take_off' 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.204.3/bin/fastlane:[23](https://github.com/carsdotcom/di-metal-ios/runs/5499912754?check_suite_focus=true#step:6:23):in <top (required)>'
from /usr/local/lib/ruby/gems/2.7.0/bin/fastlane:25:in load' 	from /usr/local/lib/ruby/gems/2.7.0/bin/fastlane:25:in '
Error: Error: Executing lane closed_beta failed.
Error: Executing lane closed_beta failed.`

 [REPLACE THIS WITH YOUR INFORMATION]

Environment
Run fastlane env   fastlane env   shell: /bin/bash -e {0} [17:[2](https://github.com/carsdotcom/di-metal-ios/runs/5499912754?check_suite_focus=true#step:5:2)7:[3](https://github.com/carsdotcom/di-metal-ios/runs/5499912754?check_suite_focus=true#step:5:3)7]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile [17:27:43]: Sending anonymous analytics information [17:27:43]: Learn more at https://docs.fastlane.tools/#metrics [17:27:43]: No personal or sensitive data is sent. [17:27:43]: You can disable this by adding opt_out_usage` at the top of your Fastfile
[17:27:43]: Generating fastlane environment output, this might take a few seconds...
✅ fastlane environment ✅
Stack

Key
Value

OS
11.6.4

Ruby
2.7.5

Bundler?
false

Git
git version 2.35.1

Installation Source
/usr/local/lib/ruby/gems/2.7.0/bin/fastlane

Host
macOS 11.6.4 (20G417)

Ruby Lib Dir
<EMAIL_ADDRESS>

OpenSSL Version
OpenSSL 1.1.1l  24 Aug 2021

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode_13.2.1.app/Contents/Developer/

Xcode Version
13.2.1

Swift Version
5.5.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

DEVELOPER_APP_ID = ENV["DEVELOPER_APP_ID"]
DEVELOPER_APP_IDENTIFIER = ENV["DEVELOPER_APP_IDENTIFIER"]
PROVISIONING_PROFILE_SPECIFIER = ENV["PROVISIONING_PROFILE_SPECIFIER"]
TEMP_KEYCHAIN_USER = ENV["TEMP_KEYCHAIN_USER"]
TEMP_KEYCHAIN_PASSWORD = ENV["TEMP_KEYCHAIN_PASSWORD"]
APPLE_ISSUER_ID = ENV["APPLE_ISSUER_ID"]
APPLE_KEY_ID = ENV["APPLE_KEY_ID"]
APPLE_KEY_CONTENT = ENV["APPLE_KEY_CONTENT"]
GIT_AUTHORIZATION = ENV["GIT_AUTHORIZATION"]
MATCH_PASSWORD = ENV["MATCH_PASSWORD"]
def delete_temp_keychain(name)
  delete_keychain(
    name: name
  ) if File.exist? File.expand_path("~/Library/Keychains/#{name}-db")
end

def create_temp_keychain(name, password)
  create_keychain(
    name: name,
    password: password,
    unlock: false,
    timeout: 0
  )
end

def ensure_temp_keychain(name, password)
  delete_temp_keychain(name)
  create_temp_keychain(name, password)
end

platform :ios do
  lane :closed_beta do

    setup_ci(verbose: true)

    #keychain_name = TEMP_KEYCHAIN_USER
    #keychain_password = TEMP_KEYCHAIN_PASSWORD
   # ensure_temp_keychain(keychain_name, keychain_password)

   # api_key = app_store_connect_api_key(
   #   key_id: APPLE_KEY_ID,
   #   issuer_id: APPLE_ISSUER_ID,
   #   key_content: APPLE_KEY_CONTENT,
   #   duration: 1200,
   #   in_house: false
  #  )

    increment_build_number(xcodeproj: "Metal/Metal.xcodeproj")

    sync_code_signing(
      type: "appstore",
      git_basic_authorization: Base64.strict_encode64(GIT_AUTHORIZATION),
      readonly: is_ci,
      verbose: true
    )

   # match(
    #  type: 'appstore',
    #  app_identifier: "#{DEVELOPER_APP_IDENTIFIER}",
    #  keychain_name: keychain_name,
    #  keychain_password: keychain_password,
    #  git_basic_authorization: Base64.strict_encode64(GIT_AUTHORIZATION),
    #  readonly: true
    #)

    gym(
      configuration: "Release",
      workspace: "Metal/Metal.xcworkspace",
      scheme: "Metal",
      export_method: "app-store",
      export_options: {
        provisioningProfiles: {
            DEVELOPER_APP_ID => PROVISIONING_PROFILE_SPECIFIER
        }
      }
    )

    pilot(
      apple_id: "#{DEVELOPER_APP_ID}",
      app_identifier: "#{DEVELOPER_APP_IDENTIFIER}",
      skip_waiting_for_build_processing: true,
      skip_submission: true,
      distribute_external: false,
      notify_external_testers: false,
      ipa: "./Metal.ipa"
    )
  end
end

`./fastlane/Appfile`
app_identifier("***") # The bundle identifier of your app
apple_id("***") # Your Apple email address

itc_team_id("117[9](https://github.com/carsdotcom/di-metal-ios/runs/5499912754?check_suite_focus=true#step:5:9)36973") # App Store Connect Team ID
team_id("***") # Developer Portal Team ID

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

app_identifier(ENV["DEVELOPER_APP_IDENTIFIER"])
apple_id(ENV["FASTLANE_APPLE_ID"])
itc_team_id(ENV["APP_STORE_CONNECT_TEAM_ID"])
team_id(ENV["DEVELOPER_PORTAL_TEAM_ID"])

fastlane gems

Gem
Version
Update-Status

fastlane
2.204.3
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.4.0

atomos
0.1.3

CFPropertyList
3.0.5

claide
1.0.3

colored2
3.1.2

nanaimo
0.3.0

rexml
3.2.5

xcodeproj
1.21.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

public_suffix
4.0.6

addressable
2.8.0

multipart-post
2.0.0

word_wrap
1.0.0

optparse
0.1.1

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
2.0.3

commander
4.6.0

excon
0.91.0

unf_ext
0.0.8

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.4

faraday-cookie_jar
0.0.7

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

faraday-multipart
1.0.3

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

faraday-retry
1.0.3

ruby2_keywords
0.0.5

faraday
1.10.0

faraday_middleware
1.2.0

fastimage
2.2.6

gh_inspector
1.1.3

mini_magick
4.11.0

naturally
2.2.1

rubyzip
2.3.2

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

simctl
1.6.8

jwt
2.3.0

uber
0.1.0

declarative
0.0.20

trailblazer-option
0.1.2

representable
3.1.1

retriable
3.1.2

mini_mime
1.1.2

memoist
0.16.2

multi_json
1.15.0

os
1.1.4

signet
0.16.0

googleauth
1.1.1

httpclient
2.8.3

webrick
1.6.1

google-apis-core
0.4.2

google-apis-playcustomapp_v1
0.7.0

google-apis-androidpublisher_v3
0.16.0

google-cloud-env
1.5.0

google-cloud-errors
1.2.0

google-cloud-core
1.6.0

google-apis-iamcredentials_v1
0.10.0

google-apis-storage_v1
0.11.0

rake
13.0.1

digest-crc
0.6.4

google-cloud-storage
1.36.1

emoji_regex
3.2.3

jmespath
1.6.0

aws-partitions
1.555.0

aws-eventstream
1.2.0

aws-sigv4
1.4.0

aws-sdk-core
3.126.2

aws-sdk-kms
1.54.0

aws-sdk-s3
1.112.0

unicode-display_width
1.8.0

terminal-table
1.8.0

plist
3.6.0

json
2.3.0

bundler
2.3.7

forwardable
1.3.1

logger
1.4.2

cgi
<IP_ADDRESS>

date
3.0.3

timeout
0.1.0

stringio
0.1.0

uri
0.10.0

ipaddr
1.2.2

openssl
2.1.3

zlib
1.1.0

mutex_m
0.1.0

net-http-persistent
2.9.4

ostruct
0.2.0

strscan
1.0.3

io-console
0.5.6

delegate
0.1.0

fileutils
1.4.1

singleton
0.1.0

open3
0.1.0

mini_portile2
2.1.0

nokogiri
<IP_ADDRESS>

racc
1.4.16

yaml
0.1.0

psych
3.1.0

generated on: 2022-03-10

[[17](https://github.com/carsdotcom/di-metal-ios/runs/5499912754?check_suite_focus=true#step:5:17):27:51]: Take notice that this output may contain sensitive information, or simply information that you don't want to make public.
[17:27:51]: Open https://github.com/fastlane/fastlane/issues/new to submit a new issue ✅
swift-driver version: 1.26.[21](https://github.com/carsdotcom/di-metal-ios/runs/5499912754?check_suite_focus=true#step:5:21)`

 I have nuked my current certs and profiles and re matched for appStore

It is recommended to use match according to the codesigning.guide for generating and maintaining your provisioning profiles. Use sigh directly only if you want full control over what's going on and know more about codesigning.

Same here. When the match is run for the forst time, it creates the certificates and profiles successfully. When run again, it says: "Couldn't find a valid code signing identity for development... creating one for you now". But it actually does exist.

Same here. I'm currently experiencing the exact same thing.

I am facing the same issue https://github.com/fastlane/fastlane/issues/20272

is this still being looked at?

Am also facing this issue, I've nuked the certs, and rerun fastlane match locally which successfully creates the certs and profiles, I can see them updated in the repository, but fastlane on the CI is unable to find them giving the error:
No matching provisioning profiles found and can not create a new one because you enabled 'readonly'. Check the output above for more information.

I've ditched using match. Using Github's approach to store certificates. More info here and Github's link is here.

A few weeks ago this was working, but now it gives me errors. I had to update all provisioning profiles. These work when I create the apps with Xcode directly, but Fastlane with GHA gives me these errors:
"No existing profiles found, that match the certificates you have installed locally! Creating a new provisioning profile for you".
"Could not find a matching code signing identity for type 'AppStore'. It is recommended to use match to manage code signing for you, more information on https://codesigning.guide./ If you don't want to do so, you can also use cert to generate a new one: https://fastlane.tools/cert"


Add expanded versions of acronyms

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-2917
Comments

The only use of the acronym QTS, as far as I could see, were on the professional status step of the job application form. The first instance of this acronym includes the 'expanded version', so no need to change them. There are some error messages that can be displayed on that page with the acronym in though, would the first of these be considered the first instance of the acronym?

this wasnt a failiure in our accessibility compliance rather a usuability nice to have. so i think our effort should reflect that and not worry about form errors right now. i think that could be quite complex to fix


Vitest stopped working after v3

material-react-table version
3.0.0
react & react-dom versions
v18.3.1
Describe the bug and the steps to reproduce it
Hi. Thank you for releasing the v3. After migrating successfully, I am getting this error when running Vitest but it works great in browser. It used to work great before the upgrade.
Any idea on what's going on here. ? I would really appreciate the help. Thanks
SyntaxError: Cannot use import statement outside a module

../node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js:4
import * as React from 'react';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:128:18)
    at wrapSafe (node:internal/modules/cjs/loader:1279:20)
    at Module._compile (node:internal/modules/cjs/loader:1331:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
    at Module.load (node:internal/modules/cjs/loader:1205:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1021:12)
    at Module.require (node:internal/modules/cjs/loader:1230:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (../node_modules/material-react-table/dist/index.js:57:17)
    at Module._compile (node:internal/modules/cjs/loader:1368:14)

Module /node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js:4 seems to be an ES Module but shipped in a CommonJS package. You might want to create an issue to the package "@mui/material" asking them to ship the file in .mjs extension or add "type": "module" in their package.json.

Minimal, Reproducible Example - (Optional, but Recommended)
Will try to replicate it elsewhere. Meanwhile, I only importing these from material-react-table:
import {
	MaterialReactTable,
	MRT_ExpandAllButton,
	MRT_ExpandButton,
	MRT_ShowHideColumnsButton,
	MRT_ToggleFiltersButton,
	MRT_ToggleFullScreenButton,
	MRT_ToggleGlobalFilterButton
} from 'material-react-table';

Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Hmmm, wish someone had caught this earlier. Guess MUI is not exporting their new focus trap component correctly

try v3.0.1

Thanks so much for the quick fix. I can confirm the issue is resolved.

Thanks a lot for the quick fix, the issue is now resolved. Unblocked me on migration process. 👍


Linux: function Prompt { 'limitations?' }

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
In Linux, the script is not called from the Prompt function. Exactly the same function in Windows works without problems. Is there any limitation? This was working good an year ago. The script is a Christmas tree on which toys change their colors at each iteration of the Prompt function.
# simplified

function Prompt {
" > "
hny
}

Expected behavior
Script has to be called. Like in Windows.

Actual behavior
But it has not.

Error details
No errors at all.

Environment data
Name                           Value
----                           -----
PSVersion                      7.2.1
PSEdition                      Core
GitCommitId                    7.2.1
OS                             Linux 5.15.8-arch1-1 #1 SMP PREEMPT Tue, 14 Dec 2021 12:28:02 +0000
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Sorry, all is fine.


linkedin tracking

I need to add linkedin tracking to the site.
This will be another good one for training since tracking for different project changes on occasion.

Or we can add a Google tag manager. I have started to set that up, however, I am out of my depth for that and need to find someone internally to help with that but I am not sure if there is anyone who works on that kind of stuff.
I will get back to you on this.


Added LoadingIndicator Animations

Added loading indicator animations to the 2 screens where data is being loaded: Releases and Starred Repos.
My understanding of best practices for data-fetching/non-blocking data retrieval with textual is limited, so there will certainly be many improvements that can be made to this implementation!
This pull request includes several changes to enhance the functionality and performance of the GitHub feed application. The most important changes involve the addition of event handling, improvements to data loading and updating mechanisms, and the introduction of worker threads for asynchronous operations.
Event Handling and UI Updates:

src/github_feed/components/releases_list.py: Added event handling for Show and ReleasesList.DataLoaded events to manage UI updates and loading states. [1] [2] [3] [4] [5]
src/github_feed/tui.py: Introduced event handling for ScreenResume and ReleasesList.DataLoaded to update loading indicators and manage screen transitions. [1] [2] [3] [4] [5]

Asynchronous Data Loading:

src/github_feed/components/releases_list.py: Modified update_releases and rebuild_table methods to use worker threads for asynchronous data loading and UI updates. [1] [2] [3]
src/github_feed/tui.py: Updated populate_initial_table and refresh_starred_repos methods to use worker threads for asynchronous operations, improving performance and responsiveness. [1] [2] [3]

These changes aim to enhance the user experience by improving the efficiency of data fetching and updating the UI more responsively.

Screenshot with current state of the New Releases screen with a single release expanded:


Combobox not support async

Please implement combobox support autocomplete with async.

Hello, to check my understanding, are you looking to have Combobox query results from a remote server and display them after a debounce period?

@theetrain is this feature planned in any upcoming release ? - I'm looking for the same functionality you mentioned above
"looking to have Combobox query results from a remote server and display them after a debounce period"


Play's runPlayBinary task Java 9 issues

Expected Behavior
The Play plugin provides the task runPlayBinary to run the app whilst developing. Although it's a little unclear what Play's support for Java 9 currently is, it does at least function to some extent and will hopefully be fully supported not too far ahead. Hence, it would be great if runPlayBinary worked also with Java 9 as it's a great tool during development.
Current Behavior
When using Java 9 with a database which requires java.sql.Connection and javax/sql/DataSource to be available, errors such as NoClassDefFoundError: java/sql/Connection are being thrown. However, everything compiled just fine and a corresponding distribution of the app runs without problem.
Steps to Reproduce (for bugs)

Create a Play-project which makes use of a database; the default H2-db is sufficient.
Play model config:
 model {  components {      play {          platform play: '2.6.10', scala: '2.12', java: '1.9'          injectedRoutesGenerator = true      }  } }

run runPlayBinary

Your Environment
Java 9.0.4+11
Scala 2.12.4

Gradle 4.5
Build time:   2018-01-24 17:04:52 UTC
Revision:     77d0ec90636f43669dc794ca17ef80dd65457bec
Groovy:       2.4.12
Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM:          9.0.4 (Oracle Corporation 9.0.4+11)
OS:           Linux 4.13.0-31-generic amd64

Not sure if this is relevant, but I've seen a few examples where this type of issue with scala was supposedly worked around with JAVA_OPTIONS and the add-modules flag.

I also attempted to configure the fork options, with the hopes that it would be passed to to dev-server, but without success.
tasks.withType(PlayRun) {     forkOptions.jvmArgs = ['--add-modules', 'java.sql'] }

I'm interested in getting Play 2.6.20 configured with JDK 9. If I coded it would this feature be welcome?


initliaze and use viewbinding views by kotlin lazy delegate making view making view not inflate properly after first inflate

i used your code from this this article but someone give me url of this lib which is exactly same code so i just created extracted that in my own file and its work fines but now i m facing an other problem can us suggest me something i have posted my issue on stack overflow please look into it  here

If you set up lazy properties based on the binding variable, those lazy variables won't update when you navigate from the fragment then navigate back.
Theoretically you could use val toolbar: Toolbar get() = binding.toolbar but that is less reliable than first assigning the binding to a val in a method where you are using the binding.
Solution: don't use this "mutableLazy" thing

thanks this works perfectly but i wonder whats the difference between val toolbar: Toolbar = binding.toolbar and val toolbar: Toolbar get() = binding.toolbar

Using get() = makes it so that that always is an accessor rather than trying to make it into a field (which wouldn't work in this case)

ok got it, would you mind giving your solution as an answer to my question on stackoverflow because i can't answer to my own question and also for feature reference for anyone


Roll Flutter Engine from f71e5ad8586b to 4e6692c8ea82 (2 revisions)

https://github.com/flutter/engine/compare/f71e5ad8586b...4e6692c8ea82
2024-03-28<EMAIL_ADDRESS>Prevent solo: true from being committed (flutter/engine#51712)
2024-03-28<EMAIL_ADDRESS>Manual roll Dart SDK from 291217c1d399 to bb65648e20e2 (3 revisions) (flutter/engine#51755)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[flutter_adaptive_scaffold] black line on Windows navigation rail

Steps to Reproduce

Create an AdaptiveNavigationScaffold]
Add any child widget
Run on Windows target (Running on a web target does not produce the issue)

Expected results: There should be no black line on the right side of the navigation rail when in the fully expanded mode
Actual results: There is a black line apparent when running on Windows

Code sample

import 'package:adaptive_navigation/adaptive_navigation.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: NavigationContainer(),
    );
  }
}

class NavigationContainer extends StatelessWidget {
  NavigationContainer({super.key});

  List<AdaptiveScaffoldDestination> destinationList = [
    const AdaptiveScaffoldDestination(title: 'Index 0', icon: Icons.home),
    const AdaptiveScaffoldDestination(
        title: 'Index 1', icon: Icons.onetwothree),
  ];

  @override
  Widget build(BuildContext context) {
    return AdaptiveNavigationScaffold(
      selectedIndex: 0,
      drawerScrimColor: Colors.white,
      backgroundColor: Colors.white,
      bottomNavigationOverflow: 10,
      body: ClipRect(
        child: ChildWidget(),
      ),
      destinations: destinationList,
    );
  }
}

class ChildWidget extends StatelessWidget {
  ChildWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.white,
    );
  }
}

Logs

[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version
10.0.22000.1335], locale en-US)
• Flutter version 3.3.10 on channel stable at
C:\Users\Casey\Documents\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 135454af32 (10 days ago), 2022-12-15 07:36:55 -0800
• Engine revision 3316dd8728
• Dart version 2.18.6
• DevTools version 2.15.0
[√] Android toolchain - develop for Android devices (Android SDK version
32.0.0)
• Android SDK at C:\Users\Casey\AppData\Local\Android\sdk
• Platform android-33, build-tools 32.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.6)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.3.32929.385
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[√] VS Code (version 1.74.0)
• VS Code at C:\Users\Casey\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.56.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version
10.0.22000.1335]
• Chrome (web)      • chrome  • web-javascript • Google Chrome
108.0.5359.125
• Edge (web)        • edge    • web-javascript • Microsoft Edge
108.0.1462.42
[√] HTTP Host Availability
• All required HTTP hosts are available

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

Gotcha, thanks :)


Import Twig in the JS

Is it possible to use this plugin to import the twig file in the JS?
Example: https://stackblitz.com/edit/vitejs-vite-lsxomt?file=main.js
I get an error that says

Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .twig file format, or if it's an asset, add "**/*.twig" to assetsInclude in your configuration.

My end goal is to import twig into Storybook using Vite loader I can set up an example of this if needed. I can use https://github.com/zimmo-be/twig-loader for the webpack loader but I would like to switch over to Vite.
Thanks.

The plugin currently supports only importing twig files in html, not in js. But it should be doable via vite plugin api, eg.
const fileRegex = /\.(twig)$/

function myPlugin() {
    return {
        name: 'transform-file',

        transform(twigFileContent, path) {
            if (fileRegex.test(path)) {
                // do twig transform here - https://github.com/vituum/vite-plugin-twig/blob/main/index.js#L114
                twigFileContent = 'export default "haahaha"'
                return {
                    code: twigFileContent,
                    map: null, // provide source map if available
                }
            }
        },
    }
}

export default {
    plugins: [
        myPlugin()
    ],
    assetsInclude: ['**/*.twig']
}

And in main.js
import twigTemplate from './file.twig'

console.log(twigTemplate)


fixed torch transform error

I tried using the pipeline with torch transforms and have noticed that there was a problem with the image type in the operations for loop - the image was returned as a list, this list has been inserted into another list and then to the transform, which caused an error.
I have added a casting from list to image after every operation in the pipeline, this has solved the problem to my understanding.

I believe that there is an error with the transform test, since the torch transformer expects to receive an image at every stage while the augmentor pipeline output is a list with a single image.
That's the reason the test fails, the output of the transform should be an image and not a list as checked in the final assertion.


Completion without nvim-cmp?

I use the built-in omnicompletion. Is there way to use Cody's completion without nvim-cmp, a la copilot.vim?

I don't think copilot.vim uses omnicomplete, right? It has it's own completion that it uses (otherwise I don't think it's possible to do multi-line completions, or at least not very easily).
I could provide a separate function that you could manually invoke though, if that works for you?

That would be great!
Sorry, I didn't mean to imply that it should use onnicompletion, only that copilot doesn't rely on nvim-cmp (to my knowledge).

Yes, copilot.vim uses something else.
So basically just something you could bind to a key to do something like
vim.keymap.set("i", "<c-space>", require"sg.complete".complete)
vim.keymap.set("i", "<tab>", require"sg.complete".accept)

What would your expectation be for what shows up next? Do you want it to be like it puts in some virtual text of what would get inserted and then you press <tab> to accept it? Any other character drops the virtual text?

Yep, spot on; no notes. 👍

OK, excellent :smile: let me see what I can do this week

heh, sorry, took a bit longer than a week (I actually left sourcegraph but am doing some work on sg.nvim for them now as a contractor :sweat_smile: ), but I have a PR that might solve at least an initial version of your issue:
https://github.com/sourcegraph/sg.nvim/pull/222
Does this work for you? It doesn't add it in automatically. Are you looking for it to autocomplete or via a request?

Oh, I totally forgot about this! I'm so sorry, but I'm no longer using sourcegraph. I feel like an absolute jerk; I should have come back to update the issue. 😞