Repository navigation
Releases: Artui/django-spec-cli
Releases · Artui/django-spec-cli
Release list
v0.2.1
Fixed
- The documentation names the right packages. The site description said the
command runs a django-spec-cli registry, where the registry is
django-service-specs'; theSpecCommanddocstring and the index page compared
pool_seedstoSpecView's as if the kernel still shipped it, where it now
lives in django-spec-html; and the README's LICENSE links were relative, which
break on PyPI. No code changes.
v0.2.0
Changed
- The kernel floor is
django-service-specs>=0.11.0, the first kernel
release without its own copy of the command. Below it the kernel still
shippeddjango_service_specs.commandsand registered its ownW001and
W003over its ownSpecCommand, so a project listing both
"django_service_specs"and"django_spec_cli"saw each id for the
commands subclassing its own class, and a command that could not be loaded
was reported under both. From 0.11.0 the kernel's app registers no check, so
a project that still lists"django_service_specs"sees nothing from it, and
the checks are reported once, underdjango_spec_cli., by listing
"django_spec_cli".
v0.1.0
Added
django-spec-cli: adjango-service-specsregistry served as a management
command, the kernel's command half moved out. This is the kernel's
commands/subpackage as it shipped indjango-service-specs0.10.0, with
its history, tests and documentation page, so the kernel can carry no
transport.SpecCommandserves one subcommand per spec, with an option for
each parameter, the principal named by--as-user, the result as a table or
JSON Lines,--explainfor the specs that authorize nothing, and an
ExitCodefor every refusal;exit_code_for, therender_*functions,
wants_table, the argv helpers andunguarded_messagecome with it. The
command line, the exit codes and the subclass contract are unchanged; the
import path isdjango_spec_cli, the output setting isSPEC_CLI_OUTPUT
(the values the kernel'sSERVICE_SPECS_COMMAND_OUTPUTtook), and the system
checks aredjango_spec_cli.W001andW003, registered by listing
"django_spec_cli"inINSTALLED_APPS. Until the kernel removes its own copy,
kernel 0.10.x still registersdjango_service_specs.W001andW003over its
ownSpecCommand, so a project listing both apps sees both ids, each for the
commands subclassing its own class, and a command that cannot be loaded is
reported by each. Floors: Python 3.10, Django 4.2 and
django-service-specs>=0.10.0, the first kernel release with every name the
command reads at its root.