Changeset - 50267ea8c675
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 8 years ago 2017-06-10 23:31:50
drewp@bigasterisk.com
rdfdb ignore big capture/ dirs until i'm working on paint again
Ignore-this: ee3a4b238e11fd3ed1d9860f7e0138ec
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
bin/rdfdb
Show inline comments
 
@@ -218,24 +218,28 @@ class WatchedFiles(object):
 

	
 
        inFile needs to be a relative path, not an absolute (e.g. in a
 
        FilePath) because we use its exact relative form in the
 
        context URI
 
        """
 
        if not os.path.isfile(inFile):
 
            return
 

	
 
        inFile = correctToTopdirPrefix(self.dirUriMap, inFile)
 
        if os.path.splitext(inFile)[1] not in ['.n3']:
 
            return
 

	
 
        if '/capture/' in inFile:
 
            # smaller graph for now
 
            return
 
            
 
        # an n3 file with rules makes it all the way past this reading
 
        # and the serialization. Then, on the receiving side, a
 
        # SyncedGraph calls graphFromNQuad on the incoming data and
 
        # has a parse error. I'm not sure where this should be fixed
 
        # yet.
 
        if '-rules' in inFile:
 
            return
 

	
 
        # for legacy versions, compile all the config stuff you want
 
        # read into one file called config.n3. New versions won't read
 
        # it.
 
        if inFile.endswith("config.n3"):
0 comments (0 inline, 0 general)