src-auth-perms-sync 0.8.0__tar.gz → 0.8.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. src_auth_perms_sync-0.8.2/.github/workflows/diff-tour.yml +27 -0
  2. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/.github/workflows/release.yml +11 -11
  3. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/.github/workflows/validate.yml +9 -9
  4. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/PKG-INFO +4 -4
  5. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/package-lock.json +159 -88
  6. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/package.json +2 -2
  7. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/pyproject.toml +5 -5
  8. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/cli.py +35 -17
  9. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/integration/test_cli_entrypoint.py +2 -2
  10. src_auth_perms_sync-0.8.2/tests/live-maps-seed.yaml +80 -0
  11. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/run.py +178 -0
  12. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/setup.yaml +4 -0
  13. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_cli_config.py +131 -0
  14. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/uv.lock +228 -163
  15. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/.github/CODEOWNERS +0 -0
  16. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/.github/workflows/ci.yml +0 -0
  17. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/.gitignore +0 -0
  18. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/.markdownlint-cli2.yaml +0 -0
  19. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/.python-version +0 -0
  20. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/AGENTS.md +0 -0
  21. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/LICENSE +0 -0
  22. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/README.md +0 -0
  23. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/SECURITY.md +0 -0
  24. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/dev/TODO.md +0 -0
  25. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/dev/audit-dead-code.md +0 -0
  26. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/dev/engineering-requests.md +0 -0
  27. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/dev/hooks/pre-commit +0 -0
  28. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/dev/memory-analysis/mapping-efficiency.md +0 -0
  29. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/dev/memory-analysis/memory-efficiency-analyze.py +0 -0
  30. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/dev/memory-analysis/memory-efficiency-generate.py +0 -0
  31. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/dev/memory-analysis/memory-efficiency-monitor-sourcegraph.sh +0 -0
  32. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/dev/memory-analysis/memory-efficiency.md +0 -0
  33. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/dev/update-python-versions.md +0 -0
  34. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/examples/import.py +0 -0
  35. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/examples/maps.yaml +0 -0
  36. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/renovate.json +0 -0
  37. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/__init__.py +0 -0
  38. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/__main__.py +0 -0
  39. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/orgs/__init__.py +0 -0
  40. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/orgs/command.py +0 -0
  41. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/orgs/queries.py +0 -0
  42. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/orgs/sync.py +0 -0
  43. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/orgs/types.py +0 -0
  44. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/__init__.py +0 -0
  45. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/apply.py +0 -0
  46. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/command.py +0 -0
  47. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/full_set.py +0 -0
  48. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/mapping.py +0 -0
  49. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/maps.py +0 -0
  50. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/queries.py +0 -0
  51. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/restore.py +0 -0
  52. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/snapshot.py +0 -0
  53. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/sourcegraph.py +0 -0
  54. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/types.py +0 -0
  55. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/permissions/workflow.py +0 -0
  56. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/shared/__init__.py +0 -0
  57. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/shared/backups.py +0 -0
  58. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/shared/queries.py +0 -0
  59. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/shared/run_context.py +0 -0
  60. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/shared/saml_groups.py +0 -0
  61. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/shared/site_config.py +0 -0
  62. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/shared/sourcegraph.py +0 -0
  63. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/src/src_auth_perms_sync/shared/types.py +0 -0
  64. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/README.md +0 -0
  65. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/__init__.py +0 -0
  66. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/__init__.py +0 -0
  67. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/case_runner.py +0 -0
  68. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/add-users-by-email-and-list/after.json +0 -0
  69. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/add-users-by-email-and-list/before.json +0 -0
  70. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/add-users-by-email-and-list/maps.yaml +0 -0
  71. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/add-users-preserves-existing/after.json +0 -0
  72. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/add-users-preserves-existing/before.json +0 -0
  73. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/add-users-preserves-existing/maps.yaml +0 -0
  74. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/and-filters-intersect/after.json +0 -0
  75. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/and-filters-intersect/before.json +0 -0
  76. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/and-filters-intersect/maps.yaml +0 -0
  77. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/empty-maps-noop/before.json +0 -0
  78. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/empty-maps-noop/maps.yaml +0 -0
  79. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-dry-run/before.json +0 -0
  80. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-dry-run/maps.yaml +0 -0
  81. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-preserves-pending/after.json +0 -0
  82. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-preserves-pending/before.json +0 -0
  83. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-preserves-pending/maps.yaml +0 -0
  84. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-removes-stale-grant/after.json +0 -0
  85. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-removes-stale-grant/before.json +0 -0
  86. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-removes-stale-grant/maps.yaml +0 -0
  87. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-unions/after.json +0 -0
  88. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-unions/before.json +0 -0
  89. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-unions/maps.yaml +0 -0
  90. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-with-backup/after.json +0 -0
  91. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-with-backup/before.json +0 -0
  92. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/full-overwrite-with-backup/maps.yaml +0 -0
  93. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/get-full-snapshot/before.json +0 -0
  94. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/get-repos-without-explicit-perms/before.json +0 -0
  95. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/get-user-grants/before.json +0 -0
  96. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-bad-regex/before.json +0 -0
  97. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-bad-regex/maps.yaml +0 -0
  98. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-missing-repos-section/before.json +0 -0
  99. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-missing-repos-section/maps.yaml +0 -0
  100. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-restore-wrong-schema-version/before.json +0 -0
  101. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-restore-wrong-schema-version/snapshot.json +0 -0
  102. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-set-repos-created-after-date/before.json +0 -0
  103. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-set-repos-created-after-date/maps.yaml +0 -0
  104. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-set-unknown-repo/before.json +0 -0
  105. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-set-unknown-repo/maps.yaml +0 -0
  106. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-set-unknown-user/before.json +0 -0
  107. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-set-unknown-user/maps.yaml +0 -0
  108. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-set-users-created-after-date/before.json +0 -0
  109. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-set-users-created-after-date/maps.yaml +0 -0
  110. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-unknown-selector-field/before.json +0 -0
  111. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/invalid-unknown-selector-field/maps.yaml +0 -0
  112. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/match-provider-and-host-fields/after.json +0 -0
  113. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/match-provider-and-host-fields/before.json +0 -0
  114. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/match-provider-and-host-fields/maps.yaml +0 -0
  115. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/no-match-noop/before.json +0 -0
  116. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/no-match-noop/maps.yaml +0 -0
  117. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/regex-filters-scope/after.json +0 -0
  118. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/regex-filters-scope/before.json +0 -0
  119. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/regex-filters-scope/maps.yaml +0 -0
  120. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/restore-applies-snapshot/after.json +0 -0
  121. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/restore-applies-snapshot/before.json +0 -0
  122. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/restore-applies-snapshot/snapshot.json +0 -0
  123. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/restore-dry-run-noop/before.json +0 -0
  124. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/restore-dry-run-noop/snapshot.json +0 -0
  125. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/restore-missing-file/before.json +0 -0
  126. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/restore-restores-pending/after.json +0 -0
  127. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/restore-restores-pending/before.json +0 -0
  128. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/restore-restores-pending/snapshot.json +0 -0
  129. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/saml-group-filter/after.json +0 -0
  130. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/saml-group-filter/before.json +0 -0
  131. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/saml-group-filter/maps.yaml +0 -0
  132. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/saml-group-live/after.json +0 -0
  133. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/saml-group-live/before.json +0 -0
  134. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/saml-group-live/maps.yaml +0 -0
  135. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-full-sync-saml-orgs-dry-run/maps.yaml +0 -0
  136. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-created-after/after.json +0 -0
  137. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-created-after/before.json +0 -0
  138. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-created-after/maps.yaml +0 -0
  139. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-created-after-noop/before.json +0 -0
  140. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-created-after-noop/maps.yaml +0 -0
  141. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-created-after-sync-saml-orgs-dry-run/maps.yaml +0 -0
  142. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-filter/after.json +0 -0
  143. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-filter/before.json +0 -0
  144. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-filter/maps.yaml +0 -0
  145. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-sync-saml-orgs-dry-run/maps.yaml +0 -0
  146. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-without-explicit-perms/after.json +0 -0
  147. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-without-explicit-perms/before.json +0 -0
  148. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-without-explicit-perms/maps.yaml +0 -0
  149. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-repos-without-perms-sync-saml-orgs-dry-run/maps.yaml +0 -0
  150. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-created-after/after.json +0 -0
  151. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-created-after/before.json +0 -0
  152. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-created-after/maps.yaml +0 -0
  153. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-created-after-noop/before.json +0 -0
  154. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-created-after-noop/maps.yaml +0 -0
  155. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-created-after-sync-saml-orgs-dry-run/maps.yaml +0 -0
  156. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-created-after-temp-user/after.json +0 -0
  157. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-created-after-temp-user/before.json +0 -0
  158. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-created-after-temp-user/maps.yaml +0 -0
  159. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-sync-saml-orgs-dry-run/maps.yaml +0 -0
  160. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-sync-saml-orgs-noop/after.json +0 -0
  161. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-sync-saml-orgs-noop/before.json +0 -0
  162. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-sync-saml-orgs-noop/maps.yaml +0 -0
  163. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-sync-saml-orgs-scoped/after.json +0 -0
  164. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-sync-saml-orgs-scoped/before.json +0 -0
  165. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-sync-saml-orgs-scoped/maps.yaml +0 -0
  166. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-without-explicit-perms/after.json +0 -0
  167. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-without-explicit-perms/before.json +0 -0
  168. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-without-explicit-perms/maps.yaml +0 -0
  169. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-without-explicit-perms-default-batch/after.json +0 -0
  170. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-without-explicit-perms-default-batch/before.json +0 -0
  171. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-without-explicit-perms-default-batch/maps.yaml +0 -0
  172. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/set-users-without-perms-sync-saml-orgs-dry-run/maps.yaml +0 -0
  173. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/sync-saml-orgs-full-cleanup/after.json +0 -0
  174. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/sync-saml-orgs-full-cleanup/before.json +0 -0
  175. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/sync-saml-orgs-users-scoped/after.json +0 -0
  176. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/fixtures/sync-saml-orgs-users-scoped/before.json +0 -0
  177. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/e2e/test_local_cases.py +0 -0
  178. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/integration/__init__.py +0 -0
  179. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/setup.py +0 -0
  180. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/tests.yaml +0 -0
  181. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unicode_scan.py +0 -0
  182. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/__init__.py +0 -0
  183. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_apply.py +0 -0
  184. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_backups.py +0 -0
  185. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_command_additive.py +0 -0
  186. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_command_files.py +0 -0
  187. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_mapping_rules.py +0 -0
  188. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_maps.py +0 -0
  189. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_module_api.py +0 -0
  190. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_permissions_sourcegraph.py +0 -0
  191. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_restore.py +0 -0
  192. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_saml_groups.py +0 -0
  193. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_snapshot.py +0 -0
  194. {src_auth_perms_sync-0.8.0 → src_auth_perms_sync-0.8.2}/tests/unit/test_unicode_scan.py +0 -0
