Domain auth

The purpose of this pull request is to add support for domain scoped authentication to the openstack observer. The overall goal is to allow the observer to take full advantage of the security and isolation provided by keystone domains.
Due to ansible's lack of native support for keystone v3 auth api, we cannot use ansible's modules to talk directly to the a v3 auth endpoint. To get around this limitation, I've take the following approach:

Add a @property called 'auth_url_v3' to xos.core.models.Controller. This field is a simple translation on the existing 'auth_url' field which transforms a v2 auth_url to a v3 auth_url.

Create a script that uses curl to fetch a token from a v3 keystone auth endpoint using domain + project (tenant) scoped auth:

xos/openstack/get_token.sh

The script expects environment variables for username, password, tenant domain and auth endpoint.
ENDPOINT=http://ctl:5000/v3/ \
USERNAME=admin \
PASSWORD=secret \
TENANT=admin \
DOMAIN=default \
get_token.sh

Modify python sync steps to pass the controller's 'auth_url_v3' and 'domain' fields as variables into the associated ansible template.

Add a prerequisite task to the ansible template which executes the 'get_token.sh' script to fetch a token from a v3 auth endpoint and store there result in a variable. Modify the remaining openstack tasks in the template authenticate against ansible supported v2 api using the retrieved token instead of password auth.

The changes proposed in this pull request are not backwards compatible with openstack backends that do not support the v3 auth api. In other words, this code will not work if you are using a version of keystone that does not support the v3 auth api.

Hello Tony,
Does xos work with a OpenStack backend that requires a OS_CACERT for HTTPS Authentication?
Marc
Sent from Outlook
On Mon, Sep 14, 2015 at 12:37 PM -0700, "tmack-pl"<EMAIL_ADDRESS>wrote:
The purpose of this pull request is to add support for domain scoped authentication to the openstack observer. The overall goal is to allow the observer to take full advantage of the security and isolation provided by keystone domains.
Due to ansible's lack of native support for keystone v3 auth api, we cannot use ansible's modules to talk directly to the a v3 auth endpoint. To get around this limitation, I've take the following approach:
Add a @property called 'auth_url_v3' to xos.core.models.Controller. This field is a simple translation on the existing 'auth_url' field which transforms a v2 auth_url to a v3 auth_url.
Create a script that uses curl to fetch a token from a v3 keystone auth endpoint using domain + project (tenant) scoped auth:
xos/openstack/get_token.sh
The script expects environment variables for username, password, tenant domain and auth endpoint.
ENDPOINT=http://ctl:5000/v3/
USERNAME=admin
PASSWORD=secret
TENANT=admin
DOMAIN=default
get_token.sh
Modify python sync steps to pass the controller's 'auth_url_v3' and 'domain' fields as variables into the associated ansible template.
Add a prerequisite task to the ansible template which executes the 'get_token.sh' script to fetch a token from a v3 auth endpoint and store there result in a variable. Modify the remaining openstack tasks in the template authenticate against ansible supported v2 api using the retrieved token instead of password auth.
The changes proposed in this pull request are not backwards compatible with openstack backends that do not support the v3 auth api. In other words, this code will not work if you are using a version of keystone that does not support the v3 auth api.
You can view, comment on, or merge this pull request online at:
https://github.com/open-cloud/xos/pull/108
Commit Summary
added 'auth_url_v3' property to Controller
initial checkin
fix auth
observer steps get v3 token using domain auth and use token at v2 api endpoints
rename
Merge remote-tracking branch 'origin/master' into domain_auth
File Changes
M
xos/core/models/site.py
(7)

A
xos/openstack/get_token.sh
(23)

M
xos/openstack_observer/steps/sync_controller_images.py
(2)

M
xos/openstack_observer/steps/sync_controller_images.yaml
(7)

M
xos/openstack_observer/steps/sync_controller_networks.py
(2)

M
xos/openstack_observer/steps/sync_controller_networks.yaml
(15)

M
xos/openstack_observer/steps/sync_controller_site_privileges.py
(12)

M
xos/openstack_observer/steps/sync_controller_sites.py
(4)

M
xos/openstack_observer/steps/sync_controller_slice_privileges.py
(12)

M
xos/openstack_observer/steps/sync_controller_slices.py
(2)

M
xos/openstack_observer/steps/sync_controller_slices.yaml
(8)

M
xos/openstack_observer/steps/sync_controller_users.py
(2)

M
xos/openstack_observer/steps/sync_controller_users.yaml
(11)

M
xos/openstack_observer/steps/sync_instances.py
(2)

M
xos/openstack_observer/steps/sync_instances.yaml
(7)

Patch Links:
https://github.com/open-cloud/xos/pull/108.patch
https://github.com/open-cloud/xos/pull/108.diff
—
Reply to this email directly or view it on GitHub.

