aboutsummaryrefslogtreecommitdiffstats
path: root/src/configuration.h
AgeCommit message (Collapse)AuthorFilesLines
2010-09-27api cleanup, typedef'd old structsJason Woodward1-7/+7
2010-06-09Updated API, generalizing several types into slapt_list_tJason Woodward1-15/+1
Replaced slapt_pkg_action_args_t, struct slapt_exclude_list, and struct slapt_suggests with slapt_list_t, a generic string list type. Added support functions slapt_parse_delimited_list, slapt_init_list, slapt_add_list_item, slapt_remove_list_item, and slapt_free_list in support of slapt_list_t. Removed now unnecessary slapt_init_exclude_list, slapt_add_exclude, slapt_remove_exclude, slapt_free_exclude_list, slapt_init_pkg_action_args, slapt_add_pkg_action_args, and slapt_free_pkg_action_args. Added convenience function slapt_parse_delimited_list that can generate a slapt_list_t from the exclude list, suggestions, dependencies, and conflicts. This greatly simplified the exclude parsing and dependency parsing.
2008-12-14fixed an initialization errror in slapt_is_required_by() that caused a ↵0.10.1Jason Woodward1-0/+1
segfault when removing with --no-deps. if no package sources are defined with a priority, disable use of priorities when dealing with /patches. This prevents the previous default slapt-get behavior from changing and causing confusion. With priorities, /patches is always assigned +1 above the package sources priority. So if no priorities were in use then anything found in any sources /patches always trumped anything else. This is probably the most correct behavior but it is still unexpected for existing users. To get the correct behavior, assign a priority to one or more sources.
2008-11-25 * (libslapt) added slapt_write_rc_config (incorporating from gslapt)Jason Woodward1-7/+21
* (libslapt) added parsing of disabled sources (instead of ignoring what gslapt creates). * test updates * Added source priority support based on patch submitted by Ken Milmore
2007-06-27use slapt_is_interactive to decide whether or not to be chatty... removed ↵Jason Woodward1-0/+1
duplicae "Get ..." translation that just had a newline
2006-10-30extended configuration apiJason Woodward1-12/+10
2005-11-05added --prompt|-p option to always prompt (Kanedaaa)Jason Woodward1-0/+1
2005-10-05various code changesJason Woodward1-3/+2
2005-09-28added slapt_remove_exclude() to compliment slapt_add_exclude()Jason Woodward1-0/+1
2005-08-27added --no-upgrade so that packages (such as the kernel) can be installed ↵Jason Woodward1-0/+1
side by side with an existing version. This disables the check for --install arguments that automatically selects the package for upgrade.
2005-08-24added slapt_remove_source to compliment slapt_add_sourceJason Woodward1-1/+2
2005-08-03added --retry [num] option to retry failed downloads (thanks to Adam Kennedy ↵Jason Woodward1-0/+1
and John Poplett)
2005-07-20data type, functions, and macros renamed with slapt_|SLAPT_ (libslapt)Jason Woodward1-22/+22
2005-06-29updated comments for api documentationJason Woodward1-18/+24
2005-05-10code formatting updatesJason Woodward1-20/+20
2005-02-21configuration sources now dynamically created instead of static arraysJason Woodward1-5/+4
2005-02-18progress_cb for the progress callback is now part of rc_config structure ↵Jason Woodward1-0/+2
(libslapt)
2005-02-16added public add_exclude() to configuration.c (libslapt)Jason Woodward1-0/+1
2005-01-16changed bool to BOOL_TJason Woodward1-12/+12
2005-01-16changed re_install unsigned int to boolJason Woodward1-1/+1
2005-01-16changed global_config unsigned integers to bool typedefJason Woodward1-11/+11
2005-01-10changed int's in typedefs to unsigned where applicableJason Woodward1-14/+14
2005-01-06added --remove-obsolete option for dist-upgrade (see FAQ #9 and #28)Jason Woodward1-0/+1
2005-01-01updated copyright dateJason Woodward1-1/+1
2004-11-27redifined typedefs, and changed transaction to transaction_tJason Woodward1-3/+2
2004-10-14changed --disable-dep-check to --no-dep, changed --no-dep to --ignore-depJason Woodward1-1/+1
2004-10-03moved clean_pkg_dir() from configuration.[ch] to package.[ch]Jason Woodward1-1/+0
2004-09-30added WORKINGDIR_TOKEN_LEN back in, used it instead of hardcoding ↵Jason Woodward1-1/+2
working_dir element of _configuration struct
2004-09-30removed unneeded checks for WORKINGDIR_TOKEN_LEN and EXCLUDE_TOKEN_LEN in ↵Jason Woodward1-2/+0
configuration parsing (thanks Peter Santoro)
2004-09-07fixed configuration overriding and parsing borkage (thanks to Sean Donner)Jason Woodward1-0/+2
2004-05-28moved parse_exclude() from configuration.c to package.cJason Woodward1-1/+0
2004-05-21moved create_dir_structure from configuration.[ch] to curl.[ch]Jason Woodward1-1/+0
2004-05-19code updates (added common.[ch], compartmentalized code, etc)Jason Woodward1-2/+0
2004-05-17code updatesJason Woodward1-1/+0
don't exclude package for upgrade when one of it's dependencies is present in the exclude list, but is already installed
2004-04-27--show-stats | -S to show download stats, inspired by Alexandre Zia ↵Jason Woodward1-0/+1
(alexandre@erbio.widesoft.com.br)
2004-02-02updated all dates to 2004 where applicableJason Woodward1-1/+1
2004-01-05updated pt_br translation, updated headers in .po filesJason Woodward1-0/+1
2003-12-18updated header files, including useful variable names in function definitionsJason Woodward1-9/+8
2003-12-11added --disable-dep-check to skip the dependency checkingJason Woodward1-0/+1
2003-11-23moved usage() and version_info() into src/main.cJason Woodward1-2/+0
2003-11-23moved head_request_data_callback and progress_callback to src/curl.cJason Woodward1-5/+0
2003-11-23moved progress_callback and head_request_data_callback to configuration.cJason Woodward1-0/+5
2003-11-22moved usage and version to configuration.c, moved head_request_data_callback ↵Jason Woodward1-0/+3
and progress_callback to action.c
2003-11-06removed --interactive optionJason Woodward1-1/+0
2003-11-02added --no-dep to ignore dep check failuresJason Woodward1-0/+1
2003-10-19added more buffer checks in config parserJason Woodward1-3/+5
2003-10-13multiple source support complete. Linuxpackage integration should be ↵Jason Woodward1-1/+7
working. slapt-getrc syntax has changed. Updated documentation appropriately.
2003-10-13implemented transaction engine, --interactive option to emulate old upgrade ↵Jason Woodward1-0/+1
procedure
2003-10-10--no-md5 option to ignore md5 check sum of downloaded packagesJason Woodward1-0/+1
2003-09-29added md5 checkingJason Woodward1-0/+1