[Backport release-22.05] poetry2nix: 1.31.0 -> 1.36.0

Description of changes
Naïve cherry-pick of every change to pkgs/development/tools/poetry2nix currently on master:

Part of #194865
Part of #195213
#195316
Part of #195862
#195449
#198184

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/how-to-speed-up-getting-new-package-versions-to-stable-channel/23118/8

Looks like parts of the tree outside of pkgs/development/tools/poetry2nix would be necessary for this to build. I'll try going slower, splitting this into several PRs.


Draft -Move hive config retrieval to separate goroutine

Which issue this PR addresses:
Improving error handling for ICM341446812
What this PR does / why we need it:
Suggestion to separate concerns and move the retrieval of the hive configuration to a separate go routine. That should make error handling and makes the code easier to understand (as opposed to letting x go routines dealing with amongst each other.
With this approach comes with a rudimentary TTL mechanism
Test plan for issue:
Suggestion only
Is there any documentation that needs to be updated for this PR?
n/a

Is this still something we can act on?

No longer needed after speaking with @UlrichSchlueter. We took a different approach


Wait until PopUpDialog is confirmed?

I have a function that runs when a button is pressed, and this is the last part of it:
                self._scene.add_effect(
                    PopUpDialog(self._screen,
                           "Your username is: {}".format(username),
                           ['ok'],
                           self.nextscene))
                raise` NextScene('MENU2')

The problem I'm having is that the NextScene is raised instantly, which means the PopUp is skipped. What's the best way to get around this?

Look at what the forms sample does for the quit dialog.  In short you need to use an on_close callback to raise the NextScene  instead of doing it as soon as you add the Effect.

I'm assuming that this was enough help.  Now closing.


fix(cli): restore generate command

The commands directory was removed in a previous commit, which means the CLI has not been working for a while.
Error: ENOENT: no such file or directory, scandir '/code/aerogear/graphback/packages/graphback-cli/dist/commands'

This restores the generate command, which is required for generation of client documents.
Verification

Add a .graphqlrc file to your project.

schema: './src/schema.graphql'
documents: './client/src/graphql/**/*.graphql'
extensions:
  graphback:
    model: ./model/datamodel.graphql
    plugins:
      graphback-client:
        # format: 'graphql'
        outputFile: ./client/src/graphql/graphback.graphql

Run yarn graphback generate.
The command should run successfully.

Tasks

[x] Fix issue
[x] Add integration test

Notes
I tried to run the CLI through yarn in the integration tests. This worked fine locally but I had issues with CircleCI, so I changed it to call it with Node.js directly: https://github.com/aerogear/graphback/pull/1693/commits/349272c867f6241808cdfac6e5bf9d4e37eeb38a

Thanks for catching this and for adding related IT tests.
Maybe we should squash when merging?

Yep I usually squash because I like to create lots of commits. Thanks for the review.


Refactor OAM handler and add metadata for new Meshery UI

Description
This PR:

Refactors the OAM handler code to make it more generic
Adds some metadata which is used in the UI (the metadata except the adapter service mesh name is not required for the UI to work properly)

Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@kumarabd does this recent change addresses your comments?

@kumarabd does this recent change addresses your comments?

yes it does, Thank you.

Can we move this PR ahead? Actually it is blocking the EnvoyFilter PR :sweat_smile:


composite UK is failing

When defining a composite unique key, my archive is failing. It seems like this should work, and the expression is valid (verified in a separate SELECT).
I've defined the following unique key in one of my archives:
unique_key: _sdc_source_key__id || '|' || _sdc_level_0_id

I'm getting this error:
(venv)Tristans-MacBook-Pro:analytics tristan$ dbt archive
Traceback (most recent call last):
  File "/Users/tristan/dev/venv/bin/dbt", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/Users/tristan/dev/dbt/scripts/dbt", line 8, in <module>
    dbt.main.main(sys.argv[1:])
  File "/Users/tristan/dev/dbt/dbt/main.py", line 38, in main
    return handle(args)
  File "/Users/tristan/dev/dbt/dbt/main.py", line 52, in handle
    res = run_from_args(parsed)
  File "/Users/tristan/dev/dbt/dbt/main.py", line 85, in run_from_args
    return task.run()
  File "/Users/tristan/dev/dbt/dbt/task/archive.py", line 19, in run
    self.compile()
  File "/Users/tristan/dev/dbt/dbt/task/archive.py", line 15, in compile
    compiled = compiler.compile_archives()
  File "/Users/tristan/dev/dbt/dbt/compilation.py", line 412, in compile_archives
    sql = archive.compile()
  File "/Users/tristan/dev/dbt/dbt/model.py", line 705, in compile
    query = archival.compile()
  File "/Users/tristan/dev/dbt/dbt/archival.py", line 41, in compile
    self.schema.create_table(target_schema, target_table, dest_columns, sort=updated_at, dist=unique_key)
  File "/Users/tristan/dev/dbt/dbt/schema.py", line 257, in create_table
    self.execute_and_handle_permissions(sql, table)
  File "/Users/tristan/dev/dbt/dbt/schema.py", line 159, in execute_and_handle_permissions
    return self.execute(query)
  File "/Users/tristan/dev/dbt/dbt/schema.py", line 137, in execute
    raise e
  File "/Users/tristan/dev/dbt/dbt/schema.py", line 129, in execute
    cursor.execute(sql)
psycopg2.NotSupportedError: column "_sdc_source_key__id || '|' || _sdc_level_0_id" specified as distkey/sortkey is not in the table "mongo.accounts__duplicate_authors"

dbt tries to use the unique_key as the distkey. It also tries to use the updated_at field as the sortkey. This means that using an expression as the unique_key or updated_at definition will break archival. The solution here is to use the dbt_updated_at and scd_id fields directly instead of the expressions which are responsible for generating them

Oh. Yeah. Completely agree.

https://github.com/fishtown-analytics/dbt/pull/324


The content of the contextmenu will be obscured by the canvas and cannot be changed according to the size of the remaining container

Describe the bug / 问题描述
g6版本：5.0.26

Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
macOS
Browser / 浏览器
Chrome
Additional context / 补充说明
No response

这是例子：https://g6.antv.antgroup.com/examples/plugin/contextMenu#basic


Webview local resource loading stalled

VSCode Version: OSS Dev
OS Version: macOS

Steps to Reproduce:

Clone https://github.com/microsoft/notebook-extension-samples
npm install && npm run build (choose the first option if you see prompt for dependencies)
Run OSS with extensions folder set ./scripts/code.sh --extensions-dir ../notebook-extension-samples
Open https://github.com/microsoft/vscode-notebook-testdata/blob/master/nteract/nteract-1-perf-text.test.ipynb
Run the first cell
The output takes seconds to show up

The profiling shows that it stuck at loading the js resources into the webview

It happens only when loading files from local file resource but not through http.

Should be fixed by ec8606cb49ec839ccdf90c278f44c5bfa3567063


add multi-inst in JWT config

Signed-off-by: Naiming Shen<EMAIL_ADDRESS>
added multi-instance to JWT for edgeview configuration
generate the multi-instance number in /run/edgeview/edge-view-config file
add a 'encryption' boolean in JWT

Can you explain what this multi-,instance enables? Does it provide for multiple users using edge-view at the same time or something else?

@eriknordmark yes. it is to provide the multiple users to use edge-view simultaneously on the same EVE device. otherwise the long lasting sessions such as 'ssh' will block all other actions in edge-view in single-mode. The script checks the 'edge-view-config' if sees this multi-inst-number, it will launches multiple copies of the edge-view processes (added inst id parameter to the edge-view). They will all share the same JWT token, but the hash string to dispatcher will have individual instance number included.

Once this edgeviewtype.go changes go in, I'll update the 'edge-view' main PR with the code for multi-inst.

Hey @naiming-zededa @eriknordmark -- sorry to come to this late, but the fact that edge-view tickles something under /run is, again, making it kind of a special container.
I think this needs to be somehow refactored, but at the very minimum we should start documenting all these special cases we're allowing edge-view to have.
Thoughts?

Hi @rvs, yes there is controller configuration to be written in /run/edgeview to allow 'edge-view' to access (that may or may not be in /run, it can be in different places), and there is publication for 'edge-view' status to be uploaded to controller (which the pub/sub needs to use /run for now).
I'll submit a PR for eve/doc/edgeview-container.md to describe the current 'edge-view' container hooks into the EVE pillar facilities. We can refactor later since those are some simple interfacing items.


Questions about Transformer achitecture ?

Thanks for your nice work. I have two questions about Transformer achitecture (or name):
(1) As mentioned  in the paper, your method is based on standard Transformer. My understanding is that your method is just based on standard Transformer encoder without standard Transformer decoder. Is it right ?
(2) In your open source code, the classification network is defined as PointTransformer as follows. In fact, it's different from [T]PointTransformer reported in your paper. Is it right ?
https://github.com/Pang-Yatian/Point-MAE/blob/fd5a476408220b4b31032eee62b5e89d051481a2/models/Point_MAE.py#L421-L424
Looking forward to your reply.

Hi,

Yes.

Sorry for the confusion. Yes, it is just a name. [T]PointTransformer does not use standard Transformer.

Thanks for your reply.


Make certificate path configurable from outside

As an operator I want to add my certificate as a volume into to the broker container to easily update the certificate/to use different certificates for different data spaces or with different DAPS insances.

+1
I would highly appreciate such a feature!
Also it would be greate to make all used URLs (e.g. DAPS) configurable

+1
As a participant of the MDS, we would also highly like that feature. Operations would be easier...

This feature has already been created and has been working on our instances, hence we will provide an updated image this week.

@sebplorenz  We have provided you the image already, it was there from the image version 4.2.7 itself.

@sebplorenz We have provided you the image version. @SebastianOpriel All the image versions from 4.2.8 and so on have the new change.

Hi, @NehaThawani44 can you please point me to the documentation about how to setup the certificate path for version >= 4.2.8.

@sebplorenz You already know its configured already in your docker-compose opt/docker/etc/cert path is where all the certificate files are available.

This directory is empty in my configuration.

Then as mentioned you need to put all the certificates there.


Respect semver

Version 0.3.4 is not compatible with version 0.3.x because the files have shift case.
\compressed\showdown.js ->
\compressed\Showdown.js
http://semver.org/

Note that \compressed\Showdown.js is no longer compressed.

Nice catch. We will add a note to the release referring this.

Wouldn't it be better just not to uppercase them? It broke things on our side as well. Or, release as 0.4.0, as suggested.

@herby The change in case was a mistake (i'm not sure why it happened). The next release will revert back to lowercase. Also, dist files will live in a "dist" directory instead of "compressed".

Thanks.
Estevão Soares dos Santos wrote:

@herby https://github.com/herby The change in case was a mistake
(i'm not sure why it happened). The next release will revert back to
lowercase. Also, dist files will live in a "dist" directory instead of
"compressed".
—
Reply to this email directly or view it on GitHub
https://github.com/showdownjs/showdown/issues/133#issuecomment-70729314.

Hi @tivie, it seems this is still a problem. compressed/Showdown.js is still there.

Sorry for the delayed response (been extra busy at work). Seems this is a problem with SopurceTree on Windows (does not respect the case of the files). I will fix this as soon as possible.

This is indeed weird. As you can see, the files are lowercased in local branch but get uppercase in remote.

Copy the contents, remove the files, create new files with lowercase naming and paste in the contents.
Since windows NTFS filesystem is case insensitive I sometimes has problems with detecting when a file changes name from Showdown to showdown. I'm not sure that what I wrote above will solve this, but I recognised what you describes as something I've run into before. Git should pick up the change.

Yeah, I need a comment without dist files though. Seems git ignores case in windows.

Should be fixed now, in release 0.5.0


Updating from 2.16.6 to 2.17.0 error  - Android mobile

Hello, when video calling, I only have black screen. It's working fine in 2.16.6.. but failing in 2.17.0
com.opentok.android:opentok-android-sdk:2.17.0
Error log below:
# Fatal error in: ../../src/modules/utility/source/helpers_android.cc, line 74
# last system error: 2
# Check failed: !jni->ExceptionCheck()
# Error during FindClass: org/otwebrtc/voiceengine/BuildInfo

06-05 18:54:22.560 28899-28899/com.osample W/System.err:     at com.opentok.android.Utils.init_otc_engine(Native Method)
06-05 18:54:22.560 28899-28899/com.osample W/System.err:     at com.opentok.android.Utils.initOtcEngine(Unknown Source)
06-05 18:54:22.560 28899-28899/com.osample W/System.err:     at com.opentok.android.Session.(Unknown Source)
06-05 18:54:22.560 28899-28899/com.osample W/System.err:     at com.opentok.android.Session.(Unknown Source)
06-05 18:54:22.560 28899-28899/com.osample W/System.err:     at com.opentok.android.Session.(Unknown Source)

hi @marcqtan
Can you try to reproduce with BasicVideoChat from this repo?
Do you have any progruard rule that is removing classes from the final package?

Add this in your proguaurd-rules.pro
#open tok
-keep class org.otwebrtc.** { ; }
-dontwarn com.opentok.
-keep class com.opentok.** { ; }
-keepclassmembers class com.opentok.{ *; }

Closing this. Please reopen if the issue persists


Once changed color, cannot revert to Purple pink

Just noticed that if you click back on the default color, Purple Pink from the setting modal, does not change it.
Probably is missing the reference somewhere in the color list - not sure. Opening this so we can investigate

I noticed this as well sorry for the bug, not sure what is causing it
useEffect(() => {
if (selectedColor) {
document.documentElement.style.backgroundColor = selectedColor.fallback
document.documentElement.style.backgroundImage = selectedColor.gradient
}else {
setSelectedColor(colors[0])
}
}, [selectedColor])
its not null and logs
{name: 'purple-pink', gradient: 'linear-gradient( to right, #000 0%, #44107a 55%, #ff1361 66%, #44107a 76%, #000 100% );', fallback: '#ff1361'}
The only thing I can think is the color is longer than the others and might be in a different format

No worries! :) I can help figure it out, thanks for your hard work!

Looks like @saikoaizen fixed it. All works as expected now.

#100 fixed this as well! :)


support deleteColumn for compactionTask by extending the record reader

Extend the record reader to skip deleted record as well, when compacting segments for upsert table

Codecov Report
Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (59551e4) to head (3f47b59).
Report is 578 commits behind head on master.

Files
Patch %
Lines

...ent/readers/CompactedPinotSegmentRecordReader.java
0.00%
8 Missing :warning:

...che/pinot/plugin/minion/tasks/MinionTaskUtils.java
0.00%
4 Missing :warning:

...t/controller/util/ServerSegmentMetadataReader.java
0.00%
3 Missing :warning:

...upsertcompaction/UpsertCompactionTaskExecutor.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #13342       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2470       +34
  Lines        133233   136009     +2776
  Branches      20636    21105      +469
=============================================
- Hits          82274        0    -82274
- Misses        44911   136009    +91098
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <0.00%> (-61.75%)
:arrow_down:

skip-bytebuffers-true
?

temurin
0.00% <0.00%> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


JOR rec response report: HTML build failure during GitHub action

@womullan I don't know why, but the Makefile is failing at line 8, the tox command. See https://github.com/lsst/rtn-064/actions/runs/8681888403/job/23805306276 for the error message.

ok looking - got an email for it as well

it did not linke a hyoperlink in preops-3525 .. I fixed that and its ok


ROX-12844: Refactor sensor image enrichment with multiple image names

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

Current dependencies on/for this PR:

master

PR #3907   👈

This comment was auto-generated by Graphite.

/retest

/retest-required

/retest

Graphite Merge Job
Current status: 🔄 Waiting for checks to pass
This pull request is currently waiting for CI and mergeability checks to pass before being merged.
This comment was auto-generated by Graphite.

Job Reference: Lqz66Yqufrzx2FHkfF78


Add Margaret Tavares to Contributors list

@MargoTavares, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?


Updates the documentation URL in the README file

Documentation has moved from https://symfony.com/doc/current/components/asset_mapper/introduction.html to https://symfony.com/doc/current/frontend/asset_mapper.html. The current link URL throws a 404.

Unfortunately, this is just a subtree, the issue was fixed upstream in https://github.com/symfony/symfony/pull/51973


Update Ingress status for same set of Ingresses that the controller handles

Addresses #25308
Before, we had two different places where we decided (1) which Ingress resources the controller should process and (2) which Ingress resources the StatusWatcher should update statuses for. However, the controller and status watcher should operate on the same set of Ingresses.
The old StatusWatcher mechanism did not take IngressClass into account at all when deciding whether to update Ingress status so this PR updates it to use the same decision mechanism as the main controller.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@Monkeyanator: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
1622c04cbe5aaf97cc2f0e1ee0c8b12b92148cb7
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


full memory mode support

it would be nice to support RandomX full mode, mainly for testing, but it can be useful for faster hashing in Node.JS when a lot of memory is available.

This is currently not planned, because I am designing the library to be the most performant given the restrictions of the average browser.
Eventually yes, this could become a possibility. If enough people get behind a full speed RandomX implementation, completely implemented using web standards only (no FFI) I will budge.

It is true that browsers won't let you allocate a 2 GB buffer, however you can allocate two 1GB buffers.
Running the following program in latest Chromium raised my RAM usage from 3.3GB to 5.5GB and in latest Firefox raises RAM usage from 2.9GB to 4.9GB. Both browsers run the program without erroring. This isn't even on a high end system. This was just run on my laptop with 6 GB of usable RAM (which is not a lot these days) running Linux Mint.
const GB = 1024 * 1024 * 1024;

class Buff2GB {
    arr1;
    arr2;

    constructor() {
        this.arr1 = new Uint8Array(GB);
        this.arr2 = new Uint8Array(GB);
    }

    read(idx) {
        return idx < GB ? this.arr1[idx] : this.arr2[idx - GB];
    }

    set(idx, val) {
        if (idx < GB) {
            this.arr1[idx] = val;
        } else {
            this.arr2[idx - GB] = val;
        }
    }
}

var mem = new Buff2GB();
for (let i = 0; i < 100000000; i++) {
    const idx = (Math.random() * GB * 2) | 0;
    const val = (Math.random() * 255) | 0;
    mem.set(idx, val);
}

console.log("DONE");

Also I should note thate Node JS does allow you to allocate a 2 GB buffer.


height is calculated in wrong way

height is calculated in wrong way.
How to reproduce:
modify demo app by setting
this.widgetsSize[1] = 10 (in ts code)
dashboardMargin: number = 21 (in ts code)
[size]="[1, 4]" (in html)
Results:
widget height will be calculated wrongly - by adding multiple margin values.
for [size]="[1, 4]" it will give value 103 (10*4+21+21+21)

Hum I don't see anything wrong here. When you tell size = [1,2] you mean you want the height to be 2 block, but at the same time you want a margin between blocks of 21 so the actual height of the widget will be 10*2 + 21 so 41. If I don't add also the margin into the height then all widgets will not be aligned at all.
So for me all good here as it's the behavior I want. But maybe I don't understand correctly @mikofoto ?

@jaumard please take a look on widgets bigger than 3 (height).
Example:
for [size]="[1, 4]" it will give value 103 (104+21+21+21), expected value is 82 (104+21+21)

In fact it's 103 because you want 4 block so there 3 margins to fill, the one between 1-2, the one between 2-3 and the one between 3-4 looks right to me @mikofoto right?

I thought about it little bit more, and you are right. Additional margins are required to align with other widgets.

Yes :) so all good here closing


[git] Git subtree install option

This PR enhances the existing git feature to install git/contrib/subtree by specifying to do so in the options.
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest",
                "system",
                "os-provided"
            ],
            "default": "os-provided",
            "description": "Select or enter a Git version."
        },
        "ppa": {
            "type": "boolean",
            "default": true,
            "description": "Install from PPA if available (only supported for Ubuntu distributions)"
        },
        "installSubtree": {
            "type": "boolean",
            "default": false,
            "description": "Install git/contrib/subtree"
        }
    },

@microsoft-github-policy-service agree

Hi @tsuga 👋
Thank you for taking the time to contribute this PR. Can you help me understand how you utilize git/contrib/subtree and how impactful this change will be for the community?
I understand that the git-subtree command is an alternative to git-submodule for managing project dependencies. However, we'd like more feedback before we add this feature option. Hope that makes sense to you. Thanks!
// cc @bamurtaugh

Hi @samruddhikhandale
There are various pros and cons over subtree vs submodule.
You may find good explanation on the Internet.

This PR enhances the existing git feature to install git/contrib/subtree by specifying to do so in the options.
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest",
                "system",
                "os-provided"
            ],
            "default": "os-provided",
            "description": "Select or enter a Git version."
        },
        "ppa": {
            "type": "boolean",
            "default": true,
            "description": "Install from PPA if available (only supported for Ubuntu distributions)"
        },
        "installSubtree": {
            "type": "boolean",
            "default": false,
            "description": "Install git/contrib/subtree"
        }
    },

@


Fix trailing-commas test

This test file was referencing dangling-commas and dangling-commas-test,
which don't exist.

I think there is still a failing test on master. It looks like some code indentation differences in the touchabale transform.

yeah, the other test is failing because of https://github.com/benjamn/recast/issues/267


Easy Handler manager client connection

This is a feature request for the backend.
Currently it requires a lot of work to connect to a Handler manager client; dial discovery, lookup announcement, get token with the right scope exchanged by an access token, prepare context with that token and dial the manager client.
Imo it should be as easy as the Go MQTT client; only requiring the app ID, access key and handler ID, optionally providing a discovery address and CA path. It should be part of the api package to be reusable by applications. It's basically a wrapper around what we have, although we can consider passing the access key to the Handler as the Handler can exchange it for a token as well.

See https://github.com/TheThingsNetwork/go-app-sdk


Add configurable labels and annotations sections for operator components in helm-charts

Description
In the values.yaml file in the sections of the operator components custom annotations and labels can be added by adding them to the empty array. They should then be visible in the rendered chart. They are simply added to the default labels and annotations.
How can this be tested?
Go into the values.yaml file and add custom labels or annotations, render the helm-chart and check, whether the labels or annotations are there or not.
Checklist

[x] PR is labeled accordingly
[x] I have read and understood the contribution guidelines

you could add helm unit-tests for this 😉


feat(ncu-ci)!: require --certify-safe flag

Or ensure the PR has received at least one approving review since last time it was pushed.

This is currently a bit too restrictive - it should add an exceptions to collaborators otherwise even a collaborator cannot use the label to run the CI wihout an approving review (or after they've pushed a new commit), see https://github.com/nodejs/node/pull/52692

@aduh95 do you intend to make a patch based on what @joyeecheung mentioned? 👀


Fix/merge drafts

Description
See Discord Discussion
There is a wrong behavior in the mergeDrafts function.
The new version builds onto the old behavior (1.5.3 and earlier) and fixes some bugs that were found in that version. It simulates pagination by only counting the newest docs that match the query.

[x] I have read and understand the CONTRIBUTING.md document in this repository

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works
[x] Existing test suite passes locally with my changes
[ ] I have made corresponding changes to the documentation

Superseeded by #1866


Remove the political soapboxing

This is a code repository not a place for your virtue-signaling.
'I could cry at the beauty of my personality, I'm just so beautiful for doing this'

@f1ng3r5 ratio'd on github, impressive 😆


Error launching DBeaver 4.1.3 on Mac 10.12.6.

Installing DBeaver .dmg file on Mac 10.12.6 by launching the .dmg, then dragging DBeaver to Applications, then double clicking DBeaver in applications, I receive an error:
"An error has occurred.  See the log file..."
Log file attached.
1503675685826.txt

You need to install Java 8+ JDK (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html).

D'oh. Fixed.  Thanks :)


Automated year change at footer and done some ui fixes

Resolve conflicts and host your repository and share the link below.

resolved!

host your repository and share the link

https://ahmadsohail404.github.io/Aec-Library-Website/


Can i add more API's to this library?

Hi,
Im learning about python and stock trading, and im using financialmodelingprep as their pricing seems good and they have the API calls that im interested. I came across your project on their website. I notice you only have a few functions in this project. I will be working with more functions on their website (hopefully most of them), i can add more of them to this library if OK.
I am new to GitHub, so i might need some help with how to do pull / commits.

Hello, sorry for the late reply.
I will be soon releasing a new version that contains some fixes so you can go from that for your contribution to the library !

Hi
There is a few query sting segments that need to be added, for example
frequency to make some api work
But I learn a few things looking over your code. Notably custom decorators.
I am just learning Python
On Monday, October 2, 2023, Ikbale Maghraoui @.***>
wrote:

Hello, sorry for the late reply.
I will be soon releasing a new version that contains some fixes so you can
go from that for your contribution to the library !
—
Reply to this email directly, view it on GitHub
https://github.com/ikbale/fmp_python/issues/11#issuecomment-1742806879,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCNPCB4CUHDWC3GABGX4AETX5KM7TANCNFSM6AAAAAA5L2QLZA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Here are some additional components that are needed.

limit
period
symbol
year
page
query
exchange

https://financialmodelingprep.com/api/v3/ratios/AAPL?limit=40
https://financialmodelingprep.com/api/v3/ratios/AAPL?period=quarter
&limit=140
https://financialmodelingprep.com/api/v4/financial-reports-json?symbol=AAPL&
year=2020&period=FY
https://financialmodelingprep.com/api/v4/institutional-ownership/rss_feed?
page=0
https://financialmodelingprep.com/api/v3/search?query=AA&limit=10&
exchange=NASDAQ
There are some additional ones as well for stock screener and feeds.
On Mon, Oct 2, 2023 at 7:32 AM Alex S @.***> wrote:

Hi
There is a few query sting segments that need to be added, for example
frequency to make some api work
But I learn a few things looking over your code. Notably custom
decorators. I am just learning Python
On Monday, October 2, 2023, Ikbale Maghraoui @.***>
wrote:

Hello, sorry for the late reply.
I will be soon releasing a new version that contains some fixes so you
can go from that for your contribution to the library !
—
Reply to this email directly, view it on GitHub
https://github.com/ikbale/fmp_python/issues/11#issuecomment-1742806879,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCNPCB4CUHDWC3GABGX4AETX5KM7TANCNFSM6AAAAAA5L2QLZA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


This is a bug?

    static void Perfomance()
    {
        Paillier algorithm = new PaillierManaged
        {
            Padding = PaillierPaddingMode.BigIntegerPadding,
            KeySize = 512
        };

        var x = algorithm.EncryptData(new BigInteger(0).ToByteArray());
        var y = algorithm.EncryptData(new BigInteger(1).ToByteArray());

        var res = (byte[]) x.Clone();

        for (var i = 0; i < 1000; ++i)
        {
            res = algorithm.Addition(res, y);

            // res size here 128 must be 130
        }

        var z_dec_bytes = algorithm.DecryptData(res);
        var z_dec = new BigInteger(z_dec_bytes);

        Console.WriteLine(z_dec);
    }

What versions are the DLLs you use?

Download today from this.
<IP_ADDRESS>

Yes, looks like a bug. Will look into that.

Are you planning to do more operations? Such as XOR MUL Division and others. And one more question. PailllierExt-Homomorphism.dll has open source ?

Paillier cryptosystem only supports homomorphic addition and multiplication by a plaintext constant.
Here's the source for Homomorphism https://github.com/bazzilic/PaillierExt-Homomorphism

Read this:

https://community.embarcadero.com/blogs/entry/a-math-primer-for-gentrys-fully-homomorphic-encryption-38577
https://crypto.stackexchange.com/tags/paillier/hot

Gentry’s is a different cryptosystem. Paillier supports addition between ciphertexts and multiplication (or division) between a ciphertext and a plaintext integer.

Fixed in the latest commit.

Thanks.

Paillier supports addition between ciphertexts and multiplication

NAND(x, y) = (1 — xy) right?

I have one more question. Why it not work this:
    static void Perfomance()
    {
        Paillier algorithm = new PaillierManaged
        {
            Padding = PaillierPaddingMode.BigIntegerPadding,
            KeySize = 512
        };

        var x = new BigInteger(algorithm.EncryptData(new BigInteger(0).ToByteArray()));
        var y = new BigInteger(algorithm.EncryptData(new BigInteger(1).ToByteArray()));

        var sw = Stopwatch.StartNew();

        for (var i = 0; i < 100; ++i)
        {
            x += y;
        }

        Console.WriteLine(sw.ElapsedMilliseconds);

        var z_dec_bytes = algorithm.DecryptData(x.ToByteArray());
        var z_dec = new BigInteger(z_dec_bytes);

        Console.WriteLine(z_dec);
    }

Why your addition required p_NSquare? How i can take this to another side with Key ??

NAND(x, y) = (1 — xy) right?
Not sure what this is about. What is NAND?

Homomorphic addition of ciphertexts is not done by simply adding them, there is a more complex operation that results in an encrypted sum. Actually, in Paillier, homomorphic addition of ciphertexts A and B is done as A * B mod N_squared, IIRC.
N_squared is part of the public key, so it is safe to share it with any party (at least, from the point of view of confidentiality).
You might want to read wikipedia articles about public key cryptography and Paillier cryptosystem.

Ok, Thanks. So multiplication (a * b) = a adds b-times ?

Not sure what this is about. What is NAND?

https://en.wikipedia.org/wiki/NAND_gate

If you want to multiply a by b, and you want to keep b encrypted (i.e., you do not want to reveal what b is), then you can't achieve this with Paillier. You can try ElGamal (https://github.com/bazzilic/ElGamalExt), which supports multiplication but doesn't support addition, or you can try SEAL (https://www.microsoft.com/en-us/research/project/simple-encrypted-arithmetic-library/), which provides fully homomorphic encryption.
If you are okay to reveal b, then you can either do a + a + ... + a, adding them together b times, ot you can do a "multiply by plaintext constant" trick: https://en.wikipedia.org/wiki/Paillier_cryptosystem#Homomorphic_properties


Bib in the Wrong Event Errors

Server does not like it when there are time rows with a bib number and a split that don't belong together.
split_raw_time_rows
ArgumentError at /api/v1/event_groups/92/submit_raw_time_rows

arguments must include split_id

app/services/args_validator.rb, line 69
   64
   65     def validate_required_params
   66       required.each do |required_arg|
   67         if params[required_arg].nil?
   68           notify_console(args)
>  69           raise ArgumentError, "arguments #{for_klass}must include #{required_arg}"
   70         end
   71       end
   72     end
   73
   74     def validate_required_alternatives

App backtrace

app/services/args_validator.rb:69:in `block in validate_required_params'
app/services/args_validator.rb:66:in `each'
app/services/args_validator.rb:66:in `validate_required_params'
app/services/args_validator.rb:35:in `validate'
app/services/args_validator.rb:8:in `validate'
app/services/find_expected_lap.rb:9:in `initialize'
app/services/find_expected_lap.rb:5:in `new'
app/services/find_expected_lap.rb:5:in `perform'
app/services/enrich_raw_time_row.rb:53:in `expected_lap'
app/services/enrich_raw_time_row.rb:45:in `block in add_lap_to_raw_times'
app/services/enrich_raw_time_row.rb:37:in `each'
app/services/enrich_raw_time_row.rb:37:in `add_lap_to_raw_times'
app/services/enrich_raw_time_row.rb:25:in `perform'
app/services/enrich_raw_time_row.rb:10:in `perform'
app/services/interactors/submit_raw_time_rows.rb:60:in `enrich_raw_time_row'
app/services/interactors/submit_raw_time_rows.rb:31:in `block (2 levels) in perform!'
app/services/interactors/submit_raw_time_rows.rb:29:in `block in perform!'
app/services/interactors/submit_raw_time_rows.rb:28:in `each'
app/services/interactors/submit_raw_time_rows.rb:28:in `perform!'
app/services/interactors/submit_raw_time_rows.rb:8:in `perform!'
app/controllers/api/v1/event_groups_controller.rb:138:in `submit_raw_time_rows'
config/initializers/wrap_parameters.rb:17:in `process_action'

Using the "Pull Times" Button
ArgumentError at /api/v1/event_groups/92/pull_raw_times

time_point is not contained in the provided lap_splits

app/services/split_time_finder.rb, line 72
   67     def scoped_split_times
   68       valid ? split_times.select { |st| st.time_from_start && st.valid_status? } : split_times
   69     end
   70
   71     def validate_setup
>  72       raise ArgumentError, 'time_point is not contained in the provided lap_splits' unless
   73           ordered_time_points.include?(time_point)
   74       raise ArgumentError, 'split_times do not all belong to the same effort' unless
   75           split_times.map(&:effort_id).uniq.size < 2
   76       raise ArgumentError, 'split_times do not relate to the provided effort' if
   77           effort && split_times.any? { |st| st.effort_id != effort.id }

App backtrace

app/services/split_time_finder.rb:72:in `validate_setup'
app/services/split_time_finder.rb:28:in `initialize'
app/services/split_time_finder.rb:6:in `new'
app/services/split_time_finder.rb:6:in `prior'
app/services/find_expected_lap.rb:41:in `previous_value'
app/services/find_expected_lap.rb:35:in `time_fits_missing'
app/services/find_expected_lap.rb:30:in `block in missing_lap'
app/services/find_expected_lap.rb:30:in `find'
app/services/find_expected_lap.rb:30:in `missing_lap'
app/services/find_expected_lap.rb:21:in `perform'
app/services/find_expected_lap.rb:5:in `perform'
app/services/rowify_raw_times.rb:48:in `expected_lap'
app/services/rowify_raw_times.rb:42:in `block in add_lap_to_raw_times'
app/services/rowify_raw_times.rb:34:in `each'
app/services/rowify_raw_times.rb:34:in `add_lap_to_raw_times'
app/services/rowify_raw_times.rb:22:in `build'
app/services/rowify_raw_times.rb:8:in `build'
app/controllers/api/v1/event_groups_controller.rb:82:in `pull_raw_times'
config/initializers/wrap_parameters.rb:17:in `process_action'

Fixed.


Add meta tags

Having proper SEO tags helps in discoverability.
PS: Add OG tags too.

Hello! I can help with this, can you assign it to me? Thanks!

Hey @ikurotime
This has been already fixed. Apologies.


Conda for travis

Update TravisCI config to use conda for setting up test environment and installing dependencies (cuts time from 8+ minutes with pip down to ~2 minutes)

Coverage remained the same at 78.536% when pulling dea25a09b82e9330fe40b147b3bbc9f25ae984ef on conda-for-travis into bf49b25370ecf41543b7e2f4ee563e5f6ce22e89 on master.


Many permissions dialogs appear

On first run, many permissions dialogs appear, asking for access to Contacts, Calendar, Photos libraries, etc.
Perhaps request full disk access first?

Starting with Catalina (macOS 10.15), Apple have made privacy a high priority. So apps can no longer do sneaky things without asking for the users permission first. This is a really good thing for the user.
Newton Commander needs to be adopted to Apple's new privacy model.


Feature request: Add/remove speakers to currently playing music

Is your feature request related to a problem? Please describe.
I have multiple Google Homes (or Nest Audios) in my home and like to listen music from Spotify on multiple devices at the same time. There are multiple ways to achieve this, e.g. by selecting a preconfigured speaker group as the target for Spotify.
The Google Home app however, has a feature where you can dynamically add or remove speakers to the current music output. It appears to be a special API (potentially stream transfer), since the music playback is not interrupted when adding or removing speakers.
The functionality I'm referring to (Google Home Android app) can be seen in the screenshot below.
Describe the solution you'd like
I'd love to see the same API being usable as the Google Home app is using, to create better automations and lovelace interfaces that are able to switch speaker groups more smoothly.
Describe alternatives you've considered
Right now I'm using spotcast to continue playback on a different speaker groups. There are two main issues here:

All speaker groups have to be created before hand, i.e. if all possible speaker combinations should be supported than the user has to create a combination of all speakers before hand.
The playback is interrupted for a few seconds, which leads to a worse experience compared to the Google Home app feature.

Additional context
Screenshot of the feature in the Google Home Android app:

If the google home app has that functionality, I believe this can be implemented within the ha-google-home integration. A bit out of our current scope, but could defs be in a roadmap and @peterjuras if you have an interest and skills you are more than welcome to take a lead on helping to implement it 🚀
I don't think we should be adding API calls into the existing integration, but we have plans to move to something dedicated like googledevices to handle API calls one day. When we do that, we could look closer into implementing dynamic music group support :)

I think this is out of scope for this integration as this is a Google Cast feature and not possible in the local API. 😊
What I mean by Google Cast feature is that, this is controlled by the Google Cast API as far as I understand and should be implemented in the Default cast integration instead of here. We don't expose Media players and don't have any way of connecting to the the API used for that. 😊

Under the eureka_info endpoint i can see that we can extract this information:
"multizone": {
  "audio_output_delay": 0,
  "audio_output_delay_hdmi": 0,
  "audio_output_delay_oem": 0,
  "aux_in_group": "",
  "dynamic_groups": [ ],
  "groups": [ ],
  "multichannel_status": 0
}

It is also possible to set eureka information with this endpoint.
I have not looked further into this matter, but maybe someone really creative and skilled can try to test if it is even possible to do something?

Maybe, @peterjuras has interest at diving deeper to help with that? :)

