mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Compare commits
4 Commits
a4b2ad51e0
...
b08a1e0430
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b08a1e0430 | ||
|
|
16f8114c83 | ||
|
|
0510959310 | ||
|
|
699614680e |
@@ -23,6 +23,30 @@
|
||||
"revId": "2d28a4ba1775bceb41e63cc5735263c0e26f3ea5",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": false,
|
||||
"key": {
|
||||
"uuid": "4f603fd2_ee460ec4",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 5
|
||||
},
|
||||
"lineNbr": 19,
|
||||
"author": {
|
||||
"id": 1450817
|
||||
},
|
||||
"writtenOn": "2026-01-06T22:56:27Z",
|
||||
"side": 1,
|
||||
"message": "Done",
|
||||
"parentUuid": "8a999b59_aa5c0b2d",
|
||||
"range": {
|
||||
"startLine": 19,
|
||||
"startChar": 2,
|
||||
"endLine": 19,
|
||||
"endChar": 37
|
||||
},
|
||||
"revId": "2d28a4ba1775bceb41e63cc5735263c0e26f3ea5",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
@@ -45,6 +69,30 @@
|
||||
},
|
||||
"revId": "2d28a4ba1775bceb41e63cc5735263c0e26f3ea5",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": false,
|
||||
"key": {
|
||||
"uuid": "35998eb7_0d0b6933",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 5
|
||||
},
|
||||
"lineNbr": 40,
|
||||
"author": {
|
||||
"id": 1450817
|
||||
},
|
||||
"writtenOn": "2026-01-06T22:56:27Z",
|
||||
"side": 1,
|
||||
"message": "Done",
|
||||
"parentUuid": "03c97ec7_e9a4de02",
|
||||
"range": {
|
||||
"startLine": 40,
|
||||
"startChar": 51,
|
||||
"endLine": 40,
|
||||
"endChar": 54
|
||||
},
|
||||
"revId": "2d28a4ba1775bceb41e63cc5735263c0e26f3ea5",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
}
|
||||
]
|
||||
}
|
||||
190
622ee23b86b073429f903968312c3f92757913ea
Normal file
190
622ee23b86b073429f903968312c3f92757913ea
Normal file
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"comments": [
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
"uuid": "a37879e2_d30d992f",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 6
|
||||
},
|
||||
"lineNbr": 15,
|
||||
"author": {
|
||||
"id": 1000768
|
||||
},
|
||||
"writtenOn": "2026-01-07T01:24:25Z",
|
||||
"side": 1,
|
||||
"message": "this is a really weird \u0026 unintuitive interface. it\u0027s not how any standard formatting tool behaves.",
|
||||
"range": {
|
||||
"startLine": 13,
|
||||
"startChar": 0,
|
||||
"endLine": 15,
|
||||
"endChar": 54
|
||||
},
|
||||
"revId": "622ee23b86b073429f903968312c3f92757913ea",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
"uuid": "8c5ef256_40f4d4db",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 6
|
||||
},
|
||||
"lineNbr": 15,
|
||||
"author": {
|
||||
"id": 1450817
|
||||
},
|
||||
"writtenOn": "2026-01-07T01:37:44Z",
|
||||
"side": 1,
|
||||
"message": "Would you prefer it if I followed clang-format\u0027s convention and instead of `formatter foo.extension` I used `formatter --assume-filename\u003dfoo.extension`? This would be consistent with most formatters.\n\nI mostly didn\u0027t do it that way because I figured there was only one parameter so there was no point using argparse.",
|
||||
"parentUuid": "a37879e2_d30d992f",
|
||||
"range": {
|
||||
"startLine": 13,
|
||||
"startChar": 0,
|
||||
"endLine": 15,
|
||||
"endChar": 54
|
||||
},
|
||||
"revId": "622ee23b86b073429f903968312c3f92757913ea",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
"uuid": "fc874cbf_52a817f6",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 6
|
||||
},
|
||||
"lineNbr": 41,
|
||||
"author": {
|
||||
"id": 1000768
|
||||
},
|
||||
"writtenOn": "2026-01-07T01:24:25Z",
|
||||
"side": 1,
|
||||
"message": "ironically, this file needs formatting",
|
||||
"revId": "622ee23b86b073429f903968312c3f92757913ea",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
"uuid": "d8d0ffd4_9bea7e6d",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 6
|
||||
},
|
||||
"lineNbr": 46,
|
||||
"author": {
|
||||
"id": 1000768
|
||||
},
|
||||
"writtenOn": "2026-01-07T01:24:25Z",
|
||||
"side": 1,
|
||||
"message": "use execvp and you don\u0027t need the shutil.which logic anywhere",
|
||||
"revId": "622ee23b86b073429f903968312c3f92757913ea",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
"uuid": "712042af_b8185bcd",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 6
|
||||
},
|
||||
"lineNbr": 46,
|
||||
"author": {
|
||||
"id": 1450817
|
||||
},
|
||||
"writtenOn": "2026-01-07T01:37:44Z",
|
||||
"side": 1,
|
||||
"message": "Does that still apply given what I mentioned about shebangs on windows?",
|
||||
"parentUuid": "d8d0ffd4_9bea7e6d",
|
||||
"revId": "622ee23b86b073429f903968312c3f92757913ea",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
"uuid": "6309e84d_4c0155b5",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 6
|
||||
},
|
||||
"lineNbr": 51,
|
||||
"author": {
|
||||
"id": 1000768
|
||||
},
|
||||
"writtenOn": "2026-01-07T01:24:25Z",
|
||||
"side": 1,
|
||||
"message": "all funcs really should have docstrings, even if they\u0027re just one-liners",
|
||||
"revId": "622ee23b86b073429f903968312c3f92757913ea",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
"uuid": "306b55a5_9a343782",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 6
|
||||
},
|
||||
"lineNbr": 86,
|
||||
"author": {
|
||||
"id": 1000768
|
||||
},
|
||||
"writtenOn": "2026-01-07T01:24:25Z",
|
||||
"side": 1,
|
||||
"message": "yapf is already properly shebanged. don\u0027t inject your own vpython on it.",
|
||||
"revId": "622ee23b86b073429f903968312c3f92757913ea",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
"uuid": "ec8b1dd3_76e1467a",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 6
|
||||
},
|
||||
"lineNbr": 86,
|
||||
"author": {
|
||||
"id": 1450817
|
||||
},
|
||||
"writtenOn": "2026-01-07T01:37:44Z",
|
||||
"side": 1,
|
||||
"message": "I was under the impression that the shebang wouldn\u0027t work on windows?",
|
||||
"parentUuid": "306b55a5_9a343782",
|
||||
"revId": "622ee23b86b073429f903968312c3f92757913ea",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
"uuid": "eee89f12_c837e832",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 6
|
||||
},
|
||||
"lineNbr": 127,
|
||||
"author": {
|
||||
"id": 1000768
|
||||
},
|
||||
"writtenOn": "2026-01-07T01:24:25Z",
|
||||
"side": 1,
|
||||
"message": "not all star files are lucicfg files",
|
||||
"revId": "622ee23b86b073429f903968312c3f92757913ea",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
},
|
||||
{
|
||||
"unresolved": true,
|
||||
"key": {
|
||||
"uuid": "cebe7a37_3905f4ce",
|
||||
"filename": "format.py",
|
||||
"patchSetId": 6
|
||||
},
|
||||
"lineNbr": 127,
|
||||
"author": {
|
||||
"id": 1450817
|
||||
},
|
||||
"writtenOn": "2026-01-07T01:37:44Z",
|
||||
"side": 1,
|
||||
"message": "I can remove this if you want, but this was designed to work the same way as `git cl format`, which makes a similar assumption (when `--lucicfg` is set).\n\nMy assumption was that the equivalent of a `--lucicfg` flag for this would be controlling which files get sent to this formatter.\n\nEg. If you want only files under the lucicfg directory to be formatted as lucicfg files, you could write in your jj config:\n```\npatterns \u003d [\n \"glob:lucicfg/**/*.star\",\n]\n```",
|
||||
"parentUuid": "eee89f12_c837e832",
|
||||
"revId": "622ee23b86b073429f903968312c3f92757913ea",
|
||||
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user