@@ -0,0 +1,27 @@
1
+ # This GitHub Action imported from the shared action
2
+ # https://github.com/sourcegraph/actions/blob/main/diff-tour/
3
+ # Please make fixes / enhancements in the shared action,
4
+ # so all of our repos get the benefits
5
+
6
+ name: Diff Tour link
7
+
8
+ on:
9
+ pull_request:
10
+ # `edited` fires when the base branch changes; `synchronize` does not
11
+ # `closed` fires on merge and on plain close; either way the comment is
12
+ # updated to a link that survives deleting the head branch
13
+ types: [closed, edited, opened, reopened, synchronize]
14
+
15
+ # The only permission needed. The action does not check out your repo, so
16
+ # `contents: read` is not required, even for private repos
17
+ permissions:
18
+ pull-requests: write
19
+
20
+ jobs:
21
+ diff-tour:
22
+ name: Comment
23
+ runs-on: ubuntu-latest
24
+ # Diff Tour resolves branch names against the base repo, so skip fork PRs
25
+ if: github.event.pull_request.head.repo.full_name == github.repository
26
+ steps:
27
+ - uses: sourcegraph/actions/diff-tour@4430dc1e4dde002387a4b655b41f6431ca75b1c1 # main
@@ -83,19 +83,19 @@ jobs:
83
83
 
