Log says overlays applied but no change in poster

Version Number
1.18.1
What branch are you on?
master
Describe the Bug
This is a reopening of issue 1079 since I took forever to provide fixed logs.
Meta.log shows overlays applied, but when viewing in Plex, the artwork remains the same.
This was discussed in discord but no resolution was found. The 'Overlay' label gets applied to the movie. Searching through unselected posters it does not appear. I was able to get PMM to create a collection so this issue is just with the overlays.
Things I've tried:
Switching to nightly
Docker and bare linux
Different overlays
Relevant Collection/Overlay/Playlist Definition
## This file is a template remove the .template to use the file

libraries:                                      # This is called out once within the config.yml file
  Movies:                                       # Each library must match the Plex library name
    # metadata_path:
    # - file: config/Movies.yml                   # This is a local file on the system
#    - folder: /Movies/                    # This is a local directory on the system
#    - git: PMM/chart/basic                      # This is a file within the https://github.com/meisnate12/Plex-Meta-Manager-Configs Repository
#    - git: PMM/chart/imdb                       # This is a file within the https://github.com/meisnate12/Plex-Meta-Manager-Configs Repository
    overlay_path:
#    - remove_overlays: false                    # Set this to true to remove all overlays
    - file: config/Overlays.yml                 # This is a local file on the system
    - git: PMM/overlays/resolution            # This is a file within the https://github.com/meisnate12/Plex-Meta-Manager-Configs Repository
    - git: PMM/overlays/audio_codec
#  TV Shows:
#    metadata_path:
#      - file: config/TVShows.yml
#      - folder: /TV Shows/
#      - git: PMM/chart/basic                    # This is a file within the https://github.com/meisnate12/Plex-Meta-Manager-Configs Repository
#      - git: PMM/chart/imdb                     # This is a file within the https://github.com/meisnate12/Plex-Meta-Manager-Configs Repository
#    overlay_path:
#      - remove_overlays: false                  # Set this to true to remove all overlays
#     - file: config/Overlays.yml               # This is a local file on the system
#      - git: PMM/overlays/imdb_top_250          # This is a file within the https://github.com/meisnate12/Plex-Meta-Manager-Configs Repository
#  Music:
#    metadata_path:
#      - file: config/Music.yml
#playlist_files:
#- file: config/playlists.yml
#- git: PMM/playlist                             # This is a file within the https://github.com/meisnate12/Plex-Meta-Manager-Configs Repository
settings:
  cache: true
  cache_expiration: 60
  asset_directory: config/assets
  asset_folders: true
  asset_depth: 0
  create_asset_folders: false
  prioritize_assets: false
  dimensional_asset_rename: false
  download_url_assets: false
  show_missing_season_assets: false
  show_missing_episode_assets: false
  show_asset_not_needed: true
  sync_mode: append
  minimum_items: 1
  default_collection_order:
  delete_below_minimum: true
  delete_not_scheduled: false
  run_again_delay: 2
  missing_only_released: false
  only_filter_missing: false
  show_unmanaged: true
  show_filtered: false
  show_options: false
  show_missing: true
  show_missing_assets: true
  save_report: false
  tvdb_language: eng
  ignore_ids:
  ignore_imdb_ids:
  item_refresh_delay: 0
  playlist_sync_to_user: all
  playlist_report: false
  verify_ssl: true
  custom_repo:
  check_nightly: false
webhooks:                                       # Can be individually specified per library as well
  error:
  version:
  run_start:
  run_end:
  changes:
plex:                                           # Can be individually specified per library as well; REQUIRED for the script to run
  url: http://plex.yanello.net
  token: *****
  timeout: 60
  clean_bundles: false
  empty_trash: false
  optimize: false
tmdb:                                           # REQUIRED for the script to run
  apikey: ****
  language: en
  cache_expiration: 60
  region:
# tautulli:                                       # Can be individually specified per library as well
#   url: http://tautulli.yanello.net
#   apikey: ****
# omdb:
#   apikey: ****
#   cache_expiration: 60
# radarr:                                         # Can be individually specified per library as well
#   url: http://radarr.yanello.net
#   token: ****
#   add_missing: false
#   add_existing: false
#   root_folder_path: S:/Movies
#   monitor: true
#   availability: announced
#   quality_profile: HD-1080p
#   tag:
#   search: false
#   radarr_path:
#   plex_path:
#   upgrade_existing: false
sonarr:                                         # Can be individually specified per library as well
  url: http://sonarr.yanello.net
  token: ****
  add_missing: false
  add_existing: false
  root_folder_path: S:/TV Shows
  monitor: all
  quality_profile: HD-1080p
  language_profile: English
  series_type: standard
  season_folder: true
  tag:
  search: false
  cutoff_search: false
  sonarr_path:
  plex_path:
  upgrade_existing: false
  # everything below is autofilled by the script
#    access_token:
#    token_type:
#    expires_in:
#    refresh_token:
#    scope: public
#    created_at:
mal:
  client_id: ################################
  client_secret: ################################################################
  authorization:
    # everything below is autofilled by the script
    access_token:
    token_type:
    expires_in:
    refresh_token:

Logs
https://gist.github.com/MYanello/2af51ec1d8ec86a5c94f14c07f99d7c9

here's another log I took for good measure https://gist.github.com/MYanello/7447cadd41ccb560b576920cabbe20f2


Failed to build iOS app

      grpc_impl::internal::AlarmImpl::AlarmImpl() in alarm.o
  "_grpc_alts_credentials_server_options_create", referenced from:
      grpc_impl::experimental::AltsServerCredentials(grpc_impl::experimental::AltsServerCredentialsOptions const&) in secure_server_credentials.o
  "_grpc_resource_quota_unref", referenced from:
      grpc_impl::ResourceQuota::~ResourceQuota() in resource_quota_cc.o
      grpc_impl::ServerBuilder::~ServerBuilder() in server_builder.o
      grpc_impl::ServerBuilder::SetResourceQuota(grpc_impl::ResourceQuota const&) in server_builder.o
      grpc_impl::Server::Server(int, grpc_impl::ChannelArguments*, std::__1::shared_ptr<std::__1::vector<std::__1::unique_ptr<grpc_impl::ServerCompletionQueue, std::__1::default_delete<grpc_impl::ServerCompletionQueue> >, std::__1::allocator<std::__1::unique_ptr<grpc_impl::ServerCompletionQueue, std::__1::default_delete<grpc_impl::ServerCompletionQueue> > > > >, int, int, int, grpc_resource_quota*, std::__1::vector<std::__1::unique_ptr<grpc::experimental::ServerInterceptorFactoryInterface, std::__1::default_delete<grpc::experimental::ServerInterceptorFactoryInterface> >, std::__1::allocator<std::__1::unique_ptr<grpc::experimental::ServerInterceptorFactoryInterface, std::__1::default_delete<grpc::experimental::ServerInterceptorFactoryInterface> > > >) in server_cc.o
  "grpc_timer_init_unset(grpc_timer*)", referenced from:
      grpc_impl::internal::AlarmImpl::AlarmImpl() in alarm.o
  "_grpc_slice_split_head", referenced from:
      grpc::CoreCodegen::grpc_slice_split_head(grpc_slice*, unsigned long) in core_codegen.o
  "_gpr_log", referenced from:
      grpc_impl::internal::AlarmImpl::Set(grpc_impl::CompletionQueue*, gpr_timespec, void*) in alarm.o
      grpc_core::ApplicationCallbackExecCtx::~ApplicationCallbackExecCtx() in alarm.o
      grpc_impl::ChannelArguments::ChannelArguments(grpc_impl::ChannelArguments const&) in channel_arguments.o
      grpc_impl::ChannelArguments::SetSocketMutator(grpc_socket_mutator*) in channel_arguments.o
      grpc_impl::ChannelArguments::SetUserAgentPrefix(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in channel_arguments.o
      grpc_impl::Channel::WaitForStateChangeImpl(grpc_connectivity_state, gpr_timespec) in channel_cc.o
      grpc::ClientContext::set_call(grpc_call*, std::__1::shared_ptr<grpc_impl::Channel> const&) in client_context.o
      ...
  "_grpc_resource_quota_arg_vtable", referenced from:
      grpc_impl::ChannelArguments::SetResourceQuota(grpc_impl::ResourceQuota const&) in channel_arguments.o
      grpc_impl::ServerBuilder::BuildAndStart() in server_builder.o
  "_grpc_alts_credentials_create", referenced from:
      grpc_impl::experimental::AltsCredentials(grpc_impl::experimental::AltsCredentialsOptions const&) in secure_credentials.o
  "_grpc_slice_ref", referenced from:
      grpc::CoreCodegen::grpc_slice_ref(grpc_slice) in core_codegen.o
  "_gpr_cpu_num_cores", referenced from:
      grpc::(anonymous namespace)::CreateDefaultThreadPoolImpl() in create_default_thread_pool.o
  "grpc_timespec_to_millis_round_up(gpr_timespec)", referenced from:
      grpc_impl::internal::AlarmImpl::Set(grpc_impl::CompletionQueue*, gpr_timespec, void*) in alarm.o
      grpc_impl::internal::AlarmImpl::Set(gpr_timespec, std::__1::function<void (bool)>) in alarm.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning build
note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
Exited (sigterm)

Hi @tesissoftware
can you please provide your flutter doctor -v ,
your flutter run --verbose
and your pubspec.yaml
or if possible a reproducible minimal code sample.
Thank you

I have the same error message, What can I do?

It works for android but not for iOS

Hi @juan-c-s
yourflutter doctor -v and
your flutter build ios --verbose
are both incomplete please provide them in full length
you may attach it as txt file
Please refrain from posting pictures if not necessary.
thank you

Hi @juan-c-s
yourflutter doctor -v and
your flutter build ios --verbose
are both incomplete please provide them in full length
you may attach it as txt file
Please refrain from posting pictures if not necessary.
thank you

Just solved the problem. It was a problem in Xcode that I needed to add a line of code to use google-sign-in but thanks!


Error on type pass in map.on(event)

Hi, Ol version 7.2.2
I want pass dinamycally event for map.on as string but typescript take me a type error.
If I write a fixed event as "click" or "pointermove" the error goes away.

How is the correct type ? I see on documentation that event is a string...

You can either use any, or if you want to be super picky:
import("ol/MapBrowserEventType").Types |
import("ol/MapEventType").Types |
import("ol/render/EventType").MapRenderEventTypes |
import("ol/ObjectEventType").Types |
import("ol/Map").MapObjectEventTypes

ok thanks


Readme some of the links are navigating to wrong pages.

@javico2609, Please check the dribbble, uplabs, behance links are redirecting to wrong pages.

hi, thx for see that issue


upgrade dbeaver-community to 3.8.2 version

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Thanks


fix: minor changes to ListObjects

Addressing some comments from https://github.com/openfga/openfga/pull/145#issuecomment-1211066407

Codecov Report

Merging #169 (cc402b5) into main (8d73a28) will increase coverage by 0.01%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
+ Coverage   74.76%   74.78%   +0.01%
==========================================
  Files          79       79
  Lines        8789     8788       -1
==========================================
+ Hits         6571     6572       +1
+ Misses       1817     1816       -1
+ Partials      401      400       -1

Impacted Files
Coverage Δ

storage/postgres/iterators.go
71.18% <ø> (ø)

server/commands/list_objects.go
61.71% <88.88%> (-0.22%)
:arrow_down:

server/commands/check.go
86.55% <0.00%> (+0.56%)
:arrow_up:

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


[FR]add more detail permission to user and usergroup

hi, all, in the current version there is no way to share folders with "write only" permission. I think maybe it's useful in most case for some security reason. for example I'm a leader. I need all members upload their docs into special folders which they can't delete files in these folders(only folder builders can delete files)

Hello,
In the current version the ability to write to the folder means the ability to delete from the folder. We will consider your suggestion asap.
Thanks a lot for participation in development of the product.

Closed for a reason - there has been no activity for a long time.


Add layer unique IDs to debug properties

After adding new getters and return values to track engine unique IDs (in https://github.com/flutter/engine/pull/41291/), they can be added to debugFillProperties here. After this, they will be shown when dumping the layer tree / render tree.
2/2 towards fixing https://github.com/flutter/flutter/issues/125019
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

Closed to match https://github.com/flutter/engine/pull/41291, will come up with a different way to do this


fix: query resource group under giving subscription id

Description
When there are multiple subscriptions under the local azure account, the setup-gh command would fail to discover the correct resource group with error like this:
Error: resource group not found

This is because the resource group validation logic is expecting 1) the local azcli has fetched all subscriptions 2) the resource group is created under the active subscription. However these assumptions are incorrect when running with command like this:
$ draft setup-gh -s <my-sub-id> -g <my-rg-name>

