[Ann] ZipTo(G)mail plugin, v0.1

illustrated version of this ANN:

http://www.intellij.org/twiki/pub/Main/ZipToGmailBackupPlugin/AnnZipToGmailpluginv0.1.pdf


ZipTo(G)mail plugin, v0.1
-


(aka the Poor Man's Gmail Backuper)

  • This plugin zips the current project root contents, and emails it to

your (G)mail account.

  • You can also only use the 'Compress' feature to backup a project with

1 click, into a uniquely-named zip file.
Example:
ZipToGmailPlugin-2005/07/06-09h16.zip


-


What you need:
-


- for EZ smtp configuration: a Gmail or dotMac account.
=> you just need your Gmail/dotMac id and password.

- otherwise, find your smtp server parameters :
(host, port, ssl required, id and password)

-


How to use it:
-


0/
Install it :)



1/
The ZipTo(G)mail plugin adds a tool window to your IDEA desktop:


This is only way to control/access ZipTo(G)mail.



2/ Once per project, you'll have to choose a passphrase :





3/Once per project, in tool window 'config' panel:

- setup the smtp parameters

(for Gmail and dotMac, your id and password are enough)


- setup the email from and to address

(for .Mac, the fromAddress must be @mac.com) (Note: for dotMac accounts, the from address must be the dotMac address linked to the account: 'johndoe@mac.com') 4/ finally, zip the project, send it by email, and delete the zip file: - press on "/Compress Project/" - (optional) you can filter out some files and/or directories. - (optional) edit the message text - press on "Send by /Email -->]]>"/
- (optional) press on "/Delete/" to delete the zip file

During the transfer, you can use IDEA normally.

Once it's done, a failure/success dialog will inform you:



-


In this version
- asynchronous emailing => you can work with IDEA while an email+zip
file is being sent.
- easy smtp setting for Gmail: just type in your account id and password
- easy smtp setting for .Mac: ....
- sensitive data (smtp account, email address..) is DES encrypted before
being stored in the project file (=> you need a passphrase)
- basic files exclusion options: *.jar, *.zip
- basic directories exclusion option: *javadoc
- descriptive default message text (project size + exclusion report)


-


Planned:
- multiple target profiles (only 1 now)
- configurable auto-report (? Velocity)
- configurable zip file name and location
- ..

Enjoy.
Feedback is welcome


Alain Ravet










Attachment(s):
att1.dat
att1.dat
att1.dat
att1.dat
att1.dat
11 comments
Comment actions Permalink

ZipTo(G)mail plugin, v0.1
-----------------------------------
(aka the Poor Man's Gmail Backuper)

  • This plugin zips the current project root contents, and emails it to

your (G)mail account.

Very nice, but what's really missing is the "restore" function :) , i.e.
: 'browse backups' --> 'select backup' --> 'download' --> 'uncompress'
--> 'open project'.

This (especially the read/uncompress)would transoftm the plug-in not
only into super backup tool, but also into a "project sharing tool" :).

Ahmed.

0
Comment actions Permalink

Ahmed


This plugin is about getting a little extra peace of mind for free: 2
clicks, and a Gmail account. It's all it takes.
No more "My dog ate my code" excuse.
I guess I could also automate the process - "zipAndMail every day",
"every hour", .. - so you wouldn't need the 2 clicks.

.. what's really missing is the "restore" function ..
This .. would transoftm the plug-in not only into super backup tool,
but also into a "project sharing tool" :).

>

That was the exact motivation behind:

"File.Export project" to (zip) file. + "File.Import Project" from .."
http://www.jetbrains.net/jira/browse/IDEABKL-2733

Feel free to comment/vote for it.

.. the "restore" function :) , i.e. : 'browse backups' --> 'select
backup' --> 'download' --> 'uncompress' --> 'open project'.



I just need a "local file system <--> email" gateway. :)
Some work has been done around Gmail in that direction, but I'm not sure
it respects Gmail license.

Alain

0
Comment actions Permalink

Hi Alain,

RFE: Would it be possible to support any mail account, by perhaps adding a settings dialog
specifying the SMTP server settings? This could then be useful for people with an internal mailing
system (for offline locations, for instance).

Cheers,
Arik Kfir.

Alain Ravet wrote:

Ahmed


This plugin is about getting a little extra peace of mind for free: 2
clicks, and a Gmail account. It's all it takes.
No more "My dog ate my code" excuse.
I guess I could also automate the process - "zipAndMail every day",
"every hour", .. - so you wouldn't need the 2 clicks.

