#919587 ITP: imapsync -- Email IMAP tool for syncing, and migrating email mailboxes between two imap servers, one way, and without duplicates.

#919587#5
Date:
2019-01-17 15:19:51 UTC
From:
To:
* Package name : imapsync
   Version  1.882
   Upstream Author : Gilles Lamiral <gilles@lamiral.info>
* URL             : https://github.com/imapsync/imapsync
* License         : NLPL
   Programming Lang: Perl
   Description     : Email IMAP tool for syncing, copying and migrating
email mailboxes between two imap servers, one way, and without
duplicates.


i missing this master piece of software in debian, since i started my
admin career.
a couple years ago, the upstream Author played with licensing and
payment around but now its free again.

https://lists.debian.org/debian-user/2018/11/msg00849.html

i already migrated tons of mails with it and i think a lot of mailadmins
would benefit from it to see this package back in debian.

#919587#10
Date:
2019-01-17 15:35:07 UTC
From:
To:
#919587#15
Date:
2019-01-17 15:35:07 UTC
From:
To:
#919587#20
Date:
2019-01-22 13:56:40 UTC
From:
To:
Dear RISKO Gergely,

as in
https://www.debian.org/doc/manuals/developers-reference/ch05.html#reintroducing-pkgs
described
i ask you, are you working on a comeback for imapsync in debian?
Can I help you in any way? packaging, building, testing ?

#919587#25
Date:
2019-02-01 15:49:08 UTC
From:
To:
Hey,

I'm not working on imapsync right now.

To be honest, I'm using mbsync myself right now and completely
satisfied with it.

Feel free to package imapsync and push it to Debian, I'm as an old
maintainer not interested in this right now, because I don't have the
free time.  Sorry about this and wish you the best of luck!

Cheers,
Gergely

On 2019-01-22 14:56 (Tuesday), Markus Raps <m.raps@rapsplace.de> writes:

#919587#30
Date:
2019-02-26 11:32:07 UTC
From:
To:
Thank you for the reply

i will start building the package.

#919587#35
Date:
2019-07-07 16:24:57 UTC
From:
To:
Hello

Any progress on that?

regards
Bartosz Fenski

#919587#40
Date:
2019-07-08 10:08:25 UTC
From:
To:
Hi,

iam currently redeploying my test and staging system.
hopefully at the end of august i can upload a package for preview.

#919587#45
Date:
2019-11-20 12:31:45 UTC
From:
To:
I have created and testet the package an will now seek for an sponsor.
#919587#50
Date:
2019-11-21 14:19:21 UTC
From:
To:
I don't have time for it right now, but if you put the package on
mentors I will try and have a look at it next week.

Cheers,
sur5r

#919587#55
Date:
2020-06-08 09:13:56 UTC
From:
To:
Hi sur5r,

do you have any time soon ? =)

#919587#60
Date:
2020-06-08 11:42:18 UTC
From:
To:
Yes. The package does not seem to be on mentors.d.n yet, right?

Also, in case you are on IRC, could you join OFTC/#debian-mentors? This
would make coordination work easier than using mail and/or the BTS.

Cheers,
sur5r

#919587#65
Date:
2023-08-12 15:21:01 UTC
From:
To:
Hello,

Is there someone getting this beautiful software to Debian ?

If not, I volunteer to contribute.


Some more context on my part:
We use IMAPSync at work and I have built [1] a repo with it last year.

Now that Debian 12 is out, it has been decided that it was not worth
maintaining a server only for this package, so we will remove such
server. :'-(

(For now it is available in http://deb.probesys.com ; beware: no SSL !)


[1] With code available in salsa, build was pretty straightforward:

mkdir imapsync-build && cd imapsync-build
gbp clone https://salsa.debian.org/RAPS/imapsync.git
cd imapsync
git branch upstream
gbp import-orig
https://imapsync.lamiral.info/dist/old_releases/1.945/imapsync-1.945.tgz
[version to indicate: 1.945+dfsg1 ]
gbp pq import
gbp buildpackage


Regards,

#919587#70
Date:
2023-08-13 19:25:44 UTC
From:
To:
Hello,

(I switched to personnal email as I am doing this in my "personnal time"
and have no official agreement from my company for now.)

It appeared to me that a couple of years later my notes on how to build
the package were not accurate anymore ! (sorry for my last post.)




After a quick chat in OFTC/#debian-mentors channel, I went on packaging
imapsync.



So I (tried to) keep up good work done by Markus Raps on salsa and here
is how.


For now, I focus on having only imapsync perl script[1] and imapsync man
page[2] in debian package.

(I wish to have some upstream documentation too, but I plan to add it
once I get more familiar with debian packaging.)



Here are the steps followed and how to build package at the bottom of
this message:

0. on salsa.debian.net cloned Markus repo to mine
1. change debian/watch to fix new URL for upstream tags
2. change Makefile and imapsync files to use the ones from
    imapsync v1.945

3. launch command "gbp pq import"
   (it creates and checks out branch patch-queue/master)

4. Use attached file as ~/.gbp.conf (note filter in import-orig section)
5. Download new upstream with command "gbp import-orig --uscan
--upstream-version=2.229 --pristine-tar" (this creates some commits, 
downloads on ./../ directory and a new pristine-tar branch (I am not
sure about this branch)  )

6. Rebase existing debian patch (error → skip its rebase)
7. Create equivalent patches for version 2.229
8. Launch "gbp pq export --commit" (this checkout master branch)
9. make some changes and commits to debian files
    (new dependency, unfollow debian/files, maintainer and salsa)

9. Checkout Makefile and imapsync from patch-queue/master branch (why??)
10. Build package with:
     gbp buildpackage

This built a package in ./../


Now, thing is I could not rebuild package with "gbp buildpackage"
command (why?).

I had to push pristine-tar branch to be able to build package "from
scratch" (why?).


It is now (as in commit 1e0d6bd39f9a2d7deb5cb0edb6246b57fa26e9a6)
possible to build package "from scratch" with following steps:

0. git clone https://salsa.debian.org/fernando-guest/imapsync.git
1. cd imapsync && git checkout pristine-tar && git checkout master
(why?)
2. gbp buildpackage
And the magic happens ! \o/ :tada:


[1] https://github.com/imapsync/imapsync/blob/master/imapsync

[2] Built launching pod2man on imapsync perl script.



Hope this helps
Regards
Fernando

#919587#75
Date:
2023-08-15 16:27:51 UTC
From:
To:
Hello,

I have made some changes to salsa repository, now
(as in commit e90472050852568d9a5232f8930701c7a22a19b8 )
package can be built with following commands:

git clone https://salsa.debian.org/fernando-guest/imapsync.git
cd imapsync
uscan --download-current-version
debuild

Regards,
Fernando

#919587#80
Date:
2024-05-20 07:42:05 UTC
From:
To:
I am also interested in working on this package. Maybe we can work
together Fernando?


What is needed now to get it over the finishline?


Best regards,

Micke