Hi Marc,
All communication between xos and openstack is over https and I believe the native client libraries handle the ca_cert requirements if it is not explicitly specified.
Tony
----- Original Message -----
From: "Marc Fiuczynski"<EMAIL_ADDRESS>To: "open-cloud/xos"<EMAIL_ADDRESS>Cc: "tmack-pl"<EMAIL_ADDRESS>Sent: Monday, September 21, 2015 8:13:31 PM
Subject: Re: [xos] Domain auth (#108)
Hello Tony,
Does xos work with a OpenStack backend that requires a OS_CACERT for HTTPS Authentication?
Marc
Sent from Outlook
On Mon, Sep 14, 2015 at 12:37 PM -0700, "tmack-pl"<EMAIL_ADDRESS>wrote:
The purpose of this pull request is to add support for domain scoped authentication to the openstack observer. The overall goal is to allow the observer to take full advantage of the security and isolation provided by keystone domains.
Due to ansible's lack of native support for keystone v3 auth api, we cannot use ansible's modules to talk directly to the a v3 auth endpoint. To get around this limitation, I've take the following approach:
Add a @property called 'auth_url_v3' to xos.core.models.Controller. This field is a simple translation on the existing 'auth_url' field which transforms a v2 auth_url to a v3 auth_url.
Create a script that uses curl to fetch a token from a v3 keystone auth endpoint using domain + project (tenant) scoped auth:
xos/openstack/get_token.sh
The script expects environment variables for username, password, tenant domain and auth endpoint.
ENDPOINT=http://ctl:5000/v3/ \
USERNAME=admin \
PASSWORD=secret \
TENANT=admin \
DOMAIN=default \
get_token.sh
Modify python sync steps to pass the controller's 'auth_url_v3' and 'domain' fields as variables into the associated ansible template.
Add a prerequisite task to the ansible template which executes the 'get_token.sh' script to fetch a token from a v3 auth endpoint and store there result in a variable. Modify the remaining openstack tasks in the template authenticate against ansible supported v2 api using the retrieved token instead of password auth.
The changes proposed in this pull request are not backwards compatible with openstack backends that do not support the v3 auth api. In other words, this code will not work if you are using a version of keystone that does not support the v3 auth api.
You can view, comment on, or merge this pull request online at:
https://github.com/open-cloud/xos/pull/108
Commit Summary
added 'auth_url_v3' property to Controller
initial checkin
fix auth
observer steps get v3 token using domain auth and use token at v2 api endpoints
rename
Merge remote-tracking branch 'origin/master' into domain_auth
File Changes
M
xos/core/models/site.py
(7)
A
xos/openstack/get_token.sh
(23)
M
xos/openstack_observer/steps/sync_controller_images.py
(2)
M
xos/openstack_observer/steps/sync_controller_images.yaml
(7)
M
xos/openstack_observer/steps/sync_controller_networks.py
(2)
M
xos/openstack_observer/steps/sync_controller_networks.yaml
(15)
M
xos/openstack_observer/steps/sync_controller_site_privileges.py
(12)
M
xos/openstack_observer/steps/sync_controller_sites.py
(4)
M
xos/openstack_observer/steps/sync_controller_slice_privileges.py
(12)
M
xos/openstack_observer/steps/sync_controller_slices.py
(2)
M
xos/openstack_observer/steps/sync_controller_slices.yaml
(8)
M
xos/openstack_observer/steps/sync_controller_users.py
(2)
M
xos/openstack_observer/steps/sync_controller_users.yaml
(11)
M
xos/openstack_observer/steps/sync_instances.py
(2)
M
xos/openstack_observer/steps/sync_instances.yaml
(7)
Patch Links:
https://github.com/open-cloud/xos/pull/108.patch
https://github.com/open-cloud/xos/pull/108.diff
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub .


Go 1.13+ support

Trying to build locally w/ Go 1.14 fails.
Perhaps its worth moving the build process into the Dockerfile using multi stage builds? That way we can pin to a supported go version.
❯❯❯ make build
rm -rf build release dist
CGO_ENABLED=0 GO111MODULE=on go build -ldflags " -X github.com/jenkins-x-labs/gsm-controller/pkg/version.Version=0.0.40-dev+6e5d7f5 -X github.com/jenkins-x-labs/gsm-controller/pkg/version.Revision='6e5d7f5' -X github.com/jenkins-x-labs/gsm-controller/pkg/version.Branch='master' -X github.com/jenkins-x-labs/gsm-controller/pkg/version.BuildDate='20200311-09:13:12' -X github.com/jenkins-x-labs/gsm-controller/pkg/version.GoVersion='1.14' " -o build/gsm-controller cmd/main.go
go<EMAIL_ADDRESS>requires
<EMAIL_ADDRESS>requires
<EMAIL_ADDRESS>invalid pseudo-version: malformed time "00000000000000"
make: *** [Makefile:83: build] Error 1

Existing issue where<EMAIL_ADDRESS>invalid pseudo-version: malformed time "00000000000000" was seen: https://github.com/jenkins-x/jx/pull/6506#issuecomment-574127454

1.13 doesn't work either, i did manage to get it compiling using 1.12
FROM golang:1.12 AS builder
WORKDIR /project
COPY . /project
RUN make linux

FROM gcr.io/distroless/base
COPY --from=builder /project/build/linux/gsm-controller /gsm-controller
ENTRYPOINT ["/gsm-controller"]

Works fine now with Go 1.14


⚠ Bofrost.lu has degraded performance

In 0cf779d, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1273 ms

Resolved: Bofrost.lu performance has improved in eb46e13 after 6 minutes.


Fix creation time with keys with a parent but no seed + fix of constructor for DeterministicKeyChain

Adding the Creation Date to every key
Currently bitcoinj works with having the root key storing the creation time. I would think we can do the same. The root key in this case is the parent key listed above which is the coin type level key.
Why do you need to record the creation time on every key?

@HashEngineering i was confused by your comment but then i understood that we looked at two different parts of the code.
I was using the library by calling
        val accountLevelKey = HDKeyDerivation.deriveChildKey(coinTypeKey,
                ChildNumber(accountIndex, true), creationTimeSeconds)
        val walletAccount = Wallet.fromSpendingKey(Constants.NETWORK_PARAMETERS, accountLevelKey)

So i switched to
        val walletAccount = Wallet.fromMasterKey(Constants.NETWORK_PARAMETERS, coinTypeKey, accountIndex)

As we discussed earlier. There were still a few things broken which i fixed in https://github.com/HashEngineering/bitcoinj/pull/3


Animated textures demo does not work on Firefox

Description
On Firefox the new Animated textures demos do not work. This happens both on Firefox on macOS (version 109.0.1). On Android (Firefox 109.1.1) the same happens. On Chrome 109 on macOS the demos do work.

Console messages:

Live Demo

https://modelviewer.dev/examples/scenegraph/#animatedTexturesExample

Version

model-viewer: v3.0.0

Browser Affected

[ ] Chrome, version: xx.x.xxxx.xx
[ ] Edge
[x] Firefox
[ ] IE
[ ] Safari

OS

[x] Android
[ ] iOS
[ ] Linux
[x] MacOS
[ ] Windows

AR

[x] WebXR
[x] SceneViewer
[x] QuickLook

Thanks, I can repro. Looks like just an error in the example rather than in MV.

There also seems to be an issue on Safari just with Lottie - likely a problem with import maps.

Fixed by #4104


Fix deprecations for Symfony 6.3

Closes #133

@frankdejonge hello, can you have a look please?

Will check this out today 👌 out for lunch now but next baby sleep time, I’m on it
On Fri, 8 Dec 2023, at 9:44 AM, Simon Podlipsky wrote:

@frankdejonge https://github.com/frankdejonge hello, can you have a look please?
—
Reply to this email directly, view it on GitHub https://github.com/thephpleague/tactician-bundle/pull/134#issuecomment-1846779127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAECRJNTVPHPCBHOWYBRVJTYILHONAVCNFSM6AAAAAA2UTYSRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBWG43TSMJSG4.
You are receiving this because you were mentioned.Message ID: @.***>

Thank you!


typo: define the value of variable a to 100

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@eliberator Thank you for your contributions! Congratulations on your first contribution to this repository.


Tests pass label-studio-sdk==0.0.17 but not with label-studio-sdk==0.0.18

Summary
Currently tests passwith label-studio-sdk==0.0.17 but not with label-studio-sdk==0.0.18. The goal of this issue is to figure out why and implement a fix.
Steps to reproduce
Run PYTHONPATH=. pytest test_unstructured/staging/test_label_studio.py. This will result in the following error message.
self = <vcr.patch.VCRRequestsHTTPConnectiontest_unstructured/vcr_fixtures/cassettes/label_studio_upload.yaml object at 0x1066f7160>
_ = False, kwargs = {'buffering': True}

    def getresponse(self, _=False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self._vcr_request):
            log.info("Playing response for {} from cassette".format(self._vcr_request))
            response = self.cassette.play_response(self._vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self._vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette, failed_request=self._vcr_request
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('test_unstructured/vcr_fixtures/cassettes/label_studio_upload.yaml') in your current record mode (<RecordMode.ONCE: 'once'>).
E               No match for the request (<Request (GET) http://localhost:8080/api/projects/95>) was found.
E               Found 1 similar requests with 0 different matcher(s) :
E
E               1 - (<Request (GET) http://localhost:8080/api/projects/95>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path', 'query']
E               Matchers failed :

../../.pyenv/versions/unstructured/lib/python3.8/site-packages/vcr/stubs/__init__.py:231: CannotOverwriteExistingCassetteException
-------------------------------------------- Captured log call --------------------------------------------
DEBUG    urllib3.util.retry:retry.py:351 Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None)
DEBUG    urllib3.util.retry:retry.py:351 Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None)
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:8080
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:8080 "GET /health HTTP/1.1" 200 None
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:8080 "GET /api/projects?page_size=10000000 HTTP/1.1" 200 None
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:8080 "GET /api/projects/95 HTTP/1.1" 200 None
========================================= short test summary info =========================================
FAILED test_unstructured/staging/test_label_studio.py::test_upload_label_studio_data_with_sdk - vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('test_unstruct...
====================================== 1 failed, 17 passed in 0.27s =======================================

References

https://github.com/kevin1024/vcrpy/issues/533

Per the PR https://github.com/Unstructured-IO/unstructured/pull/21, there are instructions in the test  test_upload_label_studio_data_with_sdk to regenerate the vcr fixtures.

I am asking for the login credentials of label-studio as it is mentioned in testing instructions in test_label_studio.py to login with label-studio(Run command label-studio, and login or set up label studio account on pop-up website). I tried with dummy login but it didn't work.

On running the pytest command I am getting this error:

I am sharing the video. The error mentioned in the ticket is getting resolved when I manually delete the label_studio_upload.yaml file. But after that I get the unuthorized url error which is due to unauthorized token. Please take a look at this.
https://www.loom.com/share/15a983efdd1443eaa1e731a5d3cac7b9


⚠ Samsung has degraded performance

In c2e49a1, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2327 ms

Resolved: Samsung performance has improved in 2bd3f55.


#541 Check for refresh cookie when JWT_AUTH_HTTPONLY is True

This conditionally checks cookies for the refresh token to blacklist when black list is enabled and JWT_AUTH_HTTPONLY is true, in order to address errors when attempting to use the /auth/logout endpoint when both are enabled.
This addresses #541

Hmm :thinking: - failing check doesn't seem to have to do with this change.. looks like the upstream, looking at it.

Nope that was me :facepalm:  - should be passing now.


Can't get beanstalkd

Tried a couple of times. Also my laradock version is sync with the master branch.
Anybody faced this problem?

Kindly re-create this issue using the format in the issue template and indicate how it is an issue with Caddy.
Thanks.

Sorry, I've posted to the wrong repo


Use HAProxy 1.8.5

#647

Personally, I wouldnt use Haproxy 1.8.3 as it has some problems with Firefox using alpn h2. The newer version will have the issue fixed.

Codecov Report

Merging #806 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #806   +/-   ##
======================================
  Coverage    8.03%   8.03%
======================================
  Files          50      50
  Lines        7728    7728
======================================
  Hits          621     621
  Misses       6981    6981
  Partials      126     126

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c39e9e...a9643a3. Read the comment docs.

Is there a milestone for this PR? It would be great to have it merged :)

@shaneog, All our e2e test are passing. We want to get this and #954 done (which needs this one). There are no known blockers. So, I am hopeful that we get there soon.


Release Plan - add documentation with visuals, user roles, and expectations.

Requirement:  Documentation in engineering hub with a step-by-step tutorial with screenshots of each of the release plan pages so that service partners can view before and see the steps before creating a release plan to use to complete work for publishing new API versions and releasing new SDK versions.
Topics to be covered in new docs page:

How to create a release plan
What information will be requested the release plan created?
What are the steps in a release plan?
-Release Plan steps and user personas (PM vs Engineer)

Additional Info:  There were many questions from service partners when we first launched the onboard feature in the release planner. I updated the wiki for the launch criteria in the old docs with screenshots. This approach worked very well, and the number of questions and time spent helping teams onboard decreased significantly.  I suggested moving the screenshots to the new wiki using screenshots was not recommended in the design guidelines for the Engineering Hub site.  We should discuss the best format/design to use on engineering hub.
(Screenshot of last version of the onboard wiki page before depreciation)

Request from Catalinia based on service partner feedback:   @catalinaperalta
From: Catalina Peralta<EMAIL_ADDRESS>Sent: Thursday, January 11, 2024 1:37:59 PM
To: Justin Bettencourt<EMAIL_ADDRESS>Mariana Rios Flores<EMAIL_ADDRESS>LaDonna Quinn<EMAIL_ADDRESS>Cc: Laurent Mazuel<EMAIL_ADDRESS>Subject: Release planner feedback
Hi all,
I wanted to reach out with a suggestion that I think will help with Release Planner adoption. I’ve noticed that a few service teams seem to be reluctant to begin working with the release planner and usually their questions are related to what information/commitments will be expected of them once they create one. I think having documentation in engineering hub with a step by step tutorial with screenshots of each of the release plan pages would be helpful since some service partners would like to know beforehand what to expect from the app from start to finish. I have seen the diagram we currently have on the site, but I believe a step-by-step tutorial would be even more intuitive and would show service partners what information the app will request from them. This could additionally be done in a video format if we think that would be easier for some folks to learn how to use the release planner.
Here is a quote I got in email today from the Health Insights team about using the release planner: “Is there a tutorial regarding how to complete/use the planner ?”
It would also be good to emphasize that the app is meant to be used by both PMs and developers since I have found that to also be a point of confusion. Highlighting how this app helps/benefits each team member through the process would be helpful and we can start pointing folks to these specific documentation sections to encourage adoption and improve usage.
Let me know if you have any questions or if I can provide any more information.
Thanks,
Catalina

Per the Design Team guidance, we should not have screenshots of the Release Planner App in our docs.  As an alternative, the release plan page describing the steps in a milestone has been updated to direct to other docs pages for more information on the step.  We can also include links to completed examples of release plans in the PPE environment.
Here are examples release plans.  I will complete all of them and post links to engineering hub.  Blocked by permissions for PPE tables (SDK release milestone namespace). Let engineering know and when resolved will complete task.
Private Preview release plan examples:

https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=29932e15-e70b-ef11-9f8a-000d3a56548f (management plane)
https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=32f0263d-2cd7-ee11-9078-000d3a56548f (data plane)
Public Preview release plan examples:
https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=22848181-b384-ee11-8179-000d3a5651e3 (data plane)
https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=91b24965-43ae-ee11-a569-000d3a5651e3 (management plane)
GA release plan examples:
https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=548cfc43-e70b-ef11-9f89-6045bdffd8f9  (management plane)
https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=92313459-c984-ee11-8179-000d3a56548f (data plane)

TODOs:
Update release plans once permissions are fixed in PPE for table related to SDK namespace drop-down box.
Private Preview release plan examples:

[ ]  https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=29932e15-e70b-ef11-9f8a-000d3a56548f (management plane)

[ ] https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=32f0263d-2cd7-ee11-9078-000d3a56548f (data plane)

Public Preview release plan examples:

[ ] https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=22848181-b384-ee11-8179-000d3a5651e3 (data plane)

[ ] https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=91b24965-43ae-ee11-a569-000d3a5651e3 (management plane)

GA release plan examples:

[ ] https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=548cfc43-e70b-ef11-9f89-6045bdffd8f9  (management plane)

[ ]  https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=92313459-c984-ee11-8179-000d3a56548f (data plane)

Request engineering to mark all other release plans as abandoned.

[ ] https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=8f87b113-afdc-ee11-904d-000d3a56548f
[ ] https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=b7ac0263-2bd7-ee11-9079-000d3a565beb
[ ] https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=9d3edada-5ab5-ee11-a569-000d3a565aab
[ ] https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=07e43900-e483-ee11-8179-000d3a5651e3
[ ] https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=07e43900-e483-ee11-8179-000d3a5651e3
[ ] https://web.powerapps.com/apps/8ca4408d-6af3-475f-90fe-51b2e43624bb?release-plan-id=770b23fd-df83-ee11-8179-000d3a565beb


main's vulkan-samples.exe does not work on Windows

So basically cloning and building samples + providing correct cmd arguments for it to run sample result in error:
[info] Logger initialized
[info] Initializing Vulkan sample
[info] Vulkan debug utils enabled (VK_EXT_debug_utils)
[info] Extension VK_EXT_debug_utils found, enabling it
[info] VK_EXT_validation_features is available, enabling it
[info] Extension VK_KHR_get_physical_device_properties2 found, enabling it
[info] Extension VK_KHR_win32_surface found, enabling it
[info] Enabled Validation Layers:
[error] [framework\platform\platform.cpp:169] Error Message: Could not create Vulkan instance : ERROR_EXTENSION_NOT_PRESENT
[error] [framework\platform\platform.cpp:170] Failed when running application descriptor_buffer_basic
Press return to continue

The commit ID is 58eb923ba4cdb564088d1f6b33482c774bdc9bfa.
It's pretty strange that it doesn't work out of the box on Windows 11, RTX 4080, and latest drivers. Btw, my own app works.
Clicking here and there I've managed to make it work but it still feels like a bug. So if I open Vulkan Configurator, select "override layers" and select "Validation" then the app runs. But if I select "Layers Fully Controlled by the Vulkan Application" it doesn't work.
I had VulkanSDK of version <IP_ADDRESS> but updated to the new 1.3.261.0 just in case it fixes the problem but it doesn't.

We are already working on a fix, see #774


Detect an error if bin size exceeds the size limit

You're the owner, You don't need to open an issue to add a feature

@DaisyDogs07 It's for organisation / reminding me to actually do it

@ghostdevv Would you like a notepad for that?

ok

closing this, doing investigation in this came up with too many problems


Iphone X:use CustomCameraExtension by 4.0.0.beta2

use DKImageExtensionController.registerExtension(extensionClass: CustomCameraExtension.self, for: .camera)

CLImageEditor has been replaced with TOCropViewController.


[Bug report] getassetpathlist() returns empty results

Version
2.5.2
Platforms
dart, Android
Device Model
Various android phones
flutter info
[√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Version 10.0.22621.819], locale en-GB)
    • Flutter version 3.7.0 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (5 months ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at C:\Users\dan\AppData\Local\Android\sdk
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] VS Code (version 1.79.2)
    • VS Code at C:\Users\dan\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.68.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.819]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 114.0.5735.199
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 114.0.1823.67

