Comments (10)
I use them often. Yes, they are in principle convenience functions, but they are useful, and essential to me.
from pacdef.
But are they more convenient? Why not just use fundamental file management methods instead?
from pacdef.
The benefit of learning "regular" methods is that they are cross-compatible with all you config files as opposed to the pacdef
group commands which can only ever be used for interacting with pacdef
files.
from pacdef.
Yes. Instead of nvim ~/.config/pacdef/groups/<TAB><TAB>audio
, I do pged <TAB>audio
. And pged
is alias pged = pacdef group edit
which I use because I use it so often.
When I import groups, I go to my dotfiles repo, look for the one I want to use, and go pgi whatever
, or pacdef g i whatever
.
Yes, they are convenient. We are not getting rid of them.
from pacdef.
The benefit of learning "regular" methods is that they are cross-compatible with all you config files as opposed to the pacdef group commands which can only ever be used for interacting with pacdef files.
That is not an argument why pacdef group
is bad or misplaced.
from pacdef.
When I import groups, I go to my dotfiles repo, look for the one I want to use, and go pgi whatever, or pacdef g i whatever.
Those are all things which could be automated using regular dotfiles automation tools though?
Yes. Instead of nvim ~/.config/pacdef/groups/audio, I do pged audio. And pged is alias pged = pacdef group edit which I use because I use it so often.
And for you alias you could use alias pged = nvim ~/.config/pacdef/groups
then use a telescope fuzzy finder to select a group file to edit.
That is not an argument why pacdef group is bad or misplaced.
My argument is not that they are harmful directly, but that I don't think they justify their own existence in the codebase when many users such as myself would never use them and so might consider it bloated and so make maintenance more difficult (especially since that code is tightly coupled to the other implementation details in the crate rather than being de-coupled by using fundamental file management commands (cp
, ln
, mv
, etc)
from pacdef.
Perhaps, at least de-coupling the functionality into a different crate would be an improvement without entirely removing them then?
from pacdef.
What concrete improvements would you expect?
from pacdef.
Easier code maintenance due to the de-coupling of functionality.
from pacdef.
I would not call that concrete. Please point to specific code smells that could be removed / improved when we go forward with your approach.
EDIT: I'm offline for today, will take another look tomorrow or Friday.
from pacdef.
Related Issues (20)
- Why symlinks, and where should they link to? HOT 2
- Group dependencies HOT 3
- Warn for duplicate packages in group?
- Add support for pipx? HOT 7
- panic in python.rs in version 1.4.0 HOT 2
- Add support for rustup/npm/yarn etc? HOT 7
- libalpm.so.13: cannot open shared object file HOT 3
- Binary AUR package HOT 3
- Review Resume HOT 3
- build against rust-apt v0.7.0 broken
- [rustup] Update Readme
- [Bug]: review apply only finishes backend / section
- [Feature request]: use $CARGO_HOME HOT 1
- serde_yaml is archived, deprecated
- adding tests HOT 2
- [Feature request]: Add per-package config options HOT 17
- running pacdef for the first time when paru is not installed causes pacdef to not find the arch backend
- [Backend request]: Brew
- [Feature request]: Fedora RPM/Copr?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pacdef.