Error build ubuntu 20.04

Hi, I have a problem installing MiningCore
It reports these errors to me
x25x.c(183,42): warning GF36A18D9: passing argument 2 of ‘blake2s’ makes integer from pointer without a cast [-Wint-conversion] [/home/miningcore/miningcore/src/Miningcore/Miningcore.csproj]     183 |     blake2s_simple((uint8_t*) &hash[24], (void*) &hash[0], 64 * 24);         |                                          ^~~~~~~~~~~~~~~~         |                                          |         |                                          void *   x25x.c:37:53: note: in definition of macro ‘blake2s_simple’      37 | #define blake2s_simple(out, in, inlen) blake2s(out, in, NULL, 32, inlen, 0)         |                                                     ^~   In file included from x25x.c:33:   blake2/sse/blake2.h:179:34: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘void *’     179 |   int blake2s( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen );         |                           ~~~~~~~^~~~~~ x25x.c(183,60): warning G368195C6: passing argument 5 of ‘blake2s’ makes pointer from integer without a cast [-Wint-conversion] [/home/miningcore/miningcore/src/Miningcore/Miningcore.csproj]     183 |     blake2s_simple((uint8_t*) &hash[24], (void*) &hash[0], 64 * 24);         |                                                            ^~~~~~~         |                                                            |         |                                                            int   x25x.c:37:67: note: in definition of macro ‘blake2s_simple’      37 | #define blake2s_simple(out, in, inlen) blake2s(out, in, NULL, 32, inlen, 0)         |                                                                   ^~~~~   In file included from x25x.c:33:   blake2/sse/blake2.h:179:84: note: expected ‘const void *’ but argument is of type ‘int’     179 |   int blake2s( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen );
crypto/oaes_lib.c(514,2): warning G94C2E082: ‘ftime’ is deprecated [-Wdeprecated-declarations] [/home/miningcore/miningcore/src/Miningcore/Miningcore.csproj]     514 |  ftime (&timer);         |  ^~~~~   In file included from crypto/oaes_lib.c:44:   /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here      39 | extern int ftime (struct timeb *__timebuf)         |            ^~~~~   cc -g -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -Wno-strict-aliasing   -c -o crypto/random.o crypto/random.c   cc -g -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -Wno-strict-aliasing   -c -o crypto/skein.o crypto/skein.c   cc -g -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -Wno-strict-aliasing   -c -o crypto/tree-hash.o crypto/tree-hash.c   cc -g -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -Wno-strict-aliasing   -c -o crypto/slow-hash-lite.o crypto/slow-hash-lite.c   g++ -Wall -Wno-unused-function -fPIC -fpermissive -std=c++0x -fexceptions -frtti -O2 -g -I. -Icontrib/epee/include   -c -o cryptonote_basic/cryptonote_format_utils.o cryptonote_basic/cryptonote_format_utils.cpp   In file included from ./serialization/crypto.h:37,                    from cryptonote_basic/cryptonote_basic.h:44,                    from cryptonote_basic/cryptonote_basic_impl.h:33,                    from cryptonote_basic/cryptonote_format_utils.h:33,                    from cryptonote_basic/cryptonote_format_utils.cpp:39:   ./crypto/chacha.h: In function ‘void crypto::generate_chacha_key(const void*, size_t, crypto::chacha_key&)’: ./crypto/chacha.h(76,46): warning G046D9EBB: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] [/home/miningcore/miningcore/src/Miningcore/Miningcore.csproj]      76 |     memcpy(&key, pwd_hash.data(), sizeof(key));         |                                              ^   In file included from contrib/epee/include/string_tools.h:48,                    from contrib/epee/include/misc_log_ex.h:32,                    from contrib/epee/include/include_base_utils.h:32,                    from cryptonote_basic/cryptonote_format_utils.cpp:31:   contrib/epee/include/memwipe.h:53:10: note: ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’} declared here      53 |   struct scrubbed : public T {         |          ^~~~~~~~   In file included from ./serialization/crypto.h:37,                    from cryptonote_basic/cryptonote_basic.h:44,                    from cryptonote_basic/cryptonote_basic_impl.h:33,                    from cryptonote_basic/cryptonote_format_utils.h:33,                    from cryptonote_basic/cryptonote_format_utils.cpp:39:   ./crypto/chacha.h: In function ‘void crypto::generate_chacha_key_prehashed(const void*, size_t, crypto::chacha_key&)’: ./crypto/chacha.h(83,46): warning G046D9EBB: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] [/home/miningcore/miningcore/src/Miningcore/Miningcore.csproj]      83 |     memcpy(&key, pwd_hash.data(), sizeof(key));         |                                              ^   In file included from contrib/epee/include/string_tools.h:48,                    from contrib/epee/include/misc_log_ex.h:32,                    from contrib/epee/include/include_base_utils.h:32,                    from cryptonote_basic/cryptonote_format_utils.cpp:31:   contrib/epee/include/memwipe.h:53:10: note: ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’} declared here      53 |   struct scrubbed : public T {         |          ^~~~~~~~   g++ -Wall -Wno-unused-function -fPIC -fpermissive -std=c++0x -fexceptions -frtti -O2 -g -I. -Icontrib/epee/include   -c -o exports.o exports.cpp   In file included from ./serialization/crypto.h:37,                    from cryptonote_basic/cryptonote_basic.h:44,                    from exports.cpp:21:   ./crypto/chacha.h: In function ‘void crypto::generate_chacha_key(const void*, size_t, crypto::chacha_key&)’: ./crypto/chacha.h(76,46): warning G046D9EBB: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] [/home/miningcore/miningcore/src/Miningcore/Miningcore.csproj]      76 |     memcpy(&key, pwd_hash.data(), sizeof(key));         |                                              ^   In file included from ./crypto/chacha.h:42,                    from ./serialization/crypto.h:37,                    from cryptonote_basic/cryptonote_basic.h:44,                    from exports.cpp:21:   contrib/epee/include/memwipe.h:53:10: note: ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’} declared here      53 |   struct scrubbed : public T {         |          ^~~~~~~~   In file included from ./serialization/crypto.h:37,                    from cryptonote_basic/cryptonote_basic.h:44,                    from exports.cpp:21:   ./crypto/chacha.h: In function ‘void crypto::generate_chacha_key_prehashed(const void*, size_t, crypto::chacha_key&)’: ./crypto/chacha.h(83,46): warning G046D9EBB: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] [/home/miningcore/miningcore/src/Miningcore/Miningcore.csproj]      83 |     memcpy(&key, pwd_hash.data(), sizeof(key));         |                                              ^   In file included from ./crypto/chacha.h:42,                    from ./serialization/crypto.h:37,                    from cryptonote_basic/cryptonote_basic.h:44,                    from exports.cpp:21:   contrib/epee/include/memwipe.h:53:10: note: ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’} declared here      53 |   struct scrubbed : public T {         |          ^~~~~~~~   g++ -Wall -Wno-unused-function -fPIC -fpermissive -std=c++0x -fexceptions -frtti -O2 -g -I. -Icontrib/epee/include  -shared -o libcryptonote.so contrib/epee/src/hex.o common/base58.o crypto/aesb.o crypto/blake256.o crypto/chacha.o contrib/epee/src/memwipe.o crypto/crypto-ops-data.o crypto/crypto-ops.o crypto/crypto.o crypto/groestl.o crypto/hash-extra-blake.o crypto/hash-extra-groestl.o crypto/hash-extra-jh.o crypto/hash-extra-skein.o crypto/hash.o crypto/jh.o crypto/keccak.o crypto/oaes_lib.o crypto/random.o crypto/skein.o crypto/tree-hash.o crypto/slow-hash-lite.o cryptonote_basic/cryptonote_format_utils.o exports.o -lboost_system -lboost_date_time   Cloning into 'RandomX'...   Note: switching to 'tags/v1.1.9'.

Hmm. I don't see a compiler error. Just a warning.

@danicraft Did you end up compiling src/build/Miningcore.dll or not? What you described are warnings, the compiler swears at possibly old methods used inside the libraries, but this does not affect the work of the compiled project. I also get such warnings, about 8 pieces, but the pool starts up and works. If everything is in order with you, then the topic can be closed. Waiting for an answer.

Closing due to inactivity.


Fix ERC721ListingAdd params

Fix params for ERC721ListingAdd (time and priceInWei)

Just wanted to bring this to your attention and felt this was the best way. I'm not sure if I made all the right changes, but feel free to close if it's fixed on your own branch. Thanks!

Thanks for your PR! Pinging @mudgen to take a look.


Add Support for webm audio formats

webm audio formats are common when input is captured from the computer mic via a web browser.  Add support for webm audio format -- including ".opus" file extensions.

Merged in #41


Add docs for containsDescendants selector

Addresses https://github.com/mobile-dev-inc/maestro/pull/999#issuecomment-1523175070

Thanks @larryng! Could you also update this to include the changes to runFlow as that was merged in https://github.com/mobile-dev-inc/maestro/commits/main? We will then go ahead and merge this once the next Maestro version ships. Thanks!


clean up tutorials/your-first-mac-aspnet

[ ] re-shoot the first 3 screenshots and crop so they are readable
[x]  On my mac I had to open the project folder to get prompted to restore. Verify instructions.
[x] After Tap "Yes" to add the build and debug assets. I'm left with the 2nd  message with a restore button. Do I need to tap restore on that?
[ ]
[ ]

@Rick-Anderson - what is wrong with the images? Is there a standard size you want these at?

@Rick-Anderson in the article it does state

Open the project folder in Visual Studio Code (VS Code).

@Rick-Anderson states two instructions, one for each prompt.

Tap Yes to add the build and debug assets and then tap Restore to restore the project dependencies.

Images are too small. That's OK, I'll reshoot them.

@Rick-Anderson in the article it does state

Open the project folder in Visual Studio Code (VS Code).

LOL, I know, I added that :--)

^^ Oh, lol ok, didn't realize you made that add. Thanks.

FYI on https://docs.microsoft.com/en-us/aspnet/#pivot=core&panel=core_tutorials
The tutorial (this issue references) - Build a website on a mac --- links to https://docs.microsoft.com/en-us/aspnet/core/tutorials/your-first-mac-aspnet which is an invalid URL
I wasn't sure where the page went otherwise would have provided PR to fix this
The file to edit is https://github.com/aspnet/Docs/blob/master/aspnet/index.md

