Skip to content

Altfiles with encryption and submodules (subtrees) #528

@choman

Description

@choman

This question is about

  • [ ] Installation
  • [ ] Initializing / Cloning
  • Alternate files
  • [ ] Jinja templates
  • [X ] Encryption
  • [ ] Bootstrap
  • [ ] Hooks
  • [ x] Other

Describe your question

Forgive me up front, but I am asking a few questions here that in my mind are related but separate. Also note that
I am currently on yadm 3.3.0. So if something is supported in a newer release. please let me know

General encryption question

yadm supports various encryption methods

  • do they all focus on the encrypt file $HOME/.config/yadm/encrypt?
  • does the standard encrypt method support altfiles?
  • If not, do any of the other method support altfiles?
my example is aws creds for work vs home vs other
 ~/.config/aws/credentials\#\#c.work

NOTE: maybe the docs for using transcrypt and git-crypt are no clear enough
NOTE: I think I have this working with transcrypt. will report back

Submodule questions

  • is it possible to store partial yadm configuration on diff github servers or private repos?
  • would this support the altfile logic

for example, let's say work gave me grief about storing configuration in a public repo. Rather then
setup an entire separate private repo for work. Could I store part of the repo there? perhaps an extension
on $HOME/.config/yadm/alt that would allow different submodules to be stored here?? I am just spitballing
here trying to deal with work complaints. But happy to have a deeper discussion. perhaps this is a git-subtree thing?
but the altfile support would still need to be supported?

NOTE: I did see something on yadm.io about submodule Alt, but the documentation is not clear. I don't think it's
describing what I thinking. Then again, perhaps I am wrong

General yadm.io version support

it would be awesome if a new feature is added to the yadm.io doc pages that it followed the
python on-line document (best example) to mention when something is supported. As an example,
on https://docs.python.org/3/library/re.html if one searches for 3.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions