source: pbconf/devel/ProjectBuilder/pbcl @ 1607

Last change on this file since 1607 was 1607, checked in by bruno, 7 years ago
  • ChageLog? updated for 0.12.1 publication
  • Adds support for Mageia 2 VMs and VEs
File size: 17.4 KB
Line 
1# $Id$
2
3PERL-PROJECTBUILDER CHANGES
4
5devel (2030-01-01)
6- TBD
7
80.12.1 (2012-05-28)
9- Adds pbstoponerr option in conf file to allow to overwrite the default which is back to not stopping on errors as it perturbates VE and VM build for themoment, as not all commands are expected to succeed systematically. (Bruno Cornec)
10- Change urpmi.update call from /usr/bin (consolehelper) to /usr/sbin (urpmi) as that's what we have in VE. (Bruno Cornec)
11- Fix mageia 1 and 2 deps for VE (Bruno Cornec)
12- Adds option pbshowsudo (false by default) to check whether we display the detail of sudo commands (to match security requiremetns) or not (to have a nicer output) (Bruno Cornec)
13- In VE.pm fix modes of the chroot after the snapshot phase detection to avoid error which make the code die (Bruno Cornec)
14- Improve system cmd display in Distribution.pm for deps analysis (Bruno Cornec)
15- pb_system is back to 3 params, as the previously undocumented "mayfail" 3rd parameter provides what the 4th was dded for. callers adapted in relationship. Also improves error message displayed (Bruno Cornec)
16- Fix another bug in pb_check_req on the default value used with a || where an undef wasn't different from a bad integer. (Bruno Cornec)
17- Use pb_cjeck_req for all commands called in the VE for its setup, so it can be used correctly in a secured environement with a sudoers conf file (Cf pbtest) (Bruno Cornec)
18- Adds support for the PBVCSOPT env var to pass cli options to the VCS command. Example is authentication method for SVN as in pbtest. (Bruno Cornec)
19- Fix pb_syntax, where a call with an exit of 0 was seen as false and thus lead to a value of -1. Now pb -h returns true (Bruno Cornec)
20- Move PBPROJ env var setuo  from Env.pm to Conf.pm to have it earlier available for some calls with less context. (Bruno Cornec)
21- Fix a bug when (ve|vm|rm)path->ENV(PBPROJ) was undefined, and expand its path when defined to support that type of definition in conf files (pbtest does it) (Bruno Cornec)
22- getconf now loads more conf files, and calls cms_compliant (Bruno Cornec)
23- Use new pbgpgcheck option to control whether we enable gpgcheck in the repo script. (Eric Anderson)
24- Use new projcomponent value to specify which component we are building for -- most things probably aren't contrib (for deb based distros) (Eric Anderson)
25- Tolerate the file: and flat: schemes -- they were tolerated in some places but not others. (Eric Anderson)
26- Add a new option pbusesshagent in pb.conf to allow the user to specify whether he wants to use his existing SSH environement and agent, or if he prefers to create a new key pair for building. (Bruno Cornec)
27- newv(e|m) doesn't require execution of cms2build before being available. (Bruno Cornec)
28- Add git support in pb_vcs_up, pb_vcs_checkin and pb_vcs_add and Improve git support for pb_vcs_get_uri (Eric Anderson)
29- VE.pm: Verify that the proxy variables are passed through if we are using sudo. (Eric Anderson)
30- Adds Scientific Linux support . (Eric Anderson)
31- Add case where centos versioning include minor since centos makes major changes in minor releases. (Eric Anderson)
32- Fix typo in oracle linux regex. (Eric Anderson)
33- Proposes min dependencies separately for centos-5.2, 5.6 others just match that set. (Eric Anderson)
34- Add next ubuntu codename. (Eric Anderson)
35- Add new pb_pbos_to_keylist function that generates the keys that should be used for looking up filter filenames or keys into the hash-maps. New function will generate 5.m, for all m in [0,n] for version 5.n of some OS. Useful because minor versions are usually similar. Use it in distro_get_param, simplifying the function and making it more powerful. (Eric Anderson)
36- add auto-agree-with-licenses for opensuse, other failures on install can occur. (Eric Anderson)
37- Fix bug, if we install with yum, put the repo in the yum location.  If we install with zypper, put it in the zypper location. Otherwise complain that we don't know what to do with the file. (Eric Anderson/Bruno Cornec)
38- Run bootstrapping under linux32 (Bruno changed that to setarch) if arch is i386 and host is x86_64/amd64 so that it gets the architecture right. (Eric Anderson)
39- multiple improvements to distro dep lists. (Eric Anderson)
40- document addrepo. (Eric Anderson)
41- Fix the code to check to see if a deb package is installed.  (Eric Anderson)
42- sudo does not pass through the DEBIAN_FRONTEND variable; use env to make sure it is set.  Also change from --force-yes to --allow-unauthenticated (Eric Anderson)
43- Make sure to apply the ftp/http proxy when installing dependencies. Also add hack to try the install twice if it fails the first time. (Eric Anderson)
44- Handle multi-line entries in debian control files. (Eric Anderson)
45- Add a parameter to pb_system that allows commands to fail even if pb_stop_on_error is set. (Eric Anderson)
46- Add in pid to the error output from pb_system for help in tracking down which parent ran the command. (Eric Anderson)
47- pb_conf_init is called at low level on the default project to avoid PBPROJ to be undefined and creatin lots of error msgs. pbdistrocheck works again with it. (Bruno Cornec)
48- Fix sbx2setupvm in order to call pb_conf_init correctly at start of the pbinit script. (Bruno Cornec)
49- Document new ftp_proxy and http_proxy options. (Eric Anderson)
50- Document the rbsmirrorsrv option (already supported, not documented). (Eric Anderson)
51- Document that sshlogin and sshport are now optional parameters. (Eric Anderson)
52- Use confess so when failing to get a parameter we get a stack trace. (Eric Anderson)
53- Adding the internal function pb_distro_compare_repo to avoid code duplication between apt and yum repos treatment (Bruno Cornec)
54- add pb_path_expand to do the path expansion for config values. (Eric Anderson)
55- Print out all sudo'd commands if we haven't already so people know what they're typing their passwords in for. (Eric Anderson)
56- verify that we don't try to launch a mips ve on x86_64 (previous check only prevented x86_64 on ix86). (Eric Anderson)
57- Make sure to create the path to the VE before we try to bootstrap it. (Eric Anderson)
58- Use new Global::pb_stop_on_error variable to decide whether we should abort on an error. (Eric Anderson)
59- Skip dependencies that are all whitespace since that leads to errors when running dpkg -L <whitespace> (Eric Anderson)
60- Add possibility to use a PREFIX variable for Makefie.PL for pb-module (Eric Anderson)
61- Conf.pm largely rewritten to cache all conf files into a local $h hash in which conf files are added in reverse order. (Bruno Cornec)
62- pb_vcs_add and pb_vcs_up now support a list of dirs/files as second parameter. (Bruno Cornec)
63- pb_mkdir_p now returns the return value of mkpath. (Bruno Cornec)
64- Split CMS functions in 2 parts, one lowlevel reusable outside of pb in VCS.pm, the remaining stay in CMS.pm, part of pb. (Bruno Cornec)
65- Provides a new pb_get_osrelease function similar to uname -r. (Bruno Cornec)
66- patch command and option are now variables in pb.conf under ospatchcmd and ospatchopt (Bruno Cornec)
67- Adds OEL support for build (Bruno Cornec)
68- Adds support for Fedora 15 and 16 (tested) and RHEL 6 (to be tested) for VE (Bruno Cornec)
69- Create a new VE.pm module to host pb_ve_launch (from pb code now reusable for pbmkbm) (Bruno Cornec)
70- Adds codename for debian 7 and Ubuntu 11.10 (Bruno Cornec)
71- Fix #103: ProjectBuilder::Env is needed by rpmbootstrap so should be under pb-modules (Bruno Cornec)
72
730.11.3 (2011-05-25)
74- Working VE for opensuse-11.4 (Bruno Cornec)
75- Arch Linux doesn't have a version. It's like gentoo (Bruno Cornec)
76- Adds RPM signature support and doc (Bruno Cornec)
77
780.11.2 (2011-03-12)
79- Adds mdkonline as a dependency for Mandriva VE builds (at least afetr 2010.1) to have urpmi.update (Bruno Cornec)
80- Fix rpm repo installation for pb (missing arch) (Bruno Cornec)
81- Add support for sources.list pb repo installation for deb based distro. Fix for #81. (Bruno Cornec)
82- No repo provided for CentOS so file install. Fix for #81. (Bruno Cornec)
83- Some more fixes for full path commands with sudo (older rhel) (Bruno Cornec)
84- Fix sudo calls for sles/suse with full path (Bruno Cornec)
85
860.11.1 (2011-02-26)
87- Document [web]sshdir|port|login|host (Bruno Cornec)
88- tmout param is optional and now handled and documented as such (Bruno Cornec)
89- rmntpcmd, vmhost, vmmem, vmntpcmd and vmsize have OS keys and not project keys. Fixed in doc and code.  (Bruno Cornec)
90- Mageia distributions are now working wirh pb (Bruno Cornec)
91- pb_mkdir_p doesn't return anything anymore. Test of return removed. (Bruno Cornec)
92- Add debian 6.0 build support and VMs (Bruno Cornec)
93- use --no-suggests for urpmi to allow for minimal chroot build (Bruno Cornec)
94- Add full path names on sudo  (Bruno Cornec)
95- Fix pb_changelog with test for correct pb hash values which were changed previously (Bruno Cornec)
96- Detail security aspects in pb, especially for RM setup with sudo (to be improved) in file SECURITY in pb-doc (Bruno Cornec)
97- Adds codenames for Debian 6.0 and Ubuntu 11.04 (Bruno Cornec)
98- Introduction of a new hash $pbos to manage all os related info through a single data structure. All functions reviewed accordingly. Externally transparent, hopefully, but much cleaner code as a consequence. (Bruno Cornec)
99- Adds support for Remote Machines (RM). (Bruno Cornec)
100- removedot only applies to the extension generated not to the rest of the distro ver (so filters have the right name, ...) (Bruno Cornec)
101
1020.10.1 (2011-01-13)
103- Prepare HP-UX port (Bruno Cornec)
104- redhat distros extension set by default to rh (Bruno Cornec)
105- Adds a global variables VERSION and REVISION for version management (Bruno Cornec)
106- Module Version.pm move to pb-modules due to that (Bruno Cornec)
107- Fix pbdistrocheck install command printing (Bruno Cornec)
108- Fix mandralinux old distro build in pb.conf (Note only non symlink release files are important) (Bruno Cornec)
109- Avoid File::MimeInfo hard requirement. Only abort if not found when needed. (Bruno Cornec)
110- Fix a bug in test modules when using Test simple only (Bruno Cornec)
111- Avoids to force a dep on Test::More. Just use Test and a fake test if Test::More is not available. (Bruno Cornec)
112- pb_system fixed to support parallel calls (Bruno Cornec)
113- Update of pb.conf.pod documentation for all changes made (Bruno Cornec)
114- Adds params to pb_distro_setuprepo to support generic family/os templates (Bruno Cornec)
115- Use new pb.conf variable (ospkg and osrepo for pkg install) (Bruno Cornec)
116- Adds function pb_distro_setuposrepo to setup pb install repo in case of package install and adds a default pbinstalltype for projects as pkg (Bruno Cornec)
117- Use pb_check_req to avoid hardcoded path of needed commands (Bruno Cornec)
118- Fix #70 by adding update commands updatevm|ve and fixes for gentoo and debian (Bruno Cornec)
119- Fix a bug in pb_system when using redirctions in the command (Bruno Cornec)
120- Rename previous option osupd into the more correct osins, and add a real osupd param to support distribution update commands (Bruno Cornec)
121- Remove dependency on Mail::Sendmail to where it's really needed (part of Log, not used yet, and annouce). In particular this removes one non std dep for VE/VM build. (Bruno Cornec)
122- Fix #66: Adds log management (contribution from joachim). Starting point, as some more work has to be done around it. (Bruno Cornec)
123- Increase number of tests for Base and fix a bug on pb_get_uri (Bruno Cornec)
124- Adds function pb_distro_getlsb and make pbdistrocheck fully lsb_release compatible (Bruno Cornec)
125- Adds a new optional "os" parameter for pb_distro_get_param (upper family such as linux) (Bruno Cornec)
126- Adds new feature: possibility to deliver in multiple variable dirs, and not just / and test (Bruno Cornec)
127- Force printing on stdout in pb_log if 0 level (Bruno Cornec)
128- Add support for LSB 3.2 (Bruno Cornec)
129- remove all dots in version when asked to (Bruno Cornec)
130- various rpmlint and lintian fixes (Bruno Cornec)
131- Adds ebuild version for pb gentoo packages (Bruno Cornec)
132
1330.9.10 (2010-06-07)
134- Add support for Ubuntu 10.04 natively and with debootstrap (universe repo needed) (Bruno Cornec)
135- Project-Builder.org is licensed under the GPL v2 for the moment. (Bruno Cornec)
136- Remove the useless vemindep option and fix ospkgdep accordingly (Bruno Cornec)
137- Adds rbsopt parameter + doc to allow for passing options to rpmbootstrap such as -k now by default. (Bruno Cornec)
138- Update perl modules versions (Date-Manip is now in 6.x, still using 5.x at the moment) (Bruno Cornec)
139
1400.9.9 (2010-05-01)
141- Fix a bug in the analysis of Build-Requires (middle packages were missed) (Bruno Cornec)
142- Improve conf when starting from scratch (pbproj undefined) (Bruno Cornec)
143- Improves debian build (tab/space were mixed) (Bruno Cornec)
144- Adds Centos support for setup of VE (Bruno Cornec)
145- pbdistrocheck now has a man page (Bruno Cornec)
146- Split function pb_env_init and add function pb_env_init_pbrc needed for rpmbootstrap (Bruno Cornec)
147- Adds function pb_check_requirements and use it in pb (Bruno Cornec)
148- pb_distro_get_param now can expand some variables before returning a value (Bruno Cornec)
149- fedora-12 package list updated (Bruno Cornec)
150- Rename options: veconf => rbsconf, ve4pi => rbs4pi, vepkglist => vemindep (Bruno Cornec)
151- new pb_get_postinstall generic function for rinse and rpmbootstrap (Bruno Cornec)
152- verebuild, ventp/vmntp are now optional (Bruno Cornec)
153- vetmout removed (Bruno Cornec)
154- Fixes to support ia64 chroot with centos5 - ongoing (Bruno Cornec)
155
1560.9.8 (2009-10-24)
157- Removes dependency on GNU install to be more portable (Bruno Cornec)
158- Improves setupvm for RHEL 3 (Bruno Cornec)
159- Add support for Fedora 12, Mandriva 2010.0, OpenSuSE 11.2, Ubuntu 9.10 (Bruno Cornec)
160- Do not add conf files if already present in the list (changing pbconffiles into a hash for that to still keep order as this is mandatory) (Bruno Cornec)
161- Adds Solaris port, Solaris build files, generation of Solaris build file skeleton (Bruno Cornec)
162- Externalize in /etc/pb/pb.conf all distribution dependant information formely in Distribution.pm (Bruno Cornec)
163- Adds option support for pbdistrocheck (-v and -d)
164
1650.9.7.1 (2009-07-05)
166- Fix a critical bug on pb, where a module was loaded optionaly with use instead of require (prevents update of VMs) (Bruno Cornec)
167
1680.9.7 (2009-07-04)
169- pb_distro_init now returns a 7th paramater which is the arch, useful for pbdistrocheck (Bruno Cornec)
170- pb_distro_init accepts now a third parameter (arch) in order to force the setup of the update command for VEs (Bruno Cornec)
171- pb_get_arch placed lower in the modules tree and used everywhere uname was used (Bruno Cornec)
172- Adds Asianux support to pb for MondoRescue official packages support (Bruno Cornec)
173
1740.9.6 (2009-02-19)
175- Add support for addition of repository on the fly at build time with addrepo (Bruno Cornec)
176- Fix debian build deps computation and installation (Bruno Cornec)
177- Add support for VE using rinse (tested), mock (coded) and chroot (tested), schroot (planned) (Bruno Cornec)
178- Improved centos support (Bruno Cornec)
179- Differentiate between Scripts for VE and VM with 2 tags (Bruno Cornec)
180- Have a working newve, setupve and cms2ve sequence for rinse and centos 4 and 5 at least (Bruno Cornec)
181- Remove the external locale dependece to use the one provided by perl (Bruno Cornec)
182- Adds GIT support for schroot (Bruno Cornec)
183- Adds SOCKS support for all VCS commands by adding a new pbsockscmd option in .pbrc (tested with git access behind proxy) (Bruno Cornec)
184- Improve PATH variable on new SuSE distro so that yast2 is found (Bruno Cornec)
185- Remove the suffix from the rpm changelog file as per fedora rules (Bruno Cornec)
186- Fix a bug in conf file handling when tag is using a '.' which wasn't supported by the regexp (Bruno Cornec)
187
1880.9.5 (2008-12-09)
189- pb_get_distro => pb_distro_get for homogeneity (Bruno Cornec)
190- pb now uses pb_distro_installdeps in VM/VE setup (Bruno Cornec)
191- Adds function pb_distro_installdeps to automatically istall dependencies on distro before building (Bruno Cornec)
192- Adds pb_distro_only_deps_needed to compute the packages in a list whose installation is really needed (Bruno Cornec)
193- change pb_distro_init interface and add a 6th parameter which is the update CLI to use for that distro (Bruno Cornec)
194- Add support for RHAS 2.1 to pb as rhel-2.1 (Bruno Cornec)
195
1960.9.4 (2008-09-29)
197- Debian packages are now working - Fix #26 and #33 (Bruno Cornec/Bryan Gartner)
198- Add support for specific naming conventions such as perl modules - Fix #32 (Bruno Cornec)
199- Add a pb_set_content function (Bruno Cornec)
200- Fix CVS export function to also use tags passed in param (Bruno Cornec)
201
2020.9.3 (2008-08-07)
203- pb_conf_init introduced to allow projects using pb functions to setup the PBPROJ variable correctly (Bruno Cornec)
204- New parameters for pb_system: mayfail and quiet (Bruno Cornec)
205- Working patch support added to pb - tested with buffer - Fix #28 (Bruno Cornec)
206- all global variables are prefixed with pb (Bruno Cornec)
207- Use of pb_display and pb_display_init added (Bruno Cornec)
208- announce is now supported in pb (Bruno Cornec)
209
2100.9.2 (2008-05-13)
211- Fix a bug in pb_conf_get_fromfile_if (using last instead of next) (Bruno Cornec)
212- Fix #24 error in analysing filteredfiles (Bruno Cornec)
213- Fix Ubuntu issue on distribution detection (Bruno Cornec)
214- Move the pb_env_init function to a separate module to allow pbinit usage (Bruno Cornec)
215- Adds support for a build system conf file under $vmpath/.pbrc or $vepath/.pbrc (Bruno Cornec)
216
2170.9.1 (2008-04-25)
218- Creation of this project based on a split of functions from pb to support also dploy.org (Bruno Cornec)
219- Documentation of functions (Bruno Cornec)
220- Availability of generic syntax functions, tempfile functions, and conf file functions (Bruno Cornec)
Note: See TracBrowser for help on using the repository browser.