[√] HTTP Host Availability
    • All required HTTP hosts are available

How to reproduce?
I've shipped the following code to various android devices (2 tablets, 4 mobile phones).
On 2 of the mobile phones, getAssetPathList() simply returned nothing, an empty list. Works perfect on the other devices.
final PermissionState _ps = await PhotoManager.requestPermissionExtend();
List<AssetPathEntity> albums = await PhotoManager.getAssetPathList();

What I've tried/ruled out before concluding it must be a bug in the lib:

All phones definitely have asset folders (directories with images, e.g. 'Camera')

All phones granted the exact same permission in the exact same way

There are no filters being applied to this call (I removed any filters to attempt to isolate the cause)

No errors are being thrown (I'm logging the count out as soon as this call has successfully returned)

Ruled out any version discrepancies, this is the exact same APK//build

One of the android devices it works on is my up to date brand new mobile phone. The other it works on is a 4 year old android tablet with an out of date OS, so I'm fairly certain it's not an OS-specific issue (could be wrong)

Logs
No response
Example code (optional)
final PermissionState _ps = await PhotoManager.requestPermissionExtend();
List<AssetPathEntity> albums = await PhotoManager.getAssetPathList();

Contact
<EMAIL_ADDRESS>

@asdjfasdfkljdas  did you find any solution?

@asdjfasdfkljdas did you find any solution?

It was on version 2.5.2. I updated the package to latest (2.6.0) and now it works.
I'm still confused as to why 2.5.2 would be broken though.

final List paths = await PhotoManager.getAssetPathList() is returning an empty list everytime in my app on Android 13. However if I run the example app it works very well on Android 13. I have added the
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />     <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />     <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />     <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />     <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
to the manifest. Am I missing something?

Can you share your code? Remove any filters etc. - reduce your code to the absolute minimum required to prove the issue and I'll take a look.
The only other thing I changed is to request permissions a little differently, here's my full code:
  final permissionStatus = await Permission.storage.status;
    if (permissionStatus.isDenied) {
      var newPermissionStatus = await Permission.storage.request();

      if (newPermissionStatus.isDenied) {
        await RemoteTraceService().trace('User denied ext storage');
        await openAppSettings();
      } else {
        await RemoteTraceService().trace('Ext storage confirmed');
      }
    } else if (permissionStatus.isPermanentlyDenied) {
      await openAppSettings();
    } else {
      // Already granted
    }

      List<AssetPathEntity> albums = await PhotoManager.getAssetPathList();

I'm using the following package for this:

I have copied the code from the example app, and made everything the same, still the getAssetPathList returns empty list. Any changes in the Android files that I am missing?

It is resolved!!, I had set the targetSdkVersion to 32, changed it to 33 and it started working

So, the problem is that the target sdk version is not the 33 or higher?

Duplicate of #852


Missing attributes on custom pivot table in deleting/ed events

Laravel Version: 8.83.7
PHP Version: 8.0.13
Database Driver & Version: MySql 5.7.24 and MariaDB 10.3.28

Description:
Model passed to deleting/ed Closures is missing attributes which makes accessing relations from pivot impossible.
Steps To Reproduce:
Create db structure as described in many to many polymorphic docs.
Create custom pivot class like this:
class Taggable extends MorphPivot
{
    public static function boot()
    {
        parent::boot();

        static::created(static function ($model) {
            var_dump($model);
        });

        static::deleted(static function ($model) {
            var_dump($model);
        });
    }

    public function tag(): BelongsTo
    {
        return $this->belongsTo(Tag::class);
    }

    public function taggable(): MorphTo
    {
        return $this->morphTo();
    }
}

and use it on relations, eg. Post:
class Post extends Model
{
    /**
     * Get all of the tags for the post.
     */
    public function tags()
    {
        return $this->morphToMany(Tag::class, 'taggable')->using(Taggable::class);
    }
}

Difference will show when attaching or detaching relations.
Screenshots taken from my application (using sync from Task class). When attaching there are no problems, all attributes in pivot are present:

But when detaching only 2 attributes are present:

This makes accesing taggable relation from within pivot delete closure impossible. Please note that it works with no problem in create closure or tinker.
Edit: Ok, as a workaround you can add $model->refresh() to deleting event which loads all attributes and makes them accesible from deleted event as well. Not an ideal solution, but fixes the problem. I assume sync doesn't load pivot tables completly which makes this not a bug, but maybe it's worth noting it somewhere in docs? (or it is added, but I missed that information)

I think it's to prevent too much data being loaded when performing mass-detaches on a many to many relationship.


<EMAIL_ADDRESS>decompress error

Hi guys, can't install twilio python using scoop. Anyone familiar with this error?

Hi, if you meant twilio-cli, can you try using Powershell as admin, and then install. This looks like a duplicate issue

how do I use Powershell as admin?
On Thu, Jan 26, 2023 at 11:54 PM kridai @.***> wrote:

Hi, if you meant twilio-cli, can you try using Powershell as admin, and
then install. This looks like a duplicate issue
—
Reply to this email directly, view it on GitHub
https://github.com/twilio/scoop-twilio-cli/issues/57#issuecomment-1406138643,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5PQIXEU4JP3GVTAQTCTOQLWUN5MBANCNFSM6AAAAAAUH2QTHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--

How to Open Windows PowerShell as an Admin in Windows 10https://www.howtogeek.com › Windows › Windows 10


Add ActivityPub Support

There are already some projects like Writefreely and Plume which provide a federated platform for blogging. Since they support ActivityPub, instances of such projects can federate and interconnect with each other and form a large federation of blogging websites. They are written in Go and Rust.
Is there any possibility to add ActivityPub support to this project?

Interesting. I'd be more than happy to take a look at a PR if you wanted to submit one that adds support like you've described above.
I don't have plans to start work on one anytime soon. Focusing on core updates to v7.

I wish I could work on this feature. My technical knowledge on Activitypub is almost zero. Thankfully Pixelfed is another Laravel app which has implemented this feature. That might be helpful.
So please keep this issue open. One day one would work on it.

Sounds good 😉


API available to SwiftPM Commands is no longer available to other clients of the SwiftPM

Commands is a primary SwiftPM product client. Unfortunately, it uses API that recently became scoped as a package; therefore, it is no longer accessible to third-party clients of the SwiftPM product. It makes it impossible to use the same functionality by other clients (without reimplementing it, I guess). That wasn't an issue until recent changes https://github.com/apple/swift-package-manager/pull/7387
For example, it's now impossible to build a tool similar to the swift-api-digester command using SwiftPM product as a dependency, as it lacks the API to build the package.
I see it as an oversight with a chance to revert and make it public again. Ideally, whatever is used by, e.g., Commands should be a public API available to other clients of the SwiftPM product (library).

That is correct and is intended. Only stable and versioned API SwiftPM provides is in PackageDescription and PackagePlugin modules. Other modules that unfortunately became exposed with public declarations before package was available in the language are unstable. As SwiftPM doesn't provide SemVer tags, those should not be relied on. They can change or be removed at any moment without warning.
If you intend to build tools on top of SwiftPM, package and build tool plugins or shelling out to CLI commands are the only supported options right now.
SourceKit-LSP is always built with the corresponding SwiftPM source tree with the same snapshot tag, and also doesn't adhere to SemVer. Outside of that specific case SwiftPM should not be used as a library.

That is correct and is intended.

that's an unfortunate and unexpected change of the course.
What is the vision of the Build etc. modules in the SwiftPM product and more on the general level SwiftPM product library at this point? One thing is unstable API, and the other thing is no API at all. CLI interface is way too limited for many use cases that API provides for it's own needs.
Doesn't Xcode and Swift Playgrounds use it without shelling out to CLI? (wouldn't that be a bit of an unfair advantage for in-house tools)

