Updating a to-many relationship in the URL-based approach

It's not clear to me from the spec how a to-many relationship should be updated in the URL-based approach. Consider the following example from the spec:
{
  "posts": [{
    "id": "1",
    "links": {
      "comments": "http://example.com/comments/5,12,17,20"
    }
  }]
}

Say I want to remove the comment with ID 5 from this post's comments. According to the spec, I should issue a PATCH request with a remove operation, a la:
PATCH /posts/1

[
  { "op": "remove", "path": "/posts/0/links/comments/5" }
]

But in this case, this operation doesn't represent a valid JSON Patch operation on the original document. Perhaps the crux of the problem is that at one point the spec states:

While to-many relationships are represented as a JSON array in a GET response, they are updated as if they were a set.

But in the case of the URL-based approach, the to-many relationship is represented as a string, not an array.
One potential answer is that instead of representing editable to-many relationships in the form "http://example.com/comments/5,12,17,20", one should always use an opaque URL of the form "http://example.com/posts/1/comments", and then issuing a remove operation on the array elements of this resource.
Alternatively, the spec could allow for listing to-many references as an array of URLs, a la:
{
  "posts": [{
    "id": "1",
    "links": {
      "comments": [
        "http://example.com/comments/5",
        "http://example.com/comments/12",
        "http://example.com/comments/17",
        "http://example.com/comments/20"
      ]
    }
  }]
}

And then issuing a remove operation:
PATCH /posts/1

[
  { "op": "remove", "path": "/posts/0/links/comments/http:~1~1example.com~1comments~15" }
]

Which of these two options seems more in line with the spec's intention? I'd prefer not to use the "URL shorthand" approach described in the spec, even though it provides another solution.

We have had the same issue, specially because the to-many urls we had were getting really big...

As of #341 (RC2), the spec no longer requires the use of URLs for multiple individual resources.
To-many relationships can be updated as described in the base spec: http://jsonapi.org/format/#crud-updating-to-many-relationships
Or with the Patch extension: http://jsonapi.org/extensions/patch/#patch-updating-to-many-relationships
I'm pretty sure these two sections cover all the issues mentioned here, but please reopen if necessary.


Set value for RABBITMQ_DEPL_IMG

Set to: quay.io/podified-antelope-centos9/openstack-rabbitmq:current-podified

the image might not work without changes removing kolla. a test from @Deydra71 showed:
$ oc logs rabbitmq-server-0 -n octavia-kuttl-tests
Defaulted container "rabbitmq" out of: rabbitmq, setup-container (init)
+ sudo -E kolla_set_configs
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?


update SVTPlay downloader

Seems like SVTPlay has moved things around again. Would appreciate if someone else could test too.

Can you provide any example where the previous version does not work?

http://www.svtplay.se/video/9244933/arkitekturens-parlor/arkitekturens-parlor-sasong-4-radhustillbyggnaden-goteborg

That link works fine for me. What error do you get? Can you run with --debug flag and post your output please?

Hm. It works for me now too. Weird. I was seeing failures due to the json request returning 301 and a whole new setup behind that. Maybe SVT is doing A/B testing?
Anyway, we can leave everything as is for now then. Thanks.

THanks for the update.

@njtaylor This PR is incorrect and breaks the plugin. Please revert it.

Should be back to the way it was.


Pdf Network Error

When I try sending a PDF to a user with a filename it starts the download in the browser and then says Failed - Network error.
https://user-images.githubusercontent.com/484466/58211015-956b6b00-7c9f-11e9-9232-cf0a73c21b9a.png
However if I don't give it a filename then it loads in the browser fine. But when I click the download button in the browser pdf viewer it also fails.
Any idea what is going on? I have the latest version of wkhtmltopdf and am using all the demo code.

I'd try to download with a command line tool e.g. wget or curl and see what happens.

when i dump the command from getExecCommand it returns this:
wkhtmltopdf '/tmp/tmp_wkhtmlto_pdf_rbBbTD.html' '/tmp/tmp_wkhtmlto_pdf_kysBFC.pdf'
and when I try running that on the server it returns this error. Seems like it's trying to grab it as a webpage?
Loading pages (1/6)
Error: Failed to load http://tmp/tmp_wkhtmlto_pdf_rbBbTD.html, with network status code 3 and http status code 0 - Host tmp not found
Error: Failed loading page http:///tmp/tmp_wkhtmlto_pdf_rbBbTD.html (sometimes it will work just to ignore this error with --load-error-handling ignore)
Exit with code 1 due to network error: HostNotFoundError

Not sure, where you got this from but that's not supposed to work. I gave you some hints above. It's up to you if you want to try them.
I'm closing this for now as I can't see how our library could produce such a problem and I can't help debugging setup or network issues. If you think there's something to fix please provide a clear description what you think must be fixed.

I'm not sure what you mean run wget or curl. Don't I need to run it on the tmp pdf file that is being created?

Instead of opening the URL in your browser (where it fails) use wget or curl on the command line locally to download the file from the same URL and see if that works. Browser error messages are often not very helpful for debugging.


Lost item, The slot thing, no idea

So those are my new items after the update
here are the new book after I equipped for the test. so 1 spell book and the fireworks are on my inventory and those are the old inventory after mod was playable on the server.

and those are the old inventory after mod was playable on the server.
few items was lost the elytras and the charms was the only on my inventory.
my Axe and a Hammer for break 5x5 was replaced for the sword, 1 glove, 1 ring, the slots mod for elytra and charms those items are disable, so the shift+click wont work on those items.
I have a backup of the world atleast haha, but my problem is how those items for 10 more players? haha

My axe and a hammer for break 5x5 was replaced for the sword, 1 glove, 1 ring, the slots mod for elytra and charms those items are disable, so the shift+click wont work on those items.

are you sure that you have RPG Inventory installed?
because if you did, your inventory screen should look different
more like this:

let me take a video, I will equip everything without rpg and slot api, then place those mods on client & server, join again.

Nvm all of the items are there now, seems like I was joining and testing it on creative but Idk how my items wasn't there when I take the picture
no rpg mod
https://github.com/user-attachments/assets/7c24c78d-26c0-406c-9367-b1d4962b37e2
with rpg mod
https://github.com/user-attachments/assets/9c9e712d-0c98-46a7-8fdd-0b5fc88d608c
only the slot for the elytra, key, boots and charms are no there.

can you tell me what mods at the missing slots?
That would help very much in trying to reproduce this issue

The "are_hand_items_restricted_to_item_tags" option in the server config should be set to true. Setting it to false messes with the shift-click functionality

ok I setted it to true, and those items that there's no slot aren't going to equip
Also the weapons from the mod "Advanced Netherite" wont equip too on the primary or secondary weapons slots/shield slots, including the Shields from "Paladins & Priest", also the "elytras" with shift+click it was going to equipp on the secondary weapons slots.
So the mods that the slot aren't there or not working is=
Heavy Key (keys for leg slot)-(Supplementaries Squared) "supplementaries-1.20-2.8.17-fabric" client & server.
"elytraslot-fabric-6.4.1+1.20.1" - client & server.
all charms - "mythic_charms-1.1.2" -  client & server.
Running Shoes(Artifacts) "artifacts-fabric-9.5.12" - client & server.

when items don't go into a slot, you can add them to the corresponding tag via a datapack
the slots not appearing is a very weird issue, some mods work, some don't
I they don't do the trinket stuff in different ways

Thanks for the detailed information!
I will investigate further

Awesome work you made mate!, now the slot that wasnt there they're now working!.

1 problem there's a few things that was equipped arent there in the slots(found them in the primary shield after checked on creative, then survial...)
I been cheking with the mouse if the slot open after being in creative gamemode its was my fault

2 problem is, the setting of the controls are being saved or reseted after a update?

Those two controls were renamed.
They should not reset again (unless I rename them again, which I have no plans for)


UI quirks, new?

The narrow tables in the middle and the menu indicator in the sidebar are not in the screenshot in the readme. Are these new after the recent upgrade? Or maybe something about how I launched the demo?

Yea I believe this is a regression from the 0.1.0 release. I’ll work on fixing this

Thanks. I have a list of features/changes that I want to help with. Are you open to PR's for any of these?

Allow runtime configuration for servers and security (not sure about this, but we might have different OpenAPI spec files per client. the differences should just be server host names and maybe slight variations in auth schemes)
Support for client_credentials OAUTH flow
An option to persist credentials (local storage) to make interactive API exploration a little more user friendly
Both #16 and #8.

Thanks. I will open issues. I might wait until I know I'll have a chance to do the work.

Both the narrow table bug and sidebar issue have been fixed and should be available in the next release


CardField always returns generic Card details not complete

Describe the bug
When using cardField and calling createToken when card number, exp date or cvc are invalid(highlighet in red), createToken always returns message "Card details not complete" and code "Failed".
To Reproduce
Steps to reproduce the behavior:

enter invalid card n umber, exp date or cvc into CardField
Call createToken
Look at error message

Expected behavior
I would expect to receive correct error message for the invalid field(card number, exp date or cvc)
Screenshots

Desktop (please complete the following information):

OS: android and iOS
Browser /
Version 0.2.4

Smartphone (please complete the following information):

Device: iPhone 13 simulator, iPhone 8, Google Pixel 6
OS: 15.2, 15.2, 12
Browser /
Version /

The best way to handle this case is to listen to the CardField's onCardChange callback, and check:
  validExpiryDate: ValidationState;
  validCVC: ValidationState;
  validNumber: ValidationState;

Or, you can disable whatever button you have whose onPress triggers createToken until the complete field in CardField's onCardChange callback is true. Let me know if that doesn't work for you!


ffmpeg[all-nonfree]:x64-windows.No such filter: 'drawtext'

Describe the bug
[AVFilterGraph @ 000001D8EB0EA040] No such filter: 'drawtext'
[AVFilterGraph @ 000001D8EB0EA040] Error processing filtergraph: Filter not found
Environment

OS: windows
Compiler: vcpkg package management program version 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a

To Reproduce
Steps to reproduce the behavior:

.\vcpkg.exe install ffmpeg[all-nonfree]
[in1]scale=1080:1920[bgout];[bgout]drawtext=text='www.xxxa':x=w-tw-680:y=h-th-80:fontfile='SourceHanSansCN.otf':fontsize=22:fontcolor=#FF0000FF:enable='between(n,0,360)'[out]

Expected behavior
support drawtext filter
Failure logs
Additional context
the filter api use avfilter_graph_parse_ptr.
and I tested the https://www.gyan.dev/ffmpeg/builds/ it is work

It is not wired into all-*. Try
.\vcpkg.exe install ffmpeg[all-nonfree,drawtext,fontconfig]


nocopy_readwriter should have close function?

nocopy_readwriter should have close function?

Temporarily unnecessary. Besides, the Reader/Writer/Closer should be designed as three independent interfaces.


what happend to panzoom's $set option?

