Difference between revisions of "bases"
(Update of base reorg description) |
|||
Line 60: | Line 60: | ||
***** {{d}} portraits: portraits images | ***** {{d}} portraits: portraits images | ||
****** {{f}} first_name.occurence.last_name.jpg | ****** {{f}} first_name.occurence.last_name.jpg | ||
− | ****** | + | ****** {{f}} other_first_name.occurence.last_name.jpg |
− | ***** {{d}} | + | ****** {{branche finale}}{{d}} saved: saved portraits |
+ | ***** {{d}} images: other images associated with a person | ||
****** {{d}} first_name.occurence.last_name: other images associated with a person | ****** {{d}} first_name.occurence.last_name: other images associated with a person | ||
******* {{f}} otherimage.jpg: images called with {{c|1=m=DOC&s=others/%keydir;/otherimage.jpg}} | ******* {{f}} otherimage.jpg: images called with {{c|1=m=DOC&s=others/%keydir;/otherimage.jpg}} | ||
− | ******* | + | ******* {{f}} otherimage.txt: comment associated with otherimage (%keydir_img_notes;) |
− | ***** {{d}} | + | ******* {{branche finale}}{{d}} saved: saved images and comments |
***** {{f}} myimage.jpg: images called with {{c|1=m=DOC}} or {{c|1=m=IMH}} ({{c|1=m=IM}} kept for backward compatibility) | ***** {{f}} myimage.jpg: images called with {{c|1=m=DOC}} or {{c|1=m=IMH}} ({{c|1=m=IM}} kept for backward compatibility) | ||
***** {{f}} mytext.txt: text files called with {{c|1=m=DOC}} or {{c|1=m=SRC}} | ***** {{f}} mytext.txt: text files called with {{c|1=m=DOC}} or {{c|1=m=SRC}} | ||
***** {{f}} mydoc.pdf: PDF files called with {{c|1=m=DOC}} | ***** {{f}} mydoc.pdf: PDF files called with {{c|1=m=DOC}} | ||
− | ***** {{branche finale}}{{f}} | + | ***** {{f}} mypage.html: HTML pages called with {{c|1=m=DOC}} |
+ | ***** {{branche finale}}{{d}} src: | ||
+ | ****** {{f}} mydoc.txt: txt files called with {{c|1=m=DOC}} or {{c|1=m=SRC}} | ||
+ | ****** {{branche finale}}{{d}} lg: language specific txt files | ||
**** {{d}} etc: configurations files and personnalized variants of template files, used in priority over the generic {{c|gw/etc}} files (see [[templates]]) | **** {{d}} etc: configurations files and personnalized variants of template files, used in priority over the generic {{c|gw/etc}} files (see [[templates]]) | ||
***** {{d}} modules: personnalized variants of modules files | ***** {{d}} modules: personnalized variants of modules files | ||
Line 81: | Line 85: | ||
***** {{branche finale}}{{f}} hed.txt and trl.txt: base specific header/trailer files | ***** {{branche finale}}{{f}} hed.txt and trl.txt: base specific header/trailer files | ||
**** {{d}} lang: local complements to the language lexicon | **** {{d}} lang: local complements to the language lexicon | ||
− | **** {{d}} | + | **** {{d}} history: folder with all diff files (this folder may be located elsewhere according to {{c|1=history_path=}} in {{c|mybase.conf}}) |
***** {{d}} a | ***** {{d}} a | ||
***** {{d}} b | ***** {{d}} b | ||
***** {{d}} … | ***** {{d}} … | ||
− | ***** {{branche finale}}{{f}} history | + | ***** {{branche finale}}{{f}} history.txt: history of modifications |
− | **** {{d}} | + | **** {{d}} notes: folder with all the notes and [[wikitext#Internal_links|linked pages]] |
− | ***** {{branche finale}}{{f}} | + | ***** {{f}} notes.txt: (reserved name) main notes for the base, displayed in the welcome page |
+ | ***** {{branche finale}}{{f}} linked_page.txt: other "linked_page" obtained with <nowiki>[[[linked_page/text]]]</nowiki> | ||
**** {{branche finale}}{{f}}… base, base.acc, cache_info […] names.inx, notes_links, patches (all internal files and folders of the database) | **** {{branche finale}}{{f}}… base, base.acc, cache_info […] names.inx, notes_links, patches (all internal files and folders of the database) | ||
*** {{d}} mybase2.gwb: folder of a second genealogical database {{c|mybase2}} | *** {{d}} mybase2.gwb: folder of a second genealogical database {{c|mybase2}} |
Revision as of 11:15, 9 December 2018
Language: | English |
---|
The bases folder is by default a subfolder of the GeneWeb distribution named bases
that contains all your personnal data: the genealogical databases themselves with their notes, images, authentification files, template personalisation, etc. It can be moved or renamed according to your preferences.
In each of its etc
, images
, lang
and src
folders, subfolders carrying the name of the base mybase
hold the specific data for each base.
- distribution: details all the other files and subfolders out of
bases
folder, like the programs or template files.- bases: The folder containing the GeneWeb databases
- mybase.gwb: folder of the genealogical database called
mybase
- mybase.gwf: associated .gwf configuration/parameters file
- mybase-f.auth example of password file for friends (
friend_passwd_file=
) - mybase-w.auth example of password file for wizards (
wizard_passwd_file=
) - mybase2.gwb: folder of a second genealogical database
mybase2
- mybase2.gwf/auth configuration files associated to mybase2, etc.
- cnt: holding the robot file, locks, and memorising the access counts for each base
- actlog: file temporary storing the tokens needed for login in CGI mode
- robot list IP address of robots
- mybase.txt access counts for mybase
- mybase.lck lock file for mybase
- etc: used in priority over the generic
gw/etc
files (see templates) - images
- lang: containing some base specific language related template text files (lexicon for instance)
- src
- mybase.gwb: folder of the genealogical database called
- gw
- […] gwd/gwsetup launch scripts, README, etc.
- bases: The folder containing the GeneWeb databases
Bases folder in GeneWeb 7
This section of the documentation is not yet fully implemented. The current version of GeneWeb v7 adheres to the old folder structure.
|
GeneWeb 7 simplifies the archival of databases regrouping all the files needed for a single database under the same folder. With this configuration, it becomes far simpler to use archival tools such as tar
, zip
or rar
to store a single database folder in an archive (see save for details and comments).
- distribution
- bases: The folder containing the GeneWeb databases
- mybase.gwb: folder of the genealogical database called
mybase
- documents: image/txt/pdf/html files, subdirectories allowed
- etc: configurations files and personnalized variants of template files, used in priority over the generic
gw/etc
files (see templates)- modules: personnalized variants of modules files
- templatex: personnal variant of templatex files
- mybase.conf (mybase-config.txt?): configuration/parameters file (old
.gwf
) - mybase.count (mybase-counts.txt?): access counts
- mybase-f.auth (mybase-friend-auth.txt?): example of password file for friends (
friend_passwd_file=
inmybase.conf
) - mybase-w.auth (mybase-wizard-auth.txt?): example of password file for wizards (
wizard_passwd_file=
inmybase.conf
) - particles.txt (mybase-particles.txt?): particles list for this base.
- hed.txt and trl.txt: base specific header/trailer files
- lang: local complements to the language lexicon
- history: folder with all diff files (this folder may be located elsewhere according to
history_path=
inmybase.conf
) - notes: folder with all the notes and linked pages
- … base, base.acc, cache_info […] names.inx, notes_links, patches (all internal files and folders of the database)
- mybase2.gwb: folder of a second genealogical database
mybase2
- […] the organisation is the same for each database see description for mybase.gwb folder above
- cnt: holding the robot file, locks, and memorising the access counts for each base
- actlog: file temporary storing the tokens needed for login in CGI mode
- mybase.lck: lock file for mybase
- robot: list IP addresses of detected robots
- comm.log (log.txt?): execution log of the last base creation with a
gwc
command - perso_lexicon.txt: UTF-8 personnal complementary lexicon (loaded with
-add_lexicon
at gwd start) - tags.txt: alternate list of authorized HTML tags (loaded with
-allowed_tags
at gwd start)
- mybase.gwb: folder of the genealogical database called
- gw
- … gwd/gwsetup launch scripts, CHANGES.txt, README, etc.
- bases: The folder containing the GeneWeb databases
Note that with this configuration, all personnalization happens in files stored in the base folder. A new release of GeneWeb may be installed safely by copying the new gw
folder and possibly new copies of gwd/gwsetup launch scripts, CHANGES.txt, README, etc (the last two lines of the tree above).