To get the resource group correctly, this pull request added --subscription parameter on the query command. I also enhanced the error message a bit to provide more details on missing resource group error.
Fixes # (issue)
Feature # (details)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
I tested this change from my local with above command.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

ty for the contribution this looks great!


Adding new Data Type updates existing Data Type

Describe the bug
When editing an Element in a Class, clicking on 'Add a new Data Type' updates the Element's current Data Type to the selected values, rather than creating a new Data Type.
To Reproduce
Steps to reproduce the behavior:
Below steps are for example in development version.

Go to Complex Test Data model and add two integer elements as below:

Then, click on one of the integer Data Elements and click Edit, in the popup, click Add a new Data Type and select a Reference to the content class. N.B. some red error text appears which is probably not initially necessary:

Then the integer data type is updated to be a content class reference:

Expected behavior
New Data Type should be added and only the selected Element being edited should have its Type changed.
Versions
Reproduced on Mauro version 6.6.0 (in mdm-docker) and version 6.7.0-SNAPSHOT (development version).

I think the issue is to do with actually editing a data type:

This shows that "Data Type" is referenced but this is sometimes showing information that is elsewhere e.g. the label. What is important though is what domain type this is - primitive, reference, enumeration etc.
What happens is the "Edit" dialog shows this view:

The "Add new Data Type" button makes no sense in this context, I think this is where this bug report stems from. If editing the data type itself, then this looks like the wrong control to use.
What should probably happen is the "Data Type" field should be split into what it actually is, similar to the Add Data Type wizard:

I've updated the issue to clarify that the Edit button I was using was the Edit button at the Element level within the Data Class, rather than against the Data Type directly. At the Element level I do think that the 'Add new Data Type' option makes sense (e.g. to allow adding a new Reference type).
However, regarding editing a Data Type itself, I agree that the 'Add new Data Type' button doesn't make sense in that context and that making the edit window look like the creation wizard would make sense.

When trying to replicate this I've found the following:

When creating a new datatype, filling the type and reference is not enough, being a new datatype it needs a label, but that field is hidden within the "advanced options" although is mandatory

When I finally save the changes, I don't see the error as the issue is describing it, but instead, get a 422 response:

The request payload is:

{
    "id": "2baad18d-04ab-4423-8a9f-8156ad8b5651",
    "label": "second integer",
    "domainType": "DataElement",
    "aliases": [],
    "classifiers": [],
    "dataType": {
        "label": "ReferenceToContent",
        "description": "",
        "metadata": [],
        "domainType": "ReferenceType",
        "enumerationValues": [],
        "classifiers": [],
        "organisation": "",
        "referencedTerminology": {
            "id": ""
        },
        "referencedDataType": {
            "id": ""
        },
        "referencedDataClass": {
            "id": "d529d577-efa1-4381-991a-566aef123b80",
            "domainType": "DataClass",
            "label": "content",
            "hasChildren": false,
            "availableActions": [
                "createModelItem",
                "delete"
            ],
            "modelId": "593933b5-d82a-4de8-afe6-fd53f38394d5"
        },
        "referencedModel": {
            "id": "",
            "domainType": ""
        }
    }
}

The response being:
{
	"status": 422,
	"reason": "Unprocessable Entity",
	"errorCode": "UEX--",
	"message": "Validation Error(s) occurred during save():",
	"path": "/api/dataModels/593933b5-d82a-4de8-afe6-fd53f38394d5/dataClasses/4b772210-3692-4931-8cb8-302d6c0006aa/dataElements/2baad18d-04ab-4423-8a9f-8156ad8b5651",
	"environment": "DEVELOPMENT",
	"version": "5.3.0-SNAPSHOT",
	"validationErrors": {
		"total": 1,
		"errors": [
			{
				"message": "Property [referenceClass] of class [class uk.ac.ox.softeng.maurodatamapper.datamodel.item.datatype.ReferenceType] cannot be null"
			}
		]
	}
}

@joe-crawford The issue that @CristianGimenez found above about the lack of a "reference class" property, I've tried to debug the backend code to identify the problem but having trouble as it starts to enter "Groovy/Grails" magic.
From what I can tell creating an inline Data Type which is a Reference Type whilst updating a Data Element should work but isn't because the request the UI is building is wrong. The UI selects a Data Class to reference and in the PUT request this appears as:
{
  // ... data element fields
  "dataType": {
    "domainType": "Reference",
    "referenceDataClass": { ... },
  }
}

In the backend DataElementController:

validateResource() is called but this passes validation over the DataElement provided, so continues.
But then updateResource() is called and then tries to save the resource.dataType - this is when a validation exception is raised because of the missing property referenceClass.

Is it because the HTTP request has used the wrong property names?

@pjmonks, yes I think the below should be the right values?
{
  // ... data element fields
  "dataType": {
    "domainType": "ReferenceType",
    "referenceClass": { ... },
  }
}

I've sent the following Zulip message for consideration:
When creating a new dataElement (wizards\dataElement\data-element-main\data-element-main.component.ts):

Firstly we attack the dataTypes api and do a POST to create the new dataType, if all is ok, we get the Id of the newly created dataType as response. The payload on the request is a object of type DataType (\mdm-resources\lib\es2015\data-models\mdm-data-type.model.d.ts)
Then we attack the dataElelement api and we do a new POST request to create a dataElement of the recently created data type. The payload for the request is an object of DataElement (\mdm-resources\lib\es2015\data-models\mdm-data-element.model.d.ts)

This works like a charm.
When we are editing an existing dataElement, we can also decide to change is dataType, as part of that, we can create a new dataType.  When handing the request (app\dataElement\data-element\data-element.component.ts):

We simply attack the dataElement api on its update method, which results in a PUT request. The payload on this request is again, an object of type DataElement.

One might think, that the dataElement.update method in the api should allow only to use existing dataTypes for the dataElement you are updating, but, after digging in the error, I could see that you can actually include a variable named referenceDataClass as part of the DataElement object in the payload (along with the domainType of ReferenceType) the backend will create the new dataType for you. The error was caused basically because we are using the wrong name for the variable and we are passing referencedDataClass (as opposed to referenceDataClass). This happens because DataElement interface actually does not include either of those, we are "abusing" JavaScript to add new variables not explicitly existing in the interface.
This raises a question:
Is this intended? I can see the argument being made to let the backend handle the creation of a new DataType as part of the update of a dataElement considering we let the user do that. But I can see the opposite argument made, as to keep responsibilities separated.
Therefore, I can see 2 different alternatives to solve this:

If this is intended, we should either extend dataElement to include everything we need as part of its definition, so there is no more naming mistakes. Or create a new payloadType for the upload method that might include a DataType as well as a DataElement.
If its not intended, we should split that upload call in two different calls, first dataType creation, and then the dataElement upload. We should also change the backend to stop looking for those dataReference elements that does not exist in the definition.


Unable to deploy static web app using GitHub Actions

