Clomps conf: Difference between revisions

From Lundman Wiki
No edit summary
 
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
Wine
# Which FXP.One to connect to. Omit PASS to have app prompt for passwd.
Wine is definitely an alcoholic beverage, done of fermented fruit juice, in most cases from grapes. The natural chemical balance of grapes allows them ferment minus the addition of sugars, acids, enzymes, or any other vitamins. Grape wine is produced by fermenting crushed grapes implementing several forms of yeast. Yeast consumes the sugars during the grapes and converts them into booze. Distinct [http://winetypessite.com/top-10-types-of-red-wine-and-4-factors-that-make-them-unique/ Types of Red Wine] and strains of yeasts manufacture differing types of wine.
FXPONE|HOST=server.that.runs.fxpone.com|PORT=8885|USER=admin|PASS=admin|ssl=forced
[http://winetypessite.com/what-is-organic-wine-and-where-do-i-buy-organic-wine-online/ Organic Wine] constructed from other fruits, which include apples and berries, are often named upon the fruit from which they really are created (one example is, apple wine or elderberry wine) and so are generically described as fruit wine or region wine (to not be puzzled using the French term vin de pays). Some others, similar to barley wine and rice wine (i.e., sake), are created from starch-based supplies and resemble beer and spirit much more than wine, as ginger wine is fortified with brandy. In these circumstances, the term "wine" refers towards greater booze articles somewhat as opposed to manufacturing practice. The industrial utilization of the English word "wine" (and its equal in other languages) is secured by law in lots of jurisdictions.  
 
Wine carries a wealthy heritage dating back a large number of several years, along with the earliest recognized production taking place around eight,000 a long time ago within the territory of modern-day Georgia. It primary appeared inside the Balkans at about 4500 BC and was very common in ancient Greece, Thrace and Rome. Wine has also performed an important function in faith in the course of background. The Greek god Dionysus as well as the Roman equal Bacchus represented wine, as well as drink can be applied in Christian Eucharist ceremonies plus the Jewish Kiddush (between various other Jewish ceremonies).
Define where to connect for the FXP.One engine. It can be the same server as clomps run on, use localhost. If you leave the '''PASS=''' out, then clomps will prompt for passwords.
Grape versions
'''ssl=forced''' on this line refers to the connection to the engine. Encryption is a good idea, except if you are using localhost, and nobody else has root on your server.
Wine is commonly made out of one or more versions with the European species Vitis vinifera, that include Pinot Noir, Chardonnay, Cabernet Sauvignon, Gamay and Merlot. When among these varieties is chosen as being the predominant grape (usually defined by law being a minimal of 75% or 85%), the outcome can be described as varietal, in contrast to a blended, wine. Blended wines commonly are not considered inferior to varietal wines, rather they really are a unique style of wine building; most of the world's most expensive wines, from locations like Bordeaux and the Rhone Valley, are blended from numerous grape varieties.[citation needed]
Wine can be created from other species of grape or from hybrids, created by the genetic crossing of two species. Vitis labrusca (of which the Concord grape is a cultivar), Vitis aestivalis, Vitis rupestris, Vitis rotundifolia and Vitis riparia are native North American grapes quite often developed to try to eat recent or for grape juice, jam, or jelly, but oftentimes made into wine.
# Define sites and paths.
Hybridization differs from grafting. The vast majority of the world's vineyards are planted with European V. vinifera vines which have been grafted onto North American species rootstock.  
SITE|NAME=ASite1|DIR=/x264-tv/|USESKIP=1|INCTEST=%s-(INCOMPLETE)|NUKETEST=NUKED-%s|TIMEFILE=.asite.timestamp
This is popular apply given that North American grape species are resistant to phylloxera, a root louse that in due course kills the vine. Within the late nineteenth century, a majority of Europe's vineyards (only excluding most of the driest vineyards in Southern Europe) ended up devastated by bug, bringing about significant vine fatalities and eventual replanting. Grafting is finished in nearly every wine-producing region of the world except for Argentina, the Canary Islands and Chile-the only nations not nevertheless uncovered with the insect.  
SITE|NAME=Another|DIR=/tv-x264/|USESKIP=1|INCTEST=%s-(INCOMPLETE)|NUKETEST=NUKED-%s|HIDE=American.Idol*
From the context of wine manufacturing, terroir is usually a thought that encompasses the versions of grapes chosen, elevation and shape of the vineyard, sort and chemistry of soil, climate and seasonal circumstances, together with the local yeast cultures. The choice of opportunities listed here may end up in excellent differences concerning wines, influencing the fermentation, finishing, and getting older processes at the same time. Several wineries use expanding and creation techniques that preserve or accentuate the aroma and style influences of their exceptional terroir. On the other hand, taste variances are certainly not fascinating for producers of mass-market table wine or other less costly wines, the place consistency is much more fundamental. These types of producers strive to reduce variances in sources of grapes due to manufacturing tactics which includes micro-oxygenation, tannin filtration, cross-flow filtration, thin film evaporation, and spinning cones.
SITE|NAME=Another|HIDE=Additional*/*HideStrings*
Vintages
SITE|NAME=glftpdSite|DIR=/tv-x264/|USESKIP=1|INCTEST=(INCOMPLETE)-%s|NUKETEST=!NUKED-%s
A "vintage wine" is 1 made out of grapes which were all or primarily grown inside a distinct calendar year, and labeled as these types of. Some nations around the world allow a vintage wine to incorporate a little portion which is not through the labeled classic. Variations in a very wine's character from 12 months to yr can include subtle variances in color, palate, nose, entire body and enhancement. High-quality wines can better in taste with age if accurately stored. As a result, it isn't uncommon for wine fanatics and investors to save bottles of an in particular wonderful vintage wine for potential intake.
SITE|NAME=home|DIR=/tv/|DIR=/drive2/tv/|USESKIP=1|INCTEST=%s-(INCOMPLETE)|NUKETEST=NUKED-%s
 
Here we define the sites to connect to, and which directories to list. Note that '''home''' has two directories listed, they are combined.
TIMEFILE=filename can specify the timestamp file, if left out, clomps will make it based on the config filename + .timestamp
 
If you run this clomps.conf now, you will get an output like:
 
./clomps -vf example.conf
connected to FXP.One
successfully negotiated SSL
Successfully connected to FXP.One
Site glftpdSite processing dir '/tv-x264/'
Site home processing dir '/tv/'
Site Another processing dir '/tv-x264/'
Site ASite1 processing dir '/x264-tv/'
Site home processing dir '/drive2/tv/'
      Another finished processing:  111 files (  1/  4)
          home finished processing: 3135 files (  2/ 4)
    glftpdSite finished processing:  158 files (  3/ 4)
        ASite1 finished processing:  166 files (  4/ 4)
-----======> DISPLAY MATRIX <======-----
T |ASite|Anoth|glftp|home | New Items
--+-----+-----+-----+-----+-----------
d |INC  |MISS |MISS |MISS | Best.Laid.Plans.2012.1080p.BluRay.X264-7SinS
d |INC  |MISS |MISS |MISS | To.Catch.A.Thief.1955.1080p.BluRay.x264-HD4U
d |    |MISS |MISS |MISS | The.Summer.Of.Massacre.2011.720p.BluRay.x264-UNTOUCH
ABLES
d |    |MISS |NUKE |MISS | Under.Still.Waters.2008.720p.BluRay.x264-SWAGGERHD
Which shows new releases, by showing up (names on the right side) they exist somewhere. Any site column with a blank entry, means the release is there and complete. '''INC''' means that the release is incomplete (INCTEST patten matches), and similarly '''NUKE''' means nuked. '''MISS''' means this release is not on this site.
 
 
=== Automatic queueing ===
 
In addition to finding new entries, you can ask clomps to create queues. The queue lines are defines with '''pass number'''. Starting from 1. This means, all queue lines with pass=1 will be started at the same time. Once all pass=1 transfers are complete, clomps will run pass=2. This allows for all-concurrent queueing, or, sequentially queueing.  
 
For example (Spaces added between '|' separator for readability):
 
AUTOQ|PASSNUM=1|FROM=glftpdSite|TO=ASite1 | ACCEPT=the.simpson*/family.guy*/american.dad*/How?I?met?your?mother* | REJECT=*FINSUB*/*AC3* | INCSKIP
CONTINUED|ACCEPT=House*/firefly*
CONTINUED|ACCEPT=orphan.black*|REJECT=*webrip*
 
Which would automatically transfer items from '''glftpdSite''' "/tv-x264/", to '''ASite1''' "/x264-tv/". But only releases matching "the.simpson*" etc, unless they are *FINSUB* etc. The '''INCSKIP''' tells clomps not to transfer things that are incomplete. Clomps will then only transfer completed-releases. If you remove '''INCSKIP''' clomps will start to move incomplete releases as well.
 
The right-hand side in ACCEPT and REJECT statements are slash-separated list of matches. Ie, "*simpsons*/blue.planet*" would match on "*simpsons*" and "blue.planet*", with glob-style pattern matching. This means "I.hate.simpsons" would match (in the middle) but "the.blue.planet" would not (since it was not "*blue.planet*". No starting "*"). Note that this would also fail on "Blue_Planet" and "blue planet", since the period "." is literal. The best way is to use "blue?planet*".  All matches are '''case-insensitive'''.
 
CONTINUED lines, can add to the ACCEPT and REJECT lines if placed after an AUTOQ command. It is for readability and flexibility.
 
 
AUTOQ|PASSNUM=2|FROM=ASite1|TO=home | ACCEPT=* | REJECT=*dvdrip*
 
After pass=1 has completed, move '''everything''' from '''ASite1''' to home. Except for dvdrips. Incompletes will also be started.

Latest revision as of 07:18, 14 May 2014

# Which FXP.One to connect to. Omit PASS to have app prompt for passwd.
FXPONE|HOST=server.that.runs.fxpone.com|PORT=8885|USER=admin|PASS=admin|ssl=forced

Define where to connect for the FXP.One engine. It can be the same server as clomps run on, use localhost. If you leave the PASS= out, then clomps will prompt for passwords. ssl=forced on this line refers to the connection to the engine. Encryption is a good idea, except if you are using localhost, and nobody else has root on your server.

# Define sites and paths.
SITE|NAME=ASite1|DIR=/x264-tv/|USESKIP=1|INCTEST=%s-(INCOMPLETE)|NUKETEST=NUKED-%s|TIMEFILE=.asite.timestamp
SITE|NAME=Another|DIR=/tv-x264/|USESKIP=1|INCTEST=%s-(INCOMPLETE)|NUKETEST=NUKED-%s|HIDE=American.Idol*
SITE|NAME=Another|HIDE=Additional*/*HideStrings*
SITE|NAME=glftpdSite|DIR=/tv-x264/|USESKIP=1|INCTEST=(INCOMPLETE)-%s|NUKETEST=!NUKED-%s
SITE|NAME=home|DIR=/tv/|DIR=/drive2/tv/|USESKIP=1|INCTEST=%s-(INCOMPLETE)|NUKETEST=NUKED-%s

Here we define the sites to connect to, and which directories to list. Note that home has two directories listed, they are combined. TIMEFILE=filename can specify the timestamp file, if left out, clomps will make it based on the config filename + .timestamp

If you run this clomps.conf now, you will get an output like:

./clomps -vf example.conf

connected to FXP.One
successfully negotiated SSL
Successfully connected to FXP.One
Site glftpdSite processing dir '/tv-x264/'
Site home processing dir '/tv/'
Site Another processing dir '/tv-x264/'
Site ASite1 processing dir '/x264-tv/'
Site home processing dir '/drive2/tv/'
      Another finished processing:  111 files (  1/  4)
         home finished processing: 3135 files (  2/  4)
   glftpdSite finished processing:  158 files (  3/  4)
       ASite1 finished processing:  166 files (  4/  4)


-----======> DISPLAY MATRIX <======-----

T |ASite|Anoth|glftp|home | New Items
--+-----+-----+-----+-----+-----------
d |INC  |MISS |MISS |MISS | Best.Laid.Plans.2012.1080p.BluRay.X264-7SinS
d |INC  |MISS |MISS |MISS | To.Catch.A.Thief.1955.1080p.BluRay.x264-HD4U
d |     |MISS |MISS |MISS | The.Summer.Of.Massacre.2011.720p.BluRay.x264-UNTOUCH
ABLES
d |     |MISS |NUKE |MISS | Under.Still.Waters.2008.720p.BluRay.x264-SWAGGERHD

Which shows new releases, by showing up (names on the right side) they exist somewhere. Any site column with a blank entry, means the release is there and complete. INC means that the release is incomplete (INCTEST patten matches), and similarly NUKE means nuked. MISS means this release is not on this site.


Automatic queueing

In addition to finding new entries, you can ask clomps to create queues. The queue lines are defines with pass number. Starting from 1. This means, all queue lines with pass=1 will be started at the same time. Once all pass=1 transfers are complete, clomps will run pass=2. This allows for all-concurrent queueing, or, sequentially queueing.

For example (Spaces added between '|' separator for readability):

AUTOQ|PASSNUM=1|FROM=glftpdSite|TO=ASite1 | ACCEPT=the.simpson*/family.guy*/american.dad*/How?I?met?your?mother* | REJECT=*FINSUB*/*AC3* | INCSKIP
CONTINUED|ACCEPT=House*/firefly*
CONTINUED|ACCEPT=orphan.black*|REJECT=*webrip*

Which would automatically transfer items from glftpdSite "/tv-x264/", to ASite1 "/x264-tv/". But only releases matching "the.simpson*" etc, unless they are *FINSUB* etc. The INCSKIP tells clomps not to transfer things that are incomplete. Clomps will then only transfer completed-releases. If you remove INCSKIP clomps will start to move incomplete releases as well.

The right-hand side in ACCEPT and REJECT statements are slash-separated list of matches. Ie, "*simpsons*/blue.planet*" would match on "*simpsons*" and "blue.planet*", with glob-style pattern matching. This means "I.hate.simpsons" would match (in the middle) but "the.blue.planet" would not (since it was not "*blue.planet*". No starting "*"). Note that this would also fail on "Blue_Planet" and "blue planet", since the period "." is literal. The best way is to use "blue?planet*". All matches are case-insensitive.

CONTINUED lines, can add to the ACCEPT and REJECT lines if placed after an AUTOQ command. It is for readability and flexibility.


AUTOQ|PASSNUM=2|FROM=ASite1|TO=home | ACCEPT=* | REJECT=*dvdrip* 

After pass=1 has completed, move everything from ASite1 to home. Except for dvdrips. Incompletes will also be started.