Difference between revisions of "bases"

From GeneWeb
Jump to: navigation, search
m (un peu plus cohérent)
m (projection de ce que sera le dir bd/ en v7 (discussions en cours))
Line 32: Line 32:
 
**** {{d}} mybase: portraits images for mybase
 
**** {{d}} mybase: portraits images for mybase
 
***** {{f}} first_name.occurence.last_name.jpg
 
***** {{f}} first_name.occurence.last_name.jpg
***** {{branche finale}}{{f}} first_name.occurence.last_name.jpg
+
***** {{branche finale}}{{f}} other_first_name.occurence.last_name.jpg
 
**** {{branche finale}}{{d}} mybase2: idem
 
**** {{branche finale}}{{d}} mybase2: idem
 
*** {{d}} lang: containing some base specific language related template text files (lexicon for instance)
 
*** {{d}} lang: containing some base specific language related template text files (lexicon for instance)
Line 43: Line 43:
 
***** {{branche finale}}{{f}} file1.txt: text file called with {{c|1=m=SRC}}
 
***** {{branche finale}}{{f}} file1.txt: text file called with {{c|1=m=SRC}}
 
**** {{branche finale}}{{d}} mybase2: idem
 
**** {{branche finale}}{{d}} mybase2: idem
 +
** {{d}} gw
 +
** {{f}} gwd/gwsetup launch scripts, README, etc.
 +
{{arbre fin}}
 +
 +
== Bases folder in GeneWeb 7 ==
 +
GeneWeb 7 simplify the archival of databases sorting all files needed for a single database under the same folder.
 +
 +
{{arbre début}}
 +
* {{d}} [[distribution]] (details the description of the program folder {{c|gw/}}, only {{c|bases/}} is described here)
 +
** {{d}} bases: The folder containing the GeneWeb databases
 +
*** {{f}} perso_lexicon.txt ? or base specific ?
 +
*** {{f}} particules.txt or perso_particules.txt ? or base specific perso_particules.txt ?
 +
*** {{f}} comm.log
 +
*** {{d}} mybase.gwb: folder of the genealogical database called {{c|mybase}}
 +
**** {{f}} params.gwf: associated [[configuration|.gwf configuration/parameters file]]
 +
