Commit Graph

666 Commits

Author SHA1 Message Date
Chris Torek
eaa51487cf add magic and defaults for reference clones
If ${BUILD_ROOT}/.git-ref-path exists, set $GIT_REF_PATH
to its contents.  Otherwise default to looking in /build/gitrefs
(feel free to adjust this default).

While we're at it, ignore .git-ref-path and .profile-setting
files since they are per-build-tree and should never be
commited to this repository.
2016-03-24 23:33:11 -07:00
Chris Torek
d6813ce8e3 add option for using reference clones
Use $GIT_REF_PATH, if it is set, to look for reference
clones when doing repo checkouts.

Reference clones are much faster.  In a new, empty build
tree, doing a full clone in my test took over an hour
of real time (1:03:14.36).  Switching to using --reference,
referring to an existing build tree's _BE directory, took
under 3-and-a-half minutes (3:28.50) in one test, and about
5 minutes in another.  That is, about 12 to 18 times
faster.  (Details will depend on your network speed.)

User and system CPU time also dropped dramatically:
    user=448.977 sys=536.946 seconds (no reference)
    user=132.858 sys= 20.595 seconds (first ref test)
    user=173.599 sys=25.108 (second, 5 minute, clone).

To use this effectively we will need to provide a
location for base reference clones.  They should
probably be updated frequently, e.g., via cron jobs;
a stale reference still works but becomes less effective.
2016-03-24 23:24:15 -07:00
Chris Torek
51fba42610 checkout: minor cleanups
Remove a tiny bit of duplicate code before
adding reference clone option.
2016-03-24 22:39:10 -07:00
Vaibhav Chauhan
c45a3bcb57 Made some changes to make code a little less confusing. 2016-03-24 21:28:41 -07:00
Vaibhav Chauhan
f3def597c3 Revert "hopefully this will clone git repo a bit faster."
This reverts commit f2612e9850.
2016-03-24 20:36:46 -07:00
Vaibhav Chauhan
39c209c563 fixed save builds 2016-03-24 20:20:19 -07:00
Suraj Ravichandran
ad53aa0087 Missing e call 2016-03-24 19:10:56 -07:00
Suraj Ravichandran
2f4ada2807 Do not hardcode MILESTONE in version string by default as it results in a wrong download target directory. 2016-03-24 17:33:57 -07:00
Vaibhav Chauhan
c9859fb237 corrections for saving build items, removed NANO_LABEL env variable. 2016-03-24 17:08:06 -07:00
Vaibhav Chauhan
ea0c364b7d this saves build env
ticket:14269
2016-03-24 15:47:15 -07:00
Vaibhav Chauhan
f2612e9850 hopefully this will clone git repo a bit faster. 2016-03-24 15:20:01 -07:00
William Grzybowski
671a2a01d2 There is not reason to run migrations on both base-os and freenasUI 2016-03-24 16:02:02 -03:00
William Grzybowski
4973994d3f Build freenas/freenas-pkgtools port 2016-03-24 15:07:21 -03:00
William Grzybowski
5399f49a67 Do not install pkgtools manually, its now a port 2016-03-24 18:48:42 +01:00
William Grzybowski
cefd4b94ef Build freenas-pkgtools port 2016-03-24 18:48:11 +01:00
Jakub Klama
952f59276c Fix /usr/local/etc symlink 2016-03-24 16:42:41 +01:00
Jakub Klama
168746aa13 Add freenas/py-wbclient to repos.pyd, build jail and ports list. 2016-03-24 14:24:48 +01:00
Suraj Ravichandran
9b58580071 Make /usr/local/etc a symlink of /etc/local in 9.10
Ticket: #14223
2016-03-24 02:26:14 -07:00
Jordan Hubbard
4a3291777c Add dns/bind-tools to 9.10 and 10 - people miss their nslookup and dig commands,you evil FreeBSD tool-changers! 2016-03-23 13:33:53 -07:00
Josh Paetzel
21f3fb6a20 Add grafana2 to TrueNAS 2016-03-23 08:46:08 -05:00
Jordan Hubbard
27485253ba Yeah, no, say goodbye to vm-bhyve. It's just too much of a mismatch. 2016-03-22 19:28:33 -07:00
FreeNAS-10 Builder
aba8d8259a Try vm-bhyve for a short competitive bake-off. If it is easier than
iohyve, I'll nuke one and discuss the transition in the release notes
(and forum) since it's easier to change now before folks get too much
traction with either one.
2016-03-22 16:34:39 -07:00
Chris Torek
4da4b6f680 add zfsd
FreeNAS 9.10 uses zfsd.
2016-03-22 13:38:43 -07:00
William Grzybowski
ffcc6c983d Do not exclude /usr/local/man from base-os package 2016-03-22 13:27:57 -03:00
Suraj Ravichandran
c4f29aa31e Make post-to-download.py use the correct DOWNLOAD_TARGETDIR instead of remaking a wrong one. 2016-03-21 22:08:36 -07:00
Suraj Ravichandran
1ae9b9cc4e Fix download paths for non master/stable type releases. 2016-03-21 21:33:15 -07:00
FreeNAS-10 Builder
81063c8780 Add a bit more in the way of release notes. 2016-03-21 21:19:31 -07:00
Suraj Ravichandran
69a264e75f Fix release.pyd and upgrade.pyd derpiness 2016-03-21 20:24:10 -07:00
Suraj Ravichandran
7ee0a59474 Fix variable names in env.pyd for download_basedir. 2016-03-21 19:35:08 -07:00
Suraj Ravichandran
6750d02dfc Fix a bunch of variable naming things 2016-03-21 17:27:27 -07:00
Suraj Ravichandran
e2d53ebe70 A somewhat hacky way to make sure the KEYFILE PASSPHRASE gets across to the update server in the right way.
Will try to find a better solution post this 9.10 release.
2016-03-21 15:59:18 -07:00
Alexander Motin
7b10ebb2a0 Remove /usr/share/examples from installer ISO image. 2016-03-22 00:31:13 +02:00
Erin Clark
6db78bcb68 Enforce using python3 in the create_redmine_changelog.py file 2016-03-21 15:10:38 -07:00
Vaibhav Chauhan
c914a31bf1 Revert "Time has come to cut a branch 9.10-STABLE"
This reverts commit 0b04a51c4a.
2016-03-21 14:39:32 -07:00
Erin Clark
0a4af985b6 Add create_redmine_changelog.py to the new build system's build
directory
2016-03-21 14:39:20 -07:00
Vaibhav Chauhan
0b04a51c4a Time has come to cut a branch 9.10-STABLE 2016-03-21 14:14:51 -07:00
Jordan Hubbard
8c9afed6b5 Update ReleaseNotes
Put in some more verbiage and clean up existing verbiage.
2016-03-21 13:43:24 -07:00
Jordan Hubbard
636b883632 Update README.md
Change this from the FreeNAS 10 version
2016-03-21 13:38:16 -07:00
Vaibhav Chauhan
4580b93c5f FreeNAS ReleaseNotes, 1st pass. 2016-03-21 10:51:36 -07:00
Jakub Klama
88af09164b Bring /usr/share/examples back. 2016-03-21 17:35:06 +01:00
Vaibhav Chauhan
424053b364 TrueNAS release related changes. 2016-03-21 09:26:16 -07:00
Jakub Klama
40b125f576 Add "release" and "ports" as PHONY targets. 2016-03-21 16:24:54 +01:00
Alexander Motin
1a256f802c Remake previous on Jakub recommendation. 2016-03-21 12:36:55 +02:00
Alexander Motin
c4c425da39 Restore dash in version string, that I guess was removed by mistake. 2016-03-21 12:18:06 +02:00
Vaibhav Chauhan
33f93a0812 Made changes related to Release Notes and changelog 2016-03-20 23:25:29 -07:00
FreeNAS-10 Builder
a5f1ff3eb1 Try adding iohyve as a crutch for now (and just for 9.10) since we nuke
the vmrun.sh example script for bhyve and we're not going to get much
geek testing of bhyve done without at least some sort of command-line only
harness.  If it doesn't do the job, even as an interim stop-gap (since 10 has
a nice VM manager already in the CLI), I'll rip it back out.
2016-03-20 15:51:23 -07:00
John Hixson
6cac6cc37b Add py-s3cmd port for more native s3 backup support. 2016-03-19 15:26:30 -07:00
Sean Eric Fagan
3778821f09 Use beadm, not beadm-devel. 2016-03-18 15:34:48 -07:00
William Grzybowski
2d300a640f Lets try to use ${PRODUCT} in UI package to match TrueNAS upgrade 2016-03-18 08:44:11 -03:00
Wojciech Kloska
16ffc6f541 ADDED: reinstall_latest target - reinstall packages built in last ports build 2016-03-18 01:41:52 +01:00