Skip to content

Conversation

@PPPDUD
Copy link
Contributor

@PPPDUD PPPDUD commented Jan 9, 2026

See README.md for more info.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request introduces a new package called better-uuid that provides UUID generation functionality without requiring Python. It uses the native uuidgen command available on Linux and macOS systems, offering a lightweight alternative to Python-based UUID packages.

Key Changes:

  • Adds a new package better-uuid version 0.1.0 with two triggers for UUID generation
  • Provides :uuid trigger for standard hyphenated UUIDs and :nuuid for non-hyphenated UUIDs
  • Includes package metadata, documentation, and MIT license

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
packages/better-uuid/0.1.0/package.yml Defines two shell command-based triggers for UUID generation using uuidgen
packages/better-uuid/0.1.0/_manifest.yml Contains package metadata including name, version, author, and tags
packages/better-uuid/0.1.0/README.md Provides usage documentation and platform compatibility notes
packages/better-uuid/0.1.0/LICENSE Standard MIT License with 2026 copyright

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@smeech smeech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A simple package of two useful triggers with safe shell commands.

Copilot has made a few very minor suggestions, most of which I agree with, in addition to my own comments. None of these are deal-breakers, however!

# Another UUID generation tool
This is a stand-in replacement for the `uuid` package that doesn't require Python. To prevent conflicts, you should make sure that `uuid` is not installed before adding `better-uuid`.

Usage is exactly the same: `:uuid` creates a UUID with dashes, and `:nuuid` creates a UUID without dashes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps include a link to the other package, and update the other's README.md to link to this one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know that I was allowed to update other READMEs! I'll do this shortly.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any updates need approval, but I see no reason why not.

PPPDUD and others added 2 commits January 9, 2026 08:44
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@PPPDUD
Copy link
Contributor Author

PPPDUD commented Jan 9, 2026

@smeech I have a question. Do you know why espanso install dummy-package --git https://github.com/PPPDUD/hub/ --external fails (while parsing a block mapping, did not find expected key at line 5 column 24) whereas espanso install dummy-package --git https://github.com/espanso/dummy-repository --external works just fine?

@smeech
Copy link
Collaborator

smeech commented Jan 9, 2026

I think you have to include the dummy-repository package name in your first command, like you did in your second. Neither have five lines, so the error may be in a different YML file? The error message should tell you which file is failing. Mind you if the second command succeeds, the lack of filename may be loading something else.

@PPPDUD
Copy link
Contributor Author

PPPDUD commented Jan 9, 2026

I think you have to include the dummy-repository package name in your first command, like you did in your second. Neither have five lines, so the error may be in a different YML file? The error message should tell you which file is failing. Mind you if the second command succeeds, the lack of filename may be loading something else.

Interesting... it seems like I can't install from the hub repo over Git either???

$ espanso install dummy-package --git https://github.com/espanso/hub --external
installing package: dummy-package - version: latest
using package provider: github
unable to install package: manifest YAML parsing error

Caused by:
    0: Failed manifest parsing for path: /tmp/espanso-package-download.inE7kT5fmpRd/hub-main/.github/scripts/validate/test_packages/invalid-manifest-yaml/0.1.0/_manifest.yml
    1: while parsing a block mapping, did not find expected key at line 5 column 24
    2: while parsing a block mapping, did not find expected key at line 5 column 24

@PPPDUD PPPDUD closed this Jan 9, 2026
@PPPDUD PPPDUD deleted the better-uuids branch January 9, 2026 21:45
@PPPDUD
Copy link
Contributor Author

PPPDUD commented Jan 9, 2026

Whoopsies! Renaming the branch closed the PR; new pull request at #211.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants