Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8dae19e32e16a5cacb6cf28cc569b1d51c133498 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*******************************************************************************
 * Copyright (c) 2013 Red Hat Inc. and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Neil Guzman - initial API and implementation
 *******************************************************************************/
package org.eclipse.linuxtools.rpm.createrepo;

/**
 * Constants used for createrepo preferences.
 */
public final class CreaterepoPreferenceConstants {

	/*
	 * Preference Keys.
	 */
	/****/ public static final String PREF_DISTRO_TAG 	= "distro"; 	//$NON-NLS-1$
	/****/ public static final String PREF_CONTENT_TAG 	= "content"; 	//$NON-NLS-1$
	/****/ public static final String PREF_REPO_TAG 	= "repo"; 		//$NON-NLS-1$
	/****/ public static final String PREF_REVISION 	= "revision"; 	//$NON-NLS-1$

	// CreaterepoPreferencePage
	/****/ public static final String PREF_UNIQUE_MD_NAME		= "md-filenames"; 	//$NON-NLS-1$
	/****/ public static final String PREF_GENERATE_DB			= "database"; 		//$NON-NLS-1$
	/****/ public static final String PREF_IGNORE_SYMLINKS		= "skip-symlinks"; 	//$NON-NLS-1$
	/****/ public static final String PREF_PRETTY_XML			= "pretty"; 		//$NON-NLS-1$
	/****/ public static final String PREF_WORKERS				= "workers"; 		//$NON-NLS-1$
	/****/ public static final String PREF_CHECK_TS				= "checkts"; 		//$NON-NLS-1$
	/****/ public static final String PREF_CHANGELOG_LIMIT		= "changelog-limit"; //$NON-NLS-1$
	/****/ public static final String PREF_CHECKSUM				= "checksum"; 		//$NON-NLS-1$
	/****/ public static final String PREF_COMPRESSION_TYPE		= "compress-type"; 	//$NON-NLS-1$

	// CreaterepoGeneralPropertyPage
	/****/ public static final String PREF_GENERAL_ENABLED		= "projectSettings"; //$NON-NLS-1$

	// CreaterepoDeltaPropertyPage
	/****/ public static final String PREF_DELTA_ENABLE		= "deltas"; 	//$NON-NLS-1$
	/****/ public static final String PREF_NUM_DELTAS		= "num-deltas"; //$NON-NLS-1$
	/****/ public static final String PREF_MAX_DELTA_SIZE	= "max-delta-rpm-size"; //$NON-NLS-1$

	/*
	 * Preference Values.
	 */
	// CreaterepoPreferencePage
	/****/ public static final boolean DEFAULT_UNIQUE_MD_NAME 		= true;
	/****/ public static final boolean DEFAULT_GENERATE_DB 			= true;
	/****/ public static final boolean DEFAULT_IGNORE_SYMLINKS 		= false;
	/****/ public static final boolean DEFAULT_PRETTY 				= false;
	// createrepo will automatically set workers if 0
	/****/ public static final int DEFAULT_NUM_WORKERS 				= 0;
	/****/ public static final boolean DEFAULT_CHECK_TS 			= false;
	// createrepo will automatically set limit to whatever is in rpm if 0
	/****/ public static final int DEFAULT_CHANGELOG_LIMIT 			= 0;
	/****/ public static final String DEFAULT_CHECKSUM 				= ICreaterepoChecksums.SHA256;
	/****/ public static final String DEFAULT_COMPRESS_TYPE 		= ICreaterepoCompressionTypes.COMPAT;

	// CreaterepoGeneralPropertyPage
	/****/ public static final boolean DEFAULT_GENERAL_ENABLED		= false;

	// CreaterepoDeltaPropertyPage
	/****/ public static final boolean DEFAULT_DELTA_ENABLE 		= false;
	/****/ public static final int DEFAULT_NUM_DELTAS 				= 1;
	/****/ public static final int DEFAULT_MAX_DELTA_SIZE 			= 10;
}

Back to the top