Hi, I'm maintaing a legacy code with jquery.panzoom plugin version 2.0.5. The core functionality I need to support is to drag two of images simultaneously, which was done using $set option. I wanted to upgrade the plugin to latest version and noticed that the $set option is not longer there. I couldn't also find any replacement for this. Is $set no longer available?
Reagards,
MP

I just realized that version 4 brought us totally new and different panzoom, jQuery free. This is both great and scary news to me.
It is greate since I'll need to migrate my legacy feature to angular, and I'm hoping I could use panzoom there with no need for jQuery.
On the other hand, before the migration happend, I need to maintain my legacy feature. In the notes of 4.0.0 release it says that the new package "can still be integrated as a jQuery plugin". Did you happen to have an example of this kind of integration? More specifically, do you know is it still possible to develop old $set functionality on top of this new panzoom library? Where do I start? Any help would be appreciated.

Thanks for opening an issue. Dropping jQuery had several advantages, but ultimately the features that were possible without jQuery were still possible with jQuery. That said, rewriting the library from the ground up allowed me to address some longstanding issues from the beginning, which had some implications on the new architecture. It was still possible to address those issues in the old plugin, but the code probably wouldn't have been as clean. I also wanted a version of Panzoom with zero dependencies and a small footprint.
Anyway, to answer the main question here. If you'd like to continue using the new library with jQuery, it should relatively easy. Here's how you might add a plugin to call Panzoom on an existing jQuery collection:
$.fn.panzoom = function(options) {
  return this.each(function() { Panzoom(this, options); });
}

Or, just call Panzoom on an element from a jQuery collection:
const panzoom = Panzoom($collection[0])

To replicate the $set option, you should be able to use the setTransform option instead to manipulate the elements on which the transform is set. Here's another issue with an example that had a similar question: https://github.com/timmywil/panzoom/issues/532


question about "pending" and "running" state

They have the same color.
Is that on purpose? If so, can i suggest a different color based on the state? Or is it out of this plugins' scope?

That's a bug, must have happened when I switched how we highlight stuff, #65. It should be a straightforward fix, brb

hmmm...this is how it's looking for me:

Are you on latest? could you run this command: new | pu=execute('highlight') and locate the ones that are prefixed with "Kubectl", I'm mostly interested in KubectlWarning

nvm I can recreate now, seems to happen whin filtering

The issue was related to the extmark issue in that we need to filter before setting extmarks, I think it should be fixed now!


Create DNS zone record so we can get freenom using the correct nameservers

fixes #7

Plan Error
GET https://api.github.com/repos/marknooch/foodtrucks/pulls/23/files?per_page=300: 404 Not Found []

atlantis plan
fixed by https://github.com/runatlantis/atlantis/pull/2013

atlantis plan

Ran Plan for dir: terraform workspace: default
Show Output

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
- destroy
-/+ destroy and then create replacement
 <= read (data resources)

Terraform will perform the following actions:

  # data.aws_iam_policy_document.s3-home-ipd will be read during apply
  # (config refers to values not yet known)
 <= data "aws_iam_policy_document" "s3-home-ipd"  {
      + id   = (known after apply)
      + json = (known after apply)

      + statement {
          + actions   = [
              + "s3:GetObject",
              + "s3:GetObjectVersion",
            ]
          + resources = [
              + (known after apply),
            ]

          + principals {
              + identifiers = [
                  + "*",
                ]
              + type        = "*"
            }
        }
      + statement {
          + actions   = [
              + "s3:*",
            ]
          + resources = [
              + (known after apply),
            ]

          + principals {
              + identifiers = [
                  + "arn:aws:iam::246850902828:user/github-actions",
                ]
              + type        = "AWS"
            }
        }
    }

  # aws_iam_user.github-actions will be updated in-place
~ resource "aws_iam_user" "github-actions" {
        id            = "github-actions"
        name          = "github-actions"
        tags          = {}
      ~ tags_all      = {
          + "project" = "findafoodtruck"
        }
        # (4 unchanged attributes hidden)
    }

  # aws_route53_zone.main will be created
+ resource "aws_route53_zone" "main" {
      + arn           = (known after apply)
      + comment       = "Managed by Terraform"
      + force_destroy = false
      + id            = (known after apply)
      + name          = "findafoodtruck.ga"
      + name_servers  = (known after apply)
      + tags_all      = {
          + "project" = "findafoodtruck"
        }
      + zone_id       = (known after apply)
    }

  # aws_s3_bucket.s3-home will be created
+ resource "aws_s3_bucket" "s3-home" {
      + acceleration_status         = (known after apply)
      + acl                         = "public-read"
      + arn                         = (known after apply)
      + bucket                      = (known after apply)
      + bucket_domain_name          = (known after apply)
      + bucket_regional_domain_name = (known after apply)
      + force_destroy               = false
      + hosted_zone_id              = (known after apply)
      + id                          = (known after apply)
      + region                      = (known after apply)
      + request_payer               = (known after apply)
      + tags_all                    = {
          + "project" = "findafoodtruck"
        }
      + website_domain              = (known after apply)
      + website_endpoint            = (known after apply)

      + versioning {
          + enabled    = (known after apply)
          + mfa_delete = (known after apply)
        }

      + website {
          + error_document = "error.html"
          + index_document = "index.html"
        }
    }

  # aws_s3_bucket.s3_home will be destroyed
  # (because aws_s3_bucket.s3_home is not in configuration)
- resource "aws_s3_bucket" "s3_home" {
      - acl                         = "public-read" -> null
      - arn                         = "arn:aws:s3:::terraform-20220121192859548500000001" -> null
      - bucket                      = "terraform-20220121192859548500000001" -> null
      - bucket_domain_name          = "terraform-20220121192859548500000001.s3.amazonaws.com" -> null
      - bucket_regional_domain_name = "terraform-20220121192859548500000001.s3.us-east-2.amazonaws.com" -> null
      - force_destroy               = false -> null
      - hosted_zone_id              = "Z2O1EMRO9K5GLX" -> null
      - id                          = "terraform-20220121192859548500000001" -> null
      - region                      = "us-east-2" -> null
      - request_payer               = "BucketOwner" -> null
      - tags                        = {} -> null
      - tags_all                    = {} -> null
      - website_domain              = "s3-website.us-east-2.amazonaws.com" -> null
      - website_endpoint            = "terraform-20220121192859548500000001.s3-website.us-east-2.amazonaws.com" -> null

      - versioning {
          - enabled    = false -> null
          - mfa_delete = false -> null
        }

      - website {
          - error_document = "error.html" -> null
          - index_document = "index.html" -> null
        }
    }

  # aws_s3_bucket_policy.public-read must be replaced
-/+ resource "aws_s3_bucket_policy" "public-read" {
      ~ bucket = "terraform-20220121192859548500000001" -> (known after apply) # forces replacement
      ~ id     = "terraform-20220121192859548500000001" -> (known after apply)
      ~ policy = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = [
                          - "s3:GetObjectVersion",
                          - "s3:GetObject",
                        ]
                      - Effect    = "Allow"
                      - Principal = "*"
                      - Resource  = "arn:aws:s3:::terraform-20220121192859548500000001/*"
                      - Sid       = ""
                    },
                  - {
                      - Action    = "s3:*"
                      - Effect    = "Allow"
                      - Principal = {
                          - AWS = "arn:aws:iam::246850902828:user/github-actions"
                        }
                      - Resource  = "arn:aws:s3:::terraform-20220121192859548500000001/*"
                      - Sid       = ""
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> (known after apply)
    }

  # github_actions_secret.S3_BUCKET must be replaced
-/+ resource "github_actions_secret" "S3_BUCKET" {
      ~ created_at      = "2022-01-22 11:16:04 +0000 UTC" -> (known after apply)
      ~ id              = "foodtrucks:S3_BUCKET" -> (known after apply)
      ~ plaintext_value = (sensitive value) # forces replacement
      ~ updated_at      = "2022-01-22 11:16:04 +0000 UTC" -> (known after apply)
        # (2 unchanged attributes hidden)
    }

Plan: 4 to add, 1 to change, 3 to destroy.

:arrow_forward: To apply this plan, comment:

atlantis apply -d terraform

:put_litter_in_its_place: To delete this plan click here
:repeat: To plan this project again, comment:

atlantis plan -d terraform

Plan: 4 to add, 1 to change, 3 to destroy.

:fast_forward: To apply all unapplied plans from this pull request, comment:

atlantis apply

:put_litter_in_its_place: To delete all plans and locks for the PR, comment:

atlantis unlock

Ran Plan for dir: terraform workspace: default
Show Output

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
- destroy
-/+ destroy and then create replacement
 <= read (data resources)

Terraform will perform the following actions:

  # data.aws_iam_policy_document.s3-home-ipd will be read during apply
  # (config refers to values not yet known)
 <= data "aws_iam_policy_document" "s3-home-ipd"  {
      + id   = (known after apply)
      + json = (known after apply)

      + statement {
          + actions   = [
              + "s3:GetObject",
              + "s3:GetObjectVersion",
            ]
          + resources = [
              + (known after apply),
            ]

          + principals {
              + identifiers = [
                  + "*",
                ]
              + type        = "*"
            }
        }
      + statement {
          + actions   = [
              + "s3:*",
            ]
          + resources = [
              + (known after apply),
            ]

          + principals {
              + identifiers = [
                  + "arn:aws:iam::246850902828:user/github-actions",
                ]
              + type        = "AWS"
            }
        }
    }

  # aws_iam_user.github-actions will be updated in-place
~ resource "aws_iam_user" "github-actions" {
        id            = "github-actions"
        name          = "github-actions"
        tags          = {}
      ~ tags_all      = {
          + "project" = "findafoodtruck"
        }
        # (4 unchanged attributes hidden)
    }

  # aws_route53_zone.main will be created
+ resource "aws_route53_zone" "main" {
      + arn           = (known after apply)
      + comment       = "Managed by Terraform"
      + force_destroy = false
      + id            = (known after apply)
      + name          = "findafoodtruck.ga"
      + name_servers  = (known after apply)
      + tags_all      = {
          + "project" = "findafoodtruck"
        }
      + zone_id       = (known after apply)
    }

  # aws_s3_bucket.s3-home will be created
+ resource "aws_s3_bucket" "s3-home" {
      + acceleration_status         = (known after apply)
      + acl                         = "public-read"
      + arn                         = (known after apply)
      + bucket                      = (known after apply)
      + bucket_domain_name          = (known after apply)
      + bucket_regional_domain_name = (known after apply)
      + force_destroy               = false
      + hosted_zone_id              = (known after apply)
      + id                          = (known after apply)
      + region                      = (known after apply)
      + request_payer               = (known after apply)
      + tags_all                    = {
          + "project" = "findafoodtruck"
        }
      + website_domain              = (known after apply)
      + website_endpoint            = (known after apply)

      + versioning {
          + enabled    = (known after apply)
          + mfa_delete = (known after apply)
        }

      + website {
          + error_document = "error.html"
          + index_document = "index.html"
        }
    }

  # aws_s3_bucket.s3_home will be destroyed
  # (because aws_s3_bucket.s3_home is not in configuration)