84
84
  steps:
85
85
  - name: Check out release ref
86
- uses: actions/checkout@v7
86
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
87
87
  with:
88
88
  fetch-depth: 0
89
89
  persist-credentials: false
90
90
  ref: ${{ needs.release_ref.outputs.tag }}
91
91
 
92
92
  - name: Set up Python
93
- uses: actions/setup-python@v6
93
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
94
94
  with:
95
95
  python-version: ${{ env.PYTHON_VERSION }}
96
96
 
97
97
  - name: Cache uv
98
- uses: actions/cache@v6
98
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
99
99
  with:
100
100
  path: ~/.cache/uv
101
101
  key: uv-${{ runner.os }}-py${{ env.PYTHON_VERSION }}-${{ hashFiles('uv.lock') }}
@@ -363,7 +363,7 @@ jobs:
363
363
  echo "path=${notes_path}" >> "${GITHUB_OUTPUT}"
364
364
 
365
365
  - name: Upload workflow artifact
366
- uses: actions/upload-artifact@v7
366
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
367
367
  with:
368
368
  name: ${{ env.ASSET_BASENAME }}
369
369
  path: |
@@ -372,7 +372,7 @@ jobs:
372
372
 
373
373
  - name: Upload project distribution release artifact
374
374
  if: matrix.platform == 'linux-x86_64'
375
- uses: actions/upload-artifact@v7
375
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
376
376
  with:
377
377
  name: src-auth-perms-sync-project-distributions
378
378
  path: |
@@ -383,14 +383,14 @@ jobs:
383
383
 
384
384
  - name: Upload release notes artifact
385
385
  if: matrix.platform == 'linux-x86_64'
386
- uses: actions/upload-artifact@v7
386
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
387
387
  with:
388
388
  name: release-notes
389
389
  path: ${{ steps.notes.outputs.path }}
390
390
 
391
391
  - name: Upload PyPI artifact
