[bb.utils] Make prunedir cope with symlinks to directories
[vuplus_bitbake] / ChangeLog
1 Changes in BitBake 1.8.x:
2         - Fix -f (force) in conjunction with -b
3         - Fix exit code for build failures in --continue mode
4         - Fix git branch tags fetching
5         - Change parseConfigurationFile so it works on real data, not a copy
6         - Handle 'base' inherit and all other INHERITs from parseConfigurationFile 
7           instead of BBHandler
8         - Fix getVarFlags bug in data_smart
9         - Optmise cache handling by more quickly detecting an invalid cache, only 
10           saving the cache when its changed, moving the cache validity check into
11           the parsing loop and factoring some getVar calls outside a for loop
12         - Cooker: Remove a debug message from the parsing loop to lower overhead
13         - Convert build.py exec_task to use getVarFlags
14         - Update shell to use cooker.buildFile
15         - Add StampUpdate event
16         - Convert -b option to use taskdata/runqueue
17         - Remove digraph and switch to new stamp checking code. exec_task no longer
18           honours dependencies
19         - Make fetcher timestamp updating non-fatal when permissions don't allow 
20           updates
21         - Add BB_SCHEDULER variable/option ("completion" or "speed") controlling
22           the way bitbake schedules tasks
23         - Add BB_STAMP_POLICY variable/option ("perfile" or "full") controlling
24           how extensively stamps are looked at for validity
25         - When handling build target failures make sure idepends are checked and
26           failed where needed. Fixes --continue mode crashes.
27         - Fix problems with recrdeptask handling where some idepends weren't handled
28           correctly.
29         - Work around refs/HEAD issues with git over http (#3410)
30         - Add proxy support to the CVS fetcher (from Cyril Chemparathy)
31         - Improve runfetchcmd so errors are seen and various GIT variables are exported
32         - Add ability to fetchers to check URL validity without downloading
33         - Improve runtime PREFERRED_PROVIDERS warning message
34         - Add BB_STAMP_WHITELIST option which contains a list of stamps to ignore when
35           checking stamp dependencies and using a BB_STAMP_POLICY of "whitelist"
36         - No longer weight providers on the basis of a package being "already staged". This
37           leads to builds being non-deterministic.
38         - Flush stdout/stderr before forking to fix duplicate console output
39         - Make sure recrdeps tasks include all inter-task dependencies of a given fn
40         - Add bb.runqueue.check_stamp_fn() for use by packaged-staging
41         - Add PERSISTENT_DIR to store the PersistData in a persistent
42           directory != the cache dir.
43         - Add md5 and sha256 checksum generation functions to utils.py
44         - Make sure Build Completed events are generated even when tasks fail
45         - Correctly handle '-' characters in class names (#2958)
46         - Make sure expandKeys has been called on the data dictonary before running tasks
47         - Correctly add a task override in the form task-TASKNAME.
48         - Revert the '-' character fix in class names since it breaks things
49         - When a regexp fails to compile for PACKAGES_DYNAMIC, print a more useful error (#4444)
50         - Allow to checkout CVS by Date and Time. Just add HHmm to the SRCDATE.
51         - Move prunedir function to utils.py and add explode_dep_versions function
52         - Raise an exception if SRCREV == 'INVALID'
53         - Fix hg fetcher username/password handling and fix crash
54         - Fix PACKAGES_DYNAMIC handling of packages with '++' in the name
55         - Rename __depends to __base_depends after configuration parsing so we don't
56           recheck the validity of the config files time after time
57         - Add better environmental variable handling. By default it will now only pass certain 
58           whitelisted variables into the data store. If BB_PRESERVE_ENV is set bitbake will use
59           all variable from the environment. If BB_ENV_WHITELIST is set, that whitelist will be
60           used instead of the internal bitbake one. Alternatively, BB_ENV_EXTRAWHITE can be used
61           to extend the internal whitelist.
62         - Perforce fetcher fix to use commandline options instead of being overriden by the environment
63
64 Changes in BitBake 1.8.10:
65         - Psyco is available only for x86 - do not use it on other architectures.
66         - Fix a bug in bb.decodeurl where http://some.where.com/somefile.tgz decoded to host="" (#1530)
67         - Warn about malformed PREFERRED_PROVIDERS (#1072)
68         - Add support for BB_NICE_LEVEL option (#1627)
69         - Sort initial providers list by default preference (#1145, #2024)
70         - Improve provider sorting so prefered versions have preference over latest versions (#768)
71         - Detect builds of tasks with overlapping providers and warn (will become a fatal error) (#1359)
72         - Add MULTI_PROVIDER_WHITELIST variable to allow known safe multiple providers to be listed
73         - Handle paths in svn fetcher module parameter
74         - Support the syntax "export VARIABLE"
75         - Add bzr fetcher
76         - Add support for cleaning directories before a task in the form:
77           do_taskname[cleandirs] = "dir"
78         - bzr fetcher tweaks from Robert Schuster (#2913)
79         - Add mercurial (hg) fetcher from Robert Schuster (#2913)
80         - Fix bogus preferred_version return values
81         - Fix 'depends' flag splitting
82         - Fix unexport handling (#3135)
83         - Add bb.copyfile function similar to bb.movefile (and improve movefile error reporting)
84         - Allow multiple options for deptask flag
85         - Use git-fetch instead of git-pull removing any need for merges when 
86           fetching (we don't care about the index). Fixes fetch errors.
87         - Add BB_GENERATE_MIRROR_TARBALLS option, set to 0 to make git fetches 
88           faster at the expense of not creating mirror tarballs.
89         - SRCREV handling updates, improvements and fixes from Poky
90         - Add bb.utils.lockfile() and bb.utils.unlockfile() from Poky
91         - Add support for task selfstamp and lockfiles flags
92         - Disable task number acceleration since it can allow the tasks to run 
93           out of sequence
94         - Improve runqueue code comments
95         - Add task scheduler abstraction and some example schedulers
96         - Improve circular dependency chain debugging code and user feedback
97         - Don't give a stacktrace for invalid tasks, have a user friendly message (#3431)
98         - Add support for "-e target" (#3432)
99         - Fix shell showdata command (#3259)
100         - Fix shell data updating problems (#1880)
101         - Properly raise errors for invalid source URI protocols
102         - Change the wget fetcher failure handling to avoid lockfile problems
103         - Add git branch support
104         - Add support for branches in git fetcher (Otavio Salvador, Michael Lauer)
105         - Make taskdata and runqueue errors more user friendly
106         - Add norecurse and fullpath options to cvs fetcher
107         - bb.utils.prunedir can cope with symlinks to directories without exceptions
108
109 Changes in Bitbake 1.8.8:
110         - Rewrite svn fetcher to make adding extra operations easier 
111           as part of future SRCDATE="now" fixes
112           (requires new FETCHCMD_svn definition in bitbake.conf)
113         - Change SVNDIR layout to be more unique (fixes #2644 and #2624)
114         - Import persistent data store from trunk
115         - Sync fetcher code with that in trunk, adding SRCREV support for svn
116         - Add ConfigParsed Event after configuration parsing is complete
117         - data.emit_var() - only call getVar if we need the variable
118         - Stop generating the A variable (seems to be legacy code)
119         - Make sure intertask depends get processed correcting in recursive depends
120         - Add pn-PN to overrides when evaluating PREFERRED_VERSION
121         - Improve the progress indicator by skipping tasks that have 
122           already run before starting the build rather than during it
123         - Add profiling option (-P)
124         - Add BB_SRCREV_POLICY variable (clear or cache) to control SRCREV cache
125         - Add SRCREV_FORMAT support
126         - Fix local fetcher's localpath return values
127         - Apply OVERRIDES before performing immediate expansions
128         - Allow the -b -e option combination to take regular expressions
129         - Add plain message function to bb.msg
130         - Sort the list of providers before processing so dependency problems are 
131           reproducible rather than effectively random
132         - Add locking for fetchers so only one tries to fetch a given file at a given time
133         - Fix int(0)/None confusion in runqueue.py which causes random gaps in dependency chains
134         - Fix handling of variables with expansion in the name using _append/_prepend
135           e.g. RRECOMMENDS_${PN}_append_xyz = "abc"
136         - Expand data in addtasks
137         - Print the list of missing DEPENDS,RDEPENDS for the "No buildable providers available for required...."
138           error message.
139         - Rework add_task to be more efficient (6% speedup, 7% number of function calls reduction)
140         - Sort digraph output to make builds more reproducible
141         - Split expandKeys into two for loops to benefit from the expand_cache (12% speedup)
142         - runqueue.py: Fix idepends handling to avoid dependency errors
143         - Clear the terminal TOSTOP flag if set (and warn the user)
144         - Fix regression from r653 and make SRCDATE/CVSDATE work for packages again
145
146 Changes in Bitbake 1.8.6:
147         - Correctly redirect stdin when forking
148         - If parsing errors are found, exit, too many users miss the errors
149         - Remove supriours PREFERRED_PROVIDER warnings
150
151 Changes in Bitbake 1.8.4:
152         - Make sure __inherit_cache is updated before calling include() (from Michael Krelin)
153         - Fix bug when target was in ASSUME_PROVIDED (#2236)
154         - Raise ParseError for filenames with multiple underscores instead of infinitely looping (#2062)
155         - Fix invalid regexp in BBMASK error handling (missing import) (#1124)
156         - Don't run build sanity checks on incomplete builds
157         - Promote certain warnings from debug to note 2 level
158         - Update manual
159
160 Changes in Bitbake 1.8.2:
161         - Catch truncated cache file errors
162         - Add PE (Package Epoch) support from Philipp Zabel (pH5)
163         - Add code to handle inter-task dependencies
164         - Allow operations other than assignment on flag variables
165         - Fix cache errors when generation dotGraphs
166
167 Changes in Bitbake 1.8.0:
168         - Release 1.7.x as a stable series
169
170 Changes in BitBake 1.7.x:
171         - Major updates of the dependency handling and execution
172           of tasks. Code from bin/bitbake replaced with runqueue.py
173           and taskdata.py
174         - New task execution code supports multithreading with a simplistic
175           threading algorithm controlled by BB_NUMBER_THREADS
176         - Change of the SVN Fetcher to keep the checkout around
177           courtsey of Paul Sokolovsky (#1367)
178         - PATH fix to bbimage (#1108)
179         - Allow debug domains to be specified on the commandline (-l)
180         - Allow 'interactive' tasks
181         - Logging message improvements
182         - Drop now uneeded BUILD_ALL_DEPS variable
183         - Add support for wildcards to -b option
184         - Major overhaul of the fetchers making a large amount of code common
185           including mirroring code
186         - Fetchers now touch md5 stamps upon access (to show activity)
187         - Fix -f force option when used without -b (long standing bug)
188         - Add expand_cache to data_cache.py, caching expanded data (speedup)
189         - Allow version field in DEPENDS (ignored for now)
190         - Add abort flag support to the shell
191         - Make inherit fail if the class doesn't exist (#1478)
192         - Fix data.emit_env() to expand keynames as well as values
193         - Add ssh fetcher
194         - Add perforce fetcher
195         - Make PREFERRED_PROVIDER_foobar defaults to foobar if available
196         - Share the parser's mtime_cache, reducing the number of stat syscalls
197         - Compile all anonfuncs at once! 
198           *** Anonfuncs must now use common spacing format ***
199         - Memorise the list of handlers in __BBHANDLERS and tasks in __BBTASKS
200           This removes 2 million function calls resulting in a 5-10% speedup
201         - Add manpage
202         - Update generateDotGraph to use taskData/runQueue improving accuracy
203           and also adding a task dependency graph
204         - Fix/standardise on GPLv2 licence
205         - Move most functionality from bin/bitbake to cooker.py and split into
206           separate funcitons
207         - CVS fetcher: Added support for non-default port
208         - Add BBINCLUDELOGS_LINES, the number of lines to read from any logfile
209         - Drop shebangs from lib/bb scripts
210
211 Changes in Bitbake 1.6.0:
212         - Better msg handling
213         - COW dict implementation from Tim Ansell (mithro) leading
214           to better performance
215         - Speed up of -s
216
217 Changes in Bitbake 1.4.4:
218         - SRCDATE now handling courtsey Justin Patrin
219         - #1017 fix to work with rm_work
220
221 Changes in BitBake 1.4.2:
222         - Send logs to oe.pastebin.com instead of pastebin.com
223           fixes #856
224         - Copy the internal bitbake data before building the
225           dependency graph. This fixes nano not having a
226           virtual/libc dependency
227         - Allow multiple TARBALL_STASH entries
228         - Cache, check if the directory exists before changing
229           into it
230         - git speedup cloning by not doing a checkout
231         - allow to have spaces in filenames (.conf, .bb, .bbclass)
232
233 Changes in BitBake 1.4.0:
234         - Fix to check both RDEPENDS and RDEPENDS_${PN}
235         - Fix a RDEPENDS parsing bug in utils:explode_deps()
236         - Update git fetcher behaviour to match git changes
237         - ASSUME_PROVIDED allowed to include runtime packages
238         - git fetcher cleanup and efficency improvements
239         - Change the format of the cache
240         - Update usermanual to document the Fetchers
241         - Major changes to caching with a new strategy
242           giving a major performance increase when reparsing
243           with few data changes
244
245 Changes in BitBake 1.3.3:
246         - Create a new Fetcher module to ease the
247           development of new Fetchers.
248           Issue #438 fixed by rpurdie@openedhand.com
249         - Make the Subversion fetcher honor the SRC Date
250           (CVSDATE).
251           Issue #555 fixed by chris@openedhand.com
252         - Expand PREFERRED_PROVIDER properly
253           Issue #436 fixed by rprudie@openedhand.com
254         - Typo fix for Issue #531 by Philipp Zabel for the
255           BitBake Shell
256         - Introduce a new special variable SRCDATE as
257           a generic naming to replace CVSDATE.
258         - Introduce a new keyword 'required'. In contrast
259           to 'include' parsing will fail if a to be included
260           file can not be found.
261         - Remove hardcoding of the STAMP directory. Patch
262           courtsey pHilipp Zabel
263         - Track the RDEPENDS of each package (rpurdie@openedhand.com)
264         - Introduce BUILD_ALL_DEPS to build all RDEPENDS. E.g
265           this is used by the OpenEmbedded Meta Packages.
266           (rpurdie@openedhand.com).
267
268 Changes in BitBake 1.3.2:
269         - reintegration of make.py into BitBake
270         - bbread is gone, use bitbake -e
271         - lots of shell updates and bugfixes
272         - Introduction of the .= and =. operator
273         - Sort variables, keys and groups in bitdoc
274         - Fix regression in the handling of BBCOLLECTIONS
275         - Update the bitbake usermanual
276
277 Changes in BitBake 1.3.0:
278         - add bitbake interactive shell (bitbake -i)
279         - refactor bitbake utility in OO style
280         - kill default arguments in methods in the bb.data module
281         - kill default arguments in methods in the bb.fetch module
282         - the http/https/ftp fetcher will fail if the to be 
283           downloaded file was not found in DL_DIR (this is needed
284           to avoid unpacking the sourceforge mirror page)
285         - Switch to a cow like data instance for persistent and non
286           persisting mode (called data_smart.py)
287         - Changed the callback of bb.make.collect_bbfiles to carry
288           additional parameters
289         - Drastically reduced the amount of needed RAM by not holding
290           each data instance in memory when using a cache/persistent
291           storage
292
293 Changes in BitBake 1.2.1:
294         The 1.2.1 release is meant as a intermediate release to lay the
295         ground for more radical changes. The most notable changes are:
296
297         - Do not hardcode {}, use bb.data.init() instead if you want to
298           get a instance of a data class
299         - bb.data.init() is a factory and the old bb.data methods are delegates
300         - Do not use deepcopy use bb.data.createCopy() instead.
301         - Removed default arguments in bb.fetch
302