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