Describe the bug
Unable to deploy a Static Web App using GitHub Actions right after provisioning by ARM template.
The error was:
deployment_token was not provided.
The deployment_token is required for deploying content. If you'd like to continue the run without deployment, add the configuration skip_deploy_on_missing_secrets set to true in your workflow file
An unknown exception has occurred

To Reproduce
Steps to reproduce the behavior:

Create an ARM template

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "resourceName": {
            "type": "string",
            "metadata": {
                "description": "The base name to use for creating resources"
            }
        },
        "environment": {
            "type": "string",
            "defaultValue": "dev",
            "allowedValues": [
                "dev",
                "inte",
                "prep",
                "prod"
            ]
        },
        "location": {
            "type": "string",
            "metadata": {
                "description": "The location of static forms."
            }
        },
        "repositoryUrl": {
            "type": "string",
            "metadata": {
                "description": "URL for the repository of the static forms."
            }
        },
        "githubToken": {
            "type": "string",
            "metadata": {
                "description": "A user's github repository token which is used to setup the Github Actions workflow file and API secrets."
            }
        },
        "deploymentTokenName":{
            "type": "string",
            "metadata": {
                "description": "Name of a deployment token which will be created as a secret in GitHub."
            }
        }
    },
    "variables": {
        "baseName": "[concat(parameters('resourceName'), parameters('environment'))]",
        "staticWebAppName": "[toLower(concat(variables('baseName'), '-', 'swa'))]",
        "staticWebAppResourceId": "[resourceId('Microsoft.Web/staticSites', variables('staticWebAppName'))]"
    },
    "resources": [
        {
            "type": "Microsoft.Web/staticSites",
            "apiVersion": "2021-01-01",
            "name": "[variables('staticWebAppName')]",
            "location": "[parameters('location')]",
            "sku": {
                "name": "Standard",
                "tier": "Standard"
            },
            "properties": {
                "repositoryUrl": "[parameters('repositoryUrl')]",
                "branch": "main",
                "stagingEnvironmentPolicy": "Enabled",
                "allowConfigFileUpdates": true,
                "provider": "GitHub",
                "repositoryToken": "[parameters('githubToken')]",
                "buildProperties":{
                    "appLocation": "/",
                    "skipGithubActionWorkflowGeneration": true,
                    "githubActionSecretNameOverride": "[parameters('deploymentTokenName')]"
                }
            }
        }
    ],
    "outputs": {
        "deploymentToken": {
            "type": "string",
            "value": "[listSecrets(variables('staticWebAppResourceId'), '2019-08-01').properties.apiKey]"
        }
    }
}

Create a secret TOKEN_TO_DEPLOY_STATIC_WEB_APP which has access to the current repo.
Create YAML file to deploy.

name: Static Web App Deployment

on:
  workflow_dispatch:
    inputs:
      resourceName:
        type: string
        description: The base name to use for creating resources
        required: true

      environment:
        type: choice
        description: The abbreviation of a environment.
        required: false
        default: dev
        options:
          - dev
          - inte
          - prep
          - prod

      location:
        type: choice
        description: The location of the logic app and related resources.
        required: false
        default: westeurope
        options:
          - westeurope
          - eastus2
          - westus2
          - centralus
          - eastasia

jobs:
  PrepareSecrets:
    name: Preparing secrets
    runs-on: windows-latest

    steps:
      - name: Prepare secrets
        id: prepare-secrets
        shell: powershell
        run: |
          if ('${{ github.event.inputs.environment }}' -eq 'prod') {
              Write-Output "::set-output name=azureCredentialName::AZURE_CREDENTIALS"
          }
          else {
              Write-Output "::set-output name=azureCredentialName::AZURE_CREDENTIALS_DEV"
          }

          $deploymentTokenName = "STATIC_WEB_APP_DEPLOYMENT_TOKEN_" + "${{ github.event.inputs.resourceName }}".ToUpper() + "${{ github.event.inputs.environment }}".ToUpper()
          $resourceGroupName = "${{ github.event.inputs.resourceName }}" + "${{ github.event.inputs.environment }}"

          Write-Output "::set-output name=deploymentTokenName::$deploymentTokenName"
          Write-Output "::set-output name=resourceGroupName::$resourceGroupName"

    outputs:
      azureCredentialName: ${{ steps.prepare-secrets.outputs.azureCredentialName }}
      deploymentTokenName: ${{ steps.prepare-secrets.outputs.deploymentTokenName }}
      resourceGroupName: ${{ steps.prepare-secrets.outputs.resourceGroupName }}

  Deploy:
    name: Deploy static web app
    runs-on: ubuntu-latest
    needs: [PrepareSecrets]
    if: |
      always() && needs.PrepareSecrets.result == 'success'
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
        with:
          submodules: true

      - name: Azure login
        uses<EMAIL_ADDRESS>        with:
          creds: ${{ secrets[needs.PrepareSecrets.outputs.azureCredentialName] }}
          enable-AzPSSession: true

      - name: Create resource group
        uses: Azure/CLI@v1
        with:
          azcliversion: 2.30.0
          inlineScript: |
            az group create --location ${{ github.event.inputs.location }} --name ${{ needs.PrepareSecrets.outputs.resourceGroupName }}

      - name: Deploy ARM template
        id: deployArmTemplate
        uses: azure/arm-deploy@v1
        with:
          resourceGroupName: ${{ needs.PrepareSecrets.outputs.resourceGroupName }}
          template: ./static-forms.json
          parameters:
            resourceName=${{ github.event.inputs.resourceName }}
            environment=${{ github.event.inputs.environment }}
            location=${{ github.event.inputs.location }}
            repositoryUrl=<REPO URL>
            githubToken=${{ secrets.TOKEN_TO_DEPLOY_STATIC_WEB_APP }}
            deploymentTokenName=${{ needs.PrepareSecrets.outputs.deploymentTokenName }}

      - name: Print out deployment token
        run: |
          echo ${{ secrets[needs.PrepareSecrets.outputs.deploymentTokenName] }} | sed 's/./& /g'

      - name: Deploy Azure static web app
        uses: Azure/static-web-apps-deploy@v1
        with:
          azure_static_web_apps_api_token: ${{ secrets[needs.PrepareSecrets.outputs.deploymentTokenName] }}
          repo_token: ${{ secrets.TOKEN_TO_DEPLOY_STATIC_WEB_APP }}
          action: "upload"
          app_location: "/"

Start the GitHub Action manually.

The error always shows up on the first attempt. However, the issue does not happen if we run it again.
Expected behavior
The deployment should work without any issue.

I added a step to print out the deployment token
echo ${{ secrets[needs.PrepareSecrets.outputs.deploymentTokenName] }} | sed 's/./& /g'

Here are the deployment logs
First attempt

Second attempt

I don't know why it always fails on the first try. The deployment token was appropriately printed out in the second attempt, as screenshot above.

I was struggling with a very similar issue. I noticed that secrets resolve as empty string if the principal cannot access the secret. This specifically occurred when Dependabot created the PR.

@nguyenanhducs hi , did you solved this issue? I face with the same issue. I have to replace token manually.

I haven't found a way to solve this issue yet.