Doesn't Xcode and Swift Playgrounds use it without shelling out to CLI?

These are closed-source products that are out of scope of the open-source SwiftPM repository. I can't provide any information on that.

Saying about APIDigesterBaselineDumper, the type itself is pretty trivial and the main functionalities are provided by swift-api-digester command, which is not a part of SwiftPM but a part of Swift toolchain. So to be fair, you can still implement tools similar to diagnose-api-breaking-changes without the type without re-implementing everything.

@kateinoigakukun

So to be fair, you can still implement tools similar to diagnose-api-breaking-changes without the type without re-implementing everything.

as long as that tool does not need to build anything like swift-api-digester does. however that was just a quick example of use the API by tools rly.

as long as that tool does not need to build anything like swift-api-digester does.

Hmm, you are right. We can still build packages through CLI but cannot collect enough build information required to construct swift-api-digester arguments (e.g. -I path/to/swiftmodules -I path/to/modulemap-dir), so I understand your requests to expose such interfaces to interact with internal information of the build system.
I think the main motivation for hiding those APIs is to increase the opportunities to improve the internal architecture, so exposing whole APIs used by Commands conflicts with the goal. But exposing a part of APIs for a specific use case might be worth considering as far as it does not significantly increase maintenance cost.
So I'd like to understand your specific use cases to have the best interfaces for both SwiftPM maintainers and you.

@krzyzanowskim I've opened a PR to undo the changes - https://github.com/apple/swift-package-manager/pull/7568

To expand on this a little - we would still very much like to reduce the visibility of various APIs/modules in SwiftPM to make it easier to make changes/refactor. But given how long these have all been public for, we'll revert these changes for now and instead make posts on the forums asking for feedback for the APIs we'd like to hide. Depending on the API it may be that there's another way to retrieve similar information, or that we need to provide a separate (ideally stable) API for it.
Let us know if there's a PR we missed in the revert here 🙇♂.

Merged in https://github.com/apple/swift-package-manager/pull/7568


Hiding BN and Connect from nav items temporarily

Hide Business Number and SBC Connect temp

/gcbrun

Temporary Url for review: https://developer-connect-dev--pr-163-phfrf07s.web.app

Temporary Url for review: https://developer-connect-dev--pr-163-phfrf07s.web.app

/gcbrun

Temporary Url for review: https://developer-connect-dev--pr-163-phfrf07s.web.app

Temporary Url for review: https://developer-connect-dev--pr-163-phfrf07s.web.app

Temporary Url for review: https://developer-connect-dev--pr-163-phfrf07s.web.app

/gcbrun

Temporary Url for review: https://developer-connect-dev--pr-163-phfrf07s.web.app

Temporary Url for review: https://developer-connect-dev--pr-163-phfrf07s.web.app

/gcbrun

Temporary Url for review: https://developer-connect-dev--pr-163-phfrf07s.web.app


Source code for low level driver

Hi,
I am porting the LFC to a smaller device and found that it cannot fits in.
So I modified the whole thing to SFC and it's already working on HLS CSIM.
Now I have a problem on loading the *.so and would like to seek for your help.
It would be very nice if you can at least release the API definition of those function in *.so
Or if possible source code will definitely good for further customization.

Hi,
the source code for the generation of the .so is open-sourced as well here .
You can execute the command make-sw.sh script on the PYNQ board and compile it as explained here.
The important thing is that, at compilation time, the main_python.cpp is linking the config.h to get information about layer dimensions.
Hope this help.

Hi,
OO.. thanks. I miss that point.
Thanks so much.

Hi,
I tried to compiled the LFC PYTHON SW version, but the SW inference fail.
It seems like the recompiled python_sw-lfc-pynq.so is different from the bundled so.
Would you mind provide me more instruction on this issue?

The .so might differ since it depends on the Vivado HLS library your compiling against. I've just re-compiled locally linking library from HLS 2017.4 and it works on my side, so I am not able to reproduce.
Which version of the HLS library are you using?

Thanks for your prompt reply.
I am now able to make python_sw working. it seems like the on board g++ is not the same arm-linux-gnueabihf-g++ 2017.4.
But I still having problem in running python_hw.
I wish to know why the "thePlatform" under foldedmv-offload is using the class donutdriver instead of xlnkdriver. The program throw an exception in the line foldedmv-offload.cpp:398 as the donutdriver return 0 on allocAccelBuffer.

Hi,
are you running the executable as root?

Hi,
I am using Xilinx SDK to step debug the executable.
After reviewing the code, I wonder why the platform-xlnk.cpp:63 cannot override the donutdriver virtual allocAccelBuffer with xlnkdriver allocAccelBuffer.

Hi,
After rebuild everything, it works. Thanks


configuring registered authorization policy throws exception

AuthorizationPolicyValidator.ValidateAsync explicitly refuses to validate certain policies, among which 'anonymous', if those policies are registered, e.g.:
if (string.Equals(AuthorizationConstants.Anonymous, authorizationPolicyName,
        StringComparison.OrdinalIgnoreCase))
{
    var policy = await authorizationPolicyProvider.GetPolicyAsync(authorizationPolicyName);
    if (policy is not null)
    {
        errors.Add(new ArgumentException(
            $"The application has registered an authorization policy named '{authorizationPolicyName}' that conflicts with the reserved authorization policy name used on this route. The registered policy name needs to be changed for this route to function."));
    }

    return;
}

The origin of this approach seems to date back to this issue.
Is there a particular reason why you wish to exclude 'anonymous' and others from valid config? It seems harmless, if not preferable, to allow 'anonymous' and other excluded policies, as in every other case.
In the case of 'default' policy which is also excluded, it even seems to contradict the docs:

Specifying the value default in a route's authorization parameter means that route will use the policy defined in AuthorizationOptions.DefaultPolicy. That policy is pre-configured to require authenticated users.

Actually, the following in appsettings.json:
    "Routes": {
      "someroute": {
        "ClusterId": "somecluster",
        "AuthorizationPolicy": "default",
        "Match": {
          "Path": "{**catch-all}"
        }
      }
    }

throws this exception:
ArgumentException: The application has registered an authorization policy named 'default' that conflicts with the reserved authorization policy name used on this route. The registered policy name needs to be changed for this route to function.

After some digging around I realized that the problem arose from a custom IAuthorizationPolicyProvider that did not return Task.FromResult(null) when "anonymous" or "default" were specified. This fixes my use case, so the issue is closed as far as I am concerned.


Updated readme.md

Added 4 new app entries
Fixed small typo
Removed all accidental double-spacing

Thank you for the outstanding update! :-)


Poll

Add ability to load poll options with checkbox as well as add new polling option
currently there is duplicate code in poll.js file for adding and loading polling options. I will get rid one of them eventually but currently both are needed to show functionality for loading and adding since it is not yet connected to database

@googlebot I signed it!

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.
ℹ Googlers: Go here for more info.

@googlebot I fixed it.

@googlebot I signed it!

@googlebot I fixed it.


add justification for legend labels

It wasn't possible to specify legend label justification, this PR adds it.
Justification defaults to labelhalign, if not set explicitely.

Sorry if this would be better as a separate issue, but would it be possible to add this for the legend title as well? This might be lost to the slack hole now, but this is the current workaround for multi-line titles, but maybe there is a better way already! (copied below for convenience)
fig = Figure()
ax = Axis(fig[1, 1])

lines!(ax, rand(10), label="A looooooong label")

axislegend("A multi-line\ntitle" * " "^14, titlehalign=:left)

fig


Do you plan to provide link of datasets other than Baidu Cloud, such as Google Drive or OneDrive?

Do you plan to provide link of datasets other than Baidu Cloud, such as Google Drive or OneDrive?

Yes, we will add the google drive link.

Thanks!

We have added the google drive link.


Printing Unicode Character on Windows

I'm using Windows with _UNICODE defined and trying to output some %ls with LOG_F(). It went well until a string with non-ASCII characters appeared and then the program aborted with CHECK FAILED:  bytes_needed >= 0  Bad string format: '%ls'. It looks like the problem is caused by _vscprintf(), which has a wchar variant but requires a format string with the same type (so I guess it can't be a replacement). I also tried LOG_S(), but it output the address of the string instead of the content (it was using the ostream& operator<< (const void* val ) overload). Any ideas?
Example:
LOG_S(INFO) << L"哇r";
LOG_F(INFO, "%ls", L"哇r");

...:175      0| 00007FF6D607EA70
...:1668  FATL| CHECK FAILED:  bytes_needed >= 0  Bad string format: '%ls'

I just realized formatting wchars into a char string does not make sense as their sizes are bigger. 🙄


[python] add itokenprovider and memorytokenprovider

Codecov Report
Base: 17.33% // Head: 93.01% // Increases project coverage by +75.68% :tada:

Coverage data is based on head (3348d82) compared to base (7617af6).
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #1043       +/-   ##
=============================================
+ Coverage     17.33%   93.01%   +75.68%
=============================================
  Files           282       28      -254
  Lines         43130     1074    -42056
  Branches       4506        0     -4506
=============================================
- Hits           7476      999     -6477
+ Misses        34942       75    -34867
+ Partials        712        0      -712

Impacted Files
Coverage Δ

ruby/lib/services/account_service.rb
48.48% <0.00%> (ø)

dotnet/Trinsic/AccountService.cs

dotnet/Trinsic/CredentialService.cs

dotnet/Trinsic/ProviderService.cs

dotnet/Trinsic/TemplateService.cs

dotnet/Trinsic/TrinsicService.cs