FYI on https://docs.microsoft.com/en-us/aspnet/#pivot=core&panel=core_tutorials
The tutorial (this issue references) - Build a website on a mac --- links to https://docs.microsoft.com/en-us/aspnet/core/tutorials/your-first-mac-aspnet which is an invalid URL

@tdykstra  how do we fix that page we don't own?
@computeronix  thanks for reporting this.

We do own that page -- fix is in #3757

this tutorial was dropped


KVM live migration with non shared storage

Modifications
To achieve the live migration of VMs with non-shared storage, here is a list of things left to be done
Things left

[x] Fix hypervisors names to match certificates (https://github.com/exoscale/puppet/pull/75, https://github.com/exoscale/puppet/pull/76, https://github.com/exoscale/puppet/pull/77, https://github.com/exoscale/puppet/pull/78, https://github.com/exoscale/puppet/pull/79, https://github.com/exoscale/puppet/pull/80, https://github.com/exoscale/puppet/pull/81, https://github.com/exoscale/puppet/pull/82, https://github.com/exoscale/puppet/pull/83, https://github.com/exoscale/puppet/pull/84)
[x] Fix libgcrypt for encryption support

Configuration changes

[x] Change KVM hypervisor capabilities in the DB (activate motion_storage) ✍

[x] preprod
[x] prod, to do after ProdShip

[x] Change configuration in puppet (see exoscale/puppet#66)
[x] Update libvirt on hypervisors to 1.2.21

[x] preprod, done manually
[x] prod

Live migration steps

[x] Unlock CS code to allow MigrateWithStoragecommand for KVM with non shared storage/local storage;
[x] Check that base image is on the destination host or download it;
[x] Pre-provisioning of the disk, based on the backing file on the destination host;
[x] Dump vm XML and change VNC address to the destination's one; already in CS
[x] Send command to libvirt to migrate the vm with flags (1 << 0)|(1 << 1)|(1 << 2)|(1 << 7)|(1 << 8)|(1 << 12)|(1 << 13) along with the patched XML description;

0 = VIR_MIGRATE_LIVE - ok
1 = VIR_MIGRATE_PEER2PEER
2 = VIR_MIGRATE_TUNNELLED (to have TLS encryption)
7 = VIR_MIGRATE_NON_SHARED_INC - ok
8 = VIR_MIGRATE_CHANGE_PROTECTION - ok
11 = VIR_MIGRATE_COMPRESSED - (don't use compression, see below why)
12 = VIR_MIGRATE_ABORT_ON_ERROR - ok
13 = VIR_MIGRATE_AUTO_CONVERGE - ok

[x] Remove vm's disk image file on the source host.

Compression can help only if you plan to migrate VMs when your hypervisors are not overlaoded, otherwise adding compression on top of a hyperv pretty stress won't help to achieve migration for VMs that have a lof of workloads. Best is to disable it.
Nice to have
When doing manual migration (on the host, through virsh command), the only missing thing is the auto discovery of. CS sees the VM on the new host thanks to the ping command of vms:

[ ] Volume move of non-shared storage to the destination host;
[ ] Network traffic should be redirected to the destination host.

Error handling

[x] On failed migration (like a vnc socket error), volume pool id stays with the destination value, state of the volume stays as Migrating. It should be reverted to the source host and to a state Ready;
[x] Unsure about the IP/network routing update/rollback.
[x] On migration failure, the VM is stopped
[x] On migration failure, or success, the volume on the dest or src host is removed

Tests
To be written with @vbernat pytests and added in jenkins as integration tests for cloudstack

migrate VM while being logged in SSH
migrate VM with high CPU load
migrate VM with high IO load
migrate VM with a few snapshots

try revert to previous snapshot
try to revert to a snapshot -x (with x > 2)
try to revert to 1st snapshot

migrate Windows VM with a remote connection open
migrate VM and verify security groups
try to migrate VM on a host that should not be able to accept the VM (memory exhausted)
to be continued
force a failing migration (put a hook?) and validate cleanup method

Linked pull requests to commit

https://github.com/exoscale/puppet/pull/66

Ready 4 merging 👍

interesting @marcaurele , are you planning to port this back to mainstream? I got the question and it seems worth it. Any gotchas to be expected, that you know?

@DaanHoogland I looked at the code in mainstream and there's an effort to be done to port this code. As mentioned on the Jira (https://issues.apache.org/jira/browse/CLOUDSTACK-7982) I will see if I can put time into backporting it to mainstream. I wish to do it, so I will really try.
On the practical side, we've been using it for a little while now and it works smoothly. We found that we need to disable compression and also set vm.migrate.downtime to something around 1 sec to be able to move VMs with high workloads. There's the libvirt configuration that should be address. I'll contact you when I'm done with the backport to see how to update the CS wiki with the documentation on libvirt.

@DaanHoogland I started back porting it. I'm waiting for more production real testing to fix some issues. I will also need to write some documentation about new variables. I put everything in the PR and see how to proceed from there.

@marcaurele Good for you. I am no longer actively developing for cloudstack anymore, sorry to say. No employment in the field. I hope you get this merged in mainstream to avoid having to maintain it by your self. If you need help I will put some spare hours in but I can't promise any serious work.


Using Github actions to render README.md from README.RMD is failing

I have been following this: https://fromthebottomoftheheap.net/2020/04/30/rendering-your-readme-with-github-actions/ and Jim Lester's https://github.com/r-lib/actions/blob/master/examples/render-rmarkdown.yaml but it keeps failing.
Features of the problem

I can't install remotes on the GH action server
-I don't understand the workflow...if I make changes in my .RMD file. Git in terminal tells me to reknit and then commit but this is the step I am trying to automate, so there is a overide command which allows you to push .RMD changes without knitting the RMD to MD
The GH action yaml job says that RMD will be rendered into a MD and then it will commit that MD to push the changes. Does that mean I should delete my first original MD so it autorenders?

After removing a precommit .git hook which is set by default by usethis::use_readme_rmd() this GH action works! Woohoo!


DeprecationWarning: TextChannel#sendMessage: use TextChannel#send instead

(node:15) DeprecationWarning: TextChannel#sendMessage: use TextChannel#send instead

if you change the code to send("whatever"); instead of sendMessage("whatever"); you shouldn't get this warning in the console. However, this is still a bug and should be fixed.

Has this issue been resolved yet? If not could I do a PR?

@nsuchy nah not been done yet. a PR would be very welcome :)

@RyanTheAllmighty Awesome, so to confirm what I'm doing I will change all sendMessage("whatever"); commands in the code to send("whatever");? I can probably have a PR ready by sometime tomorrow, I have to check what I have planned. Let me know :)

@nsuchy looks like that's the case according to https://discord.js.org/#/docs/main/stable/class/TextChannel?scrollTo=send

I'm not seeing sendMessage( anywhere when I search the code, should this issue be closed?

Oh yeah looks like I did it as part of commit c80802a4d1bf7f862850cf18df6fb83a57b0d05d
Sorry for wasting your time :) I'll close it now

@RyanTheAllmighty No worries, let me know if there's anything else I can help with. Always happy to contribute to open source stuff in what-ever way I can :)


Define Working Group expectations and create boilerplate

Attempting to integrate the TSC WORKING_GROUP.md doc, revealed some gaps between what we assert as CommComm contributions and how this is defined today for the Node.js project.
At the 2017-12-28 CommComm Meeting we identified the current boilerplate as a blocker for landing #194. This issue captures the intent to remove the Working Group bootstrap governance in the PR and collaborate here to create new definition in line with CommComm governance and contribution expectations.
CommComm Bootstrap Governance items to ratify or define:

[ ] Define Working Group scope and authority
[ ] Collaborators
[ ] WG Membership
[ ] WG Meetings
[ ] Consensus Seeking Process
[ ] Developer's Certificate of Origin 1.1
[ ] Code of Conduct

@dshaw have there been any updates on this?

I'd like to add this to the agenda, it's come up a few times in the past two weeks.

Going to close this and re-open a new issue with a bit more focus (given the current state of things) and that can be labeled as "Good First Issue" for someone new to the project.


Go to Definition files to open in read only mode

There is a feature request to the Go extension to open files from the standard library in a read only mode when user navigates to them using the Go to Definition feature for example.
This would need us to update the api for the definition provider to return the extra info of whether the file at given location should be opened in read only mode or not.
Then the code that does the actual navigation need to be updated to open a read only mode of the file.
On the other hand, extensions can themselves create a new command that does this using the TextDocumentContentProvider. But the downside is that the real Go to Definition cmd still exists and will invariably get used by the user.
@Microsoft/vscode Thoughts?

There is a feature request to the Go extension to open files from the standard library in a read only mode when user navigates to them using the Go to Definition feature for example.

Why? If you don't want to accidentally change a file you can use OS-level support and mark it as readonly. We will handle that somewhat gracefully.

On the other hand, extensions can themselves create a new command that does this using the TextDocumentContentProvider. But the downside is that the real Go to Definition cmd still exists and will invariably get used by the user.

There is no need for a command. Just register a content provider for a certain scheme and make your definition provider return URIs like this go:/some/lib/file/to.go. When reveal/showing a definition/reference we will consult the (content) provider and its value as readonly

Thanks @jrieken


SteamGridDB Missing Icons

Sometimes the SteamGridDB section is missing Icons, even though SteamGridDB has them.

Will be fixed in the next release. Had to have a bit of a compromise... we can't process .ico files currently without requiring Windows, thus they were excluded from acceptable file types.
The change implemented will use the thumbnail from SteamGridDb (which is probably a PNG) instead of the source .ico file.


Change Minimum Grace Period to 10

"Grace period can range between 30 minutes and 90 minutes, and has a default value of 30 minutes."
Check work item# 3775071, the grace period has been changed to 10 minutes for minimum, please update the document accordingly.

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

ID: e0e152c2-665d-022e-9f54-c53e9607add8
Version Independent ID: ccbc724d-ea1f-eb6d-e47c-685c4fb95ca5
Content: Automatic instance repairs with Azure virtual machine scale sets - Azure Virtual Machine Scale Sets
Content Source: articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-instance-repairs.md
Service: virtual-machine-scale-sets
Sub-service: instance-protection
GitHub Login: @avirishuv
Microsoft Alias: avverma

@uonie Thank you for the feedback.
This is being assigned to the content author to evaluate and update the documentation as appropriate.

hi, yes, I am updating the document, and will comment here once done. Thanks.

This appears to have been fixed already.
#please-close


Real developer here

Hey bro, you’ve just copied my whole script and posted on your github claiming it’s developed entirely by yourself 🤣.


Generate release notes from semantic commits

We use semantic commits in https://github.com/domoritz/arrow-tools and would love to have a changelog generated automatically.

Were you using an established tool for interpreting this (was github just doing it automagically?)

I added them with GitHub this time but would love to have the changelog added automatically to a release.

If you are using conventional commits, I have a very simple app with the version bumping as a separate workflow: https://github.com/woile/kindle-notes-parser/blob/main/.github/workflows/version_bump.yaml
the other yaml release.yaml is picking up tag created by version_bump and doing the release.
Do note that you'll need a .cz.toml

Nice. Thank you for the pointer.
I wonder why you trigger this workflow with a commit rather than a workflow dispatch event.

I consider the main branch "production ready". But is up to you when to release. You could swap the on.push.branches to on.workflow_dispatch and when you feel like, you manually trigger the pipeline.


ghidra-data repo isn't updated for Ghidra 10.3

Describe the bug
URL: https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_10.3/FunctionID/vs2012_x64.fidb
   Connecting...
   Connection error! java.io.FileNotFoundException: https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_10.3/FunctionID/vs2012_x64.fidb

To Reproduce
Steps to reproduce the behavior:

Pull the latest Ghidra master branch
Run gradle -I gradle/support/fetchDependencies.gradle init
See error.

Oops, thanks.  It's fixed.


Add Community PR action shows error when PR is in project

Problem Description
The "add community PR" workflow shows an error when a PR is already in a project e.g.
Error while adding Pull Request Card To Column [Project already has the associated issue]
(See: https://github.com/creativecommons/ccos-scripts/runs/552801037?check_suite_focus=true)
Solution Description
PRs that are already in a Project should not be added to a project at all, and so there should be no error.

@subhamX would you be able to work on this?

Hi @kgodey , thank you for pointing this issue and giving this opportunity to me. I will ensure that in case the PR is already linked with the Project then nothing is printed on the console. I will update the release as soon as possible.

@kgodey I have fixed the issue and have updated the release tag.

looks good, @subhamX! thank you! :)


Build is missing RBE logs when timeout

Earlier issue was reported missing logs when timeout happens:
https://ci.chromium.org/ui/p/flutter/builders/try/Mac Engine Drone/631801/overview
http://go/flutter-cl/54100 was landed to attempt to address the issue, but seems it's still missing though some "progress":
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac Production Engine Drone/248801/overview

My guess is the build level timeout caused the logs missing. We can try exiting earlier within the build step, collect logs in finally and then re-throw the exception.

@zanderso is 30 mins a reasonable number to measure a build step timeout? With rbe/goma, the build step takes <10mins. I am thinking to define a build step timeout property from .json file, with which recipes can exit early to catch the logs, instead of waiting for the whole build to timeout (60 mins).
This should also help fail the build earlier if hanging.

If a build takes longer than 30 minutes is there any way to collect the logs without failing the build?

https://flutter-review.googlesource.com/c/recipes/+/54521 to collect logs without exiting the build.

This has been validated to work. Closing.


Update to new domain

Hi,
Just stumbled with some more links for the new domain.
Searched the whole project and hopefully it's the last of them.
Thanks,

Great. Thank you!


[flutter_tools] fully remove mocks from resident_runner_test.dart

Work towards  #71511.

I saved the best for last


How to train DCRNN, STGCN, MTGNN model use different datasets

Dear Staff,
How are you? Hope you are doing well.
We are trying to use your methods (DCRNN, STGCN, MTGNN) as baselines in our proposed model. However, I found that your data are complied as a config file which is not easy to modify. We have the processed npy datasets and for the model training and testing. But we are not sure how to build a config file to make them compatible with the settings.
Thanks! Looking forward to your reply.

If it's a dataset of npy files, it's not complicated to modify, just change the places in traffic_state_dataset.py about reading files. But this may be difficult for those who are not familiar enough with the Libcity code, so I suggest using the atomic files we provide~.

https://github.com/LibCity/Bigscity-LibCity/blob/master/libcity/data/dataset/traffic_state_datatset.py#L238
This function is to convert the atomic file into an array in npy format, you can modify this function to read the npy file directly~

Can I write something like this https://github.com/LibCity/Bigscity-LibCity-Datasets/blob/master/metr_la.py
to convert the npy files into atomic files, and then let the model run atomic file directly? Would this be easier?

yes, you are right. atomic files are just csv format in fact. it is easy to convert npy to atomic files.

One quick question, how to set the input_window and output_window to 1?
I can't do it in cmd. I think maybe I can do it in config.json but I am not sure how to set it.

Yes，set it in the config.json
发自我的iPhone
------------------ Original ------------------
From: Tianshu Bao @.>
Date: Tue,Oct 17,2023 0:35 PM
To: LibCity/Bigscity-LibCity @.>
Cc: Jiawei Jiang @.>, State change @.>
Subject: Re: [LibCity/Bigscity-LibCity] How to train DCRNN, STGCN, MTGNN modeluse different datasets (Issue #361)
One quick question, how to set the input_window and output_window to 1?
I can't do it in cmd. I think maybe I can do it in config.json but I am not sure how to set it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

Thanks, I've figured that out.


Overhaul of dated INSTALL instruction

Fixed several grammar mistakes. Use markdown syntax instead.

Ooops! DO NOT merge this. I found something missing here.

Hi,
I just checked mongodb support, it uses mongo-c-driver which has not been adopted by any distros as formal package, so I only add the homepage of it.
You can merge now. :joy:


Performance Difference with SteelSeries/AWT and Medusa when changing needle position

Hi,
I compared the performance of this JavaFx medusa example:
https://www.coolithelp.com/2018/11/how-to-create-gauge-in-javafx-medusa.html
with this Steelseries AWT example:
https://stackoverflow.com/questions/24274134/java-steelseries-library-step-by-step-guide
If i make the needle go from 0 to 100 with both (smal adaptation necessary in first example) then then Medusa/JavaFx uses +- 30% or more cpu and the SteelSeries/AWT 2,5%.
Ive tried a few things but nothing helps. For example if i update the needle every 30ms using concurrent task in JavaFx i even get 40% cpu usage. Also removing any gauge options from the first example doenst help.
It even does not seem to matter wether hardware acceleration is enabled or not. The above JavaFX percentage is with this driver:
D3D Driver Information:
Microsoft Basic Render Driver
\.\DISPLAY1
Driver d3d10warp.dll, version 6.3.9600.16384
Pixel Shader version 3.0
Device : ven_1414, dev_008C, subsys_00000000
Max Multisamples supported: 4
So hardware accelerated.
I really like the medusa gauges but they are totally unusable for me like this.
What am i missing?

First of all you should provide some code to get a better understanding of what you do. It is absolutely possible that you end up using more cpu using JavaFX so what? Nobody ever said that JavaFX uses less CPU than AWT and nobody ever said that JavaFX is faster than AWT, that's just the way it is. If Medusa is unusable for you than I guess you should create your own gauges or stay with AWT...

I get the feeling i have offended you, this was not my intention. I guess i was a bit dissapointed as i really like the medusa library.
Also hurried writing the issue a bit, i will provide examples.
First i would like to try your newest version 11, ive missed that one.
Also i assume i am doing something wrong as you have for example this tilesfx example on youtube:
https://www.youtube.com/watch?v=ybDlnt7lxnw
Will get back to this

No problem, like I wrote, provide some code and I can take a look at it and let you know if it is the right way to use it.

Ok, i wrote two test cases:
JavaFX/Medusa:
package javafx_vs_awt;
import eu.hansolo.medusa.Gauge;
import javafx.animation.AnimationTimer;
import javafx.application.Application;
import javafx.scene.CacheHint;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
import java.util.Random;
import java.util.Timer;
import java.util.TimerTask;
public class TestJavaFX extends Application {
private static final Random RND       = new Random();
AnimationTimer timer;
public static void main(String[] args) {
	launch(args);
}

@Override
public void start(Stage primaryStage) {
    Gauge gauge = new Gauge();

    gauge.setValue(40.00); //deafult position of needle on gauage
    gauge.setValueVisible(false);

    StackPane root = new StackPane();
    root.getChildren().addAll(gauge);

    Scene scene = new Scene(root, 300, 300);
    primaryStage.setTitle("Test JavaFX");
    primaryStage.setScene(scene);

    timer = new AnimationTimer() {
    	//called in each frame while it is active
        @Override public void handle(final long now) {
        	gauge.setValue(RND.nextDouble() * 20+40);
        }
    };

    primaryStage.show();

    timer.start();
}

}
SWT/SteelSeries:
package javafx_vs_awt;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Random;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingUtilities;
import javax.swing.Timer;
import eu.hansolo.steelseries.gauges.Radial;
public class TestSwing {
private static final Random RND       = new Random();
private static void createAndShowUI() {
    final JFrame frame = new JFrame();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setLocationByPlatform(true);

    JPanel panel = new JPanel() {

        public Dimension getPreferredSize() {
            return new Dimension(300, 300);
        }
    };

    final Radial gauge = new Radial();
    gauge.setTitle("Test Swing");
    gauge.setFrameVisible(false);
    gauge.setLcdVisible(false);
    gauge.setLedVisible(false);

    panel.setLayout(new BorderLayout());
    panel.add(gauge, BorderLayout.CENTER);
    frame.add(panel);

    final JTextField valueField = new JTextField(7);
    valueField.setText("40");

    int delay=1000/60;
    System.out.println("delay " + delay);
    ActionListener task = new ActionListener() {
    	public void actionPerformed(ActionEvent evt) {
    		//test
    		gauge.setValue(RND.nextDouble() * 20+40);
    	}
    };

    new Timer(delay,task).start();

    frame.pack();
    frame.setVisible(true);
}

public static void main(String[] args) {
    SwingUtilities.invokeLater(new Runnable() {
        public void run() {
            createAndShowUI();
        }
    });
}

}
Only, it turns out that the SWT/SteelSeries uses double the CPU.
I decided not to use animation in both examples to rule that out. When i made the first post i animated both from 0 to 100 and then it happens.
I dont have that much time for this and i dont need animation. But decided to post this anyway.
I have tried a few things though to get it faster, these dont help much compared to (software) rendering but show up in the profiler. If you're interested ill post them.
The main thing that made my application use less (50% less) CPU is reducing the pulse:
-Djavafx.animation.pulse=30
What was really confusing me is that this did not actually change the pulse rate. Then i realized that it might be vsync stopping the pulse to be set:
-Dprism.vsync=false
Now at least i can reduce cpu on quite slow CPU this application has to be installed on.
Also i found out that the rotation of the needle shape causes almost all cpu. Ive tried a lot to get the needle to rotate with less cpu. Only needle.setSmooth(false); seemed to help a bit but im not sure.

If you make a test like this (where you set the value really quick) you should set animated to false. This will prevent the animation of the needle which is only needed if the values will be updated within seconds to get a smooth movement of the needle. As soon as you update the needle really fast the animation is not needed and might lead to performance loss.
I also recommend using the GaugeBuilder like follows:
Gauge gauge = GaugeBuilder.create()
                          .skinType(SkinType.GAUGE)
                          .value(40.0)
                          .valueVisible(false)
                          .animated(false)  // switch off animation of needle
                          .build();`


empty leaderboards return

currently returning {} when no standings listed. should be an array []

https://github.com/Creighcl/infamy-dev/blob/202c8fa451aa13356aa2c25987a939af0fb116cc/functions/index.js#L110


GPL-936 Samples extraction deployment independntly from other services

User story
As a developer I would like to have a playbook for samples extraction that will only deploy the samples extraction service without stopping other services in the stack (PMB, CUPSD).
Currently samples extraction deployment re-deploys the complete Docker stack which it stops/starts other services.
Who are the primary contacts for this story
Eduardo Martin
Acceptance criteria
To be considered successful the solution must allow:

[ ] Single playbook for samples extraction deployment
[ ] Only stops/start samples extractions services (rails, redis, delayed jobs)

Dependencies
This story is blocked by the following dependencies:

#<issue_no.>
sanger/#<issue_no.>

Additional context
Add any other context or screenshots about the feature request here.

Reopening this and https://github.com/sanger/deployment/issues/9 to try to keep the size of https://github.com/sanger/deployment/issues/5 down


Terraform docs?

Hey Ray,
Would be good to get Terraform docs run on this module and have the parameters added to the readme.
Thanks,
Alan

Done, but it doesn't render very well at the moment. Opened https://github.com/segmentio/terraform-docs/issues/211 to see if it can be improved.


Add ellie-language

Ellie-Language added to languages
Changes
Ellie-Language added to languages folder and test/detect/ellie/default.txt file created.
Checklist

[X] ellie added to SUPPORTED_LANGUAGES.md
[X] Language file created.
[X] default.txt file added to test/detect/ellie
[X] Visual test complete with developer.html

If you'd like to convert this to a 3rd party grammar we'd love to have it, but we aren't currently merging new grammars into the core library due to lack of time for maintenance and long-term support.  It's easy to take what you have now and turn it into a 3rd party grammar.  I've included links to the docs below if you're interested.
After you have a repo we can point to we'd be happy to have a link in the official list in SUPPORTED_LANGUAGES.
Helpful links:

https://highlightjs.readthedocs.io/en/latest/language-contribution.html
https://github.com/highlightjs/highlight.js/blob/main/extra/3RD_PARTY_QUICK_START.md


[pre-ll] initialize device

Fixes #2727
PR checklist:

[x] tested examples with the following backends: DX11
[ ] rustfmt run on changed code

This was tested in a separate C++ DX11 app with one set of initialization flags. I'm unaware if there's configurations that this can break on, but this code worked for my purposes.


There should be service that returns commited chaincodes for a channel

This service should return all of the data below;

[x] installed but not approved CCs
[x] approved but not committed CCs
[x] committed CCs

We should consider the below scenerio:

The requested peer is present in the specified channel
There are some chaincodes in the channel which installed and approved by other peers in the same organization

Since the specified peer does not have any installed chaincodes there is no way to find out the approved but not committed chaincodes thorough this peer.


Ease handling of returned dict

Instead of this:
Usage:
  naval_fate.py ship new <name>...
  naval_fate.py ship <name> move <x> <y> [--speed=<kn>]
  naval_fate.py ship shoot <x> <y>
  naval_fate.py mine (set|remove) <x> <y> [--moored | --drifting]

Allow this to facilitate handling of the returned dict:
Usage:
  naval_fate.py ship new <name>...                                  # set::mode=newShip
  naval_fate.py ship <name> move <x> <y> [--speed=<kn>]             # set::mode=moveShip
  naval_fate.py ship shoot <x> <y>                                  # set::mode=shoot
  naval_fate.py mine (set|remove) <x> <y> [--moored | --drifting]   # set::mode=mine

The new syntax is just arbitrary, just to make the point
This way potential code like this:
if d["ship"] and d["new"]:
    # create a new ship
    pass

Will become:
if d["mode"] == "newShip":
    # create a new ship
    pass

too old now


Update io.netty dependency.

http://search.maven.org/#artifactdetails|io.netty|netty-all|4.1.0.Final|jar
Temporarily override this in pom.xml for now.
But with the next release of grpc-java, remove the override, and depend upon it transitively.

Fixed with https://github.com/googlegenomics/dataflow-java/pull/215


Add scala solution for 435-Non-Overlapping-Intervals

File(s) Modified: 435-Non-Overlapping-Intervals.scala
Language(s) Used: scala
Submission URL: _https://leetcode.com/submissions/detail/755241878/_

Thanks, @ChrisKheng!


Error with new installation

When installing both the JS and TS versions and running them they both produce these errors.

Node - 18.14.0
Yarn - 1.22.19
OS - Windows 11
Let me know if there might be something im missing.
Thanks.

Related to #125


fix(headless): restoreSearchParameters action deletes the unselected values of the standard facet

The goal of this PR is to figure out if the behaviour I will describe in this description is a bug or not and to answer the following question: Why when we restore the search parameters we only set the selected facet values and we ignore the unselected values in the facet-set?
The problem:
After executing the first search,  building a url manager controller and selecting a value from a standard facet is causing the deletion of all the other values in this standard facet.
https://user-images.githubusercontent.com/86681870/172202709-d1b8849d-2aec-4957-987d-ca30518d61ce.mov
Why this is happening?
This is happening because of the following two steps:

Building a url manager controller:
When  building a url manager controller by calling buildUrlManager we also build a search parameter manager by calling buildSearchParameterManager.
When executing buildSearchParameterManager we dispatch a restoreSearchParameters action.
In facet-set-slice.ts  we can see the code executed when this action is dispatched.
We set state[facetId].currentValues to the list of selected values. If there is no selected values state[facetId].currentValues will be an empty array.

Selecting a value from the standard facet:
When selecting a value from a standard value the toggleSelectFacetValue action is dispatched. you can find here the code executed when this action is executed.
We first check if the facet value selected exists in the state[facetId].currentValues.
Since in step 1 we saw that state[facetId].currentValues  is an empty array now because of the restoreSearchParameters action the selected value will not be found so we enter to this if block and we just insert the selected value which will result the behaviour shown in the screen recording above.

The potential fix if this a bug:
I just updated the piece of code executed when the restoreSearchParameters action is dispatched in facet-set-slice.ts.
The update is to indeed affect the selected values to state[facetId].currentValues but also to keep the unselectedValues.
After all thats the goal of the restoreSearchParameters action, just to update the selected facet values, right?
https://user-images.githubusercontent.com/86681870/172207978-3091089d-125a-47c7-832c-71b7e7c146ec.mov

I think your fix would not cause problems so to speak (ie: no regressions).
However, the URL manager is designed to be used in a scenario where "the search application is loading and we need to apply an initial state before executing a search" kinda thing.
Hence the name restoreSearchParameters for the action. The scenario is also described here: https://docs.coveo.com/en/headless/latest/usage/synchronize-search-parameters-with-the-url/
So in that scenario where the app is loading, and no search has been executed yet, there is no unselected values anyway (it's always an empty array). We only know about the selected ones (because they come from the URL).
And when the first query finishes, only then do we know all the values available for a particular facet.
So I think your fix is fine to merge, but I'd like to know more about the original bug in SFINT-4552.
It seems a potential logic problem that you are creating an URL manager when the first search has already been executed anyway ?

Thank you for the clarification @olamothe!
I'll try to describe the real use case that led us to this situation where the URL manager is created when the first search has already been executed.
https://user-images.githubusercontent.com/86681870/172359191-aa48030e-ad3f-4887-a83f-7b0113e2e331.mov
Basically, inside Salesforce we can have different tabs in the same page .
Let's say we have two tabs, the first tab containing a Quantic search interface working with Headless and the second tab can contain anything.
When we first load the page we are in the first tab and everything is working correctly, we create the URL manager we execute the first search... everything as expected.
The problem appears when we go to the second tab and then we come back to the first tab, when we go to the second tab the Quantic Search Interface is completely unmounted from the page and when we come back its mounted again and initialized again.
The Quantic Search Interface when initialized in this second time will do the following as usual:

Execute first search.
Create URL manager.
But this time executing the first search can't be made because a first search has already been executed (we enter to this if statement block)
And when the URL manager  is created it will cause the problem I'm describing.  That's the case where a URL manager is  created when the first search has already been executed.

I thought about trying to solve this from the Quantic side  by adding a condition to check if a first search was already executed so we can create the URL manager only if it's not the case, this would solve the problem of the disappearing facet values but it will give another problem which is that when going to the second tab and coming back to the first tab we will completely lose the features of the URL manager, for example updating the url hash automatically when a search parameter changes.
To narrow this down, this problem can happen anytime the Quantic Search Interface, for some reason, needs to be unmounted from the page and then mounted again.


Paper Server: Permission Denied while replacing config variables.

Replacing env variables in configs that match the prefix SMGR...
Replacing SMGR_SERVERNAME with staylords ...
sed: can't create temp file '/data/plugins/Hub/config.ymlXXXXXX': Permission den                                                                                ied
sed: can't create temp file '/data/plugins/Citizens/config.ymlXXXXXX': Permissio                                                                                n denied
sed: can't create temp file '/data/plugins/Citizens/lang/messages_en.propertiesX                                                                                XXXXX': Permission denied
sed: can't create temp file '/data/plugins/Citizens/saves.ymlXXXXXX': Permission                                                                                denied
sed: can't create temp file '/data/plugins/bStats/config.ymlXXXXXX': Permission                                                                                denied
sed: can't create temp file '/data/plugins/Framework/config.ymlXXXXXX': Permissi                                                                                on denied
sed: can't create temp file '/data/plugins/Framework/lang.ymlXXXXXX': Permission                                                                                denied
I don't understand how to solve this issue.

It sounds like the directory ownership of those subdirectories of /data/plugins differs from the user running within the container? Can you provide the "Running as" log line that appears at the very start of the container startup? Also, if you are mounting the /data volume from a host directory, please double check if those particular directories differ in ownership with ls -l vs the top level host directory attached.

The uID is 1000 and also the g something(gid if I'm not wrong).
I'm mounting the /data volume. I'll double check ownerships

Fixed the plugins folder and subfolders were owned by root. Fixed with chmod 1000:1000 plugins/*
(1000 is the user ID and 1000 is group ID).
Thanks for the help. Keep the project up!

The problem now is that I need to be replaced on every new container. Not just the first time. Is there a way?

Glad to hear you got it resolved. I'm not sure how it initially got in that state, but It should remain fixed going forward since your container is running as uid=1000 and it'll leave the files owned as is.

Yes I mean it doesn't change the config file inside the container. It change it in the host directory


xcodebuild -showBuildSettings timed-out when running fastlane init

New Issue Checklist

[✓] Updated fastlane to the latest version
[✓] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

Admins-Mac-mini:mZone Isuru$ sudo fastlane init
Password:
[13:20:43]: Seems like launching fastlane takes a while - please run
[13:20:43]:
[13:20:43]: $ [sudo] gem cleanup
[13:20:43]:
[13:20:43]: to uninstall outdated gems and make fastlane launch faster
[13:20:43]: Alternatively it's recommended to start using a Gemfile to lock your dependencies
[13:20:43]: To get started with a Gemfile, run
[13:20:43]:
[13:20:43]: $ bundle init
[13:20:43]: $ echo 'gem "fastlane"' >> Gemfile
[13:20:43]: $ bundle install
[13:20:43]:
[13:20:43]: After creating the Gemfile and Gemfile.lock, commit those files into version control
[13:20:43]: For more information, check out https://guides.cocoapods.org/using/a-gemfile.html
[13:20:45]: Detected iOS/Mac project in current directory...
[13:20:45]: This setup will help you get up and running in no time.
[13:20:45]: fastlane will check what tools you're already using and set up
[13:20:45]: the tool automatically for you. Have fun!
[13:20:45]: Created new folder './fastlane'.
[13:20:45]: $ xcodebuild clean -showBuildSettings -project ./mZone\ Poker.xcodeproj
[13:20:55]: Command timed out after 10 seconds on try 1 of 4, trying again...
[13:21:05]: Command timed out after 10 seconds on try 2 of 4, trying again...
[13:21:15]: Command timed out after 10 seconds on try 3 of 4, trying again...
[13:21:25]: Command timed out after 10 seconds on try 4 of 4
[13:21:25]: xcodebuild -showBuildSettings timed-out after 10 seconds and 3 retries. You can override the timeout value with the environment variable FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT, and the number of retries with the environment variable FASTLANE_XCODEBUILD_SETTINGS_RETRIES
[13:21:25]: An error occured during the setup process. Falling back to manual setup!

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.11.6

Ruby
2.0.0

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.11.6 (15G1212)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

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

Xcode Version
8.2

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.9.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

rouge
1.10.1

xcpretty
0.2.4

terminal-notifier
1.6.3

terminal-table
1.4.5

plist
3.1.0

addressable
2.4.0

multipart-post
2.0.0

word_wrap
1.0.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander
4.4.0

excon
0.45.4

faraday
0.9.2

domain_name
0.5.99999999

http-cookie
1.0.2

faraday-cookie_jar
0.0.6

fastimage
1.6.8

gh_inspector
1.0.2

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0221

mime-types
3.0

hurley
0.2

little-plugger
1.1.4

multi_json
1.11.2

logging
2.1.0

jwt
1.5.4

memoist
0.14.0

os
0.9.6

signet
0.7.2

googleauth
0.5.1

thor
0.19.1

httpclient
2.7.1

google-api-client
0.9.5

mini_magick
4.5.1

multi_xml
0.5.5

rubyzip
1.1.7

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

bundler
1.13.5

faraday_middleware
0.10.0

i18n
0.7.0

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.8.4

activesupport
4.2.6

json
1.8.3

claide
1.0.1

xcodeproj
1.3.3

generated on: 2017-01-18

@Isuru-Nanayakkara is this a cordova based app if so check this out -> https://github.com/simonprickett/cordovaxcodeschemefix
you can try one of the below options
option1
increase timeout run this before running fastlane:
export FASTLANE_XCODE_LIST_TIMEOUT=120

option2
recreate user shemes requires (xcodeproj gem)

keep in mind to backup your stuff before you do this, just in case

require 'xcodeproj'
xcproj = Xcodeproj::Project.open("MyProject.xcodeproj")
xcproj.recreate_user_schemes
xcproj.save

let me know if one of the options work for you

Hi, thanks for the response.
Attempt 1

I updated my ruby to v2.3.3p222 using the method described here.
Then ran export FASTLANE_XCODE_LIST_TIMEOUT=120 before running sudo fastlane init but still the same timeout happened.

Attempt 2

Uninstalled fastlane using sudo gem uninstall fastlane.
Reinstalled it via Homebrew using brew cask install fastlane.
Added the line export PATH="$HOME/.fastlane/bin:$PATH" to the .bash_profile as instructed by the Terminal output of fastlane installation.
Ran export FASTLANE_XCODE_LIST_TIMEOUT=120 in the Terminal.
Still the timeout occurs :(

Where should I put the recreate_shemes.rb file? Inside the Xcode project directory?

ok thx for trying.
the recreate_schemes.rb should be in the base project folder.
and change the MyProject.xcodeproj to your project for sure.

be sure you commited everthing, or did a backup of the whole folder, as the script modify's the .xcodeproj

I installed xcodeproj gem using sudo gem install xcodeproj successfully.
Created the recreate_schemes.rb file in the project directory and changed the project name to suit mine.
Ran ruby recreate_shemes.rb.
Then ran sudo fastlane init.

It still times out.

Hi @Isuru-Nanayakkara 👋
If you run the xcodebuild command that fastlane is using without using fastlane, does it still time out?
xcodebuild clean -showBuildSettings -project ./mZone\ Poker.xcodeproj

Hi @mfurtak,
Actually no. I ran that command and got this wall of text of an output.
Build settings for action clean and target "mZone Poker":
    ACTION = clean
    AD_HOC_CODE_SIGNING_ALLOWED = NO
    ALTERNATE_GROUP = staff
    ALTERNATE_MODE = u+w,go-w,a+rX
    ALTERNATE_OWNER = Isuru
    ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
    ALWAYS_SEARCH_USER_PATHS = NO
    ALWAYS_USE_SEPARATE_HEADERMAPS = NO
    APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
    APPLE_INTERNAL_DIR = /AppleInternal
    APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
    APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
    APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
    APPLICATION_EXTENSION_API_ONLY = NO
    APPLY_RULES_IN_COPY_FILES = NO
    ARCHS = armv7 arm64
    ARCHS_STANDARD = armv7 arm64
    ARCHS_STANDARD_32_64_BIT = armv7 arm64
    ARCHS_STANDARD_32_BIT = armv7
    ARCHS_STANDARD_64_BIT = arm64
    ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64
    ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64
    ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
    AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
    BITCODE_GENERATION_MODE = marker
    BUILD_ACTIVE_RESOURCES_ONLY = NO
    BUILD_COMPONENTS =
    BUILD_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Products
    BUILD_ROOT = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Products
    BUILD_STYLE =
    BUILD_VARIANTS = normal
    BUILT_PRODUCTS_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Products/Release-iphoneos
    CACHE_ROOT = /var/folders/lt/3tpmxm9175d5qg_8hd4k0h040000gn/C/com.apple.DeveloperTools/8.2-8C38/Xcode
    CCHROOT = /var/folders/lt/3tpmxm9175d5qg_8hd4k0h040000gn/C/com.apple.DeveloperTools/8.2-8C38/Xcode
    CHMOD = /bin/chmod
    CHOWN = /usr/sbin/chown
    CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES
    CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
    CLANG_CXX_LIBRARY = libc++
    CLANG_ENABLE_MODULES = YES
    CLANG_ENABLE_OBJC_ARC = YES
    CLANG_WARN_BOOL_CONVERSION = YES
    CLANG_WARN_CONSTANT_CONVERSION = YES
    CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
    CLANG_WARN_EMPTY_BODY = YES
    CLANG_WARN_ENUM_CONVERSION = YES
    CLANG_WARN_INFINITE_RECURSION = YES
    CLANG_WARN_INT_CONVERSION = YES
    CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
    CLANG_WARN_SUSPICIOUS_MOVE = YES
    CLANG_WARN_UNREACHABLE_CODE = YES
    CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
    CLASS_FILE_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/JavaClasses
    CLEAN_PRECOMPS = YES
    CLONE_HEADERS = NO
    CODESIGNING_FOLDER_PATH = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Products/Release-iphoneos/mZone Poker.app
    CODE_SIGNING_ALLOWED = YES
    CODE_SIGNING_REQUIRED = YES
    CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext
    CODE_SIGN_IDENTITY = iPhone Distribution
    COLOR_DIAGNOSTICS = YES
    COMBINE_HIDPI_IMAGES = NO
    COMPOSITE_SDK_DIRS = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/CompositeSDKs
    COMPRESS_PNG_FILES = YES
    CONFIGURATION = Release
    CONFIGURATION_BUILD_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Products/Release-iphoneos
    CONFIGURATION_TEMP_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos
    CONTENTS_FOLDER_PATH = mZone Poker.app
    COPYING_PRESERVES_HFS_DATA = NO
    COPY_HEADERS_RUN_UNIFDEF = NO
    COPY_PHASE_STRIP = NO
    COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
    CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
    CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator
    CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk
    CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator10.2
    CP = /bin/cp
    CREATE_INFOPLIST_SECTION_IN_BINARY = NO
    CURRENT_ARCH = arm64
    CURRENT_PROJECT_VERSION = 1
    CURRENT_VARIANT = normal
    DEAD_CODE_STRIPPING = YES
    DEBUGGING_SYMBOLS = YES
    DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
    DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
    DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
    DEFINES_MODULE = NO
    DEPLOYMENT_LOCATION = NO
    DEPLOYMENT_POSTPROCESSING = NO
    DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
    DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min
    DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min=
    DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
    DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2
    DERIVED_FILES_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/DerivedSources
    DERIVED_FILE_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/DerivedSources
    DERIVED_SOURCES_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/DerivedSources
    DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
    DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
    DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
    DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
    DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
    DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
    DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
    DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
    DEVELOPMENT_LANGUAGE = English
    DOCUMENTATION_FOLDER_PATH = mZone Poker.app/English.lproj/Documentation
    DO_HEADER_SCANNING_IN_JAM = NO
    DSTROOT = /tmp/mZone Poker.dst
    DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    DWARF_DSYM_FILE_NAME = mZone Poker.app.dSYM
    DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
    DWARF_DSYM_FOLDER_PATH = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Products/Release-iphoneos
    EFFECTIVE_PLATFORM_NAME = -iphoneos
    EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
    EMBEDDED_PROFILE_NAME = embedded.mobileprovision
    EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
    ENABLE_BITCODE = YES
    ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
    ENABLE_HEADER_DEPENDENCIES = YES
    ENABLE_NS_ASSERTIONS = NO
    ENABLE_ON_DEMAND_RESOURCES = YES
    ENABLE_STRICT_OBJC_MSGSEND = YES
    ENABLE_TESTABILITY = NO
    ENTITLEMENTS_ALLOWED = YES
    ENTITLEMENTS_REQUIRED = YES
    EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
    EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
    EXECUTABLES_FOLDER_PATH = mZone Poker.app/Executables
    EXECUTABLE_FOLDER_PATH = mZone Poker.app
    EXECUTABLE_NAME = mZone Poker
    EXECUTABLE_PATH = mZone Poker.app/mZone Poker
    EXPANDED_CODE_SIGN_IDENTITY =
    EXPANDED_CODE_SIGN_IDENTITY_NAME =
    EXPANDED_PROVISIONING_PROFILE =
    FILE_LIST = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/Objects/LinkFileList
    FIXED_FILES_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/FixedFiles
    FRAMEWORKS_FOLDER_PATH = mZone Poker.app/Frameworks
    FRAMEWORK_FLAG_PREFIX = -framework
    FRAMEWORK_VERSION = A
    FULL_PRODUCT_NAME = mZone Poker.app
    GCC3_VERSION = 3.3
    GCC_C_LANGUAGE_STANDARD = gnu99
    GCC_INLINES_ARE_PRIVATE_EXTERN = YES
    GCC_NO_COMMON_BLOCKS = YES
    GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
    GCC_SYMBOLS_PRIVATE_EXTERN = YES
    GCC_THUMB_SUPPORT = YES
    GCC_TREAT_WARNINGS_AS_ERRORS = NO
    GCC_VERSION = com.apple.compilers.llvm.clang.1_0
    GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
    GCC_WARN_64_TO_32_BIT_CONVERSION = YES
    GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
    GCC_WARN_UNDECLARED_SELECTOR = YES
    GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
    GCC_WARN_UNUSED_FUNCTION = YES
    GCC_WARN_UNUSED_VARIABLE = YES
    GENERATE_MASTER_OBJECT_FILE = NO
    GENERATE_PKGINFO_FILE = YES
    GENERATE_PROFILING_CODE = NO
    GENERATE_TEXT_BASED_STUBS = NO
    GID = 20
    GROUP = staff
    HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
    HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
    HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
    HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
    HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
    HEADERMAP_USES_VFS = NO
    HIDE_BITCODE_SYMBOLS = YES
    HOME = /Users/Admin
    ICONV = /usr/bin/iconv
    INFOPLIST_EXPAND_BUILD_SETTINGS = YES
    INFOPLIST_FILE = mZone Poker/Info.plist
    INFOPLIST_OUTPUT_FORMAT = binary
    INFOPLIST_PATH = mZone Poker.app/Info.plist
    INFOPLIST_PREPROCESS = NO
    INFOSTRINGS_PATH = mZone Poker.app/English.lproj/InfoPlist.strings
    INLINE_PRIVATE_FRAMEWORKS = NO
    INSTALLHDRS_COPY_PHASE = NO
    INSTALLHDRS_SCRIPT_PHASE = NO
    INSTALL_DIR = /tmp/mZone Poker.dst/Applications
    INSTALL_GROUP = staff
    INSTALL_MODE_FLAG = u+w,go-w,a+rX
    INSTALL_OWNER = Isuru
    INSTALL_PATH = /Applications
    INSTALL_ROOT = /tmp/mZone Poker.dst
    IPHONEOS_DEPLOYMENT_TARGET = 10.1
    JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
    JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    JAVA_ARCHIVE_CLASSES = YES
    JAVA_ARCHIVE_TYPE = JAR
    JAVA_COMPILER = /usr/bin/javac
    JAVA_FOLDER_PATH = mZone Poker.app/Java
    JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
    JAVA_JAR_FLAGS = cv
    JAVA_SOURCE_SUBDIR = .
    JAVA_USE_DEPENDENCIES = YES
    JAVA_ZIP_FLAGS = -urg
    JIKES_DEFAULT_FLAGS = +E +OLDCSO
    KEEP_PRIVATE_EXTERNS = NO
    LD_DEPENDENCY_INFO_FILE = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/Objects-normal/arm64/mZone Poker_dependency_info.dat
    LD_GENERATE_MAP_FILE = NO
    LD_MAP_FILE_PATH = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/mZone Poker-LinkMap-normal-arm64.txt
    LD_NO_PIE = NO
    LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
    LD_RUNPATH_SEARCH_PATHS =  @executable_path/Frameworks
    LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    LEX = lex
    LIBRARY_FLAG_NOSPACE = YES
    LIBRARY_FLAG_PREFIX = -l
    LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
    LINKER_DISPLAYS_MANGLED_NAMES = NO
    LINK_FILE_LIST_normal_arm64 =
    LINK_FILE_LIST_normal_armv7 =
    LINK_WITH_STANDARD_LIBRARIES = YES
    LOCALIZABLE_CONTENT_DIR =
    LOCALIZED_RESOURCES_FOLDER_PATH = mZone Poker.app/English.lproj
    LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
    LOCAL_APPS_DIR = /Applications
    LOCAL_DEVELOPER_DIR = /Library/Developer
    LOCAL_LIBRARY_DIR = /Library
    LOCROOT =
    LOCSYMROOT =
    MACH_O_TYPE = mh_execute
    MAC_OS_X_PRODUCT_BUILD_VERSION = 15G1212
    MAC_OS_X_VERSION_ACTUAL = 101106
    MAC_OS_X_VERSION_MAJOR = 101100
    MAC_OS_X_VERSION_MINOR = 1106
    METAL_LIBRARY_FILE_BASE = default
    METAL_LIBRARY_OUTPUT_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Products/Release-iphoneos/mZone Poker.app
    MODULE_CACHE_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/ModuleCache
    MTL_ENABLE_DEBUG_INFO = NO
    NATIVE_ARCH = armv7
    NATIVE_ARCH_32_BIT = i386
    NATIVE_ARCH_64_BIT = x86_64
    NATIVE_ARCH_ACTUAL = x86_64
    NO_COMMON = YES
    OBJECT_FILE_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/Objects
    OBJECT_FILE_DIR_normal = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/Objects-normal
    OBJROOT = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates
    ONLY_ACTIVE_ARCH = NO
    OS = MACOS
    OSAC = /usr/bin/osacompile
    PACKAGE_TYPE = com.apple.package-type.wrapper.application
    PASCAL_STRINGS = YES
    PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Admin/.fastlane/bin:/Users/Admin/.rvm/gems/ruby-2.3.3/bin:/Users/Admin/.rvm/gems/ruby-2.3.3@global/bin:/Users/Admin/.rvm/rubies/ruby-2.3.3/bin:/opt/local/bin:/opt/local/sbin:/Applications/MAMP/bin/php/php5.6.10/bin:/usr/local/mysql/bin:/Users/Isuru/pear/bin:/Applications/MAMP/bin/php/php5.6.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/opt/ImageMagick/bin:/Users/Admin/.rvm/bin
    PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
    PBDEVELOPMENTPLIST_PATH = mZone Poker.app/pbdevelopment.plist
    PKGINFO_FILE_PATH = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/PkgInfo
    PKGINFO_PATH = mZone Poker.app/PkgInfo
    PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
    PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
    PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
    PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
    PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
    PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
    PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
    PLATFORM_DISPLAY_NAME = iOS
    PLATFORM_NAME = iphoneos
    PLATFORM_PREFERRED_ARCH = arm64
    PLATFORM_PRODUCT_BUILD_VERSION = 14C89
    PLIST_FILE_OUTPUT_FORMAT = binary
    PLUGINS_FOLDER_PATH = mZone Poker.app/PlugIns
    PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
    PRECOMP_DESTINATION_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/PrefixHeaders
    PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
    PRIVATE_HEADERS_FOLDER_PATH = mZone Poker.app/PrivateHeaders
    PRODUCT_BUNDLE_IDENTIFIER = com.mZone.mZone-Poker-isuru
    PRODUCT_MODULE_NAME = mZone_Poker
    PRODUCT_NAME = mZone Poker
    PRODUCT_SETTINGS_PATH = /Users/Admin/Developer/Xcode Projects/Swift/mZone/mZone Poker/Info.plist
    PRODUCT_TYPE = com.apple.product-type.application
    PROFILING_CODE = NO
    PROJECT = mZone Poker
    PROJECT_DERIVED_FILE_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/DerivedSources
    PROJECT_DIR = /Users/Admin/Developer/Xcode Projects/Swift/mZone
    PROJECT_FILE_PATH = /Users/Admin/Developer/Xcode Projects/Swift/mZone/mZone Poker.xcodeproj
    PROJECT_NAME = mZone Poker
    PROJECT_TEMP_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build
    PROJECT_TEMP_ROOT = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates
    PROVISIONING_PROFILE_REQUIRED = YES
    PUBLIC_HEADERS_FOLDER_PATH = mZone Poker.app/Headers
    RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
    REMOVE_CVS_FROM_RESOURCES = YES
    REMOVE_GIT_FROM_RESOURCES = YES
    REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
    REMOVE_HG_FROM_RESOURCES = YES
    REMOVE_SVN_FROM_RESOURCES = YES
    RESOURCE_RULES_REQUIRED = YES
    REZ_COLLECTOR_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/ResourceManagerResources
    REZ_OBJECTS_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build/ResourceManagerResources/Objects
    SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
    SCRIPTS_FOLDER_PATH = mZone Poker.app/Scripts
    SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
    SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
    SDK_DIR_iphoneos10_2 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
    SDK_NAME = iphoneos10.2
    SDK_NAMES = iphoneos10.2
    SDK_PRODUCT_BUILD_VERSION = 14C89
    SDK_VERSION = 10.2
    SDK_VERSION_ACTUAL = 100200
    SDK_VERSION_MAJOR = 100000
    SDK_VERSION_MINOR = 200
    SED = /usr/bin/sed
    SEPARATE_STRIP = NO
    SEPARATE_SYMBOL_EDIT = NO
    SET_DIR_MODE_OWNER_GROUP = YES
    SET_FILE_MODE_OWNER_GROUP = NO
    SHALLOW_BUNDLE = YES
    SHARED_DERIVED_FILE_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Products/Release-iphoneos/DerivedSources
    SHARED_FRAMEWORKS_FOLDER_PATH = mZone Poker.app/SharedFrameworks
    SHARED_PRECOMPS_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/PrecompiledHeaders
    SHARED_SUPPORT_FOLDER_PATH = mZone Poker.app/SharedSupport
    SKIP_INSTALL = NO
    SOURCE_ROOT = /Users/Admin/Developer/Xcode Projects/Swift/mZone
    SRCROOT = /Users/Admin/Developer/Xcode Projects/Swift/mZone
    STRINGS_FILE_OUTPUT_ENCODING = binary
    STRIP_BITCODE_FROM_COPIED_FILES = YES
    STRIP_INSTALLED_PRODUCT = YES
    STRIP_STYLE = all
    SUPPORTED_DEVICE_FAMILIES = 1,2
    SUPPORTED_PLATFORMS = iphonesimulator iphoneos
    SUPPORTS_TEXT_BASED_API = NO
    SWIFT_OPTIMIZATION_LEVEL = -Owholemodule
    SWIFT_PLATFORM_TARGET_PREFIX = ios
    SWIFT_VERSION = 3.0
    SYMROOT = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Products
    SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
    SYSTEM_APPS_DIR = /Applications
    SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
    SYSTEM_DEMOS_DIR = /Applications/Extras
    SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
    SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
    SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
    SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
    SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
    SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
    SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
    SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
    SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
    SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
    SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
    SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
    SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
    SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
    SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
    SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
    SYSTEM_LIBRARY_DIR = /System/Library
    TAPI_VERIFY_MODE = ErrorsOnly
    TARGETED_DEVICE_FAMILY = 1
    TARGETNAME = mZone Poker
    TARGET_BUILD_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Products/Release-iphoneos
    TARGET_NAME = mZone Poker
    TARGET_TEMP_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build
    TEMP_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build
    TEMP_FILES_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build
    TEMP_FILE_DIR = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates/mZone Poker.build/Release-iphoneos/mZone Poker.build
    TEMP_ROOT = /Users/Admin/Library/Developer/Xcode/DerivedData/mZone_Poker-gcyrsgjgmwyimwgjulvevkyjryab/Build/Intermediates
    TOOLCHAINS = com.apple.dt.toolchain.XcodeDefault
    TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
    UID = 501
    UNLOCALIZED_RESOURCES_FOLDER_PATH = mZone Poker.app
    UNSTRIPPED_PRODUCT = NO
    USER = Isuru
    USER_APPS_DIR = /Users/Admin/Applications
    USER_LIBRARY_DIR = /Users/Admin/Library
    USE_DYNAMIC_NO_PIC = YES
    USE_HEADERMAP = YES
    USE_HEADER_SYMLINKS = NO
    VALIDATE_PRODUCT = YES
    VALID_ARCHS = arm64 armv7 armv7s
    VERBOSE_PBXCP = NO
    VERSIONING_SYSTEM = Apple Generic
    VERSIONPLIST_PATH = mZone Poker.app/version.plist
    VERSION_INFO_BUILDER = Isuru
    VERSION_INFO_FILE = mZone Poker_vers.c
    VERSION_INFO_STRING = "@(#)PROGRAM:mZone Poker  PROJECT:mZone Poker-1"
    WRAPPER_EXTENSION = app
    WRAPPER_NAME = mZone Poker.app
    WRAPPER_SUFFIX = .app
    WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
    XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
    XCODE_PRODUCT_BUILD_VERSION = 8C38
    XCODE_VERSION_ACTUAL = 0820
    XCODE_VERSION_MAJOR = 0800
    XCODE_VERSION_MINOR = 0820
    XPCSERVICES_FOLDER_PATH = mZone Poker.app/XPCServices
    YACC = yacc
    arch = arm64
    diagnostic_message_length = 80
    variant = normal

Which Xcode version are you using? Could you try it with Xcode 8.2? The issue might be resolved with that

@KrauseFx I'm using Xcode 8.2

OK, that's really challenging! 😄
We don't have a lot of control over the behavior of xcodebuild in this regard, so we've typically resorted to timeouts and retries.
I don't have an answer for you right now. Perhaps the community can share some additional strategies they've learned. 👍

Yeah, it's a bummer :( I'll try going the manual way. Thanks for the help, guys.

@Isuru-Nanayakkara by any change, are you not switching Xcode versions?
I.e. are you having multiple Xcodes installed on the same build agent and you had a previous build on the same agent using different Xcode version?
We had similar (but not exactly same) issues when having such a "switch", i.e. running Xcode 8.0 build on agent which previously ran Xcode 7.2.1 build.
We solved it by using https://rubygems.org/gems/fastlane-plugin-wait_xcrun plugin. Not sure if it would help with your problem.

@mgrebenets I do actually have Xcode 7.3 installed. But I use Xcode 8. On rare occasions I have to open up an old Xcode project I use this shell script to switch between the two Xcode versions.
Can having two versions of Xcode be an issue? Can you please elaborate on how you got your issue resolved by that plugin?

@Isuru-Nanayakkara
The original issue that we experienced was this: https://github.com/fastlane/fastlane/issues/5435
The plugin is just glorified "wait-until-xcode-feels-good" shell script.
Not sure though that it relates to your issue. In our case we had messages like
08:45:47 [08:45:47]: xcrun simctl CLI broken, run `xcrun simctl list devices` and make sure it works
08:45:47 [08:45:47]: Error setting value '["iPhone 4s", "iPhone 5", "iPhone 5s", "iPhone 6", "iPhone 6s", "iPhone 6s Plus", "iPad 2", "iPad Air", "iPad Air 2", "iPad Pro", "iPad Retina"]' for option 'devices'
08:45:47
08:45:47 [!] xcrun simctl not working.


Investigate outputting tuples as part of the libraries they are defined in

Before starting trying to move the generated tuples into libraries, think about removing the need for them altogether and just use c# tuples if possible. Keep tuple "properties" alphabetical, so that the order they are used are always in sync when these properties disappear at runtime.
Think about generating the c# tuples at the point where the c# is generated first, to see if that works, and then later remove the generated tuples altogether
Initiated from this conversation in Zulip
Related issues regarding tuples #378, #379, #380

This will fix the related #379, #380 as well.


Added Local Searcher

Issue #, if available:
Description of changes:

Added LocalSearcher and LocalRandomSearcher which don't depend on ConfigSpace
These searchers use no multiprocessing or locks, and therefore can be ran in Python debugger
Greatly simplified HPO logic, removed usage of ag.args and decorators

TODO:

[x] Fix TextPredictor HPO
[x] Fix ImagePredictor HPO
[x] Fix ObjectDetector HPO
[ ] Add unit test for LocalRandomSearcher

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1414-5 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1414/5/index.html

Job PR-1414-7 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1414/7/index.html

Job PR-1414-8 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1414/8/index.html


How to fix destination validation?

Hello!
I am using your python3-saml module and I have some misunderstanding with ports, when implementing SAML2 SSO for our app. The validation of the destination fails because there is a validation of the current_url here and it constructs that url in utils. But for some reason the port in the current_url is not default, but 8080.
I understand, that this port is extracted from our side, but this does not have much sense, since the request itself is made on the default url https://example.com/sso/saml2/?acs, but our IDP must have ACS url with port 8080 in his SAMLResponse https://example.com:8080/sso/saml2/?acs to be able to pass this validation.
So, I have a misunderstanding here. What exactly this validation checks? Is it possible to disable it and do I increase the security risk in this case?
Thank you.

You may not disable any security check.

You may verify that the SP's metadata registered on the IdP is right.
current_url is built based on the data that is provided in the request, so review what values you set there.

Thank you. This is very useful.


[pylint checker] Investigate add_message failure with newer versions of pylint/astroid

with pylint == 2.4.3 and astroid == 2.3.2 this error was seen coming from the pylint checkers:
TypeError: add_message() got an unexpected keyword argument 'msg_id'
A quick check of the pylint src code does not show a change for add_message(). Investigate why this fails with newer versions and not for pylint version ==2.31 and astroid version == 2.25

Should be fixed in #11586


updated documentation about ARRAY literals/constructor

Current coverage is 80.97% (diff: 100%)

Merging #4209 into array-ctor will increase coverage by 0.07%

@@           array-ctor      #4209   diff @@
============================================
  Files            1299       1299
  Lines           44286      44286
  Methods             0          0
  Messages            0          0
  Branches         7062       7062
============================================
+ Hits            35828      35859    +31
+ Misses           5791       5766    -25
+ Partials         2667       2661     -6

Powered by Codecov. Last update b12df1f...d6fc970

@seut can you take a look please

@seut pushed improvements


Ark example doesn't work

Parsing Ark.txs is OK.
Z3: Can't start stepper. It continues searching for a long time. Longer than I'm willing to wait.
CVC4: Stepper starts. The first step is a ship with no rooms, no animals and positive capacity. It looks like a valid step but can't be executed.
TXS >>  .....1: Act { { ( Out, [ C_AT_2581(C_AT_2582(C_T_loadType(C_AT_2580(CNil_T_roomType)),C_T_maxReproductionAgeType(C_AT_2584(CNil_T_animal_speciesType)),22)) ] ) } }
TXS >>  cannot do action
TXS >>  FAIL: Act { { ( Out, [ C_AT_2581(C_AT_2582(C_T_loadType(C_AT_2580(CNil_T_roomType)),C_T_maxReproductionAgeType(C_AT_2584(CNil_T_animal_speciesType)),22)) ] ) } }

After removing the possibility of a ship with no rooms and no animals, CVC4 can take more steps but eventually fail again:
TXS <<  step 3
TXS >>  .....1: Act { { ( Out, [ C_AT_2581(C_AT_2582(C_T_loadType(C_AT_2580(Cstr_T_roomType(C_T_roomType(C_AT_2592(CNil_T_animalType)),CNil_T_roomType))),C_T_maxReproductionAgeType(C_AT_2584(Cstr_T_animal_speciesType(C_T_animal_speciesType(C_AT_2590(" &",3440281275639791616,1669560956149687055)),Cstr_T_animal_speciesType(C_T_animal_speciesType(C_AT_2590("@D",394955386623567120,1669560956149687055)),CNil_T_animal_speciesType)))),3440281275639791616)) ] ) } }
TXS >>  .....2: Act { { ( Out, [ C_AT_2581(C_AT_2582(C_T_loadType(C_AT_2580(Cstr_T_roomType(C_T_roomType(C_AT_2592(CNil_T_animalType)),CNil_T_roomType))),C_T_maxReproductionAgeType(C_AT_2584(Cstr_T_animal_speciesType(C_T_animal_speciesType(C_AT_2590("",1,1262631114657441)),Cstr_T_animal_speciesType(C_T_animal_speciesType(C_AT_2590("",1,1)),CNil_T_animal_speciesType)))),1)) ] ) } }
TXS >>  .....3: Act { { ( Out, [ C_AT_2581(C_AT_2582(C_T_loadType(C_AT_2580(Cstr_T_roomType(C_T_roomType(C_AT_2592(CNil_T_animalType)),Cstr_T_roomType(C_T_roomType(C_AT_2592(Cstr_T_animalType(C_T_animalType(C_AT_2588("",4097152081,4097152081),C_T_sexType("female"),C_T_carnivoreType("no")),CNil_T_animalType))),CNil_T_roomType)))),C_T_maxReproductionAgeType(C_AT_2584(Cstr_T_animal_speciesType(C_T_animal_speciesType(C_AT_2590("",4097152081,4097152081)),Cstr_T_animal_speciesType(C_T_animal_speciesType(C_AT_2590(" 3 ",4097152081,4097152081)),CNil_T_animal_speciesType)))),4097152081)) ] ) } }
TXS >>  stepN - cannot do action
TXS >>  FAIL: Act { { ( Out, [ C_AT_2581(C_AT_2582(C_T_loadType(C_AT_2580(Cstr_T_roomType(C_T_roomType(C_AT_2592(CNil_T_animalType)),Cstr_T_roomType(C_T_roomType(C_AT_2592(Cstr_T_animalType(C_T_animalType(C_AT_2588("",4097152081,4097152081),C_T_sexType("female"),C_T_carnivoreType("no")),CNil_T_animalType))),CNil_T_roomType)))),C_T_maxReproductionAgeType(C_AT_2584(Cstr_T_animal_speciesType(C_T_animal_speciesType(C_AT_2590("",4097152081,4097152081)),Cstr_T_animal_speciesType(C_T_animal_speciesType(C_AT_2590(" 3 ",4097152081,4097152081)),CNil_T_animal_speciesType)))),4097152081)) ] ) } }

This is not a real TorXakis bug, but caused by the limitations of the problem solvers that we use.


🕵 Identify Owners of GitHub Repository Estate

User Need
As a Engineering Leader
I want to identify all GitHub Repositories in my estate
so that I can monitor my GitHub Repository estate effectively
Value
To increase visibility to Engineering Leaders of their GitHub Repository estate.
To increase the visibility of asset owners when they need to be identified (primarily by Operations and Security).
Functional Requirements (What):

[ ] Process can be triggered manually ad-hoc
[ ] Process identifies owners by a GitHub name prefix
[ ] Process identifies owners by Admin access via a GitHub Team
[ ] Process identifies owners by topic

Non-Functional Requirements (How):

[ ] Results are easy to understand

Acceptance Criteria:

[x] Percentage of GitHub Repository estate (roughly) owned by HMPPS
[x] Percentage of GitHub Repository estate (roughly) owned by LAA
[x] Percentage of GitHub Repository estate (roughly) owned by Central Digital
[x] Percentage of GitHub Repository estate (roughly) owned by OPG
[x] Percentage of GitHub Repository estate (roughly) owned by Platforms and Architecture
[x] Percentage of GitHub Repository estate (roughly) unowned
[x] Other teams/business units identified that may be part of the unowned
estate

Notes:

We are currently talking to Engineering Leaders every month to better co-ordinate and apply central and localised standards. As part of this, I agreed to complete an initial poc of gathering estate data based on identification strategies provided by the leads. These strategies mainly included:

Identify by admin access via a GitHub Team (hierarchical)
Identify by prefix
Identify by topic

The exact details of the above strategies, for each "owner" should be discussed with the leads in that particular area. Although this ticket is for an initial run at this, so it doesn't have to be perfect.

🆙 Update

Some numbers from the GitHub Repository Owner work  👀 The data is for Public and Active repositories and the rules being used are on this PR 📏

{
 "totals": {
    "totalRepoCount": 854,
    "hmppsRepoCount": 361,
    "laaRepoCount": 71,
    "opgRepoCount": 62,
    "centralDigitalRepoCount": 59,
    "platformsAndArchitectureRepoCount": 178,
    "unownedRepoCount": 186,
    "totalReposWithFoundOwners": 668,
    "reposWithMultipleOwnersCount": 33
  },
  "percentages": {
    "hmppsRepoCount": "42%",
    "laaRepoCount": "8%",
    "opgRepoCount": "7%",
    "centralDigitalRepoCount": "7%",
    "platformsAndArchitectureRepoCount": "21%",
    "unownedRepoCount": "22%",
    "totalReposWithFoundOwners": "78%",
    "reposWithMultipleOwnersCount": "4%"
  }
}

I've gone through the unowned estate and the repositories are too small in groupings to add any more rules at a high level

👀 Remaining Work

The next step will be to present the findings back to the Leads and get input on the rules. Hopefully, we may get some more input on additional rules to find estate or the Leads instigate some changes to better conform to current rules i.e. adding a Parent Team to their Sub-Teams

📝 Notes

It is worth noting that the current ruleset is loosely based on conversations with Engineering Leads and some of my own assumptions after looking at the data, the rules most likely need more refinement -but will do to spark conversations ⚡

🆙 Update

Added functionality to fetch all parents of a team attached to a repository
Result for search against Public and Active Repositories in the ministryofjustice organisation where

A pre-defined GitHub Team had Direct Administrator Access
OR
A sub-team had Direct Administrator Access:

{
  "totals": {
   "totalRepoCount": 853,
    "hmppsRepoCount": 271,
    "laaRepoCount": 36,
    "opgRepoCount": 59,
    "cicaRepoCount": 1,
    "centralDigitalRepoCount": 32,
    "platformsAndArchitectureRepoCount": 241,
    "unownedRepoCount": 195,
    "totalReposWithFoundOwners": 658,
    "reposWithMultipleOwnersCount": 9
  },
  "percentages": {
    "hmppsRepoCount": "32%",
    "laaRepoCount": "4%",
    "opgRepoCount": "7%",
    "cicaRepoCount": "0%",
    "centralDigitalRepoCount": "4%",
    "platformsAndArchitectureRepoCount": "28%",
    "techServicesRepoCount": "3%",
    "unownedRepoCount": "23%",
    "totalReposWithFoundOwners": "77%",
    "reposWithMultipleOwnersCount": "1%"
  },
}

I then extracted the unknown estate and ran a further fuzzy match on those 195 repositories where

A pre-defined GitHub Team had Direct Access (any level)
OR
A sub-team had Direct Any Direct Access (any level)
OR
Repository name had pre-defined prefix

{
  "totals": {
    "totalRepoCount": 195,
    "hmppsRepoCount": 60,
    "laaRepoCount": 40,
    "opgRepoCount": 1,
    "cicaRepoCount": 3,
    "centralDigitalRepoCount": 1,
    "platformsAndArchitectureRepoCount": 12,
    "unownedRepoCount": 76,
    "totalReposWithFoundOwners": 119,
    "reposWithMultipleOwnersCount": 0
  },
  "percentages": {
    "hmppsRepoCount": "31%",
    "laaRepoCount": "21%",
    "opgRepoCount": "1%",
    "cicaRepoCount": "2%",
    "centralDigitalRepoCount": "1%",
    "platformsAndArchitectureRepoCount": "6%",
    "techServicesRepoCount": "1%",
    "unownedRepoCount": "39%",
    "totalReposWithFoundOwners": "61%",
    "reposWithMultipleOwnersCount": "0%"
  },

}

👀 Remaining Work

No remaining work on this ticket, but the code, rules and results will be discussed with the lead engineers of each area

📝 Notes

P&A has probably the largest repository estate if we include the moj-analytical service organisation
The queries don't include private and internal repositories which may offer additional interesting insights


Subflows packaged as modules are not able to use node.warn()

Current Behavior
If a subflow is packaged as a module using the technique from https://nodered.org/docs/creating-nodes/subflow-modules then using node.warn() in the subflow does not show the messages in the side bar and, in the browser console is the error:
 Uncaught TypeError: Cannot read properties of undefined (reading 'name')
    at <anonymous>:341:118
    at Array.map (<anonymous>)
    at Array.handleDebugMessage (<anonymous>:333:47)
    at i.onmessage (red.min.js?v=5a8f4f4e892d:16:35606)

If node.warn() is used in a Function onStart section then this can have side effects such as disabling all Inject nodes.
Expected Behavior
node.warn() should function as expected
Steps To Reproduce
Install:
npm install colinl/node-red-guaranteed-delivery#0.0.1
instantiate a node and Deploy.
Example flow
No response
Environment

Node-RED version: 3.1.6 and 4.0.0-Beta.1
Node.js version: 20
npm version:
Platform/OS: Ubuntu on laptop
Browser: Edge

See also forum post https://discourse.nodered.org/t/inject-nodes-buttons-disabled-after-deploying-a-node-generated-from-a-subflow/86940/3