@nguyenanhducs I fixed it. I got this issue when i used terraform. this is my correct script. hope you will find what you missed.
------------- main.tf ----------
locals {
api_token_var = "token name" //this variable link with deployment token from azure static web app
}
variable "github_token" {
default = "XXXXXXXXXXXXXXXXXX"
}
variable "github_owner" {
default = "XXXXXXXXXXXXX"
}
provider "azurerm" {
features {}
}
output "hostname" {
value = azurerm_static_site.web.default_host_name
}
provider "github" {
token = var.github_token
owner = var.github_owner
}
resource "azurerm_resource_group" "rg" {
name     = "xxxxxx"
location = "xxxxxxxx"
}
resource "azurerm_static_site" "web" {
name                = "xxxxxx"
location            = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name
}
resource "github_actions_secret" "secrt" {
repository      = "xxxxxxx"
secret_name     = local.api_token_var
plaintext_value = azurerm_static_site.web.api_key
}
resource "github_repository_file" "foo" {
repository = "xxxxxxx"
branch     = "main"
file       = ".github/workflows/xxxxx.yml"
content = templatefile("./xxxx.tpl",
{
app_location    = "/"
api_location    = ""
output_location = "build"
api_token_var   = local.api_token_var
}
)
}
----------- azure-static-web-app.tpl ------------------
name: Azure Static Web Apps CI/CD
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main
jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: setup vue environment file
run: |
echo "VUE_APP_NOT_SECRET_CODE=some_value" >  $GITHUB_WORKSPACE/.env
- name: Build And Deploy
id: builddeploy
uses<EMAIL_ADDRESS>with:
azure_static_web_apps_api_token: $${{ secrets.${ api_token_var } }}
repo_token: $${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match you app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "${ app_location }" # App source code path
api_location: "${ api_location }" # Api source code path - optional
output_location: "${ output_location }" # Built app content directory - optional
###### End of Repository/Build Configurations ######
close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses<EMAIL_ADDRESS>with:
azure_static_web_apps_api_token: $${{ secrets.${ api_token_var } }}
action: "close"

I was struggling with a very similar issue. I noticed that secrets resolve as empty string if the principal cannot access the secret. This specifically occurred when Dependabot created the PR.

@miwebst I got the same, but figured out that you can go to the Azure Portal, copy the deployment token and then add it specifically as a dependabot secret in the repository settings. You just need to match the secret key from the "Actions" secrets:


syscall/ztypes_linux_s390x.go: struct members with just underscore as names

Structure members in syscall/ztypes_linux_s390x.go that should have a underscore in their names contain only the underscore as the name. It results in error like

# github.com/vishvananda/netlink/nl
../../rpmbuild/BUILDROOT/golang-github-vishvananda-netlink-0-0.10.gite73bad4.fc26.s390x/usr/share/gocode/src/github.com/vishvananda/netlink/nl/nl_linux_test.go:34: msg.X__ifi_pad undefined (type *IfInfomsg has no field or method X__ifi_pad)
FAIL	github.com/vishvananda/netlink/nl [build failed]

For a downstream bug please see https://bugzilla.redhat.com/show_bug.cgi?id=1404679
https://github.com/golang/sys/blob/master/unix/ztypes_linux_s390x.go from the standalone sys package is wrong as well.
What version of Go are you using (go version)?
git
What operating system and processor architecture are you using (go env)?
Linux/s390x
What did you do?
compile eg. golang-github-vishvananda-netlink library
What did you expect to see?

type IfInfomsg struct {
		Family     uint8
		X__ifi_pad uint8
		Type       uint16
		Index      int32
		Flags      uint32
		Change     uint32
	}

for example on https://golang.org/src/syscall/ztypes_linux_ppc64.go
The corresponding kernel structure is defined in include/uapi/linux/rtnetlink.h as

struct ifinfomsg {
        unsigned char   ifi_family;
        unsigned char   __ifi_pad;
        unsigned short  ifi_type;               /* ARPHRD_* */
        int             ifi_index;              /* Link index   */
        unsigned        ifi_flags;              /* IFF_* flags  */
        unsigned        ifi_change;             /* IFF_* change mask */
};

What did you see instead?
from https://golang.org/src/syscall/ztypes_linux_s390x.go

type IfInfomsg struct {
		Family uint8
		_      uint8
		Type   uint16
		Index  int32
		Flags  uint32
		Change uint32
    }

The IfInfomsg structure is only a sample, there are more with this error.

This looks intentional.  Field names that start with X_ are replaced with _ by src/syscall/mkpost.go:42-43.
It is just a padding field - why do you need to refer to it?

The fields were omitted from the API exposed on s390x because they weren't considered to have any valid uses. If that assumption is wrong then I'm happy to expose them in the x/sys/unix package at least (the syscall package is supposed to be frozen and shouldn't be used).
The __ifi_pad is just padding. It isn't in the man page for rtnetlink. There the struct is described as:
struct ifinfomsg {
    unsigned char  ifi_family; /* AF_UNSPEC */
    unsigned short ifi_type;   /* Device type */
    int            ifi_index;  /* Interface index */
    unsigned int   ifi_flags;  /* Device flags  */
    unsigned int   ifi_change; /* change mask */
};

In my opinion the netlink library should therefore not rely on its presence. Unfortunately it is not just a one line change to do this, the tests will have to be rethought a little as the padding field appears not to be cleared, so the equality checks fail (here is the code: https://github.com/vishvananda/netlink/blob/90b9ee53585fd2ab8360c6bde4c9f19f23169ac8/nl/nl_linux_test.go#L34).

We found at least 2 projects that are touching the padding fields, one is the mentioned netlink, another appeared right today
github.com/pkg/sftp
../../BUILDROOT/golang-github-pkg-sftp-0-0.1.git8197a2e.fc26.s390x/usr/share/gocode/src/github.com/pkg/sftp/server_statvfs_linux.go:19: stat.Fsid.X__val undefined (type syscall.Fsid has no field or method X__val)
FAIL	github.com/pkg/sftp [build failed]
So my preference would be to add proper names also to the padding fields, because people do weird things :-)

Also I'm not sure if only the paddings are named with underscore or some valid members are misnamed. But a consistent solution across all arches would be appreciated.

@sharkcz, that project was already fixed on Sep 30th 2016 via https://github.com/pkg/sftp/commit/4d0e916071f68db74f8a73926335f809396d6b42 for duplicate bug #17298

Ah, thanks for, I'll ask our maintainers to update the sftp package. Dunno why they used older snapshot, although the package was introduced into Fedora yesterday.

The meta issue is #18632.


Updated for new Stable versions helm/k8s

Note: DefectDojo is now on Python3.5 and Django 2.2.x Please submit your pull requests to the 'dev' branch as the 'legacy-python2.7' branch is only for bug fixes. Any new features submitted to the legacy branch will be ignored and closed.
When submitting a pull request, please make sure you have completed the following checklist:

[ ] Your code is flake8 compliant
[ ] Your code is python 3.5 compliant (specific python >=3.6 syntax is currently not accepted)
[ ] If this is a new feature and not a bug fix, you've included the proper documentation in the ReadTheDocs documentation folder. https://github.com/DefectDojo/Documentation/tree/master/docs or provide feature documentation in the PR.
[ ] Model changes must include the necessary migrations in the dojo/db_migrations folder.
[ ] Add applicable tests to the unit tests.
[ ] Add the proper label to categorize your PR

Current accepted labels for PRs:

Import Scans (for new scanners/importers)
enhancement
feature
bugfix
maintenance (a.k.a chores)
dependencies

hello @zlmitche ,
Thanks for thinking of it, dependabot doesn't seem to care :). But actually, the stable repository is deprecated entirely. charts are now located at https://charts.bitnami.com/bitnami (see links in README.MD of each chart) and exist with slightly newer versions.
This makes the switch beween repos:
helm repo remove stable
helm repo add bitnami https://charts.bitnami.com/bitnami

check for latest versions:
# 8.7.4
helm search repo  -l bitnami/postgres
# 10.6.6
helm search repo -l bitnami/redis
# 6.25.3
helm search repo  -l bitnami/rabbitmq
# 6.11.2
helm search repo  -l bitnami/mysql

could you test, update your PR and also the KUBERNETES.MD (helm repo add commands)? maybe also adding the repo switching command would help everyone.
thanks!

requirements.lock needs to be updated too

Stale for a while. Please re-open if needed.


Easy GitHub Account Switching in VSCode for Work and Personal Use

I would like to have the ability to easily switch between accounts for connecting to GitHub in VSCode. I want to be able to switch between my work and personal GitHub accounts easily.

/duplicate https://github.com/microsoft/vscode/issues/127967


Request: Allow VMs without floating IPs

There are times when a user may want a VM allocated, but doesn't need a floating IP.  For example, some clouds allow VMs directly on the public network.  Also, it's possible a jenkins server might be on the same network as the VM that is being requested, thus, no floating IP is needed.  Please provide support for launching VMs without having to allocate/assign/use a floating IP.

If you use JNLP instead of SSH for the slave connection method then it's the VM's responsibility to connect to the Jenkins server, rather than the other way around, and no floating IP is required.
e.g. My OpenStack systems have a limited supply of routable IP addresses, so we use a non-routable private network (10.something) and NAT (to allow them to connect to the company network) for most VMs, and then those VMs connect to Jenkins via JNLP.
Note: To do this with version 2.17 of the openstack plugin, you'd have to configure your Jenkins server to permit anonymous users to connect a slave (if you manually create a dummy JNLP slave entry, look at the "how to launch the slave" instructions and see that it's telling you to specify a "-secret" argument then your security settings aren't permitting anonymous slave connections) and you'll also have to use a version of Jenkins prior to version 2.27.  https://github.com/jenkinsci/openstack-cloud-plugin/pull/135 is intended to resolve these issues.
If you need to use SSH then this would require further plugin enhancements to make the code find what non-floating IP address(es) had been assigned to the VM and use that.  I'm not sure how easy it'd be to extract that information from OpenStack, but I'm sure it'd be possible.
However, if you need a solution "now", use JNLP.

If you need to use SSH then this would require further plugin enhancements to make the code find what non-floating IP address(es) had been assigned to the VM and use that. I'm not sure how easy it'd be to extract that information from OpenStack, but I'm sure it'd be possible.

The thing is there are deployments where floating IP is required to access openstack from Jenkins - hence the default. I dare to say the code is ready for machines to come up without floating IPs so fixed IPs will be used as fallback: https://github.com/jenkinsci/openstack-cloud-plugin/blob/master/src/main/java/jenkins/plugins/openstack/compute/internal/Openstack.java#L350-L369.
This whole task seems to boil down to adjust form configuration and openstack communication so the FIP is not requested. Unfortunately, I do not have an environment to test this.

If you can explain what you require to test this, maybe I can help.   I've got access to a couple of service endpoints (one v2 auth, one v3)...
I'm still learning OpenStack "as I go", so I'm not (currently) entirely clear on the difference between a "floating IP" and one you get purely from assigning a network to the VM (thus far, I've not used floating IPs, although I have found where they are on our "Horizon" OpenStack WebUI), but if if it won't take too long and you can tell me what to do then I could things out and let you know the results.
e.g. would I be right in thinking that a test scenario would be a Jenkins SSH-based slave which is not assigned to a network but which is assigned a floating IP?

I was able to workaround this bug by using the jclouds plugin along with the "slave check-in" feature.  However, it is much more complicated to configure jclouds to talk to the openstack cluster than it was with this plugin.  I'm happy to continue to supply feedback for this issue, but given I have a working workaround, I'm also willing to let this one go.

would I be right in thinking that a test scenario would be a Jenkins SSH-based slave which is not assigned to a network but which is assigned a floating IP?

IMO, we need it the other way around. In network but without FIP.

If you can explain what you require to test this, maybe I can help. I've got access to a couple of service endpoints (one v2 auth, one v3)...

This should be testable/tested on functional test level. The request sent should not require it, the mocked server provisioned should not contain FIP and Jenkins should pick the fixed one.

Ok, I have gave this a try and it seems to work as expected as long as I can tell from my limited ability to reproduce. Configuration page offers "None specified" in FIP pool select option, when that is selected no FIP is requested nor assigned and Jenkins start to initiate connection using fixed address. That is where I am stuck as I fail to reach the fixed address on my instance in time (or ever).
How exactly does the problem manifests for you?

@olivergondza I have no problem launching the instance. But it cannot be deleted since I do not have permission to even list the floating IPs. I will get 403 at this line here: https://github.com/jenkinsci/openstack-cloud-plugin/blob/master/src/main/java/jenkins/plugins/openstack/compute/internal/Openstack.java#L324
And the instance will never be deleted from openstack...
Can you just skip the floating IPs stuff during deletion if there is a 403 or user configure not to use floating IPs?

@minz1027, good point. Can you attach full exception thrown in such case? thanks

@olivergondza
Apr 12, 2017 6:43:47 PM jenkins.plugins.openstack.compute.SlaveOptionsDescriptor doFillFloatingIpPoolItems
SEVERE: Policy doesn't allow compute_extension:floating_ip_pools to be performed.
ClientResponseException{message=Policy doesn't allow compute_extension:floating_ip_pools to be performed., status=403, status-code=FORBIDDEN}
	at org.openstack4j.core.transport.HttpExceptionHandler.mapException(HttpExceptionHandler.java:38)
	at org.openstack4j.core.transport.HttpExceptionHandler.mapException(HttpExceptionHandler.java:23)
	at org.openstack4j.core.transport.HttpEntityHandler.handleLessThan500(HttpEntityHandler.java:101)
	at org.openstack4j.core.transport.HttpEntityHandler.handle(HttpEntityHandler.java:47)
	at org.openstack4j.connectors.httpclient.HttpResponseImpl.getEntity(HttpResponseImpl.java:67)
	at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:220)
	at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:202)
	at org.openstack4j.openstack.compute.internal.ComputeFloatingIPServiceImpl.getPoolNames(ComputeFloatingIPServiceImpl.java:40)
	at jenkins.plugins.openstack.compute.internal.Openstack.getSortedIpPools(Openstack.java:165)
	at jenkins.plugins.openstack.compute.SlaveOptionsDescriptor.doFillFloatingIpPoolItems(SlaveOptionsDescriptor.java:173)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
	at org.eclipse.jetty.server.Server.handle(Server.java:370)
	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
	at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

@minz1027, @drwahl, can you give master branch a try?

I'll give it a try soon(tm).


issue with -Dnext compilation flag

Hi.
I am having this issue when compiling with -Dnext (openfl 3.3.3):
[javac] Compiling 8 source files to C:\Development\haxe\Darkaedalus\export\android\bin\bin\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] C:\Development\haxe\Darkaedalus\export\android\bin\src\shareex\ShareEx.java:16: error: cannot find symbol
[javac]         GameActivity.getInstance().getContext().startActivity(sendIntent);
[javac]                     ^
[javac]   symbol:   method getInstance()
[javac]   location: class GameActivity
[javac] Note: C:\Development\haxe\Darkaedalus\export\android\bin\src\org\libsdl\app\SDLActivity.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error
[javac] 3 warnings
works fine when compiled with openfl legacy though.

Would the extension work if we used org.haxe.extension.Extension.mainActivity instead of trying to reference GameActivity? The structure (or existence) of "GameActivity" is not guaranteed :smile:

Hi, I think we could change that... I'll try it now and let you know :)

Done! In addition to that, I had to add one flag to the intent:
sendIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

And it's working on both (next and legacy) :+1:
Already pushed to github and haxelib.
Thanks for reporting!

Awesome, thanks! :smile:

Perfect. Thanks! :+1:

i want to know when user share success or fail, can you help me?


CacheManager dependency resolving error

I`m using Lumen 5.1.* and i have an dependency resolving error like:
BindingResolutionException in Container.php line 823: Unresolvable dependency resolving
[Parameter #0 [ <required> $app ]] in class Illuminate\Cache\CacheManager

I see this problem is caused by
$app['Dingo\Api\Http\RateLimit\Handler']->extend(function ($app) {
    return new Dingo\Api\Http\RateLimit\Throttle\Authenticated;
});

There's a bad alias that I need to fix it seems.
Try this instead until I push a fix:
$app['api.limiting']->extend();

Or run composer update and use your existing code.

Yes, has been fixed. Thank you!


QMontgomeryUInt not serializable

I was tying to create a bloq example with dtype=QMontgomeryUInt when I recieved this error
bloq_ex = BloqExample(name='cmodadd_example', bloq_cls=<class 'qualtran.bloqs.mod_arithmetic.mod_addition.CModAdd'>, generalizer=<function <lambda> at 0x7f686ba19800>)

    def assert_bloq_example_serializes(bloq_ex: BloqExample) -> None:
        """Assert that the BloqExample has consistent serialization.

        This function asserts that the given bloq can be serialized to a proto format and the
        corresponding proto can be deserialized back to a bloq which is equal to the original
        bloq.

        If the given Bloq cannot be serialized / deserialized OR if the deserialized Bloq is not
        equal to the given Bloq, then the result is `FAIL`. If the roundtrip succeeds, the result
        is `PASS`.

        Returns:
            None if the assertions are satisfied.

        Raises:
            BloqCheckException if any assertions are violated.
        """
        from qualtran.serialization.bloq import bloqs_from_proto, bloqs_to_proto

        bloq = bloq_ex.make()

        try:
            bloq_lib = bloqs_to_proto(bloq)
        except Exception as e:
>           raise BloqCheckException.fail('Serialization Failed:\n' + str(e)) from e
E           qualtran.testing.BloqCheckException: Serialization Failed:
E           Data type <class 'qualtran._infra.data_types.QMontgomeryUInt'> is not recognized. It must be of one of the following subtypes: QBit, QAny, QInt, QIntOnesComp, QUInt, BoundedQUInt, QFixedPoint

qualtran/testing.py:579: BloqCheckException

I can fix this I think


Feature/APIv2: Update Parser that handles multiple relationships [ENG-429]

Purpose
Modify JSONAPIMultipleRelationshipsParserForRegularJSON to have the same handling of list data as the JSONAPIMultipleRelationshipsParser.  It currently cannot handle multiple relationships (affiliated_institutions, for example).

Both parsers should have the same behavior, they just handle different content types - application/json versus application/vnd.api+json.

Changes
JSONAPIMultipleRelationshipsParserForRegularJSON given same handling as JSONAPIMultipleRelationshipsParser.
QA Notes
For example, a request that looks like this wasn't working if the Content-Type is application/json.  We are trying to support both this and the json-api content-type, application/vnd.api+json.

PATCH v2/registrations/xyb6e/
{
  "data": {
    "id": "xyb6e",
    "type": "registrations",
    "relationships": {
      "affiliated_institutions": {
                "data": [
                    {"type": "institutions", "id": "cos"}
                ]
            }
      }
  }
}

Documentation

Side Effects

Ticket
https://openscience.atlassian.net/browse/ENG-429

@brianjgeiger, don't worry, no one is making calls using the wrong content-type on our side! I was just setting up a new configuration locally, didn't have the correct content-type, and went down a huge rabbit-hole before I realized this was the problem.
I agree that our main priority is supporting jsonapi, but since we already had this parser for application/json, it was an easy fix.

💯


Peer to Peer Group Code Review

@memelopez and @Hadi111jafari Team you are doing awesome work.

Please consider removing unused code so that it will have clean code

https://github.com/Hadi111jafari/capstone2-API-webapp/blob/8c9bdf4a7b9c86d57b6f14ada2efcb07ac9d53c2/src/index.js#L47-L49

your project is going well.
you might add in CSS a backdrop-filter: for the modal. That will look great.


Fix get_time_zone_info returning inverted bias on Windows/UWP

With this change OS.get_time_zone_info now returns the same bias value on Unix platforms and Windows platforms. On GMT-3 it returns -180.

Thanks!


Added menubar.startMenubar to enable to start menubar app by user

Currently, menubar app must be defined before app's ready event.
This is not flexible because menubar user can only start menubar app at
ready event.
I added startMenubar() method to resolve this problem.

@rhysd Hi, sorry for not responding sooner. I'm trying to understand the use case more, can you give an example of how you might use this new method? E.g. in what cases would you be calling startMenubar before electron emits app.on('ready' (which then also calls startMenubar)

Ah, I'm sorry for leaving this. I already finished the app and this change is already not needed. Thank you for review.


Compatibility version in osx is screwed up

In OSX,
gtk3-3.24.18-h41d95d7_1.tar.bz2 has compatibility version 2411.0.0
gtk3-3.24.21-h41d95d7_0.tar.bz2 has compatibility version 2405.0.0
Compatibility version should go up, not down

they have made a bit of a mess of their meson versioning over the last couple of months, but supposedly it is fixed now. Unfortunately, this may mean that you will need to recompile any software that is linked to it.
Are their any affected conda packages?

Thanks for the info. gtkmm is affected


Remove unsafe-inline for Edge from CSP

Looks like edge now supports CSP 2 and , so we can remove the unsafe-inline: https://www.caniuse.com/#search=csp

done


Add support for placement-tags

New optional flag --rep-placement-tags to tag LRPs and tasks
From story: https://www.pivotaltracker.com/story/show/146382843
Signed-off-by: Claudia Beresford<EMAIL_ADDRESS>

Thanks, @tscolari ! Rather than have the logic to parse around commas, I think it would be better to have the flag specify a single placement-tag and to be repeatable to build up a set of tags, or to accept a JSON-encoded array of tags, than to have to parse around commas. For example, the Diego cell rep used to take multiple flags for its rootfs providers (see https://github.com/cloudfoundry/rep/blob/d26748257520cbb800a64717ee61a9d8f25b1c71/cmd/rep/flags.go#L188-L201 and https://github.com/cloudfoundry/rep/blob/d26748257520cbb800a64717ee61a9d8f25b1c71/cmd/rep/main.go#L57-L58 for one example) before we converted it to take a JSON-encoded file for its entire config. (Which we may want to do for vizzini at some point, too.)
Best,
Eric

no worries! We're going to update the PR


Trying to load unrendered tiles

LiveAtlas Version: 1.1.0
Dynmap Version: 3.1-457
Server Version: Paper 1.16.5
When I move into blank on the map, HTTP 404 error appears.

This is normal behaviour as LiveAtlas (and vanilla dynmap) cannot know whether tiles exist without attempting to fetch them. If you would rather not see 404s in the console and you're using an external webserver, you could perhaps configure it to return a blank image instead of a 404 if a file doesn't exist (try_files would allow you to do this in nginx). This is out of scope for LiveAtlas though.

I understood. Thank you.
I love LiveAtlas because it works well on my laptop with touchscreen. vanilla Dynmap doesn't work on it.
Thanks for making LiveAtlas.


Rooms list empty after using global search with unmatching filter

To reproduce:

From recents, hit search button
In the search bar, enter a filter who won't matches any local or public rooms
Hit Cancel button button

Rooms list is empty, this is a mix between recents list and global search layout

Related to https://github.com/vector-im/riot-ios/issues/358


Table/View cannot be created/dropped using UI

System information:

Operating system (distribution) and version win10
DBeaver version 21.0.3 EA

Connection specification:

Database name and version PrestoDB
Driver name PrestoSQL - Presto JDBC 350, PrestoDB - PrestoJDBC 0.250

Describe the problem you're observing:
The table/view cannot be created using UI - an error appears, but it is successfully created in case of copying a generated script and executing it manually.

As mentioned in the error itself, Presto supports creating tables in auto-commit mode. Now Presto uses current transaction mode.

verified


How can I cancel an open / or partially filled order ?

I am not sure, but I have not found it yet.. maybe I missed it...
On the site yunbi.com, it seems that they have implemented order cancelling
best greetings

Just click the order you want to cancel.

oh thanks, I found it right now in the markets page.
But it would also be convenient if we can cancel them at the ...../history/orders pages...

History is read-only :-)


Greenkeeper/semantic release 15.1.2

Coverage remained the same at 95.084% when pulling b04216a321d51cb1e608d0122d49944f686a2a07 on greenkeeper/semantic-release-15.1.2 into 18acbc1981a60eabbced20a1b2b40e4fed3244a0 on master.


Fixed RuntimeMeshManager functions and added a BP-exposed mesh manager wrapper as UObject

Also fix from @ryaowe for crash when using GetStaticMeshSection.

No longer exists in v4 (yet)


Transfer Summary - # Work Items includes declined items in total.

On the Transfer Tab, the "# Work Items" is including the number of declined items in the total.  It should only include the number of items that are approved.  It could be confusing for users to see the total number of items is one number, then click on the Transfer name and see less items to assign to projects.

Correct # of accepted work items should show correctly in the recent commit.


HDFS-17328. DiskBalancer should not computeNodeDensity every time when addVolume.

Description of PR
When we call DiskBalancerDataNode#addVolume method, it will computeNodeDensity every time. That is unnecessary. We only need to compute NodeDensity when all volumes were added. This can improve the speed of report command.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 31s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
44m 58s

trunk passed

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
1m 17s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
checkstyle
1m 11s

trunk passed

+1 :green_heart:
mvnsite
1m 26s

trunk passed

+1 :green_heart:
javadoc
1m  6s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 39s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
3m 34s

trunk passed

+1 :green_heart:
shadedclient
37m 28s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 15s

the patch passed

+1 :green_heart:
compile
1m 12s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
1m 12s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  2s

the patch passed

+1 :green_heart:
mvnsite
1m 15s

the patch passed

+1 :green_heart:
javadoc
0m 52s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 29s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
3m 24s

the patch passed

+1 :green_heart:
shadedclient
37m 40s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
213m 36s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 43s

The patch does not generate ASF License warnings.

358m 22s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6422/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6422

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 5bf453685136 5.15.0-86-generic #96-Ubuntu SMP Wed Sep 20 08:23:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 63b8cc20fdd29c2e5124075b5543fc8a98438656

Default Java
Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6422/1/testReport/

Max. process+thread count
3781 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6422/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Failed to compile maple on arch linux

Environment (please complete the following information):

OS: Arch Linux
(Neo)Vim version: v0.7.0-dev+1160-g01139ec82c
vim-clap version: master branch
Have you reproduced with a minimal vimrc: yes
Have you updated to the latest plugin version: yes
Have you upgraded to/compiled the latest Rust binary: yes

Describe the bug
I can't build maple binary on Arch Linux, it said:
❯ cargo build --release
   Compiling filter v0.1.0 (/home/sainnhe/.local/share/nvim/plugins/vim-clap/crates/filter)
   Compiling maple v0.1.33 (/home/sainnhe/.local/share/nvim/plugins/vim-clap)
error: failed to run custom build command for `maple v0.1.33 (/home/sainnhe/.local/share/nvim/plugins/vim-clap)`

Caused by:
  process didn't exit successfully: `/home/sainnhe/.local/share/nvim/plugins/vim-clap/target/release/build/maple-86eb3fb85c08cd5c/build-script-build` (exit status: 127)
  --- stderr
  /home/sainnhe/.local/share/nvim/plugins/vim-clap/target/release/build/maple-86eb3fb85c08cd5c/build-script-build: error while loading shared libraries: libgit2.so.1.3: cannot open shared object file: No such file or directory
warning: build failed, waiting for other jobs to finish...
error: build failed

On arch linux, libgit2 is 1.4.0
❯ ls /usr/lib | grep libgit2
libgit2.so
libgit2.so.1.4
libgit2.so.1.4.0

Clap debug

            has cargo: 1
            has maple: /home/sainnhe/.local/share/nvim/plugins/vim-clap/target/release/maple
           maple info: version 0.1.33, built for x86_64-unknown-linux-gnu by rustc 1.61.0-nightly (532d3cda9 2022-02-23).
         has +python3: 0
has py dynamic module: ERROR: Vim(python):E319: No "python3" provider found. Run ":checkhealth provider"
            has ctags: ctags not found
        rustc version: rustc 1.61.0-nightly (532d3cda9 2022-02-23)
    Current sync impl: Lua
     Current FileType: startify
Third Party Providers: []
       Global Options:
    let g:clap#autoload_dir = '/home/sainnhe/.local/share/nvim/plugins/vim-clap/autoload'
    let g:clap#provider_alias = {'gfiles': 'git_files', 'hist:': 'command_history', 'hist/': 'search_history'}
    let g:clap_background_shadow_blend = 50
    let g:clap_cache_directory = '/home/sainnhe/.cache/nvim/clap'
    let g:clap_disable_bottom_top = 0
    let g:clap_disable_matches_indicator = v:false
    let g:clap_disable_optional_async = v:false
    let g:clap_disable_run_rooter = v:false
    let g:clap_enable_background_shadow = v:true
    let g:clap_enable_debug = v:false
    let g:clap_enable_icon = 1
    let g:clap_forerunner_status_sign = {'done': '•', 'running': '!', 'using_cache': '*'}
    let g:clap_insert_mode_only = v:false
    let g:clap_layout = {'relative': 'editor'}
    let g:clap_multi_selection_warning_silent = 0
    let g:clap_no_matches_msg = 'NO MATCHES FOUND'
    let g:clap_open_action = {'ctrl-v': 'vsplit', 'ctrl-x': 'split', 'ctrl-t': 'tab split'}
    let g:clap_open_preview = 'always'
    let g:clap_popup_border = 'single'
    let g:clap_preview_direction = 'AUTO'
    let g:clap_preview_size = 5
    let g:clap_providers_relaunch_code = '@@'
    let g:clap_search_box_border_style = 'nil'
    let g:clap_search_box_border_symbols = {'nil': ['', ''], 'curve': ['', ''], 'arrow': ['', '']}
  Provider Variables:
    let g:clap_provider_color_schemes = {'source': function('<SNR>48_clap_provider_color_schemes_source'), 'sink': function('<SNR>48_clap_provider_color_schemes_sin
k')}
    let g:clap_provider_grep_opts = '-H --no-heading --vimgrep --smart-case --hidden --no-ignore -g "!.git/"'

To Reproduce
Steps to reproduce the behavior:

Clone this repo and cd to the directory
Run cargo build --release
See error

Expected behavior
Compile successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

So you have compiled the Rust binary successfully before and somehow now it failed to compile? I don't use arch, https://github.com/ogham/exa/issues/985 and https://github.com/dandavison/delta/issues/732 might be helpful.
If you really can't fix it on your side, you can work around it by disabling the libgit2 dep:
diff --git a/Cargo.toml b/Cargo.toml
index f432545b..81d0bf05 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,7 @@ tokio = { version = "1.17", features = ["rt"] }
 maple_cli = { path = "crates/maple_cli" }

 [build-dependencies]
-built = { package = "built", version = "0.5", features = ["git2"] }
+built = { package = "built", version = "0.5" }
diff --git a/src/main.rs b/src/main.rs
index ddcc76ea..4947a401 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,9 +6,8 @@ pub mod built_info {

 fn version() {
     println!(
-        "version {}{}, built for {} by {}.",
+        "version {}, built for {} by {}.",
         built_info::PKG_VERSION,
-        built_info::GIT_VERSION.map_or_else(|| "".to_owned(), |v| format!(" (git {})", v)),
         built_info::TARGET,
         built_info::RUSTC_VERSION
     );
@@ -21,11 +20,7 @@ async fn main() -> Result<()> {
     match maple.command {
         Cmd::Version => version(),
         Cmd::Upgrade(upgrade) => {
-            let local_git_tag = built_info::GIT_VERSION.context("Failed to get GIT_VERSION")?;
-            if let Err(e) = upgrade.run(local_git_tag).await {
-                eprintln!("failed to upgrade: {:?}", e);
-                std::process::exit(1);
-            }
+            unimplemented!("Upgrade unsupported");
         }
         _ => {
             if let Err(e) = maple.run().await {

Only the version and upgrade command will be affected, which should be fine for the daily use.

Thanks for your information!
I managed to compile the binary by cleaning build cache. The old cache seems to be linked to libgit2.so.1.3


Balder/deinline for gcc 8

@toregge PR
No semantic changes intended - just cleanup before a semantic change.

@havardpe PR

@havardpe Now the buggy code is gone together with some other unused code.


Added variable callback for lazy access objects properties

This PR adds:

Ability to use dots in the variable names, e.g foo.bar
If the variable is not defined it will call the provided user callback which resolves the variable value.

So that the following code would work:
use Symfony\Component\PropertyAccess\PropertyAccessor;

$rule = new Rule('foo.bar > 10 && foo.bar < 20', [], function(string $name) {
    $propertyAccessor = new PropertyAccessor();
    if (false !== strpos($name, '.')) {
        [$entity, $field] = explode('.', $name);
        if ($entity === 'foo') {
            return $propertyAccessor->getValue($object, $field);
        }
    }
    throw new \OutOfBoundsException("Unable to resolve variable '{$name}'");
});
$rule->isTrue();

Hey @karser!
Thank you so much for your contribution! I like the idea, but I'm not sure if I like the implementation.
It would be nice if NodeVariable.php would check for properties and method calls, and then pass said properties to the underlying variable if it's an object.
So things like these should work out of the box.
$myObj = new stdClass();
$myObj->test = 'hello';

$vars = [
    'myobj' => $myObj,
];

$rule = new Rule('myobj.test === "hello"', $vars);

and
$myObj = new class {
    function test() {
        return 'hello';
    }
};

$vars = [
    'myobj' => $myObj,
];

$rule = new Rule('myobj.test() === "hello"', $vars);

What do you think?

Definitely it's must-have feature :)
I'd like to clarify my use case (and not only my, there is a similar request in symfony/expression component https://github.com/symfony/symfony/issues/18520). The end user writes high level expressions like post.userId or user.posts[0].id. He is not a programmer and doesn't care if object has public property or getters/issers.
Meaning, if expression is myobj.test it first checks if the object has public property $myobj.test and then $myobj.getTest(), $myobj.isTest(). Otherwise it'll try to call $myobj.test() or throw an error.
This logic is used in Twig (expressions and if conditions) and also can be achieved by using Symfony/PropertyAccessor.
What do you think if we add symfony/property-access to the dependencies and use it in NodeVariable or in AST? In this case I'll remove the variable callback and objects will be supported the same way but internally.
$myObj = new class {
    public $integerVar = 10;

    public function getStringVar() {
        return 'hello';
    }

    public function isBoolVar() {
        return true;
    }
};

$propertyAccessor->getValue($myObj, 'boolVar'); // true
$propertyAccessor->getValue($myObj, 'stringVar'); // "hello"
$propertyAccessor->getValue($myObj, 'integerVar'); // 10

$vars = [
    'myobj' => $myObj,
];

$rule = new Rule('myobj.boolVar === true && myobj.stringVar === "hello" && myobj.integerVar === 10', $vars);

I've just pushed an alpha version that implements custom objects, pretty much as described as above.
I tagged it as 0.6.0-alpha. There's also a few tests with examples
As for now, methods need to be called with the parentheses, so object.method won't call $object->method(). This could mess up the internal methods that were already provided and that require arguments. I'll give this some more thought, though.
Let me know what you think!

That's great! A few notes though.
First:

As for now, methods need to be called with the parentheses, so object.method won't call $object->method(). This could mess up the internal methods that were already provided and that require arguments

Do we really need parenthesis in there? this regex allows to avoid these kind of conflicts.

Second:
You can't implement the entire component in the function getCallableUserObject.
Can we extract the behavior of getCallableUserObject into an interface, so that DefaultObjectPropertyAccessor would be doing the basic objects calls as you implemented and SymfonyObjectPropertyAccessor would proxy calls to symfony property accessor, so that we could easily add the collection support user.posts[0].id by tweaking the regular expression.

It's been a while
But I just tagged 0.6.0 as stable release.
@karser :

Do we really need parenthesis in there? this regex allows to avoid these kind of conflicts.

Perhaps they're not technically required, but I'd still rather keep them for now

You can't implement the entire component in the function getCallableUserObject.

It was a quick PoC, I never intended to release it this way. It's been refactored since then


Disallow sending to direct cast address after association

Describe your changes and provide context
We don't want to allow users to send funds to a temporary address that's created through direct casting of an EVM address after that EVM address has been associated with its true Sei address counterpart. This PR in conjunction with this sei-cosmos PR introduces such a check.
Testing performed to validate your change
unit test

This one will need a hardhat test (see the association test library).  They already do the association, so this would just be asserting that the subsequent transaction fails.


Keep alive in iOS?

I'm not sure if this is a limitation of any web-based player, but I've noticed, on my iPhone, that while this player continues the current track until the end, it does not then continue to the next track. It would be great to be able to set up a playlist to play while the phone is locked. Is this possible?

I have made some prelimnary observations and it seems to be a descrapancy in how HTMLAudioElement handles a change in "src" property. For iOS Safari it seems we have to explicitly instruct it to continue playing once there is a change, which is not the case with desktop browsers or android browser. Will work on this soon.

It seems Javascript execution is suspended when Safari is in the background on iOS. As I do not have an iphone its quite difficult to debug this.
Interesting to note this discussion https://discussions.apple.com/thread/2298038, by adding the web app to the homescreen iOS seems to give more privilege and allow javascript to continue execution. But this is old and might not be the current behaviour.


epic: marketplace page on router as a copy of swap offers

Feature Request
Describe the Feature Request
Create a marketplace for Swaplace!!
Describe Preferred Solution
The blockchain returns a variable config where the allowed address can be extracted. This address represents the 1-1 trade target of a swap. But If it's set to zero, means that anyone can accept the swap.
Describe Alternatives
Definition of Done:

[x] #312
[x] #313
[x] #310
[x] #311

Related Material
The designs are ready in Figma and can be accessed by @heronlancellot only.

Closed by #349


Attempt to keep Kotlin totally off the classpath

This addresses the broken Kotlin support by keeping all things sc-contract in a totally isolated classloader (via process forking). This is the same pattern employed by the Kotlin plugin when attempting to perform Kotlin compilation (albeit much easier in our case).

From a breaking change standpoint, I'm pretty sure that the answer is no. There is however some cleanup that end users should do to ensure a clean state long term.
I did run through a chunk of the samples (all were passing), but did not get them all completely tested last night. Since I had the code done I wanted to get it out there for discussion as a main objective. Some of the samples don't play nicely with Windows, but I've come to expect that.
A s far as the samples go, I have no problem with making them a multi-module build using current idiomatic Gradle configuration or staying aligned with what you all have already. Not sure I follow on the build-workshop.gradle aspect though...
As to the changes and how they relate to a potential breaking change, or lack thereof, I'll break if down like this:

sc-contract Gradle plugin now uses the classpath of the end users tests, more specifically contractTestRuntimeClasspath which is the dependendencies part of the contractTest testing task.
** End user contracts no longer on buildscript classpath (if they are there Gradle won't care nor will sc-contract)
** End user contracts were already on testRuntimeClasspath and we presently extend the main ones used for those purposes.
** End users no longer have to add duplicate dependencies in the buildscript classpath AND the test classpath. All dependencies will land on the contractTest classpath either transitive via the test configurations or via the first-order configurations for contractTest.
As a result of sc-contract being on its own classloader via forking, we can eliminate 99% of the dependencies, so as to help avoid version conflict resolution with our transitives
The integration point is a little painful to reason about, but it is kept as simple as humanly possible...
Since a producer generally has no need for sc-converters and we would have gained it as a transitive before, it feels safe enough to isolate it away from users, but provide it for "test generation" purposes. All remaining libraries are needed by the user so they can execute the generated tests, so is safe to reason about them not observing any breaking changes here. (Eg: you need verifier in all cases to run tests and if you wrote Kotlin contracts, spec-kotlin must be on the contractTest classpath.

Hopefully that sheds some light on the impact of this from both the authoring and end-user perspectives.

To additionally note, the only time that there could become a breaking change this way is if the end user is a consumer and is applying the sc-contract Gradle plugin erroneously. In this case sc-contract-verifier would not be on their contractTest classpath and we would end up with a ClassNotFound from the JavaExec.
Based on the documentation and samples, the user is attempted to be guided away from doing exactly this, but that doesn't prevent the end user from incorrectly using the plugin.

From a breaking change standpoint, I'm pretty sure that the answer is no. There is however some cleanup that end users should do to ensure a clean state long term.

Good!

I did run through a chunk of the samples (all were passing), but did not get them all completely tested last night. Since I had the code done I wanted to get it out there for discussion as a main objective. Some of the samples don't play nicely with Windows, but I've come to expect that.

Sorry about that :(

A s far as the samples go, I have no problem with making them a multi-module build using current idiomatic Gradle configuration or staying aligned with what you all have already. Not sure I follow on the build-workshop.gradle aspect though...

So in the samples repo, current build.gradle setup contains logic to prepare workshops adocs. It doesn't actually setup the multi-gradle build. So what we could do is change the current build.gradle file to build-workshop.gradle and create a new build.gradle that would actually do what currently is done via the scripts/runGradleBuilds.sh

As to the changes and how they relate to a potential breaking change, or lack thereof, I'll break if down like this:

Yup, that looks great, thanks so much!

To additionally note, the only time that there could become a breaking change this way is if the end user is a consumer and is applying the sc-contract Gradle plugin erroneously. In this case sc-contract-verifier would not be on their contractTest classpath and we would end up with a ClassNotFound from the JavaExec.

We can't support all possible use cases... If someone uses the plugin in a wrong way then we can't do much about it.

We could also handle this case by adding a version aligned sc-contract-verifier module just like we did for sc-contract-converters.

Theoretically that way we would stop having the problem with Groovy version mismatch, right? If it's all about adding a line of code to add another library then maybe it's a good idea?

Theoretically that way we would stop having the problem with Groovy version mismatch, right? If it's all about adding a line of code to add another library then maybe it's a good idea?

Not quite sure what you mean with the Groovy version mismatch. Haha. I know we had one with Kotlin and test generation (producer). The previous quoted statement was more in line with preventing a build from bombing out because of a ClassNotFound on the pure consumer side in the event of erroneously applying the sc-contract-gradle-plugin which from every single one of the samples show users that they should not be doing this. (Being really explicit here with wording so as to be able to separate pure producer, pure consumer, and producer-consumer hybrid; scc-gradle-plugin will work just fine for pure and hybrid end users, but for pure consumers applying the plugin there would be issues due to the lack of the sc-contract-verifiers dependency)

Not quite sure what you mean with the Groovy version mismatch. Haha. I know we had one with Kotlin and test generation (producer).

I mean that due to the fact that in this solution we're creating a separate classpath without kotlin for the java exec task, then we can automatically create one without groovy that comes from Gradle.
Anyways, I don't like that you have to do it like this with Gradle, but I guess this is the way to go.

@marcingrzejszczak, gotcha. I definitely agree that we shouldn't have to go to a fully forked process in order to gain the necessary isolation...
Usually the worker api is enough to get the desired isolation, but this mechanic doesn't work for the Groovy or Kotlin versions.

Ok, all of the in-repo samples are successful locally using both Gradle and Maven.
@OlgaMaciaszek let me know that there are some issues with the other samples repository, so that'll be next on my chopping block.

Ok, the current build failure appears to be related to versions in the pom.xml. Since I'm using Gradle's platform what I'll probably have to do is to use the resolved dependencies during publishing. I'll submit that patch tomorrow.

So we're waiting for this PR to get merged to deal with https://github.com/spring-cloud-samples/spring-cloud-contract-samples/issues/177#issuecomment-733733997 ?

@marcingrzejszczak, yes. I would have linked it, but I'm on mobile which is a little hard to do. Haha
I'll be honest, that the error in that ticket seems to be a quirk possibly in the Kotlin JVM plugin due to the application not having Kotlin sources for that SourceSet. Once this is merged though, we'll be able to get a better picture of what's going on though.

Ok, so I've got everything running locally consistently following along exactly (minus tests because Windows) with the ./scripts/ciBuild.sh and I can get everything to pass 100% of the time. However, in CI it appears that the Gradle samples are getting the master snapshot rather than the local snapshot. When this happens, the Gradle tasks run into a ClassNotFoundError when trying to launch the shim application.

So with these changes have you managed to successfully run the Gradle build for Kotlin samples in spring-cloud-contract-samples ?

@marcingrzejszczak, let me rephrase a little bit.
For the samples contained within this immediate project, I can run those successfully locally following the below (simplified) CI process:
./mvnw clean install -DskipTests -Pfast
,/scripts/gradleOnly.sh
./mvnw clean install -Pintegration -rf samples

NOTE: skipping tests here because some of them are sensitive on Windows as we've discussed previously and from the CI environment we can see all tests are passing. Building and testing the in repository samples is the last step of the CI process.
And as further clarification, a number of the Kotlin samples contained within spring-cloud-contract-samples  have been runnable with these changes for me, but when I posted that comment yesterday I was specifically referring to the samples within this repository.

Sure, thanks a lot for the explanation :)
Currently we have the biggest problems with spring-cloud-contract-samples. If you say that with these changes things are working fine then we can merge this and run the samples.

@marcingrzejszczak, I'll make a pass through the spring-cloud-contract-samples project today.
Just and occurring thought, will the master build also have issues with respect to the in repository samples?

Great, thanks! Just check the 3.0.x branch cause the master branch is running against Spring Cloud Contract 2.2.x

[INFO] > Task :compileJava
[INFO] Note: Some input files use or override a deprecated API.
[INFO] Note: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] > Task :processResources
[INFO] > Task :classes
[INFO] > Task :bootJarMainClassName
[INFO] > Task :bootJar
[INFO] > Task :jar SKIPPED
[INFO]
[INFO] > Task :copyContracts
[INFO] Spring Cloud Contract Verifier Plugin: Falling back to legacy contracts directory in 'test' source set. Please switch to 'contractTest' source set as this will be removed in a future release.
[INFO]
[INFO] > Task :generateClientStubs
[INFO] > Task :verifierStubsJar
[INFO] > Task :assemble
[INFO] > Task :compileTestJava
[INFO] > Task :processTestResources
[INFO] > Task :testClasses
[INFO] > Task :test
[INFO]
[INFO] > Task :generateContractTests FAILED
[INFO] Exception in thread "main" com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `org.springframework.cloud.contract.verifier.config.ContractVerifierConfigProperties` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('{"testFramework":"JUNIT5","testMode":"MOCKMVC","basePackageForTests":null,"baseClassForTests":null,"nameSuffixForTests":null,"ruleClassForTests":null,"excludedFiles":[],"includedFiles":[],"ignoredFiles":[],"imports":[],"staticImports":[],"contractsDslDir":"/root/project/samples/standalone/dsl/http-server/build/stubs/META-INF/com.example/http-server-dsl-gradle/0.0.1/contracts","generatedTestSourcesDir":"/root/project/samples/standalone/dsl/http-server/build/generated-test-sources/contractTest/java","generatedTestResourcesDir":"/root/project/samples/standalone/dsl/http-server/build/generated-test-resources/contractTest","stubsOutputDir":null,"stubsSuffix":"stubs","assertJsonSize":false,"includedContracts":".*","includedRootFolderAntPattern":"**/","packageWithBaseClasses":"com.example.fraud","baseClassMappings":{},"excludeBuildFolders":false,"failOnInProgress":true}')
[INFO]  at [Source: (String)""{\"testFramework\":\"JUNIT5\",\"testMode\":\"MOCKMVC\",\"basePackageForTests\":null,\"baseClassForTests\":null,\"nameSuffixForTests\":null,\"ruleClassForTests\":null,\"excludedFiles\":[],\"includedFiles\":[],\"ignoredFiles\":[],\"imports\":[],\"staticImports\":[],\"contractsDslDir\":\"/root/project/samples/standalone/dsl/http-server/build/stubs/META-INF/com.example/http-server-dsl-gradle/0.0.1/contracts\",\"generatedTestSourcesDir\":\"/root/project/samples/standalone/dsl/http-server/build/gener"[truncated 441 chars]; line: 1, column: 1]
[INFO]
[INFO] 	at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:63)
[INFO] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[INFO] 	at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1455)
[INFO] 	at com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator(DeserializationContext.java:1081)
[INFO] Use '--warning-mode all' to show the individual deprecation warnings.
[INFO] 	at com.fasterxml.jackson.databind.deser.ValueInstantiator._createFromStringFallbacks(ValueInstantiator.java:371)
[INFO] See https://docs.gradle.org/6.4/userguide/command_line_interface.html#sec:command_line_warnings
[INFO] 	at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromString(StdValueInstantiator.java:323)
[INFO] 12 actionable tasks: 11 executed, 1 up-to-date
[INFO] 	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromString(BeanDeserializerBase.java:1408)
[INFO] 	at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:176)
[INFO] 	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:166)
[INFO] 	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4526)
[INFO] 	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3468)
[INFO] 	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3436)
[INFO] 	at org.springframework.cloud.contract.verifier.TestGeneratorApplication.main(TestGeneratorApplication.java:36)
[INFO]
[INFO] FAILURE: Build failed with an exception.
[INFO]
[INFO] * What went wrong:
[INFO] Execution failed for task ':generateContractTests'.
[INFO] > Spring Cloud Contract Verifier Plugin exception: Process 'command '/root/.sdkman/candidates/java/8.0.242.j9-adpt/bin/java'' finished with non-zero exit value 1
[INFO]
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  restdocs/pom.xml
[ERROR] *  dsl/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:24 min
[INFO] Finished at: 2020-12-01T05:44:01Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.1:run (integration) on project spring-cloud-contract-samples: 2 builds failed. See console output above for details. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Exited with code exit status 1

CircleCI received exit code 1

@marcingrzejszczak, yeah, I got fed up trying to tease out the issue, so just let stderr be printed directly (didn't want to use debug so as to not leak your all's sensitive credentials and such if there are any).
I'm pretty sure this is as a result of the quoting of the command line arguments. I'm going to do some experimentation on this to try to expand on that idea.

@marcingrzejszczak, so finally figured it out and it happens to be a "quirk" with Java itself... Basically on Windows double quotes are automatically removed and on Linux they should not be present in the first place. I did manage to stumble across this ticket in the Gradle GitHub issues and I noted it alongside the code change to hopefully fix this for good.
Posting here as well: https://github.com/gradle/gradle/issues/6072

Still running through the samples, but it seems like I've got to add back aether to the mix, but that shouldn't be hard to accomplish and get sorted out. Will just need to get that sorted out before we merge this, so as to not let that aspect be dropped during this process.

@marcingrzejszczak, I've managed to complete all current producer and consumer samples contained within spring-cloud-contract-samples except for producer_proto and consumer_proto specifically. I did have to do a couple of workarounds for the SCM-based producer and consumer samples and put together spring-cloud-samples/spring-cloud-contract-samples#181 to track the issues that I had run into.
I'm going to start messing around specifically with the Kotlin samples at this time.


GDScript Editor Autocomplete Not working

Godot version: 3.0.5

**OS/device including version: Windows 7 Ultimate **

Issue description:

Auto Completion feature of the GDscript editor does not work at all.
Steps to reproduce:
Minimal reproduction project:

Please include some steps to reproduce the issue or a gif/video of the problem. We need to know what makes things not work in your case, since it usually works.

Update:
I noticed that removing all text from the created GDscript and start typing when the script file is empty solve the issue ....I consider this as closed for windows 7 case....
I also tested with windows 10, its all working fine without even removing test,