dotnet/Trinsic/TrustRegistryService.cs

dotnet/Trinsic/WalletService.cs

python/tests/test_trinsic_services.py

python/trinsic/account_service.py

... and 245 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Tasks page improvements

Implements several improvements to the tasks table page:

Name field is changed to Task ID and Started is changed to Started At
Host and rack fields link to a page of all tasks on said host or rack. It is now possible to filter by rackId.
On screens that aren't extra small or large, the racks and memory columns now line up properly.
The protip is now a tooltip on both this page and the requests page
Tooltips on task state filter links now explain the meaning of those states. Please review the wording of these tooltips
Fix an error in the decommissioning tasks table that caused it to never render.

One more comment on this. When in a filter that isn't Active, it doesn't seem like the service/worker/etc filters are working properly. For example, filters out all pending tasks on the scheduled filter unless all the request type filters are active

As it turns out, pending tasks don't store their request type - you'd have to fetch the task to acquire that, which is certainly not reasonable to do for every single task.
So instead of fixing that I removed the request type filters entirely for tasks that aren't active.

Looks good @Calvinp , the new toggles are much nicer/easier


In some map-plots: map shifted away from the head

For some plots, the resulting map does not match the head. The maps are shifted to varius directions as can be seen in the following examples:
All plots are for one hemisphere (also the one which seems to be on both)

This is likely because the coordinates are already off. You can either manually correct the coordinate field in the GUI, or better, batch-manipulate the coordinates of the whole cachefile with the api. For a different usecase (see https://github.com/translationalneurosurgery/tool-offspect/issues/43), we already implemented functions to calculate translations and scaling factors: see **docs and source.
An implementation could be
from offspect.api import CacheFile, decode
from offspect.examples.correct_coords import (
    calculate_translation,
    translate_coords,
    calculate_cog,
)
import numpy as np

key = "xyz_coords"
cf = CacheFile("filename.hdf5")
left_cog, right_cog = calculate_cog(cf)
translation = calculate_translation([left_cog, right_cog])

for ix, (data, attrs) in enumerate(cf):
    old = decode(attrs[key])
    new = translate_coords(attrs, translation)
    print(f"Trace {ix} {key}:", old, end=" ")
    cf.set_trace_attrs(ix, new)
    test = decode(cf.get_trace_attrs(ix)[key])
    print("to", new[key])

Please note that this example calculates the CoG for each hemisphere, based on which points have a positive versus negative x-coordinate, and assumes that this CoG should be identical to the respective M1. In other usecases, especially when the map grid is not centered on the M1, this needs correction, and one could create their own CoGs by setting them to arbitrary coordinates, e.g.left_cog, right_cog = [-17, 34, 12], [17, 34, 12].

Okay, thanks a lot! I will try that out.

Closing this then, feel free to reopen if you need more support.


Support the PyData Sphinx Theme

Hi there, thanks for writing this extension! I see that three themes are supported currently; I was wondering if the PyData Sphinx Theme could be supported too in sphinx-docsearch natively, with as less post-configuration steps as possible.
I have recently used it for our project's documentation and it worked albeit with some extra configuration (https://github.com/pybamm-team/PyBaMM/pull/3159), so I would be happy to write a PR to do this (the best approach right now is to add a custom template like the current documentation suggests and loading it at the extension's initialisation step itself).

Thank you @kai687, that is great to hear. I read some of the code and I don't think it is possible to override the (Ctrl+K)/(⌘+K) keyboard shortcuts without customising the theme's source code itself, plus I am not well-versed with JavaScript either. However, there are three points that might help:

The search box can itself be disabled in the PyData Sphinx Theme's html_theme_options dictionary: it is enabled in the "navbar_persistent" entry by default. Adding a custom search template in _templates/algolia-search.html with the "navbar_persistent": "algolia-search" configuration value will disable it. This might disable the default search on mobile devices and cause the Algolia searchbox to not display in the drawer, but could be fixed using a bunch of custom CSS rules, since I notice that using desktop mode on a browser on a mobile device averts the problem.
Sphinx provides functionality to use a Google custom search engine (CSE) code snippet to override the search template using _templates/searchbox.html as described in the Sphinx FAQ, which injects JavaScript to render query-specific search results from Google.
The PyData Sphinx Theme uses an event listener to toggle the search field in search-field.html. The CSS rules for it probably contain a z-index of 1000 to make it display over other elements. Overriding the CSS to make the search field vanish behind other elements sounds like a good option. The event listener is defined in this file:
https://github.com/pydata/pydata-sphinx-theme/blob/main/src/pydata_sphinx_theme/assets/scripts/pydata-sphinx-theme.js#L224-L241
If it is possible to override this event listener through the extension so as to not perform any actions on pressing the search keyboard shortcut and let Algolia DocSearch's JavaScript do its job, it would be a nice, workaround-like solution that can be documented with sphinx-docsearch; until the theme brings support for customisation for external search solutions natively (https://github.com/pydata/pydata-sphinx-theme/issues/795).

Thank you @kai687, that is great to hear. I read some of the code and I don't think it is possible to override the (Ctrl+K)/(⌘+K) keyboard shortcuts without customising the theme's source code itself, plus I am not well-versed with JavaScript either. However, there are three points that might help:

The search box can itself be disabled in the PyData Sphinx Theme's html_theme_options dictionary: it is enabled in the "navbar_persistent" entry by default. Adding a custom search template in _templates/algolia-search.html with the "navbar_persistent": "algolia-search" configuration value will disable it. This might disable the default search on mobile devices and cause the Algolia searchbox to not display in the drawer, but could be fixed using a bunch of custom CSS rules, since I notice that using desktop mode on a browser on a mobile device averts the problem.
Sphinx provides functionality to use a Google custom search engine (CSE) code snippet to override the search template using _templates/searchbox.html as described in the Sphinx FAQ, which injects JavaScript to render query-specific search results from Google.
The PyData Sphinx Theme uses an event listener to toggle the search field in search-field.html. The CSS rules for it probably contain a z-index of 1000 to make it display over other elements. Overriding the CSS to make the search field vanish behind other elements sounds like a good option. The event listener is defined in this file: https://github.com/pydata/pydata-sphinx-theme/blob/main/src/pydata_sphinx_theme/assets/scripts/pydata-sphinx-theme.js#L224-L241
If it is possible to override this event listener through the extension so as to not perform any actions on pressing the search keyboard shortcut and let Algolia DocSearch's JavaScript do its job, it would be a nice, workaround-like solution that can be documented with sphinx-docsearch; until the theme brings support for customisation for external search solutions natively (https://github.com/pydata/pydata-sphinx-theme/issues/795).