- resource "aws_s3_bucket" "s3_home" {
      - acl                         = "public-read" -> null
      - arn                         = "arn:aws:s3:::terraform-20220121192859548500000001" -> null
      - bucket                      = "terraform-20220121192859548500000001" -> null
      - bucket_domain_name          = "terraform-20220121192859548500000001.s3.amazonaws.com" -> null
      - bucket_regional_domain_name = "terraform-20220121192859548500000001.s3.us-east-2.amazonaws.com" -> null
      - force_destroy               = false -> null
      - hosted_zone_id              = "Z2O1EMRO9K5GLX" -> null
      - id                          = "terraform-20220121192859548500000001" -> null
      - region                      = "us-east-2" -> null
      - request_payer               = "BucketOwner" -> null
      - tags                        = {} -> null
      - tags_all                    = {} -> null
      - website_domain              = "s3-website.us-east-2.amazonaws.com" -> null
      - website_endpoint            = "terraform-20220121192859548500000001.s3-website.us-east-2.amazonaws.com" -> null

      - versioning {
          - enabled    = false -> null
          - mfa_delete = false -> null
        }

      - website {
          - error_document = "error.html" -> null
          - index_document = "index.html" -> null
        }
    }

  # aws_s3_bucket_policy.public-read must be replaced
-/+ resource "aws_s3_bucket_policy" "public-read" {
      ~ bucket = "terraform-20220121192859548500000001" -> (known after apply) # forces replacement
      ~ id     = "terraform-20220121192859548500000001" -> (known after apply)
      ~ policy = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = [
                          - "s3:GetObjectVersion",
                          - "s3:GetObject",
                        ]
                      - Effect    = "Allow"
                      - Principal = "*"
                      - Resource  = "arn:aws:s3:::terraform-20220121192859548500000001/*"
                      - Sid       = ""
                    },
                  - {
                      - Action    = "s3:*"
                      - Effect    = "Allow"
                      - Principal = {
                          - AWS = "arn:aws:iam::246850902828:user/github-actions"
                        }
                      - Resource  = "arn:aws:s3:::terraform-20220121192859548500000001/*"
                      - Sid       = ""
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> (known after apply)
    }

  # github_actions_secret.S3_BUCKET must be replaced
-/+ resource "github_actions_secret" "S3_BUCKET" {
      ~ created_at      = "2022-01-22 11:16:04 +0000 UTC" -> (known after apply)
      ~ id              = "foodtrucks:S3_BUCKET" -> (known after apply)
      ~ plaintext_value = (sensitive value) # forces replacement
      ~ updated_at      = "2022-01-22 11:16:04 +0000 UTC" -> (known after apply)
        # (2 unchanged attributes hidden)
    }

Plan: 4 to add, 1 to change, 3 to destroy.

:arrow_forward: To apply this plan, comment:

atlantis apply -d terraform

:put_litter_in_its_place: To delete this plan click here
:repeat: To plan this project again, comment:

atlantis plan -d terraform

Plan: 4 to add, 1 to change, 3 to destroy.

:fast_forward: To apply all unapplied plans from this pull request, comment:

atlantis apply

:put_litter_in_its_place: To delete all plans and locks for the PR, comment:

atlantis unlock

atlantis apply

Ran Apply for dir: terraform workspace: default
Apply Error
Show Output
running "/usr/local/bin/terraform apply -input=false \"/home/atlantis/.atlantis/repos/marknooch/foodtrucks/23/default/terraform/default.tfplan\"" in "/home/atlantis/.atlantis/repos/marknooch/foodtrucks/23/default/terraform": exit status 1
github_actions_secret.S3_BUCKET: Destroying... [id=foodtrucks:S3_BUCKET]
github_actions_secret.S3_BUCKET: Destruction complete after 0s
aws_s3_bucket_policy.public-read: Destroying... [id=terraform-20220121192859548500000001]
aws_route53_zone.main: Creating...
aws_s3_bucket_policy.public-read: Destruction complete after 0s
aws_s3_bucket.s3_home: Destroying... [id=terraform-20220121192859548500000001]
aws_s3_bucket.s3-home: Creating...
aws_iam_user.github-actions: Modifying... [id=github-actions]
aws_iam_user.github-actions: Modifications complete after 0s [id=github-actions]
aws_s3_bucket.s3-home: Creation complete after 2s [id=terraform-20220123171338585400000002]
data.aws_iam_policy_document.s3-home-ipd: Reading...
data.aws_iam_policy_document.s3-home-ipd: Read complete after 0s [id=2772242395]
aws_route53_zone.main: Still creating... [10s elapsed]
aws_route53_zone.main: Still creating... [20s elapsed]
aws_route53_zone.main: Still creating... [30s elapsed]
aws_route53_zone.main: Still creating... [40s elapsed]
aws_route53_zone.main: Creation complete after 41s [id=Z0975097GI60AUOWBH82]
╷
│ Error: error deleting S3 Bucket (terraform-20220121192859548500000001): BucketNotEmpty: The bucket you tried to delete is not empty
│ 	status code: 409, request id: Y3F8M9G13Q53WQJK, host id: KCUxx0sUN9hoPYMNomzljUPtyR7PyA/cJ10ujMuKNLXaXKDrGRg5CKi3Ti1qYShvS0D8kjDho2I=
│
│
╵

atlantis plan

Ran Plan for dir: terraform workspace: default
Show Output

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply":

  # aws_route53_zone.main has changed
~ resource "aws_route53_zone" "main" {
        id            = "Z0975097GI60AUOWBH82"
        name          = "findafoodtruck.ga"
      + tags          = {}
        # (6 unchanged attributes hidden)
    }

  # aws_s3_bucket.s3-home has changed
~ resource "aws_s3_bucket" "s3-home" {
        id                          = "terraform-20220123171338585400000002"
      + tags                        = {}
        # (12 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
- destroy

Terraform will perform the following actions:

  # aws_s3_bucket.s3_home will be destroyed
  # (because aws_s3_bucket.s3_home is not in configuration)
- resource "aws_s3_bucket" "s3_home" {
      - acl                         = "public-read" -> null
      - arn                         = "arn:aws:s3:::terraform-20220121192859548500000001" -> null
      - bucket                      = "terraform-20220121192859548500000001" -> null
      - bucket_domain_name          = "terraform-20220121192859548500000001.s3.amazonaws.com" -> null
      - bucket_regional_domain_name = "terraform-20220121192859548500000001.s3.us-east-2.amazonaws.com" -> null
      - force_destroy               = false -> null
      - hosted_zone_id              = "Z2O1EMRO9K5GLX" -> null
      - id                          = "terraform-20220121192859548500000001" -> null
      - region                      = "us-east-2" -> null
      - request_payer               = "BucketOwner" -> null
      - tags                        = {} -> null
      - tags_all                    = {} -> null
      - website_domain              = "s3-website.us-east-2.amazonaws.com" -> null
      - website_endpoint            = "terraform-20220121192859548500000001.s3-website.us-east-2.amazonaws.com" -> null

      - versioning {
          - enabled    = false -> null
          - mfa_delete = false -> null
        }

      - website {
          - error_document = "error.html" -> null
          - index_document = "index.html" -> null
        }
    }

  # aws_s3_bucket_policy.public-read will be created
+ resource "aws_s3_bucket_policy" "public-read" {
      + bucket = "terraform-20220123171338585400000002"
      + id     = (known after apply)
      + policy = jsonencode(
            {
              + Statement = [
                  + {
                      + Action    = [
                          + "s3:GetObjectVersion",
                          + "s3:GetObject",
                        ]
                      + Effect    = "Allow"
                      + Principal = "*"
                      + Resource  = "arn:aws:s3:::terraform-20220123171338585400000002/*"
                      + Sid       = ""
                    },
                  + {
                      + Action    = "s3:*"
                      + Effect    = "Allow"
                      + Principal = {
                          + AWS = "arn:aws:iam::246850902828:user/github-actions"
                        }
                      + Resource  = "arn:aws:s3:::terraform-20220123171338585400000002/*"
                      + Sid       = ""
                    },
                ]
              + Version   = "2012-10-17"
            }
        )
    }

  # github_actions_secret.S3_BUCKET will be created
+ resource "github_actions_secret" "S3_BUCKET" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "foodtrucks"
      + secret_name     = "S3_BUCKET"
      + updated_at      = (known after apply)
    }

Plan: 2 to add, 0 to change, 1 to destroy.

:arrow_forward: To apply this plan, comment:

atlantis apply -d terraform

:put_litter_in_its_place: To delete this plan click here
:repeat: To plan this project again, comment:

atlantis plan -d terraform

Note: Objects have changed outside of Terraform
Plan: 2 to add, 0 to change, 1 to destroy.

:fast_forward: To apply all unapplied plans from this pull request, comment:

atlantis apply

:put_litter_in_its_place: To delete all plans and locks for the PR, comment:

atlantis unlock

I re-planned to see if terraform would want to keep deleting the s3_home resource and it does, which is good.  I'm going to manually delete the files to keep my AWS account clean.

atlantis plan

Ran Plan for dir: terraform workspace: default
Show Output

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply":

  # aws_route53_zone.main has changed
~ resource "aws_route53_zone" "main" {
        id            = "Z0975097GI60AUOWBH82"
        name          = "findafoodtruck.ga"
      + tags          = {}
        # (6 unchanged attributes hidden)
    }

  # aws_s3_bucket.s3-home has changed