Sorry for the late reply, I'm kind of short on time right now but I'll try to see whether I can explore this direction.
Since the cast API is involved, it might be interesting to capture the network traffic between the Google Home app and the cast devices. Does anyone know a good guide on how to capture this traffic? I sadly can't root my phone.

Sorry for the late reply, I'm kind of short on time right now but I'll try to see whether I can explore this direction.
Since the cast API is involved, it might be interesting to capture the network traffic between the Google Home app and the cast devices. Does anyone know a good guide on how to capture this traffic? I sadly can't root my phone.

Something like this might work: https://www.telerik.com/blogs/how-to-capture-android-traffic-with-fiddler
It sets up a proxy that you can connect from using your computer, which then intercepts network data.

@Tiebe's answer reminds me of a similar project i was doing some years ago. I used 'charles proxy' to intercept and listen to all the traffic between by phone (iOS) and network. Don't have any guide references, but those should be readily available, if interested to explore


⚠ GitLab Server has degraded performance

In b0b2469, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6810 ms

Resolved: GitLab Server performance has improved in 1468026.


cabal2nix build fails on clean install

Issue description
Brand new installation of nix, unstable channel, cabal2nix which is required to work with any of the Haskell infrastructure, fails to build.
Steps to reproduce
On a fresh installation of nix, run:
nix-env -i cabal2nix

