Check-in [7e37695211]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:HTML: Move all assets into assets/ This moves logo.jpg so that shell tab completion is easier when completing logs/ in the directory. It also cleans up the directory structure in case we import more client-side libraries. Reported by: ak
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7e3769521146f62ce9002efacb2a15001534b193
User & Date: bdrewery 2013-06-03 11:05:50
Context
2013-06-04
11:58
make_index: Remove unneeded include Submitted by: David Demelier check-in: e38d69a149 user: bdrewery tags: trunk
2013-06-03
11:05
HTML: Move all assets into assets/ This moves logo.jpg so that shell tab completion is easier when completing logs/ in the directory. It also cleans up the directory structure in case we import more client-side libraries. Reported by: ak check-in: 7e37695211 user: bdrewery tags: trunk
10:43
Switch MDMFS support to using swap-backed disk. Also enable TRIM. MDMFS is measurably slower than TMPFS, the only reason to use it as far as I can see is to be able to define a max limit and to support swapping. Suggested by: ak check-in: 054bd0244f user: bdrewery tags: trunk
Changes

Changes to Makefile.

7
8
9
10
11
12
13

14
15


16

17
18
19
20
21
22
23
24
25
26
27
28

install:
	install -m 755 -o root -g wheel src/bin/poudriere.sh ${PREFIX}/bin/poudriere
	mkdir -p ${PREFIX}/etc/poudriere.d/hooks
	mkdir -p ${PREFIX}/share/poudriere
	mkdir -p ${PREFIX}/share/poudriere/awk
	mkdir -p ${PREFIX}/share/poudriere/html

	install -m 755 -o root -g wheel src/share/poudriere/*.sh ${PREFIX}/share/poudriere/
	install -m 644 -o root -g wheel src/share/poudriere/awk/* ${PREFIX}/share/poudriere/awk/


	install -m 644 -o root -g wheel src/share/poudriere/html/* ${PREFIX}/share/poudriere/html/

	install -m 644 -o root -g wheel conf/poudriere.conf.sample ${PREFIX}/etc/
	install -m 644 -o root -g wheel src/etc/poudriere.d/hooks/pkgbuild.sh.sample ${PREFIX}/etc/poudriere.d/hooks
	install -m 555 -o root -g wheel src/etc/rc.d/poudriere ${PREFIX}/etc/rc.d
	if [ -f poudriere.8.gz ]; then rm -f poudriere.8.gz; fi
	gzip -k -9 poudriere.8
	install -m 644 poudriere.8.gz ${MAN8DIR}
	${MAKE} -C src/libexec/poudriere install

clean:
	${MAKE} -C src/libexec/poudriere clean
	if [ -f poudriere.8.gz ]; then rm -f poudriere.8.gz; fi
	rm -f src/etc/rc.d/poudriere







>


>
>
|
>












7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

install:
	install -m 755 -o root -g wheel src/bin/poudriere.sh ${PREFIX}/bin/poudriere
	mkdir -p ${PREFIX}/etc/poudriere.d/hooks
	mkdir -p ${PREFIX}/share/poudriere
	mkdir -p ${PREFIX}/share/poudriere/awk
	mkdir -p ${PREFIX}/share/poudriere/html
	mkdir -p ${PREFIX}/share/poudriere/html/assets
	install -m 755 -o root -g wheel src/share/poudriere/*.sh ${PREFIX}/share/poudriere/
	install -m 644 -o root -g wheel src/share/poudriere/awk/* ${PREFIX}/share/poudriere/awk/
	install -m 644 -o root -g wheel src/share/poudriere/html/index.html \
	  ${PREFIX}/share/poudriere/html/
	install -m 644 -o root -g wheel src/share/poudriere/html/assets/* \
	  ${PREFIX}/share/poudriere/html/assets
	install -m 644 -o root -g wheel conf/poudriere.conf.sample ${PREFIX}/etc/
	install -m 644 -o root -g wheel src/etc/poudriere.d/hooks/pkgbuild.sh.sample ${PREFIX}/etc/poudriere.d/hooks
	install -m 555 -o root -g wheel src/etc/rc.d/poudriere ${PREFIX}/etc/rc.d
	if [ -f poudriere.8.gz ]; then rm -f poudriere.8.gz; fi
	gzip -k -9 poudriere.8
	install -m 644 poudriere.8.gz ${MAN8DIR}
	${MAKE} -C src/libexec/poudriere install

clean:
	${MAKE} -C src/libexec/poudriere clean
	if [ -f poudriere.8.gz ]; then rm -f poudriere.8.gz; fi
	rm -f src/etc/rc.d/poudriere

Changes to src/share/poudriere/common.sh.

2322
2323
2324
2325
2326
2327
2328
2329
2330
2331

2332
2333
2334
2335
2336
2337
2338
		done
	fi
	# Add unbalanced at the end
	POOL_BUCKET_DIRS="${POOL_BUCKET_DIRS} ${MASTERMNT}/poudriere/pool/unbalanced"
	mkdir -p ${POOL_BUCKET_DIRS}

	mkdir -p ${log}/../../latest-per-pkg ${log}/../latest-per-pkg
	mkdir -p ${log}/logs ${log}/logs/errors
	ln -sfh ${BUILDNAME} ${log%/*}/latest
	cp ${HTMLPREFIX}/* ${log}


	# Record the SVN URL@REV in the build
	[ -d ${MASTERMNT}/usr/ports/.svn ] && bset svn_url $(
		svn info ${MASTERMNT}/usr/ports | awk '
			/URL: / {URL=substr($0, 6)}
			/Revision: / {REVISION=substr($0, 11)}
			END { print URL "@" REVISION }







|

|
>







2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
		done
	fi
	# Add unbalanced at the end
	POOL_BUCKET_DIRS="${POOL_BUCKET_DIRS} ${MASTERMNT}/poudriere/pool/unbalanced"
	mkdir -p ${POOL_BUCKET_DIRS}

	mkdir -p ${log}/../../latest-per-pkg ${log}/../latest-per-pkg
	mkdir -p ${log}/logs ${log}/logs/errors ${log}/assets
	ln -sfh ${BUILDNAME} ${log%/*}/latest
	cp ${HTMLPREFIX}/index.html ${log}
	cp ${HTMLPREFIX}/assets/* ${log}/assets

	# Record the SVN URL@REV in the build
	[ -d ${MASTERMNT}/usr/ports/.svn ] && bset svn_url $(
		svn info ${MASTERMNT}/usr/ports | awk '
			/URL: / {URL=substr($0, 6)}
			/Revision: / {REVISION=substr($0, 11)}
			END { print URL "@" REVISION }

Name change from src/share/poudriere/html/jquery-1.9.1.min.js to src/share/poudriere/html/assets/jquery-1.9.1.min.js.

cannot compute difference between binary files

Name change from src/share/poudriere/html/logo.jpg to src/share/poudriere/html/assets/logo.jpg.

cannot compute difference between binary files

Name change from src/share/poudriere/html/poudriere.css to src/share/poudriere/html/assets/poudriere.css.

Name change from src/share/poudriere/html/poudriere.js to src/share/poudriere/html/assets/poudriere.js.

Changes to src/share/poudriere/html/index.html.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
..
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!-- vim: set sts=4 sw=4 ts=4 noet: -->
<html>
	<head>
		<title>Poudriere bulk results</title>
		<script src="jquery-1.9.1.min.js" type="text/javascript"></script>
		<script src="poudriere.js" type="text/javascript"></script>
		<link href="poudriere.css" type="text/css" rel="stylesheet" />
		<META http-equiv="Cache-Control" content="no-cache">
		<META http-equiv="Pragma" content="no-cache">
		<META http-equiv="Expires" content="0"> 
	</head>
	<body>
		<div id="loading_overlay" style="display: none;">
			<div id="loading">
................................................................................
				<p>Loading...</p>
			</div>
		</div>
		<div id="top" class="anchor"></div>
		<div id="header">
			<div id="header_left">
				<div id="logo">
					<img src="logo.jpg" alt="logo" />
					<h1>Poudriere</h1>
				</div>
			</div>
			<div id="header_right">
				<table class="layout">
					<tr>
						<td rowspan="2">




|
|
|







 







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
..
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!-- vim: set sts=4 sw=4 ts=4 noet: -->
<html>
	<head>
		<title>Poudriere bulk results</title>
		<script src="assets/jquery-1.9.1.min.js" type="text/javascript"></script>
		<script src="assets/poudriere.js" type="text/javascript"></script>
		<link href="assets/poudriere.css" type="text/css" rel="stylesheet" />
		<META http-equiv="Cache-Control" content="no-cache">
		<META http-equiv="Pragma" content="no-cache">
		<META http-equiv="Expires" content="0"> 
	</head>
	<body>
		<div id="loading_overlay" style="display: none;">
			<div id="loading">
................................................................................
				<p>Loading...</p>
			</div>
		</div>
		<div id="top" class="anchor"></div>
		<div id="header">
			<div id="header_left">
				<div id="logo">
					<img src="assets/logo.jpg" alt="logo" />
					<h1>Poudriere</h1>
				</div>
			</div>
			<div id="header_right">
				<table class="layout">
					<tr>
						<td rowspan="2">