~ resource "aws_s3_bucket" "s3-home" {
        id                          = "terraform-20220123171338585400000002"
      + tags                        = {}
        # (12 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
- destroy

Terraform will perform the following actions:

  # aws_s3_bucket.s3_home will be destroyed
  # (because aws_s3_bucket.s3_home is not in configuration)
- resource "aws_s3_bucket" "s3_home" {
      - acl                         = "public-read" -> null
      - arn                         = "arn:aws:s3:::terraform-20220121192859548500000001" -> null
      - bucket                      = "terraform-20220121192859548500000001" -> null
      - bucket_domain_name          = "terraform-20220121192859548500000001.s3.amazonaws.com" -> null
      - bucket_regional_domain_name = "terraform-20220121192859548500000001.s3.us-east-2.amazonaws.com" -> null
      - force_destroy               = false -> null
      - hosted_zone_id              = "Z2O1EMRO9K5GLX" -> null
      - id                          = "terraform-20220121192859548500000001" -> null
      - region                      = "us-east-2" -> null
      - request_payer               = "BucketOwner" -> null
      - tags                        = {} -> null
      - tags_all                    = {} -> null
      - website_domain              = "s3-website.us-east-2.amazonaws.com" -> null
      - website_endpoint            = "terraform-20220121192859548500000001.s3-website.us-east-2.amazonaws.com" -> null

      - versioning {
          - enabled    = false -> null
          - mfa_delete = false -> null
        }

      - website {
          - error_document = "error.html" -> null
          - index_document = "index.html" -> null
        }
    }

  # aws_s3_bucket_policy.public-read will be created
+ resource "aws_s3_bucket_policy" "public-read" {
      + bucket = "terraform-20220123171338585400000002"
      + id     = (known after apply)
      + policy = jsonencode(
            {
              + Statement = [
                  + {
                      + Action    = [
                          + "s3:GetObjectVersion",
                          + "s3:GetObject",
                        ]
                      + Effect    = "Allow"
                      + Principal = "*"
                      + Resource  = "arn:aws:s3:::terraform-20220123171338585400000002/*"
                      + Sid       = ""
                    },
                  + {
                      + Action    = "s3:*"
                      + Effect    = "Allow"
                      + Principal = {
                          + AWS = "arn:aws:iam::246850902828:user/github-actions"
                        }
                      + Resource  = "arn:aws:s3:::terraform-20220123171338585400000002/*"
                      + Sid       = ""
                    },
                ]
              + Version   = "2012-10-17"
            }
        )
    }

  # github_actions_secret.S3_BUCKET will be created
+ resource "github_actions_secret" "S3_BUCKET" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "foodtrucks"
      + secret_name     = "S3_BUCKET"
      + updated_at      = (known after apply)
    }

Plan: 2 to add, 0 to change, 1 to destroy.

:arrow_forward: To apply this plan, comment:

atlantis apply -d terraform

:put_litter_in_its_place: To delete this plan click here
:repeat: To plan this project again, comment:

atlantis plan -d terraform

Note: Objects have changed outside of Terraform
Plan: 2 to add, 0 to change, 1 to destroy.

:fast_forward: To apply all unapplied plans from this pull request, comment:

atlantis apply

:put_litter_in_its_place: To delete all plans and locks for the PR, comment:

atlantis unlock

atlantis apply

Ran Apply for dir: terraform workspace: default
github_actions_secret.S3_BUCKET: Creating...
aws_s3_bucket.s3_home: Destroying... [id=terraform-20220121192859548500000001]
aws_s3_bucket_policy.public-read: Creating...
aws_s3_bucket.s3_home: Destruction complete after 1s
aws_s3_bucket_policy.public-read: Creation complete after 1s [id=terraform-20220123171338585400000002]
github_actions_secret.S3_BUCKET: Creation complete after 2s [id=foodtrucks:S3_BUCKET]

Apply complete! Resources: 2 added, 0 changed, 1 destroyed.

Ran Plan for dir: terraform workspace: default
Show Output

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply":

  # aws_s3_bucket_policy.public-read has changed
~ resource "aws_s3_bucket_policy" "public-read" {
        id     = "terraform-20220123171338585400000002"
      ~ policy = jsonencode( # whitespace changes
            {
                Statement = [
                    {
                        Action    = [
                            "s3:GetObjectVersion",
                            "s3:GetObject",
                        ]
                        Effect    = "Allow"
                        Principal = "*"
                        Resource  = "arn:aws:s3:::terraform-20220123171338585400000002/*"
                        Sid       = ""
                    },
                    {
                        Action    = "s3:*"
                        Effect    = "Allow"
                        Principal = {
                            AWS = "arn:aws:iam::246850902828:user/github-actions"
                        }
                        Resource  = "arn:aws:s3:::terraform-20220123171338585400000002/*"
                        Sid       = ""
                    },
                ]
                Version   = "2012-10-17"
            }
        )
        # (1 unchanged attribute hidden)
    }

Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
 <= read (data resources)

Terraform will perform the following actions:

  # data.aws_iam_policy_document.s3-home-ipd will be read during apply
  # (config refers to values not yet known)
 <= data "aws_iam_policy_document" "s3-home-ipd"  {
      ~ id      = "2772242395" -> (known after apply)
      ~ json    = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = [
                          - "s3:GetObjectVersion",
                          - "s3:GetObject",
                        ]
                      - Effect    = "Allow"
                      - Principal = "*"
                      - Resource  = "arn:aws:s3:::terraform-20220123171338585400000002/*"
                      - Sid       = ""
                    },
                  - {
                      - Action    = "s3:*"
                      - Effect    = "Allow"
                      - Principal = {
                          - AWS = "arn:aws:iam::246850902828:user/github-actions"
                        }
                      - Resource  = "arn:aws:s3:::terraform-20220123171338585400000002/*"
                      - Sid       = ""
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> (known after apply)
      - version = "2012-10-17" -> null

      ~ statement {
          - effect        = "Allow" -> null
          - not_actions   = [] -> null
          - not_resources = [] -> null
          ~ resources     = [
              - "arn:aws:s3:::terraform-20220123171338585400000002/*",
              ~ (known after apply),
            ]
            # (1 unchanged attribute hidden)

            # (1 unchanged block hidden)
        }
      ~ statement {
          - effect        = "Allow" -> null
          - not_actions   = [] -> null
          - not_resources = [] -> null
          ~ resources     = [
              - "arn:aws:s3:::terraform-20220123171338585400000002/*",
              ~ (known after apply),
            ]
            # (1 unchanged attribute hidden)

            # (1 unchanged block hidden)
        }
    }

  # aws_s3_bucket.s3-home must be replaced
-/+ resource "aws_s3_bucket" "s3-home" {
      + acceleration_status         = (known after apply)
      ~ arn                         = "arn:aws:s3:::terraform-20220123171338585400000002" -> (known after apply)
      ~ bucket                      = "terraform-20220123171338585400000002" -> (known after apply)
      ~ bucket_domain_name          = "terraform-20220123171338585400000002.s3.amazonaws.com" -> (known after apply)
      + bucket_prefix               = "foodtrucks" # forces replacement
      ~ bucket_regional_domain_name = "terraform-20220123171338585400000002.s3.us-east-2.amazonaws.com" -> (known after apply)
      ~ hosted_zone_id              = "Z2O1EMRO9K5GLX" -> (known after apply)
      ~ id                          = "terraform-20220123171338585400000002" -> (known after apply)
      ~ region                      = "us-east-2" -> (known after apply)
      ~ request_payer               = "BucketOwner" -> (known after apply)
      - tags                        = {} -> null
      ~ website_domain              = "s3-website.us-east-2.amazonaws.com" -> (known after apply)
      ~ website_endpoint            = "terraform-20220123171338585400000002.s3-website.us-east-2.amazonaws.com" -> (known after apply)
        # (3 unchanged attributes hidden)

      ~ versioning {
          ~ enabled    = false -> (known after apply)
          ~ mfa_delete = false -> (known after apply)
        }

      ~ website {
            # (2 unchanged attributes hidden)
        }
    }

  # aws_s3_bucket_policy.public-read must be replaced
-/+ resource "aws_s3_bucket_policy" "public-read" {
      ~ bucket = "terraform-20220123171338585400000002" -> (known after apply) # forces replacement
      ~ id     = "terraform-20220123171338585400000002" -> (known after apply)
      ~ policy = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = [
                          - "s3:GetObjectVersion",
                          - "s3:GetObject",
                        ]
                      - Effect    = "Allow"
                      - Principal = "*"
                      - Resource  = "arn:aws:s3:::terraform-20220123171338585400000002/*"
                      - Sid       = ""
                    },
                  - {
                      - Action    = "s3:*"
                      - Effect    = "Allow"
                      - Principal = {
                          - AWS = "arn:aws:iam::246850902828:user/github-actions"
                        }
                      - Resource  = "arn:aws:s3:::terraform-20220123171338585400000002/*"
                      - Sid       = ""
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> (known after apply)
    }

  # github_actions_secret.S3_BUCKET must be replaced
-/+ resource "github_actions_secret" "S3_BUCKET" {
      ~ created_at      = "2022-01-23 17:19:23 +0000 UTC" -> (known after apply)
      ~ id              = "foodtrucks:S3_BUCKET" -> (known after apply)
      ~ plaintext_value = (sensitive value) # forces replacement
      ~ updated_at      = "2022-01-23 17:19:23 +0000 UTC" -> (known after apply)
        # (2 unchanged attributes hidden)
    }

Plan: 3 to add, 0 to change, 3 to destroy.

:arrow_forward: To apply this plan, comment:

atlantis apply -d terraform

:put_litter_in_its_place: To delete this plan click here
:repeat: To plan this project again, comment:

atlantis plan -d terraform

Note: Objects have changed outside of Terraform
Plan: 3 to add, 0 to change, 3 to destroy.

:fast_forward: To apply all unapplied plans from this pull request, comment:

atlantis apply

:put_litter_in_its_place: To delete all plans and locks for the PR, comment:

atlantis unlock

atlantis apply

Ran Apply for dir: terraform workspace: default
Apply Error
running "/usr/local/bin/terraform apply -input=false \"/home/atlantis/.atlantis/repos/marknooch/foodtrucks/23/default/terraform/default.tfplan\"" in "/home/atlantis/.atlantis/repos/marknooch/foodtrucks/23/default/terraform": exit status 1
github_actions_secret.S3_BUCKET: Destroying... [id=foodtrucks:S3_BUCKET]
github_actions_secret.S3_BUCKET: Destruction complete after 0s
aws_s3_bucket_policy.public-read: Destroying... [id=terraform-20220123171338585400000002]
aws_s3_bucket_policy.public-read: Destruction complete after 1s
aws_s3_bucket.s3-home: Destroying... [id=terraform-20220123171338585400000002]
╷
│ Error: error deleting S3 Bucket (terraform-20220123171338585400000002): BucketNotEmpty: The bucket you tried to delete is not empty
│ 	status code: 409, request id: 37ZN8BTA6GHZ1P5M, host id: 6IqZWsnknBLdsfVzB+ELbnToHS+kDL4v/WEETNkk8NP9YbuFooHp7Qb1d3GPlxdlJPujo/VfiWc=
│
│
╵

atlantis apply

Ran Apply for dir: terraform workspace: default
Apply Error
running "/usr/local/bin/terraform apply -input=false \"/home/atlantis/.atlantis/repos/marknooch/foodtrucks/23/default/terraform/default.tfplan\"" in "/home/atlantis/.atlantis/repos/marknooch/foodtrucks/23/default/terraform": exit status 1
╷
│ Error: Saved plan is stale
│
│ The given plan file can no longer be applied because the state was changed
│ by another operation after the plan was created.
╵

atlantis plan

Ran Plan for dir: terraform workspace: default
Show Output

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
-/+ destroy and then create replacement
 <= read (data resources)

