Comments (3)
Yea I feel like 1 would be the cleanest and simplest because 2 would have stuff in more than one place and might also result in the user having to traverse the directory to find their files, 3 would be quite troublesome for the user and also quite risky because they could edit a file and forget to whitelist it and the sync would overwrite their modifications. Just my two-cents! I wish I could contribute but I've never used Go before!
from lominus.
Hey thanks for creating this program! Recently I've been looking at the different options out there for syncing luminus files and I've tried out this one! I'm sorry I have 0 experience in Go so I can't help directly implement a solution but I can imagine that there's a few cases to consider here:
- File on Luminus but not synced locally -> Download
- File on Luminus and also synced locally based on hash -> No action required
- File on Luminus and also synced locally based on filename but not hash -> It's been modified by the student, don't overwrite
- File on Luminus and synced locally based on hash, but the file is updated on Luminus (instructor makes a change) -> Download updated version
- File on Luminus and synced locally based on filename but not hash (It's been modified by the student), but the file is updated on Luminus (instructor makes a change) -> how now?? Rename the modified file and download the instructor-updated file?
- File not on Luminus but inside the local folder -> student put their own files in, don't touch
from lominus.
yups thanks for the suggestions ! currently 5 is the issue which requires some attention. I am on the fence with regards to an appropriate and reasonable approach for 5. What I have in mind are:
- As per your suggestion (rename user's modified file and download the latest file)
- Move user's modified file to a folder on its own that sits alongside the module folders (?) For eg. user modified
lec1.pdf
in/MA2001/Lecture/lec1.pdf
and there is a newer update on Luminus,lec1.pdf
would be moved to/my-files/MA2001/Lecture/lec1.pdf
and the newer version oflec1.pdf
would be downloaded. - Have a whitelist of files the user would like to annotate on and these files will not be updated
from lominus.
Related Issues (20)
- Unable to sync files on Canvas HOT 1
- it crash/quit unexpectedly HOT 9
- Files in nested folders downloaded but incorrect directory structure HOT 1
- "Choose folder" spawns invisible(?) window HOT 4
- CLI for power users HOT 1
- Package documentations
- Internal documentations
- Launch app when system starts HOT 1
- Luminus files not being downloaded HOT 2
- Lominus not closing on Mac HOT 5
- Files not grouped together in File Explorer HOT 3
- Know that the program is currently downloading files HOT 4
- Luminus Sync Error HOT 14
- Timezone mismatch for file updated Telegram messages HOT 1
- Sync error for folders with space at the end HOT 3
- Sync keeps going for folders with dots in the end HOT 4
- Files from double nested folders being downloaded twice HOT 1
- Lominus will not download from directory with more than 30 items HOT 4
- Lominus downloads new copies of the same file every time it syncs HOT 3
- Wrong semester's modules downloaded HOT 6
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 lominus.