@kai687 We finally move the scikit-learn documentation to the pydata-sphinx-theme (https://scikit-learn.org/stable/). We wanted to opt-in to the Algolia Docsearch engine.
We were wondering if:

there is a way to have template crawling script to have a proper sectioning in the search bar instead of the default "Documentation" section. Basically, I think that the crawler script would be pretty much the same for all library using this theme;
there is any new work that has been done on the support of the theme?

Thanks @kai687. I'll have a look now to see if we can do something ;)

Big thanks at @kai687. I managed to get to a satisfying crawler configuration thanks to the example and I'm working on the integration of with the website. The required changes are pretty small which is super nice.


fix(tools): template file in tarball

What I did
Include the demo template file in the npm tarball

Like #2080, this small fix has to go out today, so i'll merge w/o review


setup to start documentation

Tasks done:

Project forked
soroban-documentation branch created
Dependencies installed to work on documentation:

prettierrc: setup Prettier, auto-format  to improve readability.
jsdoc: Automatically generate documentation from comments in code.
jsdoc-to-markdown: Converts documentation from JSDoc to Markdown, for display on GitHub.
jsdoc-babel: Allows JSDoc to interpret ES6 code and TypeScript using Babel.

"doc" script created to looks for TypeScript files (*.ts) in all subfolders of packages, and generates documentation based on the comments in these files. The resulting documentation is saved in docs/DOCS.md
I created a configuration file for JSDoc jsdoc.json

Great. Can you please also add the documentation on each function?

Great. Can you please also add the documentation on each function?

Yes. sure!

Hola. Tengo el siguiente error
yarn doc
yarn run v1.22.19
$ jsdoc -c jsdoc.json && jsdoc2md packages/**/*.ts > docs/DOCS.md
There are no input files to process.
JSDOC_ERROR: There are no input files to process.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Hola. Tengo el siguiente error
yarn doc
yarn run v1.22.19
$ jsdoc -c jsdoc.json && jsdoc2md packages/**/*.ts > docs/DOCS.md
There are no input files to process.
JSDOC_ERROR: There are no input files to process.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Solved using TypeDoc instead JSDoc


Error during creation of New Media

When I try to upload media in xampp windows I get the attached error message.
Could very well be setup issue, but I didnt realize I might not have php_fileinfo on.

Hi, yes this is related to php_fileinfo. This should be enabled to enable getID3 and hte mime type extraction. So not really a bug, but might be good to mention in the settings or in the Readme.

Yes, indeed. It's not only that certain PHP extensions are required, but some might be suggested to turn on.

The module should also warn the user if post_max_size or upload_max_filesize are too low.


Add slack webhook notifications for e2e nightly cron jobs

Summary
We've added nightly cron jobs for running e2e tests on a schedule in https://github.com/cosmos/ibc-go/pull/3822
It may be nice to explore the idea of adding a dedicated slack channel or other means of notification method to nicely show us status info. Whether it be success or failure.
@chatton has linked - https://github.com/marketplace/actions/slack-notify

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

beat ya to it. Keep this one, I'll remove #3841

scope mostly updated since we don't have a hermes e2e cron job. We do have a cron job for upgrade tests and we can use it there (and anywhere else a cron job might be used in future)


Wrong WebPlatform Docs links

Seems like WebPlatform Docs links don't have the "wiki/" prefix anymore: https://webplatform.github.io/docs/wiki/css/properties/font should be https://webplatform.github.io/docs/css/properties/font

Thanks for reporting! Should be fixed now.


Redisson Connect to Cluster via DNS

It will be nice to have a functionality to connect via redisson to redis using a DNS as hostname instead of specifying host:port of all the nodes.

Could you please describe your case and maybe suggest how API should looks like?

I am already using JedisCluster and Jedis (jedis 2.9.0) in my applications but for the async capabilities provided by Redisson want to switch to it.
I am using AWS ElasticCache Provided Redis Cluster with Multi-AZ mode with Automatic Failover enabled and want to hide the nodes being used so that the Operations team can add / remove nodes without having to check with the developers - we are using below given code for connecting. As you can see JedisCluster is able to auto-detect all the nodes operating underneath so if any slave is promoted to master then developers don't need to do any special handling for it. While as per the docs specified for Redisson we need to specify all the nodes explicitly, so any change in nodes structure requires a deployment in production environment.
String hostName = properties.getProperty("hostname", "redis-cluster.orgname.net");
Integer port = Integer.parseInt(properties.getProperty("port", "6379"));
HostAndPort hostAndPort = new HostAndPort(hostName, port);
Set nodes = new HashSet();
GenericObjectPoolConfig poolConfig = new GenericObjectPoolConfig();
poolConfig.setMaxTotal(Integer.parseInt(properties.getProperty("max_total", "100")));
poolConfig.setMaxIdle(Integer.parseInt(properties.getProperty("max_idle", "5")));
poolConfig.setBlockWhenExhausted(Boolean.parseBoolean(properties.getProperty("block_when_exhausted", "false")));
JedisCluster redisCluster = new JedisCluster(nodes, poolConfig);
And, just a suggestion in redisson instead of using "rediss://" for SSL connection and changing host / port config per node it will be better if another method is exposed similar to setSSLModeEnabled(boolean flag) since SSL connection required or not I guess will not vary across the nodes.

While as per the docs specified for Redisson we need to specify all the nodes explicitly, so any change in nodes structure requires a deployment in production environment

No. Using Redisson Cluster you shouldn't specify all nodes. It requires only one cluster node to work.

If the max no of connections to redis configured in redisson client is lets say 200 and no of current connections is also 200 and there is a new request that comes to my application that will try to connect via redisson then either it can wait for connection to become available or it can say proceed ahead since connections are exhausted - for that block when exhausted configuration is there - how do we configure that via redisson ?
And, when you say just one cluster node to work then you mean one node per shard or any one node in the cluster ?

@mrniko i tried by giving only the master nodes in the address and it is able to detect the slaves as well. So, the only pending query is how is the block when exhausted configuration handled in redisson ?

@akshaymani I have been reading your issue and I have maybe some questions for you.
@mrniko Tell me if this is not appropriate to this issue but it seems to me good to put it there.
I'm also using AWS elasticache redis cluster (Cluster Mode enabled) with Multi-AZ mode with Automatic Failover enabled in 3.2.4.
Are you using the same configuration ?
So I'm using in my application only the configuration endpoint like below
Config config = new Config();
ClusterServersConfig clusterServersConfig = config.useClusterServers()
.setScanInterval(1000)
.setReadMode(ReadMode.MASTER_SLAVE);
.addNodeAddress("redis://serviceauthbis.coakwj.clustercfg.euw1.cache.amazonaws.com:6379");
.setConnectTimeout(1000)
.setIdleConnectionTimeout(1000)
.setReconnectionTimeout(1000)
.setRetryAttempts(1)
And it discovers all the nodes.
But on AWS elastiCache, it's possible to simulate a fail over on the primary node of a shard.
In my test, I have only one shard containing one primary and one replica.
If I do simulate a fail over on the primary, it takes 7 minutes to redisson to connect to my replica.
Why ? Because if I understood well, we can give one node (as I did) to the configuration and Redisson is able to discover other nodes (It actually did when I launched my app). So why does Redisson not switch directly to the replica after the command execution timeout error as you can see below, the error is at 08:34:37 and my redis cluster is only available here 08:41:35. Maybe this is a problem on AWS elastiCache but I try to understand why my cache is not available during 7 minutes when there is still one node working ?
08:34:37.191  WARN 17529 o.r.c.p.SlaveConnectionPool              : host /<IP_ADDRESS>:6379 disconnected due to failedAttempts=3 limit reached
08:34:42.107 ERROR 17529 o.r.c.ClusterConnectionManager           : Can't execute CLUSTER_NODES with /<IP_ADDRESS>:6379
org.redisson.client.RedisTimeoutException: Command execution timeout for /<IP_ADDRESS>:6379
at org.redisson.client.RedisConnection$2.run(RedisConnection.java:212) [redisson-3.5.0.jar:?]
at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38) [netty-common-4.1.13.Final.jar:4.1.13.Final]
at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:120) [netty-common-4.1.13.Final.jar:4.1.13.Final]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [netty-common-4.1.13.Final.jar:4.1.13.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [netty-common-4.1.13.Final.jar:4.1.13.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462) [netty-transport-4.1.13.Final.jar:4.1.13.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-common-4.1.13.Final.jar:4.1.13.Final]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138) [netty-common-4.1.13.Final.jar:4.1.13.Final]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
08:35:32.396  INFO 17529 o.r.c.ClusterConnectionManager           : changing master from redis://<IP_ADDRESS>:6379 to redis://<IP_ADDRESS>:6379 for 0
08:35:32.423  INFO 17529 o.r.c.ClusterConnectionManager           : slave redis://<IP_ADDRESS>:6379 removed for slot ranges: [[0-16383]]
08:35:35.439  INFO 17529 o.r.c.p.MasterConnectionPool             : 10 connections initialized for /<IP_ADDRESS>:6379
08:40:05.504  INFO 17529 o.r.c.p.SlaveConnectionPool              : 10 connections initialized for /<IP_ADDRESS>:6379
08:40:05.505  INFO 17529 o.r.c.p.SlaveConnectionPool              : host /<IP_ADDRESS>:6379 successfully reconnected
08:41:35.682  INFO 17529 o.r.c.ClusterConnectionManager           : slave: redis://<IP_ADDRESS>:6379 added for slot ranges: [[0-16383]]
@akshaymani Did you experiment the same issue ?

https://github.com/redisson/redisson/issues/993#issue-246272843
Done in https://github.com/redisson/redisson/issues/1213


[AUT-7310] - Introducing keydb as a replacement for redis-cluster

Jira task - https://cloudentity.atlassian.net/browse/AUT-7130
BREAKING CHANGE -
KeyDB is introduced to replace redis-cluster. This change can break the login to ACP UI.
Description
KeyDB is introduced in acp-stack to replace redis-cluster. redis-cluster is mainly used for storing the user sessions, now it will be handled by keydb.
Information for QA

[X] Is QA testing required?
[ ] Does PR contain unit tests?
[ ] Should QA create E2E tests for the change?

Additional QA Procedures (Optional)
Verify acp-stack gets installed and configured correctly. Make sure session management works fine with keydb.
Implementation details

Screenshots (if appropriate):

No longer valid changes.


cdxgen-deno broken: "Could not find npm package 'connect'"

Tried to use the cdxgen-deno Docker image as instructed in the repo README and got:
error: Could not resolve 'connect' from<EMAIL_ADDRESS>
Caused by:
    Could not find npm package 'connect' referenced by '<EMAIL_ADDRESS>
Non-deno Docker image worked fine. 🤷♂

https://github.com/CycloneDX/cdxgen/actions/runs/6433993297/job/17472267016#step:36:3445

@darkvertex, it looks like repotests were never running against the master, and denotests have a condition to run only for master :cry:
Any idea what the fix is?

This fix on deno looks related - https://github.com/denoland/deno_npm/pull/38/files

I built the latest main branch of deno locally and found that the issue persists. The underlying issue is that we have optional packages such as connect, yet these are imported directly in some places. https://github.com/CycloneDX/cdxgen/blob/master/server.js#L1
https://github.com/CycloneDX/cdxgen/blob/master/package.json#L91
We need to convert the use of server.js into a dynamic import.
https://github.com/CycloneDX/cdxgen/blob/master/bin/cdxgen.js#L10
Testing a local version of cdxgen with deno is another unsolved issue.

Fixed in 9.8.8
https://github.com/CycloneDX/cdxgen/actions/runs/6467273568/job/17558332072#step:37:3443


Relable CEC Partner to CEC Building Partner

This occurs on filters: reports, charts, and maps

included in #528

closed duplicate. work completed in #528


IGNITE-13060-tracing-configuration-controlsh

Tracing configuration via control.sh

This PR is associated with a resolved ticket. Closing the PR, please reopen it if you still need it.


[FX-2428] Guards against nullable href

Closes: FX-2428
I was assuming that the nullable href was just a mistake in the schema — but no, it is the the case that you may have a displayable show that doesn't have an href. This matches the behavior that's currently in production.

Ah of course, isLinkable! 😺


BaseHTTPServer not found

When I put the ip-grab.py file in CMD, it says that the module BaseHTTPServer (line 1) doesn't exist. Is there some way to fix this?

The module BaseHTTPServer was for Python version 2, which was what this was coded in. The new Python 3 release changed the BaseHTTPServer name (so the name is non-existent now) to http.server. So you edit line 1 to http.server instead of BaseHTTPServer, like: from http.server import HTTPServer, BaseHTTPRequestHandler

I updated the tool, now you can run it with python3


Turn Neuron.neurotransmitter into an ObjectProperty

Currently, Neuron.neurotransmitter is a DatatypeProperty and holds string values. With new Transmitter types, these should hold Transmitter values.
blocked by #286

We should also refactor any methods which take a neurotransmitter as an argument, and do neurotransmitter_arg = str(neurotransmitter_arg) if neurotransmitter_arg instanceof Transmitter else neurotransmitter_arg.upper(), so that people can still just type the name if they want.


FR: Add carousel view

A carousel view to be able to display more info while tasks are occurring would be an awesome feature. I believe this can be sudo faked with a while loop writing to the command file, but it doesn't center up as nicely.

I've been thinking the same thing.
Passed in from a json file I was thinking something like:
{
  "message" : [
    {"page1" : "Content here"},
    {"page2" : "Content here"},
    {"page3" : "Content here"}
  ]
}

and have the pages rotate around like they do with the image carosel. would need to think about how to make that updatable via command file.

probably not in my radar for a while so I'm going to close this as a wontfix
In the meantime, with the updated management of --ontop and --blurscreen when using multiple dialogs, a similar effect (from a UX point of view) can be done with some careful scripting. I've posted an example here which can be expanded on or pulled apart as needed.
https://github.com/bartreardon/swiftDialog-scripts/tree/main/MultiDialog


[Blog] Add "collapse" for Q&A sections, and start them out collapsed

I think this is still a good idea! I don't know how we can easily pull this off given that it's in markdown... Hmmmm...


NotImplementedError: Can not build up yolov3 network!

