nekohayo / specto

Automatically exported from code.google.com/p/specto
0 stars 0 forks source link

watch list importing and exporting #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Allow importing and exporting ~/.specto/watches.list through the user
interface. This is quite easy to implement, especially if one takes the
error log window as source of inspiration. When this feature is ready, the
menu items should be made sensitive anew.

Original issue reported on code.google.com by nekoh...@gmail.com on 12 Nov 2006 at 10:04

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 15 Nov 2006 at 12:09

GoogleCodeExporter commented 9 years ago
I had the following in mind:
IMPORTING
1) select a watches.list file
2) show a listview with a checkbox, watch name, watch type, url/user@host/file
3) check the watches you want to import (specto checks if there are no name 
conflicts)

EXPORTING
1) show a listview with a checkbox, watch name, watch type, url/user@host/file
2) select the watches you want to export
3) select the path were watches.list will be saved

Original comment by woutclym...@gmail.com on 21 Nov 2006 at 10:21

GoogleCodeExporter commented 9 years ago
Sounds good to me (I didn't even think of the "partial import/export" idea 
initially!)

Original comment by nekoh...@gmail.com on 21 Nov 2006 at 10:42

GoogleCodeExporter commented 9 years ago

Original comment by woutclym...@gmail.com on 17 Dec 2006 at 4:41

GoogleCodeExporter commented 9 years ago
I know that importing works, but does exporting work too?

Original comment by nekoh...@gmail.com on 4 Dec 2007 at 12:14

GoogleCodeExporter commented 9 years ago
Exporting also works, but with importing we still need to show a message when 
you try
to import a watch with a name that already exists in the watches_db.
What should happen?
-automatically change the name from "test" to "test1"?
-show a dialog where you can change the name?
-dont allow importing this watch
-...?

Original comment by woutclym...@gmail.com on 4 Dec 2007 at 2:26

GoogleCodeExporter commented 9 years ago
I would think showing a dialog with all of the above could be best:

The watch named "foo" already exists in your current watch list. You can choose 
a
different name, replace the watch you already have or skip this watch.
New name: [auto watch name suggestion]

(Rename) (Replace) (Do not import)

The dialog must be shown for each infringing watch, one at a time (don't show 20
dialogs piled on top of each other)? The default focus should be on the button
Rename, as it is the least dangerous action (I think).

Original comment by nekoh...@gmail.com on 4 Dec 2007 at 2:39

GoogleCodeExporter commented 9 years ago

Original comment by woutclym...@gmail.com on 10 Feb 2008 at 4:39

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 18 Mar 2008 at 1:51

GoogleCodeExporter commented 9 years ago
exporting doesn't work with bzr branch lp:~woutc/specto/specto-woutc

Original comment by thibaut....@gmail.com on 30 Sep 2008 at 10:28

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 3 Oct 2008 at 12:37

GoogleCodeExporter commented 9 years ago
export.py #233
watch_io = Watch_io(file_name)
should be:
watch_io = Watch_io(self.specto, file_name)

I will fix it as fast as possible

Original comment by woutclym...@gmail.com on 3 Oct 2008 at 1:11

GoogleCodeExporter commented 9 years ago
Fixed in rev 107

Original comment by woutclym...@gmail.com on 3 Oct 2008 at 6:38

GoogleCodeExporter commented 9 years ago
rev 108 works for me, thanks

Original comment by thibaut....@gmail.com on 4 Oct 2008 at 2:11

GoogleCodeExporter commented 9 years ago
Merged in main.

Original comment by nekoh...@gmail.com on 4 Oct 2008 at 12:41