Add `get-tags` and `count-tags` scripts to get and count Git tags within
a repository, including the ability to filter tags - e.g. only get or
count tags that begin with a certain date.
Create a NixOS-specific Home Manager configuration and a reusable shared
configuration that can be imported and also used by other configurations,
such as WSL2.
I recently restructed the contents of my `~/Code` directory so that
repositories are grouped by their provider and organisation.
For example, my `dotfiles` are now located at
`~/Code/github.com/opdavies/dotfiles`.
Likewise, `build-configs` is now located at
`~/Code/github.com/OliverDaviesLtd/build-configs` as it's within the
`OliverDaviesLtd` organisation.
As well as `~/Code/github.com`, I also have `~/Code/bitbucket.org` for
Bitbucket repositories. These are also grouped within subdirectories for
each organisation.
This change means I need to update any reference to the old `dotfiles`
location to the new one and I can update the `t` function to adjust the
min and max depth it uses to find directories.
...repositories
When running `git init` to initialise a new repository, set the default
branch name that will be used. In this case, the branch name will be
`main` instead of the old default, `master`.
Add a `develop` script that runs either Docker Compose or Nix depending
on which files are present within the repository.
Also add a `dev` alias for the `develop` script.
Phpactor isn't providing LSP information or diagnostics within Drupal
tests whereas Intelephense does.
This means that I'm getting duplicate results in files where both
Intelephense and Phpactor are working, but I'll look into this again and
see if I can go back to using just Phpactor.