You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Overwrite AUR-repo's working directory instead of copying individual files #37
To fully manage the contents of the AUR repository, a rewriting approach is
needed, which affects the working folder as 1:1. Does it make any sense to use
copying files instead of overwriting the entire working folder?
Use case
The need to delete a file from the AUR repository. Now it is only possible to
overwrite the file in the repository when copying, with or without assets, but
you cannot delete file. Even if I duplicate file in the GitHub repository first,
and then delete it, will it remain in the AUR? This is very unobvious.
Activity
KSXGitHub commentedon Oct 15, 2023
I am quite busy recently, so I am willing to accept a PR that accepts a parameter named
asset_dir.asset_dirshould conflict withassetsto avoid confusion (user is forbidden from specifying bothassetsandasset_dir).asset_diris specified, this tool should mirror the target repo ($target_dir/) to be like$asset_dir/:$target_dir/, files are deleted according togit ls-tree --name-only.$asset_dir/.gitignoreis respected when choosing which files to copy to$target_dir/.If you have problems with the above specification, please let me know.
If you are also too busy to make a PR, then you would have to wait for quite a while.
feat: Support full asset sync, not just overwrite
KSXGitHub commentedon Jul 14, 2026
Version 4.2.0 has been released.