I have site_audit installed, but I'm not sure which version I'm running. I tried

drush aa --version

but that doesn't work. I don't see the version in the README and there isn't a CHANGELOG.

I guess this could morph into a feature request if there is not a current way to determine the version. Thanks!

Comments

fluxsauce’s picture

Title: How do I know which version of site audit I'm running? » Provide a mechanism for reporting the version of site_audit, include a CHANGELOG
Version: 7.x-1.7 » 7.x-1.8
Assigned: Unassigned » fluxsauce
Category: Support request » Feature request

Very valid point; I've avoided using a .info file so it wouldn't be treated as a module, but the disadvantage is that the Drupal.org versioning doesn't apply. Checking it out from git would work, but that's practical for deployments and less so for individual users. I've been writing changelogs, but only on Drupal.org.

Drush uses a bare drush.info file; I could do the same, or just hard code it elsewhere.

I'll include some sort of version information and will add a changelog to the project, thanks for pointing it out!

Ari Gold’s picture

That makes sense. Thanks for the quick response and for putting it on your roadmap!

  • FluxSauce committed bd4c325 on 7.x-1.x
    Issue #2299195 by arielqgold: Added Provide a mechanism for reporting...
fluxsauce’s picture

Version: 7.x-1.8 » 7.x-1.x-dev
Status: Active » Closed (fixed)

I implemented a method similar to Drush's:

drush site-audit-version

The version can be found in:

site_audit.info

Thanks for the feedback!

fluxsauce’s picture

Also linked to the release notes, which are at https://www.drupal.org/node/2022771/release

star-szr’s picture

This seems to have broken the built in drush --version, I always get:

Site Audit v1.10

I can open a new issue if you like.

star-szr’s picture