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