{"id":18417405,"url":"https://github.com/stellar/mddiffcheck","last_synced_at":"2025-04-14T18:41:56.188Z","repository":{"id":38426751,"uuid":"370475484","full_name":"stellar/mddiffcheck","owner":"stellar","description":"A tool for checking that diffs in markdown files apply.","archived":false,"fork":false,"pushed_at":"2024-08-15T18:56:10.000Z","size":33,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-28T07:11:18.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stellar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-24T20:22:21.000Z","updated_at":"2021-11-30T15:02:57.000Z","dependencies_parsed_at":"2024-12-24T17:11:51.582Z","dependency_job_id":"746f1c1a-ae09-4145-8809-e55aeff2e3ca","html_url":"https://github.com/stellar/mddiffcheck","commit_stats":null,"previous_names":["leighmcculloch/mddiffcheck"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stellar%2Fmddiffcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stellar%2Fmddiffcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stellar%2Fmddiffcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stellar%2Fmddiffcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stellar","download_url":"https://codeload.github.com/stellar/mddiffcheck/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248938286,"owners_count":21186378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T04:09:18.635Z","updated_at":"2025-04-14T18:41:56.161Z","avatar_url":"https://github.com/stellar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mddiffcheck\nA tool for checking that git diffs that have been in markdown files apply successfully to the repo they're intended.\n\nThis tool was created to verify that git diffs included in [stellar-protocol] Core Advancement Protocols (CAPs) are valid.\n\nThe tool runs `git` as a subprocess and requires it to be installed.\n\n[stellar-protocol]: https://github.com/stellar/stellar-protocol\n\n## Usage\n\n```\n$ go install github.com/stellar/mddiffcheck@latest\n```\n\n```\n$ mddiffcheck -help\nUsage of mddiffcheck:\n  mddiffcheck -repo=\u003crepo\u003e \u003cmarkdown-file\u003e [markdown-file] ...\n\nExample:\n  mddiffcheck -repo=https://github.com/user/repo doc1.md doc2.md\n\nFlags:\n  -help\n        print this help\n  -repo string\n        repository to verify diffs against\n```\n\nWhen adding diffs into markdown, use the following format:\n\n- Specify the code block is a diff with `diff` on the same line as the backticks.\n- Specify the base git reference the diff applies to, either a tag or a commit sha, using the `mddiffcheck.base=` parameter.\n- Or, specify the diff should be ignored and not checked, using the `mddiffcheck.ignore=true` parameter.\n\n````\n# Heading\n\n## Subheading\n\n```diff mddiffcheck.fetch=pull/3380/head mddiffcheck.base=v16.0.0\ndiff --git a/src/xdr/Stellar-ledger-entries.x b/src/xdr/Stellar-ledger-entries.x\nindex 0e7bc842..68c52758 100644\n--- a/src/xdr/Stellar-ledger-entries.x\n+++ b/src/xdr/Stellar-ledger-entries.x\n@@ -114,12 +114,15 @@ enum AccountFlags\n     // Trustlines are created with clawback enabled set to \"true\",\n     // and claimable balances created from those trustlines are created\n     // with clawback enabled set to \"true\"\n-    AUTH_CLAWBACK_ENABLED_FLAG = 0x8\n+    AUTH_CLAWBACK_ENABLED_FLAG = 0x8,\n+    // Trustlines are created with revocation disabled set to \"true\"\n+    AUTH_NOT_REVOCABLE_FLAG = 0x10\n };\n \n // mask for all valid flags\n\n```\n\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstellar%2Fmddiffcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstellar%2Fmddiffcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstellar%2Fmddiffcheck/lists"}