Hi, I downloaded the project and followed the steps.
This error raised with me when I run the convert_weight.py
NotImplementedError: Can not build up yolov3 network!

Did you solve it? How to solve?


Merge pull request #8 from Civ13/master

updates fork

oh wait no this isn't what I wanted, trying to update my fork due to conflicts etc. Apologies


Implemented ethereum_getCode

Implemented ethereum_getCode
Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?

Not implemented
Issue Number: #284
What is the new behavior?

Given address, returns the stored code at that address
Does this introduce a breaking change?

[ ] Yes
[X] No

Other information

Do we have a way to check for if the address is a contract or not? so we can return an error if user tries to check the code of an eoa


Proposed method of styling the overview

@dotemacs This is what I was trying to explain.
Feel free to delete if you think it is unworkable!
I created the tests and methods for the _css overloads, and
called them from the view.
I refactored the hashes to reduce the duplication

Superseded by different PR


Fix incorrect line terminators in user_suspend_vm_ok.yaml file.

Purpose or Intent
Fix incorrect line terminators in user_suspend_vm_ok.yaml file which was introduced in #9736.
Links
Fix #9797.

@gmcculloug @mkanoor Please review.

These shouldn't make any difference, or is this just to keep the stuff clean from an export/import POV.  That is, the description makes it sound like something is broken, but I don't think it is.

@Fryguy
Nothing is broken but yaml files generated programmatically are different from hand edited YAML files. We recommend people use the CFME editor to make changes and then export out the changes. This way it reduces the noise when doing a git diff. It also helps people making instance name and yaml file names to be consistent.

Darga backport details:
commit ee715da58633ac97e443ef8f7b4004fcf0a3bba7
Author: Jason Frey<EMAIL_ADDRESS>Date:   Thu Jul 14 11:07:12 2016 -0400

    Merge pull request #9811 from lfu/yaml_line_terminator

    Fix incorrect line terminators in user_suspend_vm_ok.yaml file.
    (cherry picked from commit fcc88eecc8886fd885ee9564de85a96719864580)


[entry-point] Cannot default disallow entry points other than index.js within one element type

Is your issue related to a problem? Please describe.
I want to disallow using anything but index.js as an entry point to one type of element (feature in my case, but others may do this for modules). But I do not want to do this for all element types, so the overall default is 'allow'.
Describe the issue
When the entry-point default is allow there is no way to declare "disallow everything except index.js".

disallow: '*', allow: 'index.js' - will not work, because disallow overrides allow meaning that index.js is disallowed.
allow: 'index.js' - will not work because everything else is still allowed.

This appears to be possible by creating two separate rules with the same target, the first one with the disallow: '*' and the second with the allow: 'index.*'.

Your solution is right @dantman,
As you mentioned, defining both allow and disallow in the same rule is not possible. From the docs: "If one rule contains both allow and disallow properties, the disallow one has priority. It will not try to match the allow one if disallow matches. The result for that rule will be disallow in that case."
So, if you have "allow" as default value, and you want to allow only certain pattern only for one element type, you'll first have to disallow everything for that element type, and then allow only the specific pattern in separated rules.
Just in case it is useful also for other users, here is an example:
{
  rules: {
    "boundaries/entry-point": [2, {
        // allow all entry-points by default
        default: "allow",
        rules: [
          {
            // Override the default value for the element type
            target: ["modules"],
            // Disallow everything
            disallow: "*"
          },
          {
            // Add another rule for the same type, allowing only some entry point
            target: ["modules"],
            // only allow index.js
            allow: "index.js"
          }
        ]
      }
    ]
  }
}


[KOGITO-4797] - Disable Dev mode in logging by default

See: https://issues.redhat.com/browse/KOGITO-4797
Signed-off-by: Tarun Khandelwal<EMAIL_ADDRESS>Many thanks for submitting your Pull Request :heart:!
Please make sure your PR meets the following requirements:

[x] You have read the contributors' guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains a link to the JIRA issue
[x] Pull Request contains a description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster
[ ] You've added a RELEASE_NOTES.md entry regarding this change

@Kaitou786 it is something easy to add the bot in this repo?
@msmagnanijr ^

@Kaitou786 it is something easy to add the bot in this repo?
@msmagnanijr ^

Yeah, it is fairly easy @msmagnanijr want to do the honours?

Ideally, the function setup should be defined upstream and imported here. We can tackle this in the next sprint since we are about to cut the branch. Do you mind opening a JIRA to follow this up?

Ideally, the function setup should be defined upstream and imported here. We can tackle this in the next sprint since we are about to cut the branch. Do you mind opening a JIRA to follow this up?

Oh yeah, you are right this should be done for other function present in our main.go as well like getWatchNamespace()  I'll create a follow-up JIRA to keep single copy of these functions and import in this product :)

The JIRA to keep track of it: https://issues.redhat.com/browse/KOGITO-4802

/jenkins test

@ricardozanini can be merged or?

Sorry, I was waiting for the CI to pass.


fix: add italian to i18n index

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Code style update
[ ] Build or CI related changes
[ ] Documentation content changes

What is the current behavior?
Italian language cannot be used.
What is the new behavior?
Italian language can be used.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.395%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
35

Relevant Lines:
43

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-9.2%) to 72.199%

Totals

Change from base Build<PHONE_NUMBER>:
-9.2%

Covered Lines:
139

Relevant Lines:
181

💛  - Coveralls

Thanks 👍


Consider the UI/UX of the /repos table when there are no syncs

We should probably guide the user towards "activating" a sync when none are set for a repo - a CTA

Closing as duplicate of #221


Message Service Design

Relates to https://github.com/envoyproxy/gateway/issues/34
Signed-off-by: Arko Dasgupta<EMAIL_ADDRESS>

closing this issue for now since we're not proceeding with the message service in the initial stage, will reopen again once the core components have been built out


Semantic Tokens: Object keys in uppercase emitted as namespace

ReScript-VSCode latest-master

Here is another case where tokens are getting called namespace rather than what it should be (in this case variable). (v1.18.0)
Color is weird:

Token output:

let a = []
let abcdefghijklmn = 0
a[abcdefghijklmn] = 1

Parse output:
[
  structure_item (/home/pedro/Desktop/learning-rescript/src/Object.res[1,0+0]..[1,0+10])
    Pstr_value Nonrec
    [
      <def>
        pattern (/home/pedro/Desktop/learning-rescript/src/Object.res[1,0+4]..[1,0+5])
          Ppat_var "a" (/home/pedro/Desktop/learning-rescript/src/Object.res[1,0+4]..[1,0+5])
        expression (/home/pedro/Desktop/learning-rescript/src/Object.res[1,0+8]..[1,0+10])
          Pexp_array
          []
    ]
  structure_item (/home/pedro/Desktop/learning-rescript/src/Object.res[2,11+0]..[2,11+22])
    Pstr_value Nonrec
    [
      <def>
        pattern (/home/pedro/Desktop/learning-rescript/src/Object.res[2,11+4]..[2,11+18])
          Ppat_var "abcdefghijklmn" (/home/pedro/Desktop/learning-rescript/src/Object.res[2,11+4]..[2,11+18])
        expression (/home/pedro/Desktop/learning-rescript/src/Object.res[2,11+21]..[2,11+22])
          Pexp_constant PConst_int (0,None)
    ]
  structure_item (/home/pedro/Desktop/learning-rescript/src/Object.res[3,34+0]..[3,34+21])
    Pstr_eval
    expression (/home/pedro/Desktop/learning-rescript/src/Object.res[3,34+0]..[3,34+21])
      Pexp_apply
      expression (/home/pedro/Desktop/learning-rescript/src/Object.res[3,34+1]..[3,34+17])
        Pexp_ident "Array.set" (/home/pedro/Desktop/learning-rescript/src/Object.res[3,34+1]..[3,34+17])
      [
        <arg>
        Nolabel
          expression (/home/pedro/Desktop/learning-rescript/src/Object.res[3,34+0]..[3,34+1])
            Pexp_ident "a" (/home/pedro/Desktop/learning-rescript/src/Object.res[3,34+0]..[3,34+1])
        <arg>
        Nolabel
          expression (/home/pedro/Desktop/learning-rescript/src/Object.res[3,34+2]..[3,34+16])
            Pexp_ident "abcdefghijklmn" (/home/pedro/Desktop/learning-rescript/src/Object.res[3,34+2]..[3,34+16])
        <arg>
        Nolabel
          expression (/home/pedro/Desktop/learning-rescript/src/Object.res[3,34+20]..[3,34+21])
            Pexp_constant PConst_int (1,None)
      ]
]

Is there any way to fix this without adding an attribute to this syntax sugar?

It's probably the location of array set.
Which could maybe be made to match "=" at parser time instead of the entire lhs.
Or, the whole array set case special cased.


Pass services to actions as object

https://github.com/este/este/blob/feb1bd1ff4d45c5af0ba5c92db2b0efff0c0d4a0/src/client/auth/actions.js#L9
function(dispatch, {msg, validate})
function(dispatch, {firebase})

So we can destruct and choose only the ones we want. Easier, we don't need to remember the order.

I see your point, but almost all actions with need the same set of dependencies, so...

Really? Hmm, maybe in this example as you have only two action files... But in real life? auth actions will need validate and msg, orders actions will need XHR/API/whatever to issue a request w/o using validate/msg at all.

Anyway, I am not gonna argue with you on that. It's out of scope of this project. I am gonna shape it into my needs which is cool. Maybe some day someone asks for the same and then, I'll be able to give him the solution.

Feel free to send PR.

If you fancy, you can always keep it in both ways
if (action.length > 2) action(dispatch, ...deps); else action(dispatch, deps);

Will send over proposal later.

Is still an issue to be solved? WDYT?


fix: padding for multibytes characters in virtual text

Hello. Thanks for the nice plugin!
I am using Neovim in a Japanese environment and I have confirmed that if the diagnosic results contain multibyte characters, the virtual text is not padded correctly and the display is messed up.
Using vim.fn.strdisplaywidth to count the number of characters seems to have solved this problem, so I will send a PR.
There may be other omissions, so it would be great if you could check and merge them in.
Before:

After:

Hello,
Thanks ! That is a great fix.
Have a nice day


[CLIPPER-117] Application utilities

Replacement for https://github.com/ucbrise/clipper/pull/119.
Changes since @Corey-Zumar's code review:
Made the recommended changes and:

