Enhancement : graphical interface for ignore list

Bug #625194 reported by Loïc Alejandro
60
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Won't Fix
Wishlist
Ubuntu One Client Engineering team
ubuntuone-client (Ubuntu)
Won't Fix
Wishlist
Ubuntu One Foundations+ team

Bug Description

Binary package hint: ubuntuone-client

I don't know how to report a wish of enhancement ...

I am syncing folders that are svnized.
U1 lasts like 10 hours to perform localscan, using more than 90% cpu.
I suppose it's because of the high number of files watched.

So I would like to ignore .svn folders.

In the /etc/xdg/ubuntuone/syncdaemon.conf file there is an ignore list like :
ignore.default = \A#.*\Z
                 \A.*~\Z
                 \A.*\.py[oc]\Z
                 \A.*\.sw[nopx]\Z
                 \A.*\.swpx\Z
                 \A\..*\.tmp\Z

It would be nice to have a graphical interface to manage U1 ignored files and folders. Or at least a possibility to create an ignore list in the syncdaemon.conf file in my home with a simple syntax :)

Changed in ubuntuone-client (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Duane Hinnen (duanedesign) wrote :

Great idea. Thank you for taking the time to submit it.

thank you,
duanedesign

Changed in ubuntuone-client (Ubuntu):
status: New → Confirmed
assignee: nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+)
tags: added: chicharra fondations+
Changed in ubuntuone-client:
status: New → Confirmed
importance: Undecided → Wishlist
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

For the moment, I would like to be able to ignore my svn files and folders. What do I have to write ?

Revision history for this message
John Lenton (chipaca) wrote : Re: [Bug 625194] Re: Enhancement : graphical interface for ignore list

On Sat, 12 Feb 2011 01:13:43 -0000, Loïc Alejandro <email address hidden> wrote:
> For the moment, I would like to be able to ignore my svn files and
> folders. What do I have to write ?
>
> --
> You received this bug notification because you are a member of Ubuntu
> One hackers, which is subscribed to Ubuntu One Client.
> https://bugs.launchpad.net/bugs/625194
>
> Title:
> Enhancement : graphical interface for ignore list

to your ~/.config/ubuntuone/syncdaemon.conf add the following:

--- from here 8< ---
ignore = \A#.*\Z
         \A.*~\Z
         \A.*\.py[oc]\Z
         \A.*\.sw[nopx]\Z
         \A.*\.swpx\Z
         \A\..*\.tmp\Z
         \A\.svn\Z
---- >8 to here ---

(or just add the last line to ignore.default in
/etc/xdg/ubuntuone/syncdaemon.conf)

Let me know if it works :)

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

doesn't seem to work.
I made the change in the two files you mentionned, and if i do some u1sdtool --waiting-content | grep svn
I still get several lines : http://pastebin.com/R0pCn6qK

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

Is there another solution ?

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

Solved by writting :

[logging]
level = DEBUG

[bandwidth_throttling]
read_limit = 2097152
write_limit = 2097152
on = False

[__main__]
ignore = \A#.*\Z
         \A.*~\Z
         \A.*\.py[oc]\Z
         \A.*\.sw[nopx]\Z
         \A.*\.swpx\Z
         \A\..*\.tmp\Z
         \A\.svn\Z

in ~/.config/ubuntuone/syncdaemon.conf

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

Other question : if I want to ignore files with a .sckit extension, what should I write ? I tried several thinks without success.
thx

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

I think I found it : \A.*\.swpx\Z

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

I mean \A.*\.sckit\Z

Revision history for this message
Roman Yepishev (rye) wrote :

Loïc Alejandro, yes \A.*\.sckit\Z should work:

"\A" - matches the beginning of the string
"." - matches any character if "." is not escaped by "\"
"*" - matches any number of previous characters ("a*" will match a string with no a at all, "a", "aa", "aaaaaaa", too)
"\." - matches literal point
"sckit" - goes as it is
"\Z" - matches end of string.

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

Thanks for the explanation.
If I understood well, if I want to escape a "~gen" folder, I should write : \A~gen\Z ?

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

ahm, I better write \A.*~gen\Z isnt' it ?

Revision history for this message
Dan Allen (dan.j.allen) wrote :

Having a UI is very important for two reasons:

1. To communicate to the user that files will be ignored (with some indication as to which ones)
2. Allow the user to configure the ignored files

I got into trouble using Ubuntu One to sync by Pidgin configuration and logs directory (.purple). By excluding files that begin with #, non of the IRC channel logs get backed up (since IRC channels begin with #).

It would be nice to be able to override the ignore list on a per-path basis. That way I could make an exception for the .purple directory, for instance.

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Hi Dan,

I too sync all my purple logs, what I have in syncdaemon.conf is:

nessita@dali:~$ cat .config/ubuntuone/syncdaemon.conf
[__main__]
ignore = \A.*~\Z
 \A.*\.py[oc]\Z
 \A.*\.sw[nopx]\Z
 \A.*\.swpx\Z
 \A\..*\.tmp\Z

I know this setting is global, but I don't care that any other #something files/folders is being synched.

Revision history for this message
bsquared (bsquared) wrote :

I am also banging my head against the wall trying to filter sync'd content. I am syncing my browser env (seamonkey) and I want to ignore the entire Cache folder and some other files by extension. Originally I had my whole profile folder set up, but I realized the Cache folder would be a problem. I removed the folder from sync through the nautilus extension, and to test I modified the ~/.config/ubuntuone/sycdaemon.conf like so...

[__main__]
ignore = \ACache\/.*\Z
 \A\..*\.sqlite.*\Z
 \A(\.parent)?lock\Z

but nothing is showing up on the web interface, and the nautilus extension indicates all items are synced or in the process.

Any suggestions?

Thank you,
Brian

Revision history for this message
Leo Arias (elopio) wrote :

Please take a look at bug #829034, that asks for a list of files to include for the synchronization.

Changed in ubuntuone-client (Ubuntu):
status: Confirmed → Won't Fix
Changed in ubuntuone-client:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.