Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Nicolas Sebrecht
@nicolas33
"state" is the repository. It's the common ancestor. How the previous sync finished.
(syncing is a 3-way merge)
Jens Neuhalfen
@neuhalje
@nicolas33 is there a possibility that e.g. two processes manipulate the same folder?
Nicolas Sebrecht
@nicolas33
Sure.
I'd say this is the reponsability of the app owner.
Nicolas Sebrecht
@nicolas33
Oh, there's another concurrency issue you're pointing out.
I don't see how a repository could be requested non-compatible commands.
I think it's fine to start the naive approach about concurrency and see how it goes.
Jens Neuhalfen
@neuhalje
All “1-1” connections between folders "on the left" and folders “on the right” should be (relatively) painless.
Nicolas Sebrecht
@nicolas33
yes
(afk)
Nicolas Sebrecht
@nicolas33
I'll continue the code up to tomorrow.
Nicolas Sebrecht
@nicolas33
Hmm, there's no choice but pubsub at some point.
This is because Python queues can't pass queues.
That sucks.
So, everywhere we want to start workers dynamically, we must have a pubsub routeur with the queues already set and available.
Python is brillant sometimes....
Nicolas Sebrecht
@nicolas33
Good news. I'm making big steps in the global design. It's time to turn this into code, now...
Jens Neuhalfen
@neuhalje
that’s good news!
Jens Neuhalfen
@neuhalje
any news :)?
Nicolas Sebrecht
@nicolas33
I didn't have the time, yet. I'll let you know.
Nicolas Sebrecht
@nicolas33
@neuhalje Here is the rewrite: https://github.com/nicolas33/imapfw-rewrite
It's very early stage.
I don't expect contributions at this stage. However, it's made public so this can be reviewed.
Nicolas Sebrecht
@nicolas33
I've added jpg and a readme.
Jens Neuhalfen
@neuhalje
Sorry, I was busy the last days. I’ll look into it this weekend!
Nicolas Sebrecht
@nicolas33
Ok. Don't expect the code to run, though. I might push my WIP at any time.