Moved function implementations out of json_util.hpp to json_util.cpp
Renamed relevant function, most notably set_app_info_doc —> set_json_doc_from_redis_app_metadata.
set_json_doc_from_redis_app_metadata now makes use of several helper functions dedicated to transforming specific fields from their redis format to their publicly facing format
Updated this transformation for the changed candidate model storage
moved get_all_applications logic out of redis.cpp. Before, I had a function in redis.cpp iterating and making requests to redis. This seems like the sort of thing that shouldn’t exist in an adapter.
Added/updated the following tests:

Management front-end tests
TestGetApplicationCorrect
TestGetNonexistantApplicationCorrect
TestGetApplicationMalformedJson
TestGetAllApplicationsVerboseCorrect
TestGetAllApplicationsVerboseNoneRegisteredCorrect
TestGetAllApplicationsNotVerboseCorrect
TestGetAllApplicationsNotVerboseNoneRegisteredCorrect
TestGetAllApplicationsMalformedJson
Redis tests
ListApplicationNames
ListApplicationNamesNoneRegistered
JSON util tests
TestSetJsonDocFromRedisAppMetadata
Running the code formatting script made some changes in the files I touched. I included those changes here but I'm happy to remove them if the previous formatting was intentional.
https://clipper.atlassian.net/browse/CLIPPER-117

Can one of the admins verify this patch?

jenkins test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/160/
Test FAILed.

jenkins test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/166/
Test FAILed.

jenkins test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/170/
Test PASSed.


Attachments are not mapping to azure devops

while doing import attachments are not mapping to azure devops all issues will left with no attachments.Any suggestion you have?

@sssparsh05 can you provide more information eg. the log of export?
When you have exported your items are the attachments downloaded from jira ?

wi-import-log-200118-160701.txt
Yes Attachments are downloaded while export .
Logs attached

@sssparsh05  the log that you provided is an import, not an export log.
Firstly I would advise you to re-check your config file because looking at the import log many items are not loaded by the tool. Looks to me like those files you are trying to import are faulty.
Once you are sure the config looks good, run the export again, better yet, do a test run, pick one item in Jira which has attachments export that and try to import.

jira-export-log-200118-111417.txt
ok i will try for one item.

jira-export-log-200203-174552.txt
wi-import-log-200203-174828.txt

I tried with one item

i am using below config file
{
"source-project": "CER",
"target-project": "CER",
"query": "project = CER AND issuetype = Sub-task AND status = Done AND description ~ Westward AND assignee in (esther.garcia1) ORDER BY priority DESC, updated DESC",
"workspace": "C:\Users\u91205\Downloads\import\",
"epic-link-field": "Epic Link",
"sprint-field": "Sprint",
"download-options": 7,
"batch-size": 20,
"log-level": "Info",
"attachment-folder": "Attachments",
"user-mapping-file": "users.txt",
"base-area-path": "Migrated",
"base-iteration-path": "Migrated",
"ignore-failed-links": true,
"process-template": "Agile",
"link-map": {
"link": [
{
"source": "Epic",
"target": "System.LinkTypes.Hierarchy-Reverse"
},
{
"source": "Parent",
"target": "System.LinkTypes.Hierarchy-Reverse"
},
{
"source": "Relates",
"target": "System.LinkTypes.Related"
},
{
"source": "Duplicate",
"target": "System.LinkTypes.Duplicate-Forward"
}
]
},
"type-map": {
"type": [
{
"source": "Epic",
"target": "Epic"
},
{
"source": "Story",
"target": "Feature"
},
{
"source": "Bug",
"target": "Bug"
},
{
"source": "Task",
"target": "User Story"
},
{
"source": "Sub-task",
"target": "Task"
}
]
},
"field-map": {
"field": [
{
"source": "summary",
"target": "System.Title",
"mapper": "MapTitle"
},
{
"source": "assignee",
"target": "System.AssignedTo",
"mapper": "MapUser"
},
{
"source": "description",
"target": "System.Description",
"mapper": "MapRendered"
},
{
"source": "priority",
"target": "Microsoft.VSTS.Common.Priority",
"mapping": {
"values": [
{
"source": "Highest",
"target": "1"
},
{
"source": "High",
"target": "2"
},
{
"source": "Medium",
"target": "3"
},
{
"source": "Low",
"target": "3"
},
{
"source": "Lowest",
"target": "4"
}
]
}
},
{
"source": "labels",
"target": "System.Tags",
"mapper": "MapTags"
},
{
"source": "comment",
"target": "System.History",
"mapper": "MapRendered"
},
{
"source": "status",
"target": "System.State",
"for": "Feature,Epic,User Story,Bug",
"mapping": {
"values": [
{
"source": "To Do",
"target": "New"
},
{
"source": "In Progress",
"target": "Active"
},
{
"source": "Done",
"target": "Resolved"
},
{
"source": "Done",
"target": "Closed"
},
{
"source": "Removed",
"target": "Removed"
}
]
}
},
{
"source": "status",
"target": "System.State",
"for": "Task",
"mapping": {
"values": [
{
"source": "To Do",
"target": "New"
},
{
"source": "In Progress",
"target": "Active"
},
{
"source": "Done",
"target": "Closed"
},
{
"source": "Removed",
"target": "Removed"
}
]
}
},
{
"source": "Story Points",
"source-type": "name",
"target": "Microsoft.VSTS.Scheduling.StoryPoints",
"not-for": "Task"
},
{
"source": "timeestimate",
"target": "Microsoft.VSTS.Scheduling.RemainingWork",
"mapper": "MapRemainingWork",
"for": "Bug,Task"
},
{
"source": "description",
"target": "Microsoft.VSTS.TCM.ReproSteps",
"for": "Bug"
},
{
"source": "environment",
"source-type": "name",
"target": "Microsoft.VSTS.TCM.SystemInfo",
"for": "Bug,Epic"
}
]
}
}

Just for information, you are missing lot of mapping configuration as well, my suggestion is to fix that too otherwise you import will be done with incomplete data.

@sssparsh05  can you provde of of the exported items as well, so we can investigate why the tool fails to load the json file.

{
"Type": "Product Backlog Item",
"OriginId": "CER-220",
"WiId": -1,
"Revisions": [
{
"Author"<EMAIL_ADDRESS>"Time": "2019-01-30T14:56:20.013+05:30",
"Index": 0,
"Fields": [
{
"ReferenceName": "System.Title",
"Value": "[CER-220] Operational Support Sprint 1"
},
{
"ReferenceName": "System.AssignedTo",
"Value"<EMAIL_ADDRESS>},
{
"ReferenceName": "System.Description",
"Value": "User Story\n\nAs an IT team member, I need to spend part of my office hours to support incidents and user requests that are urgent and outside the planned activities of the sprint.\n\n \n\nAdditional Information\n\n<font color="#de350b">PLEASE NOTE: Log incidents and unplanned activities as Sub-Tasks within this Story.  This way, we can estimate Story Points used for support that we use in each Sprint. Effort of this Story will be registered in the next Sprint planning session. Thanks."
},
{
"ReferenceName": "Microsoft.VSTS.Common.Priority",
"Value": null
},
{
"ReferenceName": "System.IterationPath",
"Value": "Sprint 1 - Rhine Falls"
},
{
"ReferenceName": "System.State",
"Value": null
}
],
"Links": [
{
"Change": 0,
"TargetOriginId": "CER-379",
"TargetWiId": 0,
"WiType": "System.LinkTypes.Hierarchy-Reverse"
}
],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-01-30T14:56:20.98+05:30",
"Index": 1,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-01-30T14:56:29.697+05:30",
"Index": 2,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-01-30T14:56:29.847+05:30",
"Index": 3,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-01-30T14:57:19.88+05:30",
"Index": 4,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-01-30T21:07:53.077+05:30",
"Index": 5,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-01-31T16:15:15.403+05:30",
"Index": 6,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-02-01T17:05:50.72+05:30",
"Index": 7,
"Fields": [
{
"ReferenceName": "System.State",
"Value": null
}
],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-02-01T17:05:52.4+05:30",
"Index": 8,
"Fields": [
{
"ReferenceName": "System.State",
"Value": null
}
],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-02-05T19:28:26.207+05:30",
"Index": 9,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-02-05T19:30:41.803+05:30",
"Index": 10,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-02-07T18:01:40.603+05:30",
"Index": 11,
"Fields": [
{
"ReferenceName": "System.State",
"Value": null
}
],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-02-11T20:15:50.37+05:30",
"Index": 12,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-02-11T22:25:26.353+05:30",
"Index": 13,
"Fields": [
{
"ReferenceName": "System.State",
"Value": null
}
],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-02-12T16:29:49.593+05:30",
"Index": 14,
"Fields": [
{
"ReferenceName": "System.State",
"Value": null
}
],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-02-26T23:19:24.49+05:30",
"Index": 15,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-02-27T17:27:42.33+05:30",
"Index": 16,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
},
{
"Author"<EMAIL_ADDRESS>"Time": "2019-03-09T22:43:21.787+05:30",
"Index": 17,
"Fields": [],
"Links": [],
"Attachments": [],
"AttachmentReferences": false
}
]
}

Above is exported item json.
Attachments are exported but problem occuring while import it keet left unattached to all tickets

@sssparsh05 can you attach the entire json file instead of  copying the content of the file otherwise is kind of hard to say if the faile is broken for some reason.

CER-220.txt
CER-252.txt

Attached

@sssparsh05 just to be sure, can you confirm that from the exported issue CER-252, when you open that file and search for the first attachment "Filepath" then does the image, it is pointing to, exists?
Otherwise, the exported issue file seems to be correct and the only thing I can think of at the moment is that the path where it is pointing for the attachment does not exist.
Maybe try to change the "workspace" path in the config.json to eg. C:\Temp or what you prefer and export CER-252 item again. Then you can verify that the Attachment folder is created and the two attachments that the issue contains are there. If everything looks fine do the import.

i have checked the path it is accessible and correct no issues with that.
Any where we need to define in config file for attachment to attach while import?

Can you provide your config file here so i can see it ?

@sssparsh05  The only path you can configure is the Workspace path.
You can find our sample configs here:  Configuration documentation

Closing this issue in lack of further response. @sssparsh05  feel free to reopen if you still experience problems

Here is my config file attached.
I have tried many ways but still attachments are importing.

@sssparsh05 closing issue due unable to reproduce. Hope you have resolved the problem you had.
Feel free to contact us for help if needed