Receive error:
Setup: Encountered missing dependencies:
hpack >=0.29.6

Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.15.0-30-generic, Ubuntu, 18.04.1 LTS (Bionic Beaver)`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.0.4`
 - channels(karl): `"nixpkgs-18.09pre148461.bf1b50cbc8f"`
 - nixpkgs: `/home/karl/.nix-defexpr/channels/nixpkgs`

Seems to have appeared between 2428f5dda13 and bd4ef2def38.

Tried this:
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 9cbec21640b..5c2b8c5b9c6 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1080,12 +1080,12 @@ self: super: {
   haddock-library_1_6_0 = doJailbreak (dontCheck super.haddock-library_1_6_0);

   # The test suite does not know how to find the 'cabal2nix' binary.
-  cabal2nix = overrideCabal super.cabal2nix (drv: {
+  cabal2nix = doJailbreak (overrideCabal super.cabal2nix (drv: {
     preCheck = ''
       export PATH="$PWD/dist/build/cabal2nix:$PATH"
       export HOME="$TMPDIR/home"
     '';
-  });
+  }));

   # Break out of "aeson <1.3, temporary <1.3".
   stack = doJailbreak super.stack;

... but it fails with errors related to the HPack API:
these derivations will be built:
  /nix/store/0k9svc4d8h359pcc7hygalhsfk6b1lwc-cabal2nix-2.10.2.drv
these paths will be fetched (0.50 MiB download, 3.16 MiB unpacked):
  /nix/store/0pakfma4vg6hwk9za1k2gnv2ahsz2cz6-jailbreak-cabal-1.3.3
copying path '/nix/store/0pakfma4vg6hwk9za1k2gnv2ahsz2cz6-jailbreak-cabal-1.3.3' from 'https://cache.nixos.org'...
building '/nix/store/0k9svc4d8h359pcc7hygalhsfk6b1lwc-cabal2nix-2.10.2.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/a0dr5x063v0zm8z0z5fwh8dldg10yl07-ghc-8.4.3.
ignoring (possibly broken) abi-depends field for packages
ignoring (possibly broken) abi-depends field for packages
unpacking sources
unpacking source archive /nix/store/62hrfkr64piwp10q9pzxirvqk6n33v1f-cabal2nix-2.10.2.tar.gz
source root is cabal2nix-2.10.2
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file cabal2nix-2.10.2/test/Main.hs
patching sources
Run jailbreak-cabal to lift version restrictions on build inputs.
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j1 -threaded
[1 of 1] Compiling Main             ( Setup.hs, /build/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/v9lzmarbx4i934fc8vqmbskz1wqy2n0h-cabal2nix-2.10.2 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --docdir=/nix/store/gn4a7waddbakyy83hrrwil2v4ffb46nm-cabal2nix-2.10.2-doc/share/doc/cabal2nix-2.10.2 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j1 --disable-split-objs --enable-library-profiling --profiling-detail=all-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/w8bxy3xrvrd1ci5772y7arkicj0q7x3h-ncurses-6.1/lib --extra-lib-dirs=/nix/store/d60s5bwv6r3hl6w8cg5j7znwaiva43n8-gmp-6.1.2/lib
Using Parsec parser
Configuring cabal2nix-2.10.2...
Dependency Cabal -any: using Cabal-<IP_ADDRESS>
Dependency aeson -any: using aeson-<IP_ADDRESS>
Dependency ansi-wl-pprint -any: using ansi-wl-pprint-<IP_ADDRESS>
Dependency base -any: using base-<IP_ADDRESS>
Dependency bytestring -any: using bytestring-<IP_ADDRESS>
Dependency cabal2nix -any: using cabal2nix-2.10.2
Dependency containers -any: using containers-<IP_ADDRESS>
Dependency deepseq -any: using deepseq-<IP_ADDRESS>
Dependency directory -any: using directory-<IP_ADDRESS>
Dependency distribution-nixpkgs -any: using distribution-nixpkgs-1.1.1
Dependency filepath -any: using filepath-1.4.2
Dependency hackage-db -any: using hackage-db-2.0.1
Dependency hopenssl -any: using hopenssl-2.2.1
Dependency hpack -any: using hpack-0.28.2
Dependency language-nix -any: using language-nix-<IP_ADDRESS>
Dependency lens -any: using lens-4.16.1
Dependency monad-par -any: using monad-par-<IP_ADDRESS>
Dependency monad-par-extras -any: using monad-par-extras-0.3.3
Dependency mtl -any: using mtl-2.2.2
Dependency optparse-applicative -any: using optparse-applicative-<IP_ADDRESS>
Dependency pretty -any: using pretty-<IP_ADDRESS>
Dependency process -any: using process-<IP_ADDRESS>
Dependency split -any: using split-<IP_ADDRESS>
Dependency tasty -any: using tasty-<IP_ADDRESS>
Dependency tasty-golden -any: using tasty-golden-2.3.2
Dependency text -any: using text-<IP_ADDRESS>
Dependency time -any: using time-<IP_ADDRESS>
Dependency transformers -any: using transformers-<IP_ADDRESS>
Dependency yaml -any: using yaml-0.8.32
Source component graph:
    component lib
    component exe:cabal2nix dependency lib
    component exe:hackage2nix dependency lib
    component test:regression-test
        dependency exe:cabal2nix
        dependency lib
Configured component graph:
    component cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
        include base-<IP_ADDRESS>
        include Cabal-<IP_ADDRESS>
        include aeson-<IP_ADDRESS>-IIws8ihD9EF7nr6Y0MCLpZ
        include ansi-wl-pprint-<IP_ADDRESS>-9lwZcOI8TtoRCxh6SNd6f
        include bytestring-<IP_ADDRESS>
        include containers-<IP_ADDRESS>
        include deepseq-<IP_ADDRESS>
        include directory-<IP_ADDRESS>
        include distribution-nixpkgs-1.1.1-4Tb6Kz2ecHME4G5RmhhQOK
        include filepath-1.4.2
        include hackage-db-2.0.1-2sefnhGxmWV2SNyW3vknic
        include hopenssl-2.2.1-9CogpNLpM5QJoE1HD3vh4e
        include hpack-0.28.2-AjDhTA6NZjXCr5jHEtoSsK
        include language-nix-<IP_ADDRESS>-9oZj8zfMg4ZCbO2f0UW13D
        include lens-4.16.1-J6ihaIlXWSj3RLAcDIQWd4
        include optparse-applicative-<IP_ADDRESS>-4Kq2ZRB6YZy1ZfdLBCRukk
        include pretty-<IP_ADDRESS>
        include process-<IP_ADDRESS>
        include split-<IP_ADDRESS>-EmQETEsKhhCBcRcdyKMbme
        include text-<IP_ADDRESS>
        include time-<IP_ADDRESS>
        include transformers-<IP_ADDRESS>
        include yaml-0.8.32-HxBeCF3yXkE2rtsthZuuiA
    component cabal2nix-2.10.2-K0fviUWRtwUK3pXoQ7rq6h-cabal2nix
        include base-<IP_ADDRESS>
        include cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
    component cabal2nix-2.10.2-4H6iTptdCCl7UgOO565KmD-hackage2nix
        include base-<IP_ADDRESS>
        include Cabal-<IP_ADDRESS>
        include aeson-<IP_ADDRESS>-IIws8ihD9EF7nr6Y0MCLpZ
        include bytestring-<IP_ADDRESS>
        include cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
        include containers-<IP_ADDRESS>
        include directory-<IP_ADDRESS>
        include distribution-nixpkgs-1.1.1-4Tb6Kz2ecHME4G5RmhhQOK
        include filepath-1.4.2
        include hopenssl-2.2.1-9CogpNLpM5QJoE1HD3vh4e
        include language-nix-<IP_ADDRESS>-9oZj8zfMg4ZCbO2f0UW13D
        include lens-4.16.1-J6ihaIlXWSj3RLAcDIQWd4
        include monad-par-<IP_ADDRESS>-FtTkkHUbengu55rf4kURf
        include monad-par-extras-0.3.3-8CIKk7B1PpMBfdLzjfBqKU
        include mtl-2.2.2
        include optparse-applicative-<IP_ADDRESS>-4Kq2ZRB6YZy1ZfdLBCRukk
        include pretty-<IP_ADDRESS>
    component cabal2nix-2.10.2-7l2ykdKjNGQ4VxFrFl6frl-regression-test
        include base-<IP_ADDRESS>
        include Cabal-<IP_ADDRESS>
        include cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
        include containers-<IP_ADDRESS>
        include directory-<IP_ADDRESS>
        include filepath-1.4.2
        include language-nix-<IP_ADDRESS>-9oZj8zfMg4ZCbO2f0UW13D
        include lens-4.16.1-J6ihaIlXWSj3RLAcDIQWd4
        include pretty-<IP_ADDRESS>
        include process-<IP_ADDRESS>
        include tasty-<IP_ADDRESS>-7mCPW9Qywum5RVHdzIDw1s
        include tasty-golden-2.3.2-FsU1WjJhx1CD6VzyEdzqGY
Linked component graph:
    unit cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
        include base-<IP_ADDRESS>
        include Cabal-<IP_ADDRESS>
        include aeson-<IP_ADDRESS>-IIws8ihD9EF7nr6Y0MCLpZ
        include ansi-wl-pprint-<IP_ADDRESS>-9lwZcOI8TtoRCxh6SNd6f
        include bytestring-<IP_ADDRESS>
        include containers-<IP_ADDRESS>
        include deepseq-<IP_ADDRESS>
        include directory-<IP_ADDRESS>
        include distribution-nixpkgs-1.1.1-4Tb6Kz2ecHME4G5RmhhQOK
        include filepath-1.4.2
        include hackage-db-2.0.1-2sefnhGxmWV2SNyW3vknic
        include hopenssl-2.2.1-9CogpNLpM5QJoE1HD3vh4e
        include hpack-0.28.2-AjDhTA6NZjXCr5jHEtoSsK
        include language-nix-<IP_ADDRESS>-9oZj8zfMg4ZCbO2f0UW13D
        include lens-4.16.1-J6ihaIlXWSj3RLAcDIQWd4
        include optparse-applicative-<IP_ADDRESS>-4Kq2ZRB6YZy1ZfdLBCRukk
        include pretty-<IP_ADDRESS>
        include process-<IP_ADDRESS>
        include split-<IP_ADDRESS>-EmQETEsKhhCBcRcdyKMbme
        include text-<IP_ADDRESS>
        include time-<IP_ADDRESS>
        include transformers-<IP_ADDRESS>
        include yaml-0.8.32-HxBeCF3yXkE2rtsthZuuiA
        Cabal2nix=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Cabal2nix,Distribution.Nixpkgs.Fetch=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Fetch,Distribution.Nixpkgs.Haskell=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell,Distribution.Nixpkgs.Haskell.BuildInfo=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.BuildInfo,Distribution.Nixpkgs.Haskell.Constraint=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.Constraint,Distribution.Nixpkgs.Haskell.Derivation=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.Derivation,Distribution.Nixpkgs.Haskell.FromCabal=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.FromCabal,Distribution.Nixpkgs.Haskell.FromCabal.Configuration=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.FromCabal.Configuration,Distribution.Nixpkgs.Haskell.FromCabal.Flags=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.FromCabal.Flags,Distribution.Nixpkgs.Haskell.FromCabal.License=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.FromCabal.License,Distribution.Nixpkgs.Haskell.FromCabal.Name=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.FromCabal.Name,Distribution.Nixpkgs.Haskell.FromCabal.Normalize=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.FromCabal.Normalize,Distribution.Nixpkgs.Haskell.FromCabal.PostProcess=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.FromCabal.PostProcess,Distribution.Nixpkgs.Haskell.Hackage=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.Hackage,Distribution.Nixpkgs.Haskell.OrphanInstances=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.OrphanInstances,Distribution.Nixpkgs.Haskell.PackageSourceSpec=cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9:Distribution.Nixpkgs.Haskell.PackageSourceSpec
    unit cabal2nix-2.10.2-K0fviUWRtwUK3pXoQ7rq6h-cabal2nix
        include base-<IP_ADDRESS>
        include cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
    unit cabal2nix-2.10.2-4H6iTptdCCl7UgOO565KmD-hackage2nix
        include base-<IP_ADDRESS>
        include Cabal-<IP_ADDRESS>
        include aeson-<IP_ADDRESS>-IIws8ihD9EF7nr6Y0MCLpZ
        include bytestring-<IP_ADDRESS>
        include cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
        include containers-<IP_ADDRESS>
        include directory-<IP_ADDRESS>
        include distribution-nixpkgs-1.1.1-4Tb6Kz2ecHME4G5RmhhQOK
        include filepath-1.4.2
        include hopenssl-2.2.1-9CogpNLpM5QJoE1HD3vh4e
        include language-nix-<IP_ADDRESS>-9oZj8zfMg4ZCbO2f0UW13D
        include lens-4.16.1-J6ihaIlXWSj3RLAcDIQWd4
        include monad-par-<IP_ADDRESS>-FtTkkHUbengu55rf4kURf
        include monad-par-extras-0.3.3-8CIKk7B1PpMBfdLzjfBqKU
        include mtl-2.2.2
        include optparse-applicative-<IP_ADDRESS>-4Kq2ZRB6YZy1ZfdLBCRukk
        include pretty-<IP_ADDRESS>
    unit cabal2nix-2.10.2-7l2ykdKjNGQ4VxFrFl6frl-regression-test
        include base-<IP_ADDRESS>
        include Cabal-<IP_ADDRESS>
        include cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
        include containers-<IP_ADDRESS>
        include directory-<IP_ADDRESS>
        include filepath-1.4.2
        include language-nix-<IP_ADDRESS>-9oZj8zfMg4ZCbO2f0UW13D
        include lens-4.16.1-J6ihaIlXWSj3RLAcDIQWd4
        include pretty-<IP_ADDRESS>
        include process-<IP_ADDRESS>
        include tasty-<IP_ADDRESS>-7mCPW9Qywum5RVHdzIDw1s
        include tasty-golden-2.3.2-FsU1WjJhx1CD6VzyEdzqGY
Ready component graph:
    definite cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
        depends base-<IP_ADDRESS>
        depends Cabal-<IP_ADDRESS>
        depends aeson-<IP_ADDRESS>-IIws8ihD9EF7nr6Y0MCLpZ
        depends ansi-wl-pprint-<IP_ADDRESS>-9lwZcOI8TtoRCxh6SNd6f
        depends bytestring-<IP_ADDRESS>
        depends containers-<IP_ADDRESS>
        depends deepseq-<IP_ADDRESS>
        depends directory-<IP_ADDRESS>
        depends distribution-nixpkgs-1.1.1-4Tb6Kz2ecHME4G5RmhhQOK
        depends filepath-1.4.2
        depends hackage-db-2.0.1-2sefnhGxmWV2SNyW3vknic
        depends hopenssl-2.2.1-9CogpNLpM5QJoE1HD3vh4e
        depends hpack-0.28.2-AjDhTA6NZjXCr5jHEtoSsK
        depends language-nix-<IP_ADDRESS>-9oZj8zfMg4ZCbO2f0UW13D
        depends lens-4.16.1-J6ihaIlXWSj3RLAcDIQWd4
        depends optparse-applicative-<IP_ADDRESS>-4Kq2ZRB6YZy1ZfdLBCRukk
        depends pretty-<IP_ADDRESS>
        depends process-<IP_ADDRESS>
        depends split-<IP_ADDRESS>-EmQETEsKhhCBcRcdyKMbme
        depends text-<IP_ADDRESS>
        depends time-<IP_ADDRESS>
        depends transformers-<IP_ADDRESS>
        depends yaml-0.8.32-HxBeCF3yXkE2rtsthZuuiA
    definite cabal2nix-2.10.2-K0fviUWRtwUK3pXoQ7rq6h-cabal2nix
        depends base-<IP_ADDRESS>
        depends cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
    definite cabal2nix-2.10.2-7l2ykdKjNGQ4VxFrFl6frl-regression-test
        depends base-<IP_ADDRESS>
        depends Cabal-<IP_ADDRESS>
        depends cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
        depends containers-<IP_ADDRESS>
        depends directory-<IP_ADDRESS>
        depends filepath-1.4.2
        depends language-nix-<IP_ADDRESS>-9oZj8zfMg4ZCbO2f0UW13D
        depends lens-4.16.1-J6ihaIlXWSj3RLAcDIQWd4
        depends pretty-<IP_ADDRESS>
        depends process-<IP_ADDRESS>
        depends tasty-<IP_ADDRESS>-7mCPW9Qywum5RVHdzIDw1s
        depends tasty-golden-2.3.2-FsU1WjJhx1CD6VzyEdzqGY
        depends cabal2nix-2.10.2-K0fviUWRtwUK3pXoQ7rq6h-cabal2nix
    definite cabal2nix-2.10.2-4H6iTptdCCl7UgOO565KmD-hackage2nix
        depends base-<IP_ADDRESS>
        depends Cabal-<IP_ADDRESS>
        depends aeson-<IP_ADDRESS>-IIws8ihD9EF7nr6Y0MCLpZ
        depends bytestring-<IP_ADDRESS>
        depends cabal2nix-2.10.2-E4AFqLm0BpN51LZnKNNKj9
        depends containers-<IP_ADDRESS>
        depends directory-<IP_ADDRESS>
        depends distribution-nixpkgs-1.1.1-4Tb6Kz2ecHME4G5RmhhQOK
        depends filepath-1.4.2
        depends hopenssl-2.2.1-9CogpNLpM5QJoE1HD3vh4e
        depends language-nix-<IP_ADDRESS>-9oZj8zfMg4ZCbO2f0UW13D
        depends lens-4.16.1-J6ihaIlXWSj3RLAcDIQWd4
        depends monad-par-<IP_ADDRESS>-FtTkkHUbengu55rf4kURf
        depends monad-par-extras-0.3.3-8CIKk7B1PpMBfdLzjfBqKU
        depends mtl-2.2.2
        depends optparse-applicative-<IP_ADDRESS>-4Kq2ZRB6YZy1ZfdLBCRukk
        depends pretty-<IP_ADDRESS>
Using Cabal-<IP_ADDRESS> compiled by ghc-8.4
Using compiler: ghc-8.4.3
Using install prefix:
/nix/store/v9lzmarbx4i934fc8vqmbskz1wqy2n0h-cabal2nix-2.10.2
Executables installed in:
/nix/store/v9lzmarbx4i934fc8vqmbskz1wqy2n0h-cabal2nix-2.10.2/bin
Libraries installed in:
/nix/store/v9lzmarbx4i934fc8vqmbskz1wqy2n0h-cabal2nix-2.10.2/lib/ghc-8.4.3/cabal2nix-2.10.2
Dynamic Libraries installed in:
/nix/store/v9lzmarbx4i934fc8vqmbskz1wqy2n0h-cabal2nix-2.10.2/lib/ghc-8.4.3/x86_64-linux-ghc-8.4.3
Private executables installed in:
/nix/store/v9lzmarbx4i934fc8vqmbskz1wqy2n0h-cabal2nix-2.10.2/libexec/x86_64-linux-ghc-8.4.3/cabal2nix-2.10.2
Data files installed in:
/nix/store/v9lzmarbx4i934fc8vqmbskz1wqy2n0h-cabal2nix-2.10.2/share/x86_64-linux-ghc-8.4.3/cabal2nix-2.10.2
Documentation installed in:
/nix/store/gn4a7waddbakyy83hrrwil2v4ffb46nm-cabal2nix-2.10.2-doc/share/doc/cabal2nix-2.10.2
Configuration files installed in:
/nix/store/v9lzmarbx4i934fc8vqmbskz1wqy2n0h-cabal2nix-2.10.2/etc
No alex found
Using ar found on system at:
/nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 7.3.0 given by user at:
/nix/store/jlbpa06dm81jvbb9jklf5dgvxxad6lgd-gcc-wrapper-7.3.0/bin/gcc
Using ghc version 8.4.3 found on system at:
/nix/store/a0dr5x063v0zm8z0z5fwh8dldg10yl07-ghc-8.4.3/bin/ghc
Using ghc-pkg version 8.4.3 found on system at:
/nix/store/a0dr5x063v0zm8z0z5fwh8dldg10yl07-ghc-8.4.3/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.20.0 found on system at:
/nix/store/a0dr5x063v0zm8z0z5fwh8dldg10yl07-ghc-8.4.3/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/a0dr5x063v0zm8z0z5fwh8dldg10yl07-ghc-8.4.3/bin/hpc
Using hsc2hs version 0.68.3 found on system at:
/nix/store/a0dr5x063v0zm8z0z5fwh8dldg10yl07-ghc-8.4.3/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at:
/nix/store/5fdqc2253gi8mf8af5nasq4nqsdclqha-binutils-wrapper-2.30/bin/ld
No lhc found
No lhc-pkg found
No pkg-config found
Using runghc version 8.4.3 found on system at:
/nix/store/a0dr5x063v0zm8z0z5fwh8dldg10yl07-ghc-8.4.3/bin/runghc
Using strip version 2.30 found on system at:
/nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
Using tar found on system at:
/nix/store/jndsxs0zwlr3yajpb4ms2l8gchaa089y-gnutar-1.30/bin/tar
No uhc found
building
Preprocessing library for cabal2nix-2.10.2..
Building library for cabal2nix-2.10.2..
[ 1 of 17] Compiling Distribution.Nixpkgs.Fetch ( src/Distribution/Nixpkgs/Fetch.hs, dist/build/Distribution/Nixpkgs/Fetch.o )

src/Distribution/Nixpkgs/Fetch.hs:134:13: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns not matched: []
    |
134 |         let (l:ls) = reverse (BS.lines buf)
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 2 of 17] Compiling Distribution.Nixpkgs.Haskell.BuildInfo ( src/Distribution/Nixpkgs/Haskell/BuildInfo.hs, dist/build/Distribution/Nixpkgs/Haskell/BuildInfo.o )
[ 3 of 17] Compiling Distribution.Nixpkgs.Haskell.FromCabal.License ( src/Distribution/Nixpkgs/Haskell/FromCabal/License.hs, dist/build/Distribution/Nixpkgs/Haskell/FromCabal/License.o )
[ 4 of 17] Compiling Distribution.Nixpkgs.Haskell.FromCabal.Name ( src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs, dist/build/Distribution/Nixpkgs/Haskell/FromCabal/Name.o )
[ 5 of 17] Compiling Distribution.Nixpkgs.Haskell.Hackage ( src/Distribution/Nixpkgs/Haskell/Hackage.hs, dist/build/Distribution/Nixpkgs/Haskell/Hackage.o )
[ 6 of 17] Compiling Distribution.Nixpkgs.Haskell.OrphanInstances ( src/Distribution/Nixpkgs/Haskell/OrphanInstances.hs, dist/build/Distribution/Nixpkgs/Haskell/OrphanInstances.o )
[ 7 of 17] Compiling Distribution.Nixpkgs.Haskell.FromCabal.Flags ( src/Distribution/Nixpkgs/Haskell/FromCabal/Flags.hs, dist/build/Distribution/Nixpkgs/Haskell/FromCabal/Flags.o )
[ 8 of 17] Compiling Distribution.Nixpkgs.Haskell.Derivation ( src/Distribution/Nixpkgs/Haskell/Derivation.hs, dist/build/Distribution/Nixpkgs/Haskell/Derivation.o )
[ 9 of 17] Compiling Distribution.Nixpkgs.Haskell ( src/Distribution/Nixpkgs/Haskell.hs, dist/build/Distribution/Nixpkgs/Haskell.o )
[10 of 17] Compiling Distribution.Nixpkgs.Haskell.FromCabal.PostProcess ( src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs, dist/build/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.o )
[11 of 17] Compiling Distribution.Nixpkgs.Haskell.FromCabal.Normalize ( src/Distribution/Nixpkgs/Haskell/FromCabal/Normalize.hs, dist/build/Distribution/Nixpkgs/Haskell/FromCabal/Normalize.o )
[12 of 17] Compiling Distribution.Nixpkgs.Haskell.Constraint ( src/Distribution/Nixpkgs/Haskell/Constraint.hs, dist/build/Distribution/Nixpkgs/Haskell/Constraint.o )
[13 of 17] Compiling Distribution.Nixpkgs.Haskell.FromCabal.Configuration ( src/Distribution/Nixpkgs/Haskell/FromCabal/Configuration.hs, dist/build/Distribution/Nixpkgs/Haskell/FromCabal/Configuration.o )
[14 of 17] Compiling Distribution.Nixpkgs.Haskell.FromCabal ( src/Distribution/Nixpkgs/Haskell/FromCabal.hs, dist/build/Distribution/Nixpkgs/Haskell/FromCabal.o )
[15 of 17] Compiling Distribution.Nixpkgs.Haskell.PackageSourceSpec ( src/Distribution/Nixpkgs/Haskell/PackageSourceSpec.hs, dist/build/Distribution/Nixpkgs/Haskell/PackageSourceSpec.o )

src/Distribution/Nixpkgs/Haskell/PackageSourceSpec.hs:207:7: error:
    Not in scope: ‘Hpack.decodeOptionsProgramName’
    Neither ‘Hpack.Config’ nor ‘Hpack.Render’ exports ‘decodeOptionsProgramName’.
    |
207 |       Hpack.decodeOptionsProgramName = Hpack.ProgramName "cabal2nix"
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Distribution/Nixpkgs/Haskell/PackageSourceSpec.hs:207:40: error:
    Not in scope: data constructor ‘Hpack.ProgramName’
    Neither ‘Hpack.Config’ nor ‘Hpack.Render’ exports ‘ProgramName’.
    |
207 |       Hpack.decodeOptionsProgramName = Hpack.ProgramName "cabal2nix"
    |                                        ^^^^^^^^^^^^^^^^^
builder for '/nix/store/0k9svc4d8h359pcc7hygalhsfk6b1lwc-cabal2nix-2.10.2.drv' failed with exit code 1
error: build of '/nix/store/0k9svc4d8h359pcc7hygalhsfk6b1lwc-cabal2nix-2.10.2.drv' failed

Ah, now that I do a bit more searching first, I find that this was fixed over in https://github.com/NixOS/cabal2nix/issues/369 by commit https://github.com/NixOS/nixpkgs/commit/94815133604a0ff3b8831a6322c3b0138c2f0d96.

@jerith666 Thanks for tracking that down.  Any idea how long it will take for that to propogate to the unstable channel?

No, that tends to update in fits and starts in my experience.  But if you have a local checkout of nixpkgs you can just cherry-pick the change (that's what I just did).

Closing this since it was fixed elsewhere.


MQTT server changes

Describe at a high level the solution you're providing
All code is modified to make use of a VerneMQ install for the MQTT broker instead of Watson IoT
Is this a patch, a minor version change, or a major version change
Is this related to an open issue?
Additional context
The Watson IoT service will be going away eventually, so the modifications in this and other repositories reflect a new MQTT broker (VerneMQ) that is deployed alongside the rest of the solution

@upkarlidder any questions or comments?


Allow passing variables when creating a pipeline

@NARKOZ as mentioned in #401, here is a new MR with the updated code. :)
Unfortunately the Gitlab API does not allow an empty variables parameter, so it is necessary to add this if variables.any? check... Maybe you know a better way how to ensure that the variables parameter is only set when at least one variable is passed?

Thank you ❤


Invalid conda channel will block all kernel builds

When a user specifies a conda channel that doesn't exist, apparently all future kernel builds are blocked.
On startup the conda store worker will print this error message:
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker Traceback (most recent call last):
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker   File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/celery/app/trace.py", line 451, in trace_task
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker     R = retval = fun(*args, **kwargs)
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker   File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/celery/app/trace.py", line 734, in __protected_call__
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker     return self.run(*args, **kwargs)
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker   File "/opt/conda-store-server/conda_store_server/worker/tasks.py", line 72, in task_update_conda_channels
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker     channel.update_packages(conda_store.db, subdirs=conda_store.conda_platforms)
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker   File "/opt/conda-store-server/conda_store_server/orm.py", line 288, in update_packages
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker     repodata = download_repodata(self.name, self.last_update, subdirs=subdirs)
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker   File "/opt/conda-store-server/conda_store_server/conda.py", line 149, in download_repodata
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker     response.raise_for_status()
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker   File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker     raise HTTPError(http_error_msg, response=self)
qhub-conda-store-worker-5bcc66c9f7-vj72n conda-store-worker requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://conda.anaconda.org/THE_INVALID_CHANNEL/channeldata.json

This happens with this docker image for the worker: quansight/conda-store-server:v0.4.12
Usually when builds get stuck then it's enough to restart the conda store worker, but in this case this wasn't enough.
It does now build again after manually removing the offending entry from the conda_channels table in the database.

Thanks for reporting this issue @totycro - I think we will need to do some further investigation on our end (we also have other issues like #299 that might be somewhat related)


Clean up Popup and Tool tip help page

Or convert to markdown...?

Cleaned up page... still need to work on it and figure out easiest way for users.


Added IP-cameras support (RTSP protocol), ReadMe fixed.

IP cameras through RTSP protocol support added.

@IRDonch @Wovchena please take a look.

Jenkins: test this please


Display resistances with 1/0 in export table

Ticket: #240
Change-Id: Ib89ae0a55e67faffc2b5df9d75214790dea12237

Can be merged


Forge feature parity

Idea
I see that the mod is not setup with a multi-loader repo, but maintains two separate branches. This is just an inquiry to see if any help is needed for either:

Creating a new branch for 1.19 that uses a multi-loader template, incorporating all features into one releasable codebase
Migrating features into Forge branch

I have a couple mods currently that use multi-loader templates, but most recently, setup with https://github.com/wendall911/ChargedCharms
Looking at the code, I can probably follow the same style, and other than I don't use Window or tabs (unless forced to do so, lol)
Reasoning
Would be good for users of both loaders to get equal benefits out of this. Looking at downloads per release, looks like both could equally benefit from feature parity.
Other Information
Since this wasn't as simple as just providing a PR, and I have no idea what the preferred method of contact is for @Aizistral I figured I'd put this here as a suggestion and see what comes of this. Let me know what you think. I'd be happy to take the conversation out of this issue if you'd like to discuss.

I will try to set up ChargedCharms locally to see whether that multiloader approach would be worth it. In the meantime you can join my Discord server and hang in #no-chat-reports channel, so that I can inquire you directly when necessary: https://discord.gg/fuWK8ns

Closing this since we arrived at the conclusion that multiloader template is not suitable for this project. I've messaged you @wendall911 regarding Forge branch maintenance on Discord, but received no reply, so I suppose that's something I'll have to keep doing myself.


CI build

Thank you for working on this! I was curious if you would be interested into a contribution that implements a CI build the project with GitHub actions.

Well that would be awesome! :)


can not get lock after release.

I write a simple program to test locker. I found locker2 can not get lock after locker1 Unlock.
func main() {
        stopChan1 := make(chan struct{})
        stopChan2 := make(chan struct{})

        etcd.Register()
        s, _ := libkv.NewStore(store.ETCD, []string{"<IP_ADDRESS>:2379"}, nil)
        locker1, _ := s.NewLock("/test", &store.LockOptions{Value: []byte("testvalue"), TTL: 2 * time.Second})
        locker2, _ := s.NewLock("/test", &store.LockOptions{Value: []byte("testvalue2"), TTL: 3 * time.Second})

        fmt.Println("start lock locker1")
        locker1.Lock(stopChan1)
        fmt.Println("get locker1")

        go func() {
                fmt.Println("start lock locker2")
                locker2.Lock(stopChan2)
                fmt.Println("get locker2")

                locker2.Unlock()
                fmt.Println("unlock locker2")
        }()

        time.Sleep(3 * time.Second)
        fmt.Println("start unlock locker1")
        locker1.Unlock()
        fmt.Println("unlock locker1")
        time.Sleep(5 * time.Second)

}

get locker1
start lock locker2
start unlock locker1
unlock locker1

This is fixed in abronan/libkv (I tested with that example)

This should be fixed by #186 which includes a test case for this.


Extension giving sp error for a function call but no info is given about the function

Basic informations

OS: Windows 10
VSCode version: 1.80.0
Extension version: v5.4.0

Further Information

To Reproduce

Clone https://github.com/Phil25/RTD/tree/master
Set up .vscode/settings with the main path set to scripting/rtd.sp
Go to a perk in scripting/rtd/perks that uses a cache function from scripting/rtd/cache.sp (such as firework.sp)
Remove arguments from the function call, save and wait for the language server to update
You will see an error cause there's no arguments provided, but if you were trying to work on this project and you needed to use one of the cache functions, it won't give you the definition, or arguments.

Code to reproduce the behaviour
https://github.com/Phil25/RTD/tree/master
Expected behaviour

Show me the definition and let me Ctrl+click on the function to go to it.
Error messages
none

Also the perk variable doesn't have types either but it's technically available in the perk call function


NXF_CONTAINER_ENTRYPOINT_OVERRIDE defaults to false as of Nextflow v 22.08.0

Hi! I've been trying to get the test run working but kept getting the following error message:
ERROR ~ Error executing process > 'SRAlign:ReadsQC:ReadsMultiQC (ATAC-seq_Celegans_design_reads_-_angry_golick_-_2023-07-21_10-49)'

Caused by:
  Process `SRAlign:ReadsQC:ReadsMultiQC (ATAC-seq_Celegans_design_reads_-_angry_golick_-_2023-07-21_10-49)` terminated with an error exit status (2)

Command executed:

  multiqc             -n ATAC-seq_Celegans_design_reads_-_angry_golick_-_2023-07-21_10-49__mqc-reads             --module fastqc             hmg-3_rep2__fqc_R1_fastqc.zip hmg-3_rep2__fqc_R2_fastqc.zip hmg-3_rep1__fqc_R1_fastqc.zip hmg-3_rep1__fqc_R2_fastqc.zip hmg-3_rep2__fsp_fqc_R1_fastqc.zip hmg-3_rep2__fsp_fqc_R2_fastqc.zip hmg-3_rep1__fsp_fqc_R1_fastqc.zip hmg-3_rep1__fsp_fqc_R2_fastqc.zip

Command exit status:
  2

Command output:
  (empty)

Command error:
  Usage: multiqc [OPTIONS] <analysis directory>

  Error: Invalid value for '-c' / '--config': Path 'eval export PATH="$PATH:/home/raquel/.nextflow/assets/trev-f/SRAlign/bin"; /bin/bash .command.run nxf_trace' does not exist.

  This is MultiQC v1.11

  For more help, run 'multiqc --help' or visit http://multiqc.info

Work dir:
  /home/raquel/test-SRAlign/work/62/c7352db1945be910bbc73c183f237b

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

 -- Check '.nextflow.log' file for details

The docker run -i --cpu-shares 1024 --memory 2048m -e "NXF_DEBUG=${NXF_DEBUG:=0}" -v /home/raquel:/home/raquel -w "$PWD" --name $NXF_BOXID ewels/multiqc:v1.11 /bin/bash -c "eval $(nxf_container_env); /bin/bash /home/raquel/test-SRAlign/work/66/5f440fed6865d7f8b62e201a9be293/.command.run nxf_trace" command in the  .command.run file within the ReadsMultiQC process was being misinterpreted.
Seems like it's because Nextflow>=22.08.0 does not automatically use /bin/bash as the entry point.
https://github.com/nextflow-io/nextflow/discussions/3357
Test run works now if I set export NXF_CONTAINER_ENTRYPOINT_OVERRIDE=true
Might be useful to add that to the documentation install instructions here and on SRAtac repo.

Thanks for raising an issue! I'm happy to add that workaround to the docs. However, I find that workarounds like setting environment variables aren't always a stable solution since they're often forgotten or get buried in .bashrc files. Would you be willing to help me find a better solution? I'm currently running Nextflow 21.04 and am afraid of any potentially breaking changes from upgrading since I use it pretty much daily right now.
It looks like there's another potential workaround in that same issue: https://github.com/nextflow-io/nextflow/discussions/3357#discussioncomment-4078096
Can you try the following for me?

Start a new shell session so that the variable NXF_CONTAINER_ENTRYPOINT_OVERRIDE is no longer set to true (you can verify this with echo $NXF_CONTAINER_ENTRYPOINT_OVERRIDE; this command should not return true in your new session).
Create and enter a new directory for this test.
Inside your new test directory implement the fix from the issue above: create a nextlow.config file that contains the following lines:

docker {
    docker.runOptions = '--entrypoint=""'
}

Run the test including your config to see if this fix worked: nextflow run trev-f/SRAlign -profile test -c nextflow.config

Let me know what the outcome is and we can figure out how to proceed from there.

Thanks for the quick response.
The same error appears when I add the following to the nextflow.config file.
docker {
    docker.runOptions = '--entrypoint=""'
}

However, adding docker.runOptions within the profiles chunk seems to apply the desired modification.
profiles {
    test {
        docker.enabled     = true
        docker.runOptions  = '--entrypoint=""'
        params.maxMemory   = '4.GB'
        params.input       = 'https://github.com/trev-f/SRAlign-test/raw/main/inputs/ATAC-seq_Celegans_design_reads.csv'
        params.genome      = 'testWBcel235'
        params.contaminant = 'testEB1'
    }
}

Maybe adding docker.runOptions  = '--entrypoint=""' to each profile in the pipeline nextflow.config file could be a solution, or somehow applying to all profiles? I'm not sure why your suggestion didn't accomplish that, but I'm fairly new to Nextflow and its hierarchies.

Sorry didn't mean to close the issue!

No worries! And thanks for trying out the fix so quickly.
What if you do
docker {
    runOptions = '--entrypoint=""'
}

in nextflow.config instead.
Also, once we get this figured out would you be interested in adding the fix into this repo and in SRAtac as well? It might be good experience for both of us to contribute to and manage open source projects.

That worked! I will add the fix into both repos soon. Thanks again for the help.

Glad to hear it!
In case you need it, here's the guide for making contributions to public repos. It's what I've followed the couple of times I've made PRs.


[FR]Option to display line numbers added

Options to display line numbers on the left edge of each database row would be helpful.

Hi @kazdonkai , for technical purposes, the plugin already saves the number of the row, so display it should be easy.
I have my doubts about if it's helpful. Could be configurable as metadata column to enable/disable it

Hi, there is a slight difference between what you stated and my idea.
In one of my databases I have about 500 or so files.
I wanted to add sequentially numbered columns to that database, but it was tedious to put the numbers in order, so I thought what could be a better way?
(As I recall, it didn't work properly, but I remember there was one in the previous version.)
With numbered columns, you can sort files into your own unique order by adding branch numbers to certain files. Imagine Zettelkasten.
You can also revert back to the numbered order after sorting by name, etc.
Since you mentioned that there are internal numbers, it would be useful to have the ability to transcribe those numbers to a column at a time.


JSON Dict Comparison Improvement

Consider revisiting stripping dates from data (shodan http data 80_data or 443_data appears to be the biggest offender at the moment). This also affects the 443_hash value.
Other targets for removal:

Anything censys with __encoding in the key - value = DISPLAY_UTF8 or value = DISPLAY_HEX
Shodan - 443_opts_heartbleed - contains date which will change every time
Shodan - _location_latitude, _location_longitude, _location_city - might change too frequently

Censys
Delete:
*__encoding_*

Scrub:
*_banner
    cookies:
        Set-Cookie.*?=(.*?);
        (e.g. sessionid=<base64>; csrftoken=<base64>;

*_http_response_body
    <input.*?(?=token).*?value(.*?)>
    # Or could be double-rex process.
        # One rex to find <input> with 'token' inside it:
            <input[^>]*?(?=token).*?>
        # Then another to scrub the value inside of the result
            s/value=\".*?\"/value=\"\"/g
    ^^^ note that this overly simplified. We should have a better way of scrubbing HTML in general.

Scrub-reliant deletes:
(if any of the related fields get scrubbed in the previous function, delete these fields entirely from the result)
*_banner:
    *banner_hex
    *http_response_headers_Set_Cookie_*

*_http_response_body:
    *_http_response_body_hash
    *_http_response_body_size

Shodan
Delete:
*_asn
*_isp
*_location_*
*_opts_*

Scrub:
*_data

Scrub-reliant deletes:
(if any of the related fields get scrubbed in the previous function, delete these fields entirely from the result)
*_data:
*_hash


Add wrapper function for BERT tokenization

Add function make_bert_tokens to wrap a huggingface PreTrainedTokenizerFast tokenizer and return result as a Pandas DataFrame that includes all data from the tokenizer with character span, and token span columns.

Thanks @frreiss , all feedback sounds good. I didn't put it in the io directory because it is only tokenization, but it makes sense to be there since it's related to the io functionality, so I will move.

@frreiss I believe I made all the updates. Please take another look when you can, thanks!

Thanks @frreiss !


Improvements

Thanks! Merged 2 of the 3 commits initially. cce9143 introduces a build problem on fedora, but will do a form of that


Search routing

Fixed scroll bugs on the search side. Search now corresponds to url route, and updates route accordingly.

Redirects to /search endpoint using corresponding query, offset, and limit specified in url


contextual logging blog post

https://github.com/kubernetes/enhancements/issues/3077: contextual logging

The date and final title still needs to be decided.
Other than that the text is ready for review.

I'm confident that we should actually publish this article under https://k8s.dev/blog/,

It is indeed more targeted towards developers. Does that mean that I should move the post into a different PR? Where?

and then mirror it to https://blog.k8s.io/

Publishing it in both blogs makes sense, too. For example, I was only following the older blog.k8s.io but not k8s.dev/blog.

I would copy the article text into a PR that targets https://github.com/kubernetes/contributor-site
Please be sure to /hold that other PR in light of https://github.com/kubernetes/contributor-site/issues/281
Then reference one PR from the other and we can get them published on the same day. Update this PR with a canonical URL in the front matter, that matches the expected URL of the primary blog once it publishes.
We can help you to get the puzzle pieces lined up.

Let's pick a date first. When do you want the two blog posts to get published?
Is the "contextual-logging" slug and title okay although the post also touches on progress with structured logging and mentions other klog enhancements?
The majority of the enhancements are for contextual logging and it makes for a more unique title compared to, say, "logging enhancements in Kubernetes in 1.24".

@mickeyboxell could you assign a tentative date? That will help @pohly move this work forward.

Is the "contextual-logging" slug and title okay although the post also touches on progress with structured logging and mentions other klog enhancements?

I think this kind of question is best posed on the other PR, so that folks from SIG ContribEx can help answer them. This PR should turn into just mirroring the text of the other PR, perhaps with minor changes.

@sftim Is there an official way for me to assign a date to a blog post other than suggesting an edit to the slug and blog title?

@mickeyboxell to assign a date, add a comment letting the author know what date you've assigned.

@pohly could we plan to have this ship on 25-MAY-2022?

could we plan to have this ship on 25-MAY-2022?

Sure, works for me.

I have copied the post into https://github.com/kubernetes/contributor-site/pull/304 with the 2022-05-25 date and also updated it here.

@divya-mohan0209: let me take your suggestions over to https://github.com/kubernetes/contributor-site/pull/304 and continue the discussion there. Otherwise I'll end up making changes to the same text in two different PRs :cry:

/hold
Let's finalize https://github.com/kubernetes/contributor-site/pull/304 first, then I'll update here.

@sftim, @mickeyboxell:  this needs to be merged by tomorrow to meet the publishing date.
I'll unhold https://github.com/kubernetes/contributor-site/pull/304 tomorrow, so that blog post should go out on time.
/hold cancel


Check all session and cursor aliases

Include additional try except to catch IndexErrors for nodes which do not have parents because they are not executing sql queries.
this py-find-injection will check all functions with the format *.execute because session.execute and cursor.execute may not be the only names used - in the case that the code uses aliases.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Evell Lam seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Round floats for hashing in instrument module, use slots

No __slots__ for CameraGeometry as it is incompatible with using lazyproperty.

Sorry, had to fix an issue with the docs build.


Listbox None select

Sometimes Listbox just fires select_bind with None.
Change it so when selected/activated is about to return None: stop firing.

If Listbox is selectmode='multiple' it needs to know if None is selected.
This needs a smarter selection. The exact cause of this issue must be fixed.

Fixed by #55

Still problem


feat(githubactions): dependabot to use custom labels

Description
Adds custom labels for dependabot to use when opening chore PRs, as documented in https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#labels .
Normally it adds the dependencies and go labels. The hint/dependencies and area/go are added.
Type of change

Maintenance work (repository related, like Github actions, or revving the Go version, etc.)

Additional notes

[!WARNING]
I'm not entirely sure if the new labels will replace the old ones or be added on top.

/merge

/build

/merge


Allow custom app_offline.htm in web app deployment task

From looking at the code it appears that the app_offline.htm file is generated from a hard-coded string.
It would be nice if there was a way to specify a custom app_offline.htm file path and/or content as a parameter to the task to allow for a nicer UX to any user that is served the offline page as a deployment is being performed.

@martincostello had the same problem.
I did some work on my own Build Tasks. If you want please have a look here: vsts-dnx-tasks
You can either use the default App_Offline.htm which looks like other Azure status sites or you can provide a custom page.
I would appreciate some feedback
Greetings, KirK

We have added this to our backlog. However it will be 2-3 sprints before we can get to it.
As we are tracking this on our backlog, closing the issue
Thanks,
Roopesh Nair

Hi,
@RoopeshNair Would it be helpful to submit a pull request for this?
I am working on something similar and it would be me an honor to be able to contribute something.
Greetings,
KirK

@RoopeshNair Did this ever make it into a sprint? I've been looking for a solution but I'm unable to find one, and it's something that would be really useful.

@johnkrussell, not yet. We are working on few high priority items that are impacting large number of customers. It will be a while before we can get to it.
We do encourage contributions, if you are open to it, please submit a PR 👍

What's the status on this, has it been implemented yet?

Hi, I lost this a bit out of scope but @StephanBis reminded me to get my PR ready. I will try to get this as a first draft in the next few days and come back here.

Any news on this issue?

Any news on this?

Any news on this?

It's been 5 years now since it was put on the backlog, any news on this?

Took me a couple days, but I figured out how to do this fairly simply: https://stackoverflow.com/a/77964681/2999220
Adding app_offline.htm works to provide a custom page while publishing... but in my experience doesn't get deleted. I adapted the PublishWebPackage.ps1 script by kirkone linked in the first comment to be able to delete it afterwards - PS modules used to get the website details (Get-AzureWebsite) don't work anymore, they have been superseded by Get-AzWebApp which doesn't provide the same details.
(@DennisJansenDev 7 years now...)


gpu_openmp.py shows Unsupported optimization options: [blockinner]

Hi, I am a new devito user and just trying the pbs_nn1.gen.sh in devito/benchmarks/user. I am also looking for some benchmarks to run for the GPU, and it seems that the benchmarks are not set up for GPU OpenMP offload, the gpu_openmp.py shows that the 'blockinner' optimization is not supported. I just want to find out if it is my configuration, or it is because the benchmarks are not supported yet for GPU. Thanks in advance.
  File "/home/devito/devito/devito/core/gpu_openmp.py", line 268, in _normalize_kwargs
    raise InvalidOperator("Unsupported optimization options: [%s]"
devito.exceptions.InvalidOperator: Unsupported optimization options: [blockinner]

I tried the CPU test and it appears to be working. I include the files:
output-cpu-devito-bench-pbs_nn1.gen.txt
GPU test output showing the Unsupported optimization message:
output-gpu-devito-bench-pbs_nn1.gen.txt
Modified benchmark script:
pbs_nn1.gen.sh.txt

loop blocking, and therefore all of the blocking related options, isn't applied when on GPU platforms. See here
So the output is as expected, though those pragma warnings suggest there's something off with your offloading compiler
Any other question about benchmarking (on CPUs or GPUs), I suggest we discuss it interactively on slack: https://opesci-slackin.now.sh/ . Alternatively, you may open another issue specifically about benchmarking.  I'm closing this one because I think the original question has been answered


Edited FAQ

Description

Related Issue

Changes Made

Screenshots

Checklist

[ ] I have tagged the issue in this PR.
[ ] I have attached necessary screenshots.
[ ] I have provided a short description of the PR.
[ ] I ran yarn build and build is successful
[ ] My code follows the style guidelines of this project.
[ ] I have added necessary documentation (if applicable)

Reviewed and approved by myself


Add support for setting LocationContext and EnsembleContext via SetContextStateOperation

This fixes SetContextStateOperations regarding LocationContext and EnsembleContext not getting registered previously, now allowing the operation to be executed successfully.
However, I still encounter an issue: Instead of updating an existing Context, a new Context with a different handle is added.
This can conflict with the SDC standard, e.g. since only one LocationContextState is allowed.

This can conflict with the SDC standard, e.g. since only one LocationContextState is allowed.

This is not really true, at least this broadly. Only one context state per context descriptor is allowed to be associated, but it's perfectly fine to have hundreds of unused context states. The purpose would be questionable though.
Looking at the code, I think sdc11073 does handle this correctly. If you send a context state with a state handle already present in the mdib, said state will be updated. If the new states handle is equal to the descriptor handle, a new state is created and all previous states will be disassociated. Are you sure you're setting the correct state handle in the request?

Thanks for the clarification!
I was not aware of the association mechanism in the state (ContextAssociation being equal to "Assoc" resp. "Dis") and confused by multiple context states having the same descriptor handle.
Is there a convenient way to get the handle of the currently "active" state?
My approach would be to call sdc11073.sdcclient.hostedservice.ContextServiceClient.getContextStatesNode() and look for the matching context state.

You could do that, but it is much easier to use the client side mdib:
locations = client_mdib.contextStates.NODETYPE.get(namespaces.domTag('LocationContextState'))
Then search in locations for whatever you need.

Thank you, works perfectly!

I think as a default it should not be possible to set the location and ensemble context of a "minimal" device from remote. This is something that is usually configured on the device itself.
Please keep MinimalProduct as it was, and add another class, e.g. "ExtendedProduct".
The constructor of sdc device allows you to provide your own role provider, this gives you a lot of flexibility.