Comments (9)
the names of the vcf files don't matter at all. It's just that vdirsyncer uses either a UID or a hash for the filename when creating new items, renaming them with mv
or ppl
is tolerated by vdirsyncer.
from ppl.
There is nothing stopping you from using ppl with vdirsyncer. You just have to commit manually to the contacts repository after each vdirsyncer sync (which can be automated though), so ppl recognizes the changes. So this is working in the bigger sense.
An issue i encountered though: If i edit a contact in any way, ppl discards any unknown fields (such as a contact picture) when renaming the file.
from ppl.
Yo @untitaker, thanks for finding a way of making vdirsyncer and ppl play nice together in their current forms. I'm really reluctant to change the directory structure or file naming convention if I can avoid it. I consider it part of ppl's public API.
That issue about discarding unknown fields sounds like a real pain. Not sure how fixable it is, but I'll have a think. Sorry it took me so long to actually acknowledge this question by the way.
from ppl.
Hey @hnrysmth any update on this?
from ppl.
I'm not at all familiar with Ruby, but I think it is a good solution to store the GreenCard::Vcard
object on the Contact
instance, and re-use it when encoding. While that would create a "dirty" attribute for the Contact
class, it still avoids making the code more vcard-specific than other solutions.
from ppl.
Any update?
from ppl.
Hey @untitaker I know I've been a crappy maintainer this year. If you're still interested in working on this I'll be more than happy to add you as a proper collaborator to the project so that you don't have to worry about your work sitting unused because of me 😳
from ppl.
I'm not particularly interested atm but I've hit a problem while working on #52. See comments there.
from ppl.
Gonna close this issue actually.
from ppl.
Related Issues (20)
- include ppl edit <any-identifier> HOT 1
- Bash completion needs to escape shell tokens HOT 1
- Some questions about features and refactoring HOT 4
- Convert to use the vcard gem HOT 3
- Add support for the KIND field HOT 1
- Add support for the RELATED field HOT 1
- Add support for the NOTE field HOT 1
- Test out using the Thor gem for the CLI HOT 1
- Add more code quality tools and their badges HOT 5
- setting nickname erases name details in the vcard HOT 6
- autocomplete fails when it encounters invalid dates in the data set HOT 2
- ppl is destructively intolerant of tags it doesn't recognize HOT 1
- Colorized and aligned custom address book format HOT 1
- Not sure if Ruby version checking is doing the intended thing HOT 2
- Undo "ppl init" HOT 3
- create brew install HOT 1
- Mac/iOS integration HOT 1
- Windows OS Support HOT 1
- Strange error about "undefined method `version' for nil:NilClass (NoMethodError)" HOT 2
- ERROR: Failed to build gem native extension. HOT 3
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 ppl.