**** {{f}} mybase-f.auth example of [[password#Specific access|password file for friends]] ({{c|1=friend_passwd_file=}})
 +
**** {{f}} mybase-w.auth example of password file for wizards ({{c|1=wizard_passwd_file=}})
 +
**** {{f}} history: historic of modifications
 +
**** {{f}} tags.txt: list of [[tags|authorized HTML tags]]
 +
**** {{f}} counts.txt access counts
 +
**** {{f}} mybase.lck lock file
 +
**** {{d}} documents: image/txt/pdf/html files, subdirs allowed
 +
***** {{f}} mytext.txt text files called with {{c|1=m=SRC}}
 +
***** {{f}} mydoc.pdf PDF files
 +
***** {{f}} mypage.html HTML pages
 +
***** {{branche finale}}{{f}} myimage.jpg images called with  {{c|1=m=IMH}}
 +
**** {{d}} etc: personnal templates, used in priority over the generic {{c|gw/etc}} files (see [[templates]])
 +
***** {{d}} perso_module
 +
****** {{branche finale}}{{f}} module_xx.txt
 +
***** {{f}} header.txt base specific header file
 +
***** {{branche finale}}{{f}} trl.txt base specific trailer file
 +
**** {{d}} history_d: folder with all diff files
 +
**** {{d}} lang (or {{c|etc/perso_lexicon.txt}} for all bases?) : containing some base specific language related template text files (lexicon for instance)
 +
**** {{d}} portraits: portraits images
 +
***** {{f}} first_name.occurence.last_name.jpg
 +
***** {{branche finale}}{{f}} other_first_name.occurence.last_name.jpg
 +
*** {{d}} mybase2.gwb: folder of a second genealogical database {{c|mybase2}}
 +
**** {{branche finale}}[…] the organisation is the same for each database see description for mybase.gwb folder above
 +
*** {{d}} cnt: holding the robot file, locks, and memorising the access counts for each base
 +
**** {{f}} actlog
 +
**** {{branche finale}}{{f}} [[access#Robots management|robot]] list IP address of robots
 
** {{d}} gw
 
** {{d}} gw
 
** {{f}} gwd/gwsetup launch scripts, README, etc.
 
** {{f}} gwd/gwsetup launch scripts, README, etc.
 
{{arbre fin}}
 
{{arbre fin}}

Revision as of 05:10, 10 February 2017

150px-Geographylogo svg.png Language: English

The folder of the databases should contain the same information structure as in the case of an installation on a personal computer. Its location is, by default, within the distribution folder with the name /bases, but it can be located elsewhere and named otherwise according to your preferences. Similarly, the choice of names for your bases and .auth files is unconstrained.

In each of the etc, images, lang and src folders, sub-folders carrying the name of the base mybase.gwb hold the specific data for each base.

  • directory distribution (details the description of the program folder gw/, only bases/ is described here)
    • directory bases: The folder containing the GeneWeb databases
      • directory mybase.gwb: folder of the genealogical database called mybase
      • file mybase.gwf: associated .gwf configuration/parameters file
      • file mybase-f.auth example of password file for friends (friend_passwd_file=)
      • file mybase-w.auth example of password file for wizards (wizard_passwd_file=)
      • directory mybase2.gwb: folder of a second genealogical database mybase2
      • file mybase2.gwf/auth configuration files associated to mybase2, etc.
      • directory cnt: holding the robot file, locks, and memorising the access counts for each base
        • file actlog
        • file robot list IP address of robots
        • file mybase.txt access counts for mybase
        • file mybase.lck lock file for mybase
      • directory etc: used in priority over the generic gw/etc files (see templates)
        • directory mybase: template folders for mybase
          • directory perso_module
            • file module_xx.txt
          • file header.txt base specific header file
          • file trl.txt base specific trailer file
        • directory mybase2: idem
      • directory images
        • directory mybase: portraits images for mybase
          • file first_name.occurence.last_name.jpg
          • file other_first_name.occurence.last_name.jpg
        • directory mybase2: idem
      • directory lang: containing some base specific language related template text files (lexicon for instance)
        • directory mybase
        • directory mybase2
      • directory src
        • directory mybase
          • directory images: images called with m=IMH
            • file myimage.jpg
          • file file1.txt: text file called with m=SRC
        • directory mybase2: idem
    • directory gw
    • file gwd/gwsetup launch scripts, README, etc.

 Bases folder in GeneWeb 7

GeneWeb 7 simplify the archival of databases sorting all files needed for a single database under the same folder.

  • directory distribution (details the description of the program folder gw/, only bases/ is described here)
    • directory bases: The folder containing the GeneWeb databases
      • file perso_lexicon.txt ? or base specific ?
      • file particules.txt or perso_particules.txt ? or base specific perso_particules.txt ?
      • file comm.log
      • directory mybase.gwb: folder of the genealogical database called mybase
        • file params.gwf: associated .gwf configuration/parameters file
        • file mybase-f.auth example of password file for friends (friend_passwd_file=)
        • file mybase-w.auth example of password file for wizards (wizard_passwd_file=)
        • file history: historic of modifications
        • file tags.txt: list of authorized HTML tags
        • file counts.txt access counts
        • file mybase.lck lock file
        • directory documents: image/txt/pdf/html files, subdirs allowed
          • file mytext.txt text files called with m=SRC
          • file mydoc.pdf PDF files
          • file mypage.html HTML pages
          • file myimage.jpg images called with m=IMH
        • directory etc: personnal templates, used in priority over the generic gw/etc files (see templates)
          • directory perso_module
            • file module_xx.txt
          • file header.txt base specific header file
          • file trl.txt base specific trailer file
        • directory history_d: folder with all diff files
        • directory lang (or etc/perso_lexicon.txt for all bases?) : containing some base specific language related template text files (lexicon for instance)
        • directory portraits: portraits images
          • file first_name.occurence.last_name.jpg
          • file other_first_name.occurence.last_name.jpg
      • directory mybase2.gwb: folder of a second genealogical database mybase2
        • […] the organisation is the same for each database see description for mybase.gwb folder above
      • directory cnt: holding the robot file, locks, and memorising the access counts for each base
        • file actlog
        • file robot list IP address of robots
    • directory gw
    • file gwd/gwsetup launch scripts, README, etc.