{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":105620469,"defaultBranch":"main","name":"interpolate","ownerLogin":"buildkite","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-10-03T06:22:15.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/5055988?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1726618494.0","currentOid":""},"activityList":{"items":[{"before":"d7d6b88adb2c3f9f8e9294f6fd3d70fcb0c5912d","after":null,"ref":"refs/heads/making-it-rain","pushedAt":"2024-09-18T00:14:25.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"DrJosh9000","name":"Josh Deprez","path":"/DrJosh9000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2398124?s=80&v=4"}},{"before":"f208552716584b5c3be8d88986b6e34d0a6771c9","after":"d30645a39e08917571f6cd1e5ab267e88d70c609","ref":"refs/heads/main","pushedAt":"2024-09-18T00:14:24.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"DrJosh9000","name":"Josh Deprez","path":"/DrJosh9000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2398124?s=80&v=4"},"commit":{"message":"Merge pull request #15 from buildkite/making-it-rain\n\nFix nested escaped dollarsigns","shortMessageHtmlLink":"Merge pull request #15 from buildkite/making-it-rain"}},{"before":"fbdc2db03b80a0b99d1191a87f351b25768e91a0","after":"d7d6b88adb2c3f9f8e9294f6fd3d70fcb0c5912d","ref":"refs/heads/making-it-rain","pushedAt":"2024-09-17T23:35:27.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"DrJosh9000","name":"Josh Deprez","path":"/DrJosh9000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2398124?s=80&v=4"},"commit":{"message":"Fix nested escaped dollar signs","shortMessageHtmlLink":"Fix nested escaped dollar signs"}},{"before":"0af8b2608f1e5ed1c802a45689436a95b3a0b492","after":"fbdc2db03b80a0b99d1191a87f351b25768e91a0","ref":"refs/heads/making-it-rain","pushedAt":"2024-09-17T23:21:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"DrJosh9000","name":"Josh Deprez","path":"/DrJosh9000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2398124?s=80&v=4"},"commit":{"message":"Fix nested escaped dollar signs","shortMessageHtmlLink":"Fix nested escaped dollar signs"}},{"before":null,"after":"0af8b2608f1e5ed1c802a45689436a95b3a0b492","ref":"refs/heads/making-it-rain","pushedAt":"2024-09-17T08:03:38.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"DrJosh9000","name":"Josh Deprez","path":"/DrJosh9000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2398124?s=80&v=4"},"commit":{"message":"Fix nested escaped dollar signs","shortMessageHtmlLink":"Fix nested escaped dollar signs"}},{"before":"76d9f0984ac670fe77605ed119f47314a34a2d0d","after":null,"ref":"refs/heads/fix-literal-dollar-sign-escapes-again","pushedAt":"2024-06-26T04:21:33.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"DrJosh9000","name":"Josh Deprez","path":"/DrJosh9000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2398124?s=80&v=4"}},{"before":"1466cbadcec0c342c4ddb5a7b610dc104d0add11","after":"f208552716584b5c3be8d88986b6e34d0a6771c9","ref":"refs/heads/main","pushedAt":"2024-06-26T04:21:32.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"DrJosh9000","name":"Josh Deprez","path":"/DrJosh9000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2398124?s=80&v=4"},"commit":{"message":"Merge pull request #13 from buildkite/fix-literal-dollar-sign-escapes-again\n\nEmpty escaped interpolations should just be text, not interpolations","shortMessageHtmlLink":"Merge pull request #13 from buildkite/fix-literal-dollar-sign-escapes…"}},{"before":null,"after":"76d9f0984ac670fe77605ed119f47314a34a2d0d","ref":"refs/heads/fix-literal-dollar-sign-escapes-again","pushedAt":"2024-06-21T01:15:48.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Empty escaped interpolations should just be text, not interpolations","shortMessageHtmlLink":"Empty escaped interpolations should just be text, not interpolations"}},{"before":"54419202fe641775651c11d97f1a1397e84dbc0c","after":null,"ref":"refs/heads/fix-literal-dollar-sign-escapes","pushedAt":"2024-06-05T01:56:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"}},{"before":"c7172ad11260fce7106bbbde11260d45206079f4","after":"1466cbadcec0c342c4ddb5a7b610dc104d0add11","ref":"refs/heads/main","pushedAt":"2024-06-05T01:56:21.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Merge pull request #12 from buildkite/fix-literal-dollar-sign-escapes\n\nFix literal dollar sign escapes","shortMessageHtmlLink":"Merge pull request #12 from buildkite/fix-literal-dollar-sign-escapes"}},{"before":"d29b6e72cbce716b4505101cff61c08913ebbfa4","after":"54419202fe641775651c11d97f1a1397e84dbc0c","ref":"refs/heads/fix-literal-dollar-sign-escapes","pushedAt":"2024-06-05T01:52:34.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Fix literal dollar sign escapes","shortMessageHtmlLink":"Fix literal dollar sign escapes"}},{"before":"1e42f706363d633b03b5bad74a80e5bf9ba67a8a","after":"d29b6e72cbce716b4505101cff61c08913ebbfa4","ref":"refs/heads/fix-literal-dollar-sign-escapes","pushedAt":"2024-06-05T01:51:52.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Fix literal dollar sign escapes","shortMessageHtmlLink":"Fix literal dollar sign escapes"}},{"before":"ba2865045350e774454da3c0b29c76842eb37e38","after":"1e42f706363d633b03b5bad74a80e5bf9ba67a8a","ref":"refs/heads/fix-literal-dollar-sign-escapes","pushedAt":"2024-06-05T01:50:00.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Fix literal dollar sign escapes","shortMessageHtmlLink":"Fix literal dollar sign escapes"}},{"before":null,"after":"ba2865045350e774454da3c0b29c76842eb37e38","ref":"refs/heads/fix-literal-dollar-sign-escapes","pushedAt":"2024-06-05T01:48:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Fix literal dollar sign escapes","shortMessageHtmlLink":"Fix literal dollar sign escapes"}},{"before":"fe0cceaf682bd4816c53dbb8c584b85737e33965","after":null,"ref":"refs/heads/chill-out-go-version","pushedAt":"2024-06-03T00:14:57.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"}},{"before":"ced93a2fa6942309490d6a693a79cf1ea9eaade9","after":"c7172ad11260fce7106bbbde11260d45206079f4","ref":"refs/heads/main","pushedAt":"2024-06-03T00:14:56.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Merge pull request #11 from buildkite/chill-out-go-version\n\nAllow any version of go 1.22 to be used by dependents","shortMessageHtmlLink":"Merge pull request #11 from buildkite/chill-out-go-version"}},{"before":null,"after":"fe0cceaf682bd4816c53dbb8c584b85737e33965","ref":"refs/heads/chill-out-go-version","pushedAt":"2024-05-31T02:38:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Allow any version of go 1.22 to be used by dependents","shortMessageHtmlLink":"Allow any version of go 1.22 to be used by dependents"}},{"before":"b90a3c0d6498118845634a119f2f8f3b2f19f07c","after":null,"ref":"refs/heads/include-escaped-interpolations-in-identifiers-2","pushedAt":"2024-05-30T06:44:56.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"}},{"before":"07f35b4ae2515fcb0e08e9f116bdb0efd09e44d1","after":"ced93a2fa6942309490d6a693a79cf1ea9eaade9","ref":"refs/heads/main","pushedAt":"2024-05-30T06:44:55.000Z","pushType":"pr_merge","commitsCount":5,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Merge pull request #10 from buildkite/include-escaped-interpolations-in-identifiers-2\n\nInclude escaped interpolations in identifiers","shortMessageHtmlLink":"Merge pull request #10 from buildkite/include-escaped-interpolations-…"}},{"before":null,"after":"b90a3c0d6498118845634a119f2f8f3b2f19f07c","ref":"refs/heads/include-escaped-interpolations-in-identifiers-2","pushedAt":"2024-05-30T06:41:44.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Parallise tests","shortMessageHtmlLink":"Parallise tests"}},{"before":"07f35b4ae2515fcb0e08e9f116bdb0efd09e44d1","after":null,"ref":"refs/heads/master","pushedAt":"2024-05-30T06:38:41.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"}},{"before":"b7576d3b88a96b2b1b070b06645114c0a54875df","after":"b90a3c0d6498118845634a119f2f8f3b2f19f07c","ref":"refs/heads/include-escaped-interpolations-in-identifiers","pushedAt":"2024-05-30T06:32:17.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Parallise tests","shortMessageHtmlLink":"Parallise tests"}},{"before":"57fd4b6f12329d0b849a66a44cfd1e98957ee2e5","after":"b7576d3b88a96b2b1b070b06645114c0a54875df","ref":"refs/heads/include-escaped-interpolations-in-identifiers","pushedAt":"2024-05-30T06:29:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Parallise tests","shortMessageHtmlLink":"Parallise tests"}},{"before":"8c2d451a6929218de8d782f24e7be6356657b135","after":"57fd4b6f12329d0b849a66a44cfd1e98957ee2e5","ref":"refs/heads/include-escaped-interpolations-in-identifiers","pushedAt":"2024-05-30T06:15:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Apply suggestions from code review\n\nCo-authored-by: Tessa Bradbury \nCo-authored-by: Josh Deprez ","shortMessageHtmlLink":"Apply suggestions from code review"}},{"before":"a717b169e5de0d6cf06f76e8b0bea58fa6a8c91d","after":"8c2d451a6929218de8d782f24e7be6356657b135","ref":"refs/heads/include-escaped-interpolations-in-identifiers","pushedAt":"2024-05-30T06:13:38.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Include escaped expansions in calls to Identifiers\n\nIt's useful for consumers of this libary to be able to know if their input contains things that would be interpolated, and if so, which things. Currently, this is handled by the `interpolate.Identifiers()` function, which returns a list of the interpolate-able identifiers that `interpolate.Interpolate()` would replace.\n\nHowever, this library makes one further modification to its input: when escaped expansions are included (ie, $$MY_VAR or \\$MY_VAR), they're de-escaped in the output. This is working as intended, but the `interpolate.Identifiers` function doesn't include these escaped interpolations, which is a bit confusing when you're using the `Identifiers` function to determine \"will running Interpolate() change the input?\"\n\nTo remedy this, this PR updates the parse to handle escaped interpolations a bit differently, and treat them as a kind of expansion that doesn't take any input, and de-escapes its input. There's no functionality change, but escaped interpolations now show up in the `Identifiers()` function","shortMessageHtmlLink":"Include escaped expansions in calls to Identifiers"}},{"before":"642e81d4796c7260ee4603ca859b483d1023b184","after":"a717b169e5de0d6cf06f76e8b0bea58fa6a8c91d","ref":"refs/heads/include-escaped-interpolations-in-identifiers","pushedAt":"2024-05-30T05:24:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Include escaped expansions in calls to Identifiers\n\nIt's useful for consumers of this libary to be able to know if their input contains things that would be interpolated, and if so, which things. Currently, this is handled by the `interpolate.Identifiers()` function, which returns a list of the interpolate-able identifiers that `interpolate.Interpolate()` would replace.\n\nHowever, this library makes one further modification to its input: when escaped expansions are included (ie, $$MY_VAR or \\$MY_VAR), they're de-escaped in the output. This is working as intended, but the `interpolate.Identifiers` function doesn't include these escaped interpolations, which is a bit confusing when you're using the `Identifiers` function to determine \"will running Interpolate() change the input?\"\n\nTo remedy this, this PR updates the parse to handle escaped interpolations a bit differently, and treat them as a kind of expansion that doesn't take any input, and de-escapes its input. There's no functionality change, but escaped interpolations now show up in the `Identifiers()` function","shortMessageHtmlLink":"Include escaped expansions in calls to Identifiers"}},{"before":"3212d370e76c60f80147dd2d5d4d58aa7e42cb02","after":"642e81d4796c7260ee4603ca859b483d1023b184","ref":"refs/heads/include-escaped-interpolations-in-identifiers","pushedAt":"2024-05-30T04:49:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Add buildkite pipeline\n\nwow, embarrassing that that was missing, huh?","shortMessageHtmlLink":"Add buildkite pipeline"}},{"before":null,"after":"3212d370e76c60f80147dd2d5d4d58aa7e42cb02","ref":"refs/heads/include-escaped-interpolations-in-identifiers","pushedAt":"2024-05-30T04:48:19.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Add buildkite pipeline\n\nwow, embarrassing that that was missing, huh?","shortMessageHtmlLink":"Add buildkite pipeline"}},{"before":null,"after":"07f35b4ae2515fcb0e08e9f116bdb0efd09e44d1","ref":"refs/heads/main","pushedAt":"2024-05-29T06:56:16.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moskyb","name":"Ben Moskovitz","path":"/moskyb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15753101?s=80&v=4"},"commit":{"message":"Merge pull request #7 from buildkite/bash-compliant-substring-parsing\n\nUpdate substring parser to comply with Bash's rules","shortMessageHtmlLink":"Merge pull request #7 from buildkite/bash-compliant-substring-parsing"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xOFQwMDoxNDoyNS4wMDAwMDBazwAAAAS5GCV6","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xOFQwMDoxNDoyNS4wMDAwMDBazwAAAAS5GCV6","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNS0yOVQwNjo1NjoxNi4wMDAwMDBazwAAAARWmuaM"}},"title":"Activity · buildkite/interpolate"}