392
392
  if: matrix.platform == 'linux-x86_64'
393
- uses: actions/upload-artifact@v7
393
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
394
394
  with:
395
395
  name: pypi-distributions
396
396
  path: |
@@ -406,14 +406,14 @@ jobs:
406
406
 
407
407
  steps:
408
408
  - name: Download wheelhouse artifacts
409
- uses: actions/download-artifact@v8
409
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
410
410
  with:
411
411
  pattern: src-auth-perms-sync-*
412
412
  path: release-assets
413
413
  merge-multiple: true
414
414
 
415
415
  - name: Download release notes
416
- uses: actions/download-artifact@v8
416
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
417
417
  with:
418
418
  name: release-notes
419
419
  path: release-notes
@@ -461,13 +461,13 @@ jobs:
461
461
 
462
462
  steps:
463
463
  - name: Download built distribution
464
- uses: actions/download-artifact@v8
464
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
465
465
  with:
466
466
  name: pypi-distributions
467
467
  path: dist
468
468
 
469
469
  - name: Publish PyPI package
470
- uses: pypa/gh-action-pypi-publish@release/v1
470
+ uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
471
471
  with:
472
472
  packages-dir: dist
473
473
  skip-existing: true
@@ -98,7 +98,7 @@ jobs:
98
98
 
99
99
  steps:
100
100
  - name: Check out code
101
- uses: actions/checkout@v7
101
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
102
102
  with:
103
103
  persist-credentials: false
104
104
  ref: ${{ inputs.ref || github.ref }}
@@ -131,13 +131,13 @@ jobs:
131
131
 
132
132
  steps:
133
133
  - name: Check out code
134
- uses: actions/checkout@v7
134
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
135
135
  with:
136
136
  persist-credentials: false
137
137
  ref: ${{ inputs.ref || github.ref }}
138
138
 
139
139
  - name: Cache npm
140
- uses: actions/cache@v6
140
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
141
141
  with:
142
142
  path: ~/.npm
143
143
  key: npm-${{ runner.os }}-markdownlint-cli2-${{ env.MARKDOWNLINT_CLI2_VERSION }}-relative-links-${{ env.MARKDOWNLINT_RELATIVE_LINKS_VERSION }}
@@ -160,19 +160,19 @@ jobs:
160
160
 
161
161
  steps:
162
162
  - name: Check out code
163
- uses: actions/checkout@v7
163
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
164
164
  with:
165
165
  fetch-depth: 0
166
166
  persist-credentials: false
167
167
  ref: ${{ inputs.ref || github.ref }}
168
168
 
169
169
  - name: Set up Python
170
- uses: actions/setup-python@v6
170
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
171
171
  with:
172
172
  python-version: ${{ env.PYTHON_VERSION }}
173
173
 
174
174
  - name: Cache uv
175
- uses: actions/cache@v6
175
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
176
176
  with:
177
177
  path: ~/.cache/uv
178
178
  key: uv-${{ runner.os }}-py${{ env.PYTHON_VERSION }}-${{ hashFiles('uv.lock') }}
@@ -215,19 +215,19 @@ jobs:
215
215
 
216
216
  steps:
217
217
  - name: Check out code
218
- uses: actions/checkout@v7
218
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
219
219
  with:
220
220
  fetch-depth: 0
221
221
  persist-credentials: false
222
222
  ref: ${{ inputs.ref || github.ref }}
223
223
 
224
224
  - name: Set up Python
225
- uses: actions/setup-python@v6
225
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
226
226
  with:
227
227
  python-version: ${{ env.PYTHON_VERSION }}
228
228
 
229
229
  - name: Cache uv
230
- uses: actions/cache@v6
230
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
231
231
  with:
232
232
  path: ~/.cache/uv
233
233
  key: uv-${{ runner.os }}-py${{ env.PYTHON_VERSION }}-${{ hashFiles('uv.lock') }}
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: src-auth-perms-sync
3
- Version: 0.8.0
3
+ Version: 0.8.2
4
4
  Summary: Set Sourcegraph permissions from authentication provider data
5
5
  Project-URL: Homepage, https://github.com/sourcegraph/src-auth-perms-sync
6
6
  Project-URL: Issues, https://github.com/sourcegraph/src-auth-perms-sync/issues
@@ -16,9 +16,9 @@ Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Typing :: Typed
18
18
  Requires-Python: >=3.11
19
- Requires-Dist: json5>=0.15.0
19
+ Requires-Dist: json5>=0.17.3
20
20
  Requires-Dist: pyyaml>=6.0.3
21
- Requires-Dist: src-py-lib[otel]==0.3.1
21
+ Requires-Dist: src-py-lib[otel]==0.3.3
22
22
  Description-Content-Type: text/markdown
23
23
 
24
24
  # src-auth-perms-sync