Terraform will perform the following actions:

  # data.aws_iam_policy_document.s3-home-ipd will be read during apply
  # (config refers to values not yet known)
 <= data "aws_iam_policy_document" "s3-home-ipd"  {
      + id   = (known after apply)
      + json = (known after apply)

      + statement {
          + actions   = [
              + "s3:GetObject",
              + "s3:GetObjectVersion",
            ]
          + resources = [
              + (known after apply),
            ]

          + principals {
              + identifiers = [
                  + "*",
                ]
              + type        = "*"
            }
        }
      + statement {
          + actions   = [
              + "s3:*",
            ]
          + resources = [
              + (known after apply),
            ]

          + principals {
              + identifiers = [
                  + "arn:aws:iam::246850902828:user/github-actions",
                ]
              + type        = "AWS"
            }
        }
    }

  # aws_s3_bucket.s3-home must be replaced
-/+ resource "aws_s3_bucket" "s3-home" {
      + acceleration_status         = (known after apply)
      ~ arn                         = "arn:aws:s3:::terraform-20220123171338585400000002" -> (known after apply)
      ~ bucket                      = "terraform-20220123171338585400000002" -> (known after apply)
      ~ bucket_domain_name          = "terraform-20220123171338585400000002.s3.amazonaws.com" -> (known after apply)
      + bucket_prefix               = "foodtrucks" # forces replacement
      ~ bucket_regional_domain_name = "terraform-20220123171338585400000002.s3.us-east-2.amazonaws.com" -> (known after apply)
      ~ hosted_zone_id              = "Z2O1EMRO9K5GLX" -> (known after apply)
      ~ id                          = "terraform-20220123171338585400000002" -> (known after apply)
      ~ region                      = "us-east-2" -> (known after apply)
      ~ request_payer               = "BucketOwner" -> (known after apply)
      - tags                        = {} -> null
      ~ website_domain              = "s3-website.us-east-2.amazonaws.com" -> (known after apply)
      ~ website_endpoint            = "terraform-20220123171338585400000002.s3-website.us-east-2.amazonaws.com" -> (known after apply)
        # (3 unchanged attributes hidden)

      ~ versioning {
          ~ enabled    = false -> (known after apply)
          ~ mfa_delete = false -> (known after apply)
        }

      ~ website {
            # (2 unchanged attributes hidden)
        }
    }

  # aws_s3_bucket_policy.public-read will be created
+ resource "aws_s3_bucket_policy" "public-read" {
      + bucket = (known after apply)
      + id     = (known after apply)
      + policy = (known after apply)
    }

  # github_actions_secret.S3_BUCKET will be created
+ resource "github_actions_secret" "S3_BUCKET" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "foodtrucks"
      + secret_name     = "S3_BUCKET"
      + updated_at      = (known after apply)
    }

Plan: 3 to add, 0 to change, 1 to destroy.

:arrow_forward: To apply this plan, comment:

atlantis apply -d terraform

:put_litter_in_its_place: To delete this plan click here
:repeat: To plan this project again, comment:

atlantis plan -d terraform

Plan: 3 to add, 0 to change, 1 to destroy.

:fast_forward: To apply all unapplied plans from this pull request, comment:

atlantis apply

:put_litter_in_its_place: To delete all plans and locks for the PR, comment:

atlantis unlock

atlantis apply

Ran Apply for dir: terraform workspace: default
Show Output
aws_s3_bucket.s3-home: Destroying... [id=terraform-20220123171338585400000002]
aws_s3_bucket.s3-home: Destruction complete after 0s
aws_s3_bucket.s3-home: Creating...
aws_s3_bucket.s3-home: Creation complete after 1s [id=foodtrucks20220123172537018100000001]
data.aws_iam_policy_document.s3-home-ipd: Reading...
github_actions_secret.S3_BUCKET: Creating...
data.aws_iam_policy_document.s3-home-ipd: Read complete after 0s [id=677448245]
aws_s3_bucket_policy.public-read: Creating...
aws_s3_bucket_policy.public-read: Creation complete after 0s [id=foodtrucks20220123172537018100000001]
github_actions_secret.S3_BUCKET: Creation complete after 1s [id=foodtrucks:S3_BUCKET]

Apply complete! Resources: 3 added, 0 changed, 1 destroyed.

Ran Plan for dir: terraform workspace: default
Show Output

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply":

  # aws_s3_bucket.s3-home has changed
~ resource "aws_s3_bucket" "s3-home" {
        id                          = "foodtrucks20220123172537018100000001"
      + tags                        = {}
        # (13 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

  # aws_s3_bucket_policy.public-read has changed
~ resource "aws_s3_bucket_policy" "public-read" {
        id     = "foodtrucks20220123172537018100000001"
      ~ policy = jsonencode( # whitespace changes
            {
                Statement = [
                    {
                        Action    = [
                            "s3:GetObjectVersion",
                            "s3:GetObject",
                        ]
                        Effect    = "Allow"
                        Principal = "*"
                        Resource  = "arn:aws:s3:::foodtrucks20220123172537018100000001/*"
                        Sid       = ""
                    },
                    {
                        Action    = "s3:*"
                        Effect    = "Allow"
                        Principal = {
                            AWS = "arn:aws:iam::246850902828:user/github-actions"
                        }
                        Resource  = "arn:aws:s3:::foodtrucks20220123172537018100000001/*"
                        Sid       = ""
                    },
                ]
                Version   = "2012-10-17"
            }
        )
        # (1 unchanged attribute hidden)
    }

Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # aws_route53_zone.main must be replaced
-/+ resource "aws_route53_zone" "main" {
      ~ arn           = "arn:aws:route53:::hostedzone/Z0975097GI60AUOWBH82" -> (known after apply)
      ~ id            = "Z0975097GI60AUOWBH82" -> (known after apply)
      ~ name          = "findafoodtruck.ga" -> "findafoodtrucknow.ga" # forces replacement
      ~ name_servers  = [
          - "ns-1454.awsdns-53.org",
          - "ns-1679.awsdns-17.co.uk",
          - "ns-437.awsdns-54.com",
          - "ns-851.awsdns-42.net",
        ] -> (known after apply)
      - tags          = {} -> null
      ~ zone_id       = "Z0975097GI60AUOWBH82" -> (known after apply)
        # (3 unchanged attributes hidden)
    }

Plan: 1 to add, 0 to change, 1 to destroy.

:arrow_forward: To apply this plan, comment:

atlantis apply -d terraform

:put_litter_in_its_place: To delete this plan click here
:repeat: To plan this project again, comment:

atlantis plan -d terraform

Note: Objects have changed outside of Terraform
Plan: 1 to add, 0 to change, 1 to destroy.

:fast_forward: To apply all unapplied plans from this pull request, comment:

atlantis apply

:put_litter_in_its_place: To delete all plans and locks for the PR, comment:

atlantis unlock

atlantis apply

Ran Apply for dir: terraform workspace: default
aws_route53_zone.main: Destroying... [id=Z0975097GI60AUOWBH82]
aws_route53_zone.main: Destruction complete after 0s
aws_route53_zone.main: Creating...
aws_route53_zone.main: Still creating... [10s elapsed]
aws_route53_zone.main: Still creating... [20s elapsed]
aws_route53_zone.main: Still creating... [30s elapsed]
aws_route53_zone.main: Creation complete after 36s [id=Z09800282W96ID4P1H3B4]

Apply complete! Resources: 1 added, 0 changed, 1 destroyed.

Locks and plans deleted for the projects and workspaces modified in this pull request:

dir: terraform workspace: default


Remove "No orders found"

Remove. Not necessary as not showing correct information.

I think this message doesn't need to delete, we can short this to: "No orders found. Enter amount less than 0.018 ETH or 0.0005 BTC"

Seems outdated


Add per-window and per-tabpage previous directory

Support a separate previous directory for windows and tab pages with
local directories (:lcd and :tcd).

Codecov Report

Merging #4362 into master will increase coverage by <.01%.
The diff coverage is 96.42%.

@@            Coverage Diff             @@
##           master    #4362      +/-   ##
==========================================
+ Coverage   80.32%   80.33%   +<.01%
==========================================
  Files         108      108
  Lines      142282   142299      +17
==========================================
+ Hits       114294   114314      +20
+ Misses      27988    27985       -3

Impacted Files
Coverage Δ

src/quickfix.c
93.58% <100%> (ø)
:arrow_up:

src/window.c
86.61% <100%> (+0.1%)
:arrow_up:

src/evalfunc.c
88.77% <100%> (ø)
:arrow_up:

src/ex_docmd.c
80.1% <95.65%> (+0.06%)
:arrow_up:

src/gui_gtk_x11.c
48.94% <0%> (-0.35%)
:arrow_down:

src/undo.c
83.22% <0%> (-0.07%)
:arrow_down:

src/terminal.c
80.62% <0%> (-0.04%)
:arrow_down:

src/channel.c
83.54% <0%> (+0.07%)
:arrow_up:

src/gui.c
57.99% <0%> (+0.1%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


CI/CD - use small test cluster

The CI/CD pipeline creates a default EKS test cluster with the eksctl command.
The default cluster creates two m5.large nodes.
Do some testing and fill out this table.
eksctl create cluster [flags]

 -t, --node-type string               node instance type
-N, --nodes int                      total number of nodes (for a static ASG) (default 2)

# time creation of a cluster
time make aws-eks-cluster-create AWS_EKS_NODES=2 AWS_EKS_NODE_TYPE=m5.large

# time deletion of a cluster
time make aws-eks-cluster-delete

nodes
node-type
time to create
smoketest
time to delete

2
m5.large.
26 minutes
pass
4 minutes

1
m5.large.
26 minutes
pass
4 minutes

Some Pricing information

node_type
vcpu
Memory
On-Demand Pricing
Spot Pricing

m5.large
2
8
$0.096
$0.0338

m6g.large
2
8
$0.077
$0.0355

a1.xlarge
4
8
$0.1020
$0.0334

It seems best to use 1 m5.large with on demand pricing. Not that much gained with spot pricing except possible instabilities with the nodes being closed.

Do some testing and fill out this table.
eksctl create cluster [flags]

 -t, --node-type string               node instance type
-N, --nodes int                      total number of nodes (for a static ASG) (default 2)

#134 implemented an option to define number of nodes and node_type to the Makefile command:
# time creation of a cluster
time make aws-eks-cluster-create AWS_EKS_NODES=2 AWS_EKS_NODE_TYPE=m5.large

# time deletion of a cluster
time make aws-eks-cluster-delete

nodes
node-type
time to create
smoketest
time to delete

2
m5.large
26 minutes
pass
4 minutes

1
m5.large
26 minutes
pass
4 minutes

No time is gained by going from 2 to 1 node.
Some Pricing information

node_type
vcpu
Memory
On-Demand Pricing
Spot Pricing

m5.large
2
8
$0.096
$0.0338

m6g.large
2
8
$0.077
$0.0355

a1.xlarge
4
8
$0.1020
$0.0334

It seems best to stick to 2 m5.large with on demand pricing:

Not that much gained with spot pricing except possible instabilities with the nodes being closed
Using only 1 node does not make sense when we want to test running on an EKS cluster with multiple nodes.


Increase spacing between in \listofacronyms

can you show me before/after pictures?

I'll do it. The patch is very helpful:
Before:

After:

I recommend integrating it.


[json-rpc] decode mint/p2pwithmetadata transaction , and gas_used

@bors-libra: r+

:pushpin: Commit 9fc4e06 has been approved by phoenix-antigravity

@bors-libra retry

@bors-libra r=phoenix-antigravity

:pushpin: Commit ebd0ba7 has been approved by phoenix-antigravity

:hourglass: Testing commit ebd0ba71badd0714b750e6d3928def55c3892893 with merge 10756a43c8dad6beaca427d3470afc8c732393e5...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: phoenix-antigravity
Pushing 10756a43c8dad6beaca427d3470afc8c732393e5 to master...


dartvm3.5.4 Command '['ninja']' returned non-zero exit status 1

My Environment: Python 3.12.3 + Visual Studio 2019
python blutter.py ./arm64 ./output -- ./arm64 contains libapp.so and libflutter.so

Here are their compressed original files:  arm64.zip

All Process Output:
Dart version: 3.5.4, Snapshot: 80a49c7111088100a233b2ae788e1f48, Target: android arm64
flags: product no-code_comments dwarf_stack_traces_mode dedup_instructions no-tsan no-msan arm64 android compressed-pointers
Cloning into 'C:\Users\cpp\Desktop\ftdcp\blutterhome\dartsdk\v3.5.4'...
remote: Enumerating objects: 2434, done.
remote: Counting objects: 100% (2434/2434), done.
remote: Compressing objects: 100% (1965/1965), done.
remote: Total 2434 (delta 40), reused 1399 (delta 29), pack-reused 0 (from 0)
Receiving objects: 100% (2434/2434), 1.29 MiB | 4.54 MiB/s, done.
Resolving deltas: 100% (40/40), done.
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 24 (delta 0), reused 7 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (24/24), 147.04 KiB | 63.00 KiB/s, done.
Updating files: 100% (24/24), done.
remote: Enumerating objects: 2884, done.
remote: Counting objects: 100% (2884/2884), done.
remote: Compressing objects: 100% (2406/2406), done.
remote: Total 2884 (delta 527), reused 1218 (delta 435), pack-reused 0 (from 0)
Receiving objects: 100% (2884/2884), 8.54 MiB | 84.00 KiB/s, done.
Resolving deltas: 100% (527/527), done.
Updating files: 100% (3261/3261), done.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/cpp/Desktop/ftdcp/blutterhome/build/dartvm3.5.4_android_arm64
[1/264] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\bootstrap_natives.cc.obj

FAILED: CMakeFiles/dartvm3.5.4_android_arm64.dir/runtime/vm/bootstrap_natives.cc.obj
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe  /nologo /TP -DDART_COMPRESSED_POINTERS -DDART_PRECOMPILED_RUNTIME -DDART_TARGET_OS_ANDROID -DDART_TARGET_OS_WINDOWS_UWP -DEXCLUDE_CFE_AND_KERNEL_PLATFORM -DNDEBUG -DPRODUCT -DTARGET_ARCH_ARM64 -DU_USING_ICU_NAMESPACE=0 -D_HAS_EXCEPTIONS=0 -IC:\Users\cpp\Desktop\ftdcp\blutterhome\dartsdk\v3.5.4\runtime -IE:\anacondahome\Library\include /DWIN32 /D_WINDOWS  /O2 /Ob2 /DNDEBUG -MD /Oy /GR- /EHs-c- -std:c++17 /showIncludes /FoCMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\bootstrap_natives.cc.obj /FdCMakeFiles\dartvm3.5.4_android_arm64.dir\dartvm3.5.4_android_arm64.pdb /FS -c C:\Users\cpp\Desktop\ftdcp\blutterhome\dartsdk\v3.5.4\runtime\vm\bootstrap_natives.cc

E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(53): warning C4005: 'bool': macro redefinition
E:\anacondahome\Library\include\stdbool.h(9): note: see previous definition of 'bool'
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(55): fatal error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[14/264] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\app_snapshot.cc.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
   File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 229, in
  main(args.indir, args.outdir, args.rebuild, args.vs_sln, args.no_analysis)
   File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 211, in main
  main2(libapp_file, libflutter_file, outdir, rebuild_blutter, create_vs_sln, no_analysis)
   File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 202, in main2
  build_and_run(input)
   File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 168, in build_and_run
  fetch_and_build(input.dart_info)
   File "C:\Users\cpp\Desktop\ftdcp\blutterhome\dartvm_fetch_build.py", line 135, in fetch_and_build
  cmake_dart(info, outdir)
   File "C:\Users\cpp\Desktop\ftdcp\blutterhome\dartvm_fetch_build.py", line 130, in cmake_dart
  subprocess.run([NINJA_CMD], cwd=builddir, check=True)
   File "E:\anacondahome\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
Try Manually Ninja Bulid:

cd     \build\dartvm3.5.4_android_arm64 and exectue ninja.

Process Output:
[1/202] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\dart_api_state.cc.obj

FAILED: CMakeFiles/dartvm3.5.4_android_arm64.dir/runtime/vm/dart_api_state.cc.obj
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe  /nologo /TP -DDART_COMPRESSED_POINTERS -DDART_PRECOMPILED_RUNTIME -DDART_TARGET_OS_ANDROID -DDART_TARGET_OS_WINDOWS_UWP -DEXCLUDE_CFE_AND_KERNEL_PLATFORM -DNDEBUG -DPRODUCT -DTARGET_ARCH_ARM64 -DU_USING_ICU_NAMESPACE=0 -D_HAS_EXCEPTIONS=0 -IC:\Users\cpp\Desktop\ftdcp\blutterhome\dartsdk\v3.5.4\runtime -IE:\anacondahome\Library\include /DWIN32 /D_WINDOWS  /O2 /Ob2 /DNDEBUG -MD /Oy /GR- /EHs-c- -std:c++17 /showIncludes /FoCMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\dart_api_state.cc.obj /FdCMakeFiles\dartvm3.5.4_android_arm64.dir\dartvm3.5.4_android_arm64.pdb /FS -c C:\Users\cpp\Desktop\ftdcp\blutterhome\dartsdk\v3.5.4\runtime\vm\dart_api_state.cc

E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(53): warning C4005: 'bool': macro redefinition
E:\anacondahome\Library\include\stdbool.h(9): note: see previous definition of 'bool'
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(55): fatal error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[8/202] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\bootstrap_natives.cc.obj

FAILED: CMakeFiles/dartvm3.5.4_android_arm64.dir/runtime/vm/bootstrap_natives.cc.obj
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe  /nologo /TP -DDART_COMPRESSED_POINTERS -DDART_PRECOMPILED_RUNTIME -DDART_TARGET_OS_ANDROID -DDART_TARGET_OS_WINDOWS_UWP -DEXCLUDE_CFE_AND_KERNEL_PLATFORM -DNDEBUG -DPRODUCT -DTARGET_ARCH_ARM64 -DU_USING_ICU_NAMESPACE=0 -D_HAS_EXCEPTIONS=0 -IC:\Users\cpp\Desktop\ftdcp\blutterhome\dartsdk\v3.5.4\runtime -IE:\anacondahome\Library\include /DWIN32 /D_WINDOWS  /O2 /Ob2 /DNDEBUG -MD /Oy /GR- /EHs-c- -std:c++17 /showIncludes /FoCMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\bootstrap_natives.cc.obj /FdCMakeFiles\dartvm3.5.4_android_arm64.dir\dartvm3.5.4_android_arm64.pdb /FS -c C:\Users\cpp\Desktop\ftdcp\blutterhome\dartsdk\v3.5.4\runtime\vm\bootstrap_natives.cc

E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(53): warning C4005: 'bool': macro redefinition
E:\anacondahome\Library\include\stdbool.h(9): note: see previous definition of 'bool'
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(55): fatal error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[14/202] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\isolate.cc.obj
ninja: build stopped: subcommand failed.

同样的问题

同样的问题

I have already solved it

@debuggerfool  如何解决的?是不是版本问题?

How did you solve it? I also encountered this problem recently and didn't solve it.

Close because debuggerfool said solved it


Fix Travis Builds

@rsnk96 Tensorflow doesn't have binaries for Python 3.8, should we roll back to 3.7 on Travis?

The ML-Build script seems to be not working due to Tensorflow 1.15 being the latest package, but since it uses older bazel version, the config options are wrong.
If we fix that, it will again stop working when a new 2.x release happens
Any suggestions on how to handle this? We could do something like build the latest 2.x package by default, if a user wants 1.x package, they can just change the version themselves

Looks good


MvcSiteMap version 3.2 is not pulling/evaluating MvcSiteMapTitleKey value from view Data

I had setup mvc sitemap version 3.1 RC and it is working absolutely fine but when I upgrade it to the assembly version 3.2 it doesn't pull MvcSiteMapTitleKey value from ViewData.  We had setup the MvcSitemap with following information:
Action Method:
[SiteMapTitle("MvcSiteMapTitleKey")]
public ActionResult CompareMonths(string firstMonth, string secondMonth)
{
ViewData["MvcSiteMapTitleKey"] = String.Format("Compare {0} to {1}", model.Month1.MonthYearDisplay,   model.Month2.MonthYearDisplay);
return View(model);
}
[SiteMapTitle("MvcSiteMapTitleKey")]
public ActionResult CompareYears(string firstMonth, string secondMonth)
{
ViewData["MvcSiteMapTitleKey"] = String.Format("Compare {0} to {1}", model.Month1.MonthYearDisplay, model.Month2.MonthYearDisplay);
return View(model);
}
mvc.sitemap
<mvcSiteMapNode title="Budget" action="Budget">
<mvcSiteMapNode action="CompareMonths" changeFrequency="Always" updatePriority="Normal" />
<mvcSiteMapNode action="CompareYears" changeFrequency="Always" updatePriority="Normal" />
</mvcSiteMapNode>

Hey Guys Any updates on this issue. Please let me know if any specific information is required to reproduce the issue or anything that may give us a clue to resolve it at our end.

Hello:
I'd like know an answer to this as well as we've upgraded from 2.3.1 and am running into the exact same issue.


gnu-pw-mgr: init 2.3.2

Motivation for this change
gnu-pw-mgr: init 2.3.2
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build gnu-pw-mgr

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: gnu-pw-mgr
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: gnu-pw-mgr
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/5x7y9d0wrylyzj6qbgpzv7c1c67mk1si-gnu-pw-mgr-2.3.2
shrinking /nix/store/5x7y9d0wrylyzj6qbgpzv7c1c67mk1si-gnu-pw-mgr-2.3.2/bin/gnu-pw-mgr
shrinking /nix/store/5x7y9d0wrylyzj6qbgpzv7c1c67mk1si-gnu-pw-mgr-2.3.2/bin/sort-pw-cfg
gzipping man pages under /nix/store/5x7y9d0wrylyzj6qbgpzv7c1c67mk1si-gnu-pw-mgr-2.3.2/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5x7y9d0wrylyzj6qbgpzv7c1c67mk1si-gnu-pw-mgr-2.3.2/bin
patching script interpreter paths in /nix/store/5x7y9d0wrylyzj6qbgpzv7c1c67mk1si-gnu-pw-mgr-2.3.2
checking for references to /build in /nix/store/5x7y9d0wrylyzj6qbgpzv7c1c67mk1si-gnu-pw-mgr-2.3.2...
/nix/store/5x7y9d0wrylyzj6qbgpzv7c1c67mk1si-gnu-pw-mgr-2.3.2

Success on aarch64-linux (full log)
Attempted: gnu-pw-mgr
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/53h1gd8i9j5a839qvjk96cflw3lsyb3x-gnu-pw-mgr-2.3.2
shrinking /nix/store/53h1gd8i9j5a839qvjk96cflw3lsyb3x-gnu-pw-mgr-2.3.2/bin/sort-pw-cfg
shrinking /nix/store/53h1gd8i9j5a839qvjk96cflw3lsyb3x-gnu-pw-mgr-2.3.2/bin/gnu-pw-mgr
gzipping man pages under /nix/store/53h1gd8i9j5a839qvjk96cflw3lsyb3x-gnu-pw-mgr-2.3.2/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/53h1gd8i9j5a839qvjk96cflw3lsyb3x-gnu-pw-mgr-2.3.2/bin
patching script interpreter paths in /nix/store/53h1gd8i9j5a839qvjk96cflw3lsyb3x-gnu-pw-mgr-2.3.2
checking for references to /build in /nix/store/53h1gd8i9j5a839qvjk96cflw3lsyb3x-gnu-pw-mgr-2.3.2...
/nix/store/53h1gd8i9j5a839qvjk96cflw3lsyb3x-gnu-pw-mgr-2.3.2

LGTM. Thank you for contributing to nixpkgs!

@xeji @dotlambda thanks for patiently guiding me through this, my little knowledge of Nix grows a bit more!


ModifyWorld

Is it working in the 1.12.2 update? Because It ain't for me...

For me aswell

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


Musical notation control

A user control should be created. It represents a musical notation. It will display two notes and the interval on a label. It will be drawed with graphics.

There's a bug with the displaying of the control. It can't load the image in design mode, but works after build.


Fix: InsertValue will error if input is None

Title says most of it. Related, Metronome handled the no input case correctly, but there wasn't a test for it, so I added one for that, too. I also took the liberty of making the Metronome tests fast with autojump_clock, if that's ok (they were the only ones that slowed the test run).

Ok, so, interesting...
My original intended use case for InsertValue assumes that it will receive further values, in other words it was supposed to not be used as the first section and thus would always get an input. I was never really intending it to be used as first section.
Naively I actually expected that this might cause bad things to happen, like the pipeline might hang after single value was emitted, because there wasn't a source stream to exhaust of values. But, luckily the weld function actually knows how to handle this situation and will simply close the output memory channel, once the pump function exits, if there is no input. So, this turns out to be safe.
I think there should be a test for this. Maybe:
async def test_insert_value_without_input():
    async with Pipeline.create(
        InsertValue('a')
    ) as pipeline, pipeline.tap() as aiter:
        results = [v async for v in aiter]
        assert results == ['a']

And maybe a tiny note should be added to the documentation specifying the expected behaviour for this corner case.

My original intended use case for InsertValue assumes that it will receive further values, in other words it was supposed to not be used as the first section and thus would always get an input. I was never really intending it to be used as first section.

I kinda figured, but the type annotation says it's optional, so either the no-input case should be handled or the type annotation should be fixed. The latter opens its own can of worms because we'd then be overriding refine() with an incompatible signature, which is another thing the type-checkers will rightfully complain about. It seemed to me that the former option was simply easier. And it's kindof a feature, as I can't think of a better way to make a single-value source in one line, which I can imagine there are uses for.

I think there should be a test for this. Maybe:

Heh, this PR already contains one. Funnily enough, our test implementations are identical, except for the name and the fact that I used "n" as my input value instead of "a", simply because that's the character the existing test_insert_value() uses.
async def test_insert_value_no_input(autojump_clock):
    async with Pipeline.create(
            InsertValue('n')
    ) as pipeline, pipeline.tap() as aiter:
        results = [v async for v in aiter]
        assert results == ['n']

And maybe a tiny note should be added to the documentation specifying the expected behaviour for this corner case.

Good call. I'll add something.

@andersea Looking at the docs, I noticed that all other sections that can be used as starting sections say "can be used as a starting section, if a source is provided." Should we add support for a source argument to InsertValue for consistency (though it would be optional in this case)?

Ok, I got through the review. Looks good. I haven't used the monkeypatch module, but I see how it helps a lot in this case. But I had to go through everything step by step to make sure I understood what was going on.
If you want to add an optional source parameter to InsertValue, go ahead, I am fine with it either way.

Sorry for the delay, I'll get to it eventually. :P

@andersea Ok, ready now. In the end I felt like the source parameter didn't really fit, so I just added the small doc update.

Thank you!


✨ NEW: updateHistoryStack prop

Adds the option to disable the URL getting updated by setting updateHistoryStack={false}

moved to #11 as I was unable to push changes.


Remove Pause button onstart video

My videos are just 10 to 60seconds videos.. when i use autoplay video pause button showing nearly 5 second..  how can i disable pause button on video start?

extends JCVideoPlayerStandard, Override setUiWitStateAndScreen(int);case CURRENT_STATE,
invisible startButton except STATE_NORMAL.

jcVideoPlayerStandard.setUp(VIDEO_URL, JCVideoPlayerStandard.SCREEN_LAYOUT_LIST, "");
jcVideoPlayerStandard.startButton.performClick();
jcVideoPlayerStandard.startButton.setVisibility(View.GONE);
I try this still pause button showing ... my video is auto play

jcVideoPlayerStandard.startButton.setVisibility(View.GONE); this will not work

nds JCVideoPlayerStandard, Override setUiWitStateAndScreen() function , int this function swtch CURRENT_STATE

lol i cant undertand... public class VideoView_Activity extends JCVideoPlayerStandard{  ?? this not work

Create  a new Class, called VideoView extends JCVideoPlayerStandard,Use VideoView in activity

hello. I cant not find setUiWitStateAndScreen method to Override

public class CustomJZVideoPlayerStandard extends JZVideoPlayerStandard {

    public CustomJZVideoPlayerStandard(Context context) {
        super(context);
    }

}


--exclude option

It would be nice to be able to exclude certain jobs from being run.
Example: You have a job deploy that needs compile-src and configure-deployment. Here it could be nice to skip the compile-src step like so: gitlab-ci-local deploy --needs --exclude compile-src.

I'm closing this, it's to nice :smile:


Updates USER-3SPN2 for compatibility with lammps-7Aug19

Cool! Thanks for taking care of this!

Thank you!!! This helps a lot!


Part 4 of documentation does not include chaincode instantiation step

The chaincode install step in included, however the instantiation step hasn't been included. The next steps described after installation assume that instantiation has been done. Might have been omitted in docs.
Also thanks a ton for the repo. Great work. Has been a truly helpful guide into fabric deployment

Thanks for the kind words.
The chaincode was instantiated in part1. Instantiation only needs to be
done once on the channel.
On Tue, 9 Jul 2019, 13:05 Gaurang Singh<EMAIL_ADDRESS>wrote:

The chaincode install step in included, however the instantiation step
hasn't been included. The next steps described after installation assume
that instantiation has been done. Might have been omitted in docs.
Also thanks a ton for the repo. Great work. Has been a truly helpful guide
into fabric deployment
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aws-samples/hyperledger-on-kubernetes/issues/17?email_source=notifications&email_token=AC6QOGSGHSJZEUQWMBH7WQTP6QMC5A5CNFSM4H7BTF7KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G6ABXBQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC6QOGRUJWZQTLZATOH2IZLP6QMC5ANCNFSM4H7BTF7A
.

Aah got it. We were running the individual scripts to get a deeper understanding and running into problems.
Been trying to help my company automate and streamline HL Fabric deployment and your repo has truly helped us get an understanding of how to integrate the CA into the mix. We were relying the Cello repo till now.
It's still an uphill climb though, this fabric keeps breaking randomly. Do you have any tips/guides aside from the official docs?

I'd use Amazon managed blockchain. Managing the infra for a fabric network
isn't for the faint of heart. 😁
On Wed, 10 Jul 2019, 15:00 Gaurang Singh<EMAIL_ADDRESS>wrote:

Aah got it. We were running the individual scripts to get a deeper
understanding and running into problems.
Been trying to help my company automate and streamline HL Fabric
deployment and your repo has truly helped us get an understanding of how to
integrate the CA into the mix. We were relying the Cello repo till now.
It's still an uphill climb though, this fabric keeps breaking randomly. Do
you have any tips/guides aside from the official docs?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aws-samples/hyperledger-on-kubernetes/issues/17?email_source=notifications&email_token=AC6QOGVEG4Z7YLPNMMUAGXLP6WCI3A5CNFSM4H7BTF7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZSQCQA#issuecomment-509935936,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC6QOGUY3FGU3HRMZ24O7EDP6WCI3ANCNFSM4H7BTF7A
.


feat: dialog position and size features are added

Hello @shadcn,
I hope you're doing well. I've created this pull request to propose an enhancement to the shadcn-uI library. I've added position and size variants to the Dialog component, which I believe would enhance the versatility and usability of the library.
Changes Made:
Added new position options (left, center, right, top-left, top-center, top-right,  bottom-left, bottom-center, bottom-right) to the Dialog component.
Included size options (small, medium, large, extra-large, super-large, ultra-large, full) to allow for greater flexibility in adapting the dialog to different content needs.
I kindly request you to review this pull request at your earliest convenience. Your feedback and suggestions are highly valued, and I'm open to making any necessary adjustments to ensure the quality and cohesion of the library.
Issue number is #1367
Best regards,
Towhid Hasan

up

Great, it's a feature that until now I was using in my projects because it's very useful. Good job

Really nice work. Was about to build the same variants and then came across this repo. By the way, minor, but dialogVariants is mispelt in the commit as dialogVarients. Thanks again.

Really nice work. Was about to build the same variants and then came across this pr. By the way, minor, but dialogVariants is mispelt in the commit as dialogVarients. Thanks again.

Thank you for your feedback! I appreciate your kind words and a keen eye for detail. I've corrected the spelling mistake, and the updated commit now reads "dialogVariants" instead of "dialogVarients." Thanks again for your support!

@towhidstack This looks great. However we're trying to keep the props minimal for the components and let you customize per project. I think this makes a great example though. Can we cover this in documentation instead?

@towhidstack This looks great. However we're trying to keep the props minimal for the components and let you customize per project. I think this makes a great example though. Can we cover this in documentation instead?

sure

neat work @towhidstack! 💯
I noticed for DialogContent, we're passing className to cn outside of the dialogVariants like so -
className={cn(dialogVariants({ position, size }), className)}

which makes sense to me. I did notice, however, that for buttons, shadcn destructures/passes className from within buttonVariants -
className={cn(buttonVariants({ variant, size, className }))}

I wonder whether that makes any difference.

I was looking for a way to change Width of Dialog, but here size and position props apparently not working

I was looking for a way to change Width of Dialog, but here size and position props apparently not working

Since this pull request hasn't been merged, you're unable to proceed with that action. you can change the dialog width/height using tailwind CSS class.

I was looking for a way to change Width of Dialog, but here size and position props apparently not working

Since this pull request hasn't been merged, you're unable to proceed with that action. you can change the dialog width/height using tailwind CSS class.

Oh, I didn't see the comment from shadcn 😬
Setting a custom width for Dialog component only works when I removed max-w-lg in components/ui/dialog.tsx

@towhidstack This looks great. However we're trying to keep the props minimal for the components and let you customize per project. I think this makes a great example though. Can we cover this in documentation instead?

sure

why i didnt see position and size mentioned in official documentation here:
https://ui.shadcn.com/docs/components/dialog
Do i miss something?


Cache flycheck results when the source is unchanged

This addresses #143, wherein flycheck warnings were getting lost after two flycheck passes in quick succession since the second underlying :l command simply said "ok".
The approach taken here is to note the temp buffer modification time and results for a flycheck pass, and then to simply replay them if another pass is requested with the same temp buffer mod time.
In order to make this work, we have to ensure that the mod time of the temp buffer is not updated unless its contents change, which introduces a small inefficiency: the temp file is now first quickly read before conditionally writing to it.

Tested it. Works great!

Yay, great.

This has the unintended side-effect of keeping borked flycheck results when you add a new target via intero-targets (say, a test suite) after having already opened the file once. intero-restart used to make the false flycheck results go away, but now they stay until you change something.

Good point. We could perhaps invalidate our caches when we do an intero restart (which is our usual "invalidation point" for other things too).

Yep, maybe note the start time for the backend, and ignore cached results if they're older? Saves proactively iterating through all associated buffers after a restart and changing stuff.

Fixed in 065f2e7, I believe. Ping me if you find any issues.

Thanks guys.


XCode 6.3 has changed some method's definition, so some parameters must ...

XCode 6.3 has changed some method's definition, so some parameters must be changed before compiling.

Thanks! But fixed in a separate commit. Feel free to resubmit with conflicts resolved if you feel there are other material changes that need merged.


Bug: @types/fs-extra - error TS2694: Namespace '"fs"' has no exported member 'symlink'

In enhancing the extension to be javascript/angular so we can be more responsive I have been building on the extension to include typescript. This has resulted in identifying the following error during gulp compile
PS C:\GitHub\sqlops-mssql-db-insights> gulp compile
[21:20:13] Using gulpfile C:\GitHub\sqlops-mssql-db-insights\gulpfile.js
[21:20:13] Starting 'compile'...
[21:20:13] Starting 'compile:src'...
C:/GitHub/sqlops-mssql-db-insights/node_modules/@types/fs-extra/index.d.ts(210,86): error TS2694: Namespace '"fs"' has no exported member 'symlink'.C:/GitHub/sqlops-mssql-db-insights/node_modules/@types/fs-extra/index.C:/GitHub/sqlops-mssql-db-insights/node_modules/@types/fs-extra/index.d.ts(210,86): error TS2694: Namespace '"fs"' has no exported member 'symlink'.C:/GitHub/sqlops-mssql-db-insights/node_modules/@types/fs-extra/index.d.ts(212,87): error TS2694: Namespace '"fs"' has no exported member 'symlink'.C:/GitHub/sqlops-mssql-db-insights/node_modules/sqlops/sqlops.d.ts(1134,3): error TS7008: Member 'frequencyRelativeIntervals' implicitly has an 'any' type.
C:/GitHub/sqlops-mssql-db-insights/node_modules/sqlops/sqlops.d.ts(1134,31): error TS7008: Member 'FrequencyRelativeIntervals' implicitly has an 'any' type.[21:20:15] TypeScript: 4 semantic errors
[21:20:15] TypeScript: emit succeeded (with errors)
[21:20:15] Finished 'compile:src' after 2.13 s
[21:20:15] Starting 'compile:test'...
[21:20:15] Finished 'compile:test' after 9.92 ms
[21:20:15] Finished 'compile' after 2.15 s
PS C:\GitHub\sqlops-mssql-db-insights>

In package.json we originally had
"devDependencies": {
    "@types/fs-extra": "^5.0.3",
}

There is currently a known issue with @types/fs-extra https://github.com/DefinitelyTyped/DefinitelyTyped/issues/26730, so lets go back to the previous version, need to set this as the fixed version 5.0.2
"devDependencies": {
    "@types/fs-extra": "5.0.2",
}

Ran npm uninstall @types/fs-extra, updated package.json and the ran npm install

Gulp compile is now
PS C:\GitHub\sqlops-mssql-db-insights> gulp compile
[21:32:31] Using gulpfile C:\GitHub\sqlops-mssql-db-insights\gulpfile.js
[21:32:31] Starting 'compile'...
[21:32:31] Starting 'compile:src'...
C:/GitHub/sqlops-mssql-db-insights/node_modules/sqlops/sqlops.d.ts(1134,3): error TS7008: Member 'frequencyRelativeIntervals' implicitly has an 'any' type.
C:/GitHub/sqlops-mssql-db-insights/node_modules/sqlops/sqlops.d.ts(1134,31): error TS7008: Member 'FrequencyRelativeIntervals' implicitly has an 'any' type.
[21:32:34] TypeScript: 2 semantic errors
[21:32:34] TypeScript: emit succeeded (with errors)
[21:32:35] Finished 'compile:src' after 3.65 s
[21:32:35] Starting 'compile:test'...
[21:32:35] Finished 'compile:test' after 31 ms
[21:32:35] Finished 'compile' after 3.76 s
PS C:\GitHub\sqlops-mssql-db-insights>


:Neomake cargo makes zombie processes

nvim v0.2.0
:Neomake cargo makes no location list and has no visible effect. Then when I try to compile with cargo build, it's blocked: "Blocking waiting for file lock on build directory".
$ ps aux | grep cargo
ploppz    5581  0.0  0.4<PHONE_NUMBER>6 pts/3    SNl+ 15:23   0:00 /home/ploppz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo check --message-format=json --quiet
ploppz    5855  0.0  0.2<PHONE_NUMBER>2 pts/3    SN+  15:23   0:00 /home/ploppz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo check --message-format=json --quiet
ploppz    5867  0.0  0.2<PHONE_NUMBER>8 pts/3    SN+  15:23   0:00 /home/ploppz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo check --message-format=json --quiet
ploppz    5871  0.0  0.1  39164 18412 pts/3    SN+  15:23   0:00 cargo check --message-format=json --quiet
ploppz    5872  0.0  0.2<PHONE_NUMBER>2 pts/3    SN+  15:23   0:00 /home/ploppz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo check --message-format=json --quiet

I figured it's quite related to this ( https://github.com/neomake/neomake/issues/1216 ) but it's so long time ago, and I thought cargo check is only recent?

https://github.com/neomake/neomake/pull/1727 might help here.

Closing as duplicate of #1216 for now.


Update new tests to run in 2.0.0 compat mode.

Fixing build breaks should take little time if there were no actual breaking changes.

Let's discuss next week.


ClassGenerator.prepare: handle IsInstanceInstruction case

C-generator sometimes does not emit 1-2 files because of it

If you need a testcase, try to compile this to C:
package org.teavm.samples.scala
object Client {
  def main(args: Array[String]) {
    val bs = collection.mutable.BitSet.empty
    bs += 13
    println(s"bs=${bs}")
  }
}

Good! How did you found C backend and how did you learn how to use it? BTW, there are some issues in GC that I fixed in gc-defrag branch, but I can't merge it into master until I test it a little bit more. So if you find some issues in GC, please, try this branch before filing an issue.

I do not remember, I have old snippets here. Just spotted recent activity related to C backend and gave it a try.
Yes, gc-defrag works where master crashes


Mono chrome icons are shown on external devise as the icon always

Description

Steps To Reproduce
No response
Expected behavior
It should show the default icon associated with the file type.
Files Version
<IP_ADDRESS>
Windows Version
10.0.19043.1237
Relevant Assets
debug.log
debug_fulltrust.log

What kind of device? Is that a USB key or a phone storage?

@josh-65 could you confirm that the issue is only for folder icons but file icons are shown?

yes seem to be folder only


if obj  outputs to same path,will make error on the link.

严重性	代码	说明	项目	文件	行	禁止显示状态
警告	MSB8027	Two or more files with the name of tcp_socket.cpp will produce outputs to the same location. This can lead to an incorrect build result.  The files involved are ..\Classes\socket\tacopie\network\common\tcp_socket.cpp, ..\Classes\socket\tacopie\network\unix\tcp_socket.cpp, ..\Classes\socket\tacopie\network\windows\tcp_socket.cpp.	test	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets	936

Erf, MSVC is really annoying...
Seems like it does not match the source tree when it comes to generating output files, leading to common/tcp_socket.cpp and windows/tcp_socket.cpp both generating tcp_socket.o at the same location...
I checked online, and the only solution is to manually change the MSVC settings. Apparently, there is no way to automate with cmake.
So I'll simply rename the files to make sure that there is no source files with conflicting names.
I'll submit a fix ASAP.
Thanks for reporting this issue btw!
Best

I just submitted a fix on the master branch.
If you happen to try it, let me know if it solved your issue.
Thanks again for reporting the issue and do not hesitate to open new ones if necessary.
Best!


Bump to arm-ttk v0.25

Could you please bump to arm-ttk v0.25.
I'm getting some types not available errors which im assuming is the older ttk versions not knowing about newer API versions
Warning BCP081: Resource type "Microsoft.Network/networkSecurityGroups@2024-03-01" does not have types available.

I'll update the version shortly, however I'm dubious this will fix your issue. That error message usually means that the resource provider (in this case networking) hasn't published the schema for that API version. You'd get the same warning in VS Code as well.

I'll update the version shortly, however I'm dubious this will fix your issue. That error message usually means that the resource provider (in this case networking) hasn't published the schema for that API version. You'd get the same warning in VS Code as well.

Thanks.  I'm not getting the error in vscode, the intellisense works fine with the 2024-03-01 API.
For the moment I've changed all the resources using Microsoft.Network API down to 2024-01-01.  I'll try bumping them up again on Monday.

Sorry for the dumb question but how to I update the extension?  I still have the previous version in my DevOps org but cant find a way to make it update.

The extension updates automatically, however there was an issue with the release pipeline so the changes hadn't actually gone in. This has just completed, so your extension should update in the next 30 mins or so.

Got it, thanks.  You were right though, it has not helped with the API schema warnings.