Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add incus file create subcommand #408

Merged
merged 4 commits into from
Jan 22, 2024
Merged

Commits on Jan 22, 2024

  1. cmd/incus: Get owner mode only if --gid or --uid is unset

    If both `--gid` and `--uid` are set there's no need to get a file's GID
    or UID as they will be overridden by the provided values.
    
    Signed-off-by: Thomas Hipp <[email protected]>
    monstermunchkin authored and stgraber committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    7e5ccf2 View commit details
    Browse the repository at this point in the history
  2. cmd/incus: Add incus file create subcommand

    This adds the `incus file create` subcommand which allows creating
    files, symlinks, and directories without specifying a source.
    
    Signed-off-by: Thomas Hipp <[email protected]>
    monstermunchkin authored and stgraber committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2f52e02 View commit details
    Browse the repository at this point in the history
  3. test: Add tests for incus file create

    This adds tests for the new `incus file create` subcommand.
    
    Signed-off-by: Thomas Hipp <[email protected]>
    monstermunchkin authored and stgraber committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2325e19 View commit details
    Browse the repository at this point in the history
  4. i18n: Update translation templates

    Signed-off-by: Thomas Hipp <[email protected]>
    monstermunchkin authored and stgraber committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    3391bf6 View commit details
    Browse the repository at this point in the history