>> .. what's really missing is the "restore" function ..
>> This .. would transoftm the plug-in not only into super backup tool,
>> but also into a "project sharing tool" :).
>>


That was the exact motivation behind:

"File.Export project" to (zip) file. + "File.Import Project" from .."
http://www.jetbrains.net/jira/browse/IDEABKL-2733

Feel free to comment/vote for it.

>> .. the "restore" function :) , i.e. : 'browse backups' --> 'select
>> backup' --> 'download' --> 'uncompress' --> 'open project'.



I just need a "local file system <--> email" gateway. :)
Some work has been done around Gmail in that direction, but I'm not sure
it respects Gmail license.

Alain

0
Comment actions Permalink

Arik

>

RFE: Would it be possible to support any mail account, by perhaps
adding a settings dialog specifying the SMTP server settings?



That's how it works already, and that's why it's called the ..(G)mail..,
and not the ..Gmail plugin

Reread the ANN, or the illustrated version:

http://www.intellij.org/twiki/pub/Main/ZipToGmailBackupPlugin/AnnZipToGmailpluginv0.1.pdf
, or install the plugin.

The advantage of GMail is that you can use their SMTP server =>
simplified setting through 1 button
Same for dotMac, except that it's not free.


I will add more profiles for quick configuration, so if you want
non-local ISP to be added, just give me
- smtp host
- smtp port
- smtp is ssl required/authorized

, and if possible their constraints
- maximum size of attachment
ex: Gmail = 10M
- allowed from address
ex: the account email address, for dotMac,
, and I'll add them.


You will also have the possibility to define multiple active profiles.

Alain

0
Comment actions Permalink

Alain Ravet wrote:

Arik

>>
>> RFE: Would it be possible to support any mail account, by perhaps
>> adding a settings dialog specifying the SMTP server settings?



That's how it works already, and that's why it's called the ..(G)mail..,
and not the ..Gmail plugin

LOL - will pay more attention to brackets next time ;)


The advantage of GMail is that you can use their SMTP server =>
simplified setting through 1 button
Same for dotMac, except that it's not free.

yeah, makes sense..


I will add more profiles for quick configuration, so if you want
non-local ISP to be added, just give me
- smtp host
- smtp port
- smtp is ssl required/authorized

, and if possible their constraints
- maximum size of attachment
ex: Gmail = 10M
- allowed from address
ex: the account email address, for dotMac,
, and I'll add them.

afraid I can't (classified, army)


You will also have the possibility to define multiple active profiles.

Alain


Thanks a lot, and well done!

0
Comment actions Permalink

Alain Ravet wrote:

illustrated version of this ANN:

http://www.intellij.org/twiki/pub/Main/ZipToGmailBackupPlugin/AnnZipToGmailpluginv0.1.pdf


Neat. One thought...

Years ago I purchased a poor mans version control system which operated
entirely around zip files. Each "commit" simply added newly
changed/added files into a new, dated directory inside the zip.

i.e.

mycode.zip/
200507071200/
build.xml
test.ipr
src/
test/
Foo.java
200507071410/
src/
test/
Foo.java

It had a funky wee UI front end that parsed that and showed it all as a
single archive, with extract pulling out the latest version.

Not sure if something similar could work in with this plugin, or a new
plugin made that expresses itself as a version control plugin, commit
adds the changed files into a dated .zip, and sends it to gmail....

mmmm

0
Comment actions Permalink

Mark Derricutt wrote:

Years ago I purchased a poor mans version control system which operated
entirely around zip files.



What was the name of that product?


>Not sure if something similar could work in with this plugin, ..
>

Well, it's an ambitious but interesting idea. I've added it in my local
bit-based memory (http://codepuccino.com/mesquite/, by R.S.), for the
long winter nights.


Alain

0
Comment actions Permalink

Alain Ravet wrote:

What was the name of that product?


CanIT. http://www.methods.co.nz/canit/

Delphi based product. Worked quite well...

Well, it's an ambitious but interesting idea. I've added it in my local
bit-based memory (http://codepuccino.com/mesquite/, by R.S.), for the
long winter nights.


:)

0
Comment actions Permalink

Doesn't seem to work on WindowsXP. Even after configuring as per the docs, there is no way to get the Send by Email button to work. Clicking on it does nothing. The button isn't even clickable.

0
Comment actions Permalink

It has never worked on XP. I've brought this up before but it never got fixed. Alain is a Mac guy so I don't think he can even test on XP (or he simply doesn't care about it).

0

Please sign in to leave a comment.