Greg Brockman [Tue, 6 Jul 2010 04:28:25 +0000 (00:28 -0400)]
Minor touchups to invirtibuilder
svn path=/trunk/packages/invirt-dev/; revision=3043
Greg Brockman [Tue, 6 Jul 2010 04:28:20 +0000 (00:28 -0400)]
Don't require that a pocket exists when validating
svn path=/trunk/packages/invirt-dev/; revision=3042
Greg Brockman [Tue, 6 Jul 2010 04:28:15 +0000 (00:28 -0400)]
Do work from correct cwd
svn path=/trunk/packages/invirt-dev/; revision=3041
Greg Brockman [Tue, 6 Jul 2010 04:28:10 +0000 (00:28 -0400)]
Added script for creating new repositories
svn path=/trunk/packages/invirt-dev/; revision=3040
Greg Brockman [Tue, 6 Jul 2010 04:28:05 +0000 (00:28 -0400)]
Cleaned up atomic file-writing code in invirt-build-conf
svn path=/trunk/packages/invirt-dev/; revision=3039
Greg Brockman [Tue, 6 Jul 2010 04:28:00 +0000 (00:28 -0400)]
Added git hooks to invirt-dev package
svn path=/trunk/packages/invirt-dev/; revision=3038
Greg Brockman [Tue, 6 Jul 2010 04:27:55 +0000 (00:27 -0400)]
Added a TODO item
svn path=/trunk/packages/invirt-dev/; revision=3037
Greg Brockman [Tue, 6 Jul 2010 04:27:50 +0000 (00:27 -0400)]
Added reporting
svn path=/trunk/packages/invirt-dev/; revision=3036
Greg Brockman [Tue, 6 Jul 2010 04:27:41 +0000 (00:27 -0400)]
Use the expanded commit name internally
svn path=/trunk/packages/invirt-dev/; revision=3035
Greg Brockman [Tue, 6 Jul 2010 04:27:32 +0000 (00:27 -0400)]
Renamed init script to 'invirtibuilder'
svn path=/trunk/packages/invirt-dev/; revision=3034
Greg Brockman [Tue, 6 Jul 2010 04:27:26 +0000 (00:27 -0400)]
Actually spawn invirtibuilder in the init script
svn path=/trunk/packages/invirt-dev/; revision=3033
Greg Brockman [Tue, 6 Jul 2010 04:27:19 +0000 (00:27 -0400)]
Log and capture sbuild results
svn path=/trunk/packages/invirt-dev/; revision=3032
Greg Brockman [Mon, 5 Jul 2010 06:01:45 +0000 (02:01 -0400)]
Make invirtibuilder work
svn path=/trunk/packages/invirt-dev/; revision=3028
Evan Broder [Thu, 27 May 2010 15:58:35 +0000 (11:58 -0400)]
Use the .. Perl operator to simplify prerms.
invirt-console-host, invirt-dev, and all of the packages in
xvm-munin-config previously used a convoluted one-liner to clean up
/etc/sudoers, but we can do it much more easily using the .. operator.
Taken from http://blog.ksplice.com/2010/05/top-10-perl-one-liner-tricks/
svn path=/trunk/packages/invirt-dev/; revision=3011
Evan Broder [Sun, 10 Jan 2010 07:53:58 +0000 (02:53 -0500)]
I can spell, I promise.
svn path=/trunk/packages/invirt-dev/; revision=2870
Evan Broder [Sun, 10 Jan 2010 07:49:14 +0000 (02:49 -0500)]
Add a section on "Future Directions" for the Invirtibuilder.
svn path=/trunk/packages/invirt-dev/; revision=2869
Evan Broder [Sat, 9 Jan 2010 17:36:45 +0000 (12:36 -0500)]
Talk about how the Invirtibuilder is insecure.
svn path=/trunk/packages/invirt-dev/; revision=2868
Evan Broder [Sun, 3 Jan 2010 20:28:15 +0000 (15:28 -0500)]
Add documentation on the Invirtibuilder.
svn path=/trunk/packages/invirt-dev/; revision=2858
Evan Broder [Sat, 2 Jan 2010 01:01:35 +0000 (20:01 -0500)]
Regardless of any success or failure, always remove the build queue
entry when handling a build has completed.
svn path=/trunk/packages/invirt-dev/; revision=2838
Evan Broder [Sat, 2 Jan 2010 00:55:44 +0000 (19:55 -0500)]
Only tag submodules if allow_backtracking is False.
svn path=/trunk/packages/invirt-dev/; revision=2837
Evan Broder [Sat, 2 Jan 2010 00:54:24 +0000 (19:54 -0500)]
Typo fix.
svn path=/trunk/packages/invirt-dev/; revision=2836
Evan Broder [Sat, 2 Jan 2010 00:45:35 +0000 (19:45 -0500)]
packageWorkdir needs to be passed the commit to make a workdir from.
svn path=/trunk/packages/invirt-dev/; revision=2835
Evan Broder [Sat, 2 Jan 2010 00:42:01 +0000 (19:42 -0500)]
When validating builds, return True if the build validates, and don't
let an apt copy prevent the fast-forward and increasing-version-number
checks from running.
svn path=/trunk/packages/invirt-dev/; revision=2834
Evan Broder [Thu, 31 Dec 2009 20:16:46 +0000 (15:16 -0500)]
Since we're moving the queue entries into the queue directory for
atomicity, we need to inotify on both IN_CREATE and IN_MOVED_TO
events.
svn path=/trunk/packages/invirt-dev/; revision=2820
Evan Broder [Thu, 31 Dec 2009 20:11:25 +0000 (15:11 -0500)]
Add missing dependency on python-pyinotify in invirt-dev.
svn path=/trunk/packages/invirt-dev/; revision=2819
Evan Broder [Mon, 28 Dec 2009 18:35:21 +0000 (13:35 -0500)]
Superproject, not superrepo, is git's term for a repo that contains
submodules.
Make that replacement everywhere.
svn path=/trunk/packages/invirt-dev/; revision=2801
Evan Broder [Mon, 21 Dec 2009 22:30:11 +0000 (17:30 -0500)]
Have authz providers use an invirt.authz module.
xvm-authz-locker now includes an invirt.authz module instead of
xvm.authz.locker. All authz providers conflict with each other, and
provide invirt-authz.
svn path=/trunk/packages/invirt-dev/; revision=2766
Evan Broder [Fri, 18 Dec 2009 06:35:46 +0000 (01:35 -0500)]
Fix a typo in invirt-submit-build.
svn path=/trunk/packages/invirt-dev/; revision=2639
Evan Broder [Fri, 18 Dec 2009 06:34:18 +0000 (01:34 -0500)]
scripts installed by setuptools always get installed in /usr/bin.
svn path=/trunk/packages/invirt-dev/; revision=2638
Evan Broder [Fri, 18 Dec 2009 06:33:12 +0000 (01:33 -0500)]
Include invirt-submit-build in the invirt-dev install.
svn path=/trunk/packages/invirt-dev/; revision=2637
Evan Broder [Fri, 18 Dec 2009 03:07:05 +0000 (22:07 -0500)]
Run git-daemon as an inetd service instead of a separate daemon.
git-daemon doesn't run well under daemon(1), because it forks a child
(without detaching) that does all of its work, and killing the parent
doesn't kill the child.
svn path=/trunk/packages/invirt-dev/; revision=2636
Evan Broder [Fri, 18 Dec 2009 01:49:28 +0000 (20:49 -0500)]
mkdir -p works if the directory already exists, so drop an unnecessary
if statement in the invirt-dev initscript.
svn path=/trunk/packages/invirt-dev/; revision=2635
Evan Broder [Thu, 17 Dec 2009 23:17:49 +0000 (18:17 -0500)]
Make the apt repo directory structure exist if it doesn't already.
svn path=/trunk/packages/invirt-dev/; revision=2634
Evan Broder [Thu, 17 Dec 2009 23:15:38 +0000 (18:15 -0500)]
The apt repository needs to be owned by the repository user, so let's
make sure it is in the invirt-dev init script.
svn path=/trunk/packages/invirt-dev/; revision=2633
Evan Broder [Thu, 17 Dec 2009 22:56:04 +0000 (17:56 -0500)]
Pass --no-start to dh_installinit in invirt-dev and run the initscript
by hand.
This works around a bug where init scripts are started before Python
modules have been fully installed.
svn path=/trunk/packages/invirt-dev/; revision=2630
Evan Broder [Thu, 17 Dec 2009 22:42:51 +0000 (17:42 -0500)]
And std_init takes arguments, too
svn path=/trunk/packages/invirt-dev/; revision=2629
Evan Broder [Thu, 17 Dec 2009 22:42:08 +0000 (17:42 -0500)]
In invirt-dev, actually call std_init so the init script does something.
svn path=/trunk/packages/invirt-dev/; revision=2628
Evan Broder [Thu, 17 Dec 2009 22:29:59 +0000 (17:29 -0500)]
Use the systemv init script instead of an upstart job.
Hardy's upstart apparently can't detect newly installed jobs without a
reboot.
svn path=/trunk/packages/invirt-dev/; revision=2627
Evan Broder [Thu, 17 Dec 2009 22:12:11 +0000 (17:12 -0500)]
Install the invirt-dev upstart file without an extension
(upstart uses run-parts semantics)
svn path=/trunk/packages/invirt-dev/; revision=2626
Evan Broder [Thu, 17 Dec 2009 22:10:06 +0000 (17:10 -0500)]
Serve the repositories in /srv/git over a git-daemon
svn path=/trunk/packages/invirt-dev/; revision=2625
Evan Broder [Thu, 17 Dec 2009 19:01:40 +0000 (14:01 -0500)]
Fix the invirt-dev init script, because bash doesn't believe in
completely empty functions.
svn path=/trunk/packages/invirt-dev/; revision=2618
Evan Broder [Tue, 15 Dec 2009 01:59:28 +0000 (20:59 -0500)]
Rename the "git" tree in the configuration to "build" to be more accurate.
svn path=/trunk/packages/invirt-dev/; revision=2593
Evan Broder [Sat, 5 Dec 2009 22:31:51 +0000 (17:31 -0500)]
Switch to using std-init in invirt-dev.
svn path=/trunk/packages/invirt-dev/; revision=2589
Evan Broder [Sat, 5 Dec 2009 22:14:29 +0000 (17:14 -0500)]
Create /srv/git when installing invirt-dev if it doesn't exist.
(Otherwise invirt-build-conf fails)
svn path=/trunk/packages/invirt-dev/; revision=2588
Evan Broder [Sat, 5 Dec 2009 22:08:49 +0000 (17:08 -0500)]
Config structs aren't dicts, so neither []-indexing nor .get work on
them.
svn path=/trunk/packages/invirt-dev/; revision=2587
Evan Broder [Sat, 5 Dec 2009 21:53:40 +0000 (16:53 -0500)]
Add a debian/pyversions file to invirt-dev.
Our code doesn't work on Python 2.4
svn path=/trunk/packages/invirt-dev/; revision=2585
Evan Broder [Sat, 5 Dec 2009 21:29:46 +0000 (16:29 -0500)]
When generating the git user's k5login, actually move it into place.
svn path=/trunk/packages/invirt-dev/; revision=2584
Evan Broder [Sat, 5 Dec 2009 21:12:52 +0000 (16:12 -0500)]
Automatically regenerate the Invirt git configuration daily.
svn path=/trunk/packages/invirt-dev/; revision=2583
Evan Broder [Sat, 5 Dec 2009 21:12:52 +0000 (16:12 -0500)]
Actually install the invirt-build-conf script.
svn path=/trunk/packages/invirt-dev/; revision=2582
Evan Broder [Sat, 5 Dec 2009 21:12:50 +0000 (16:12 -0500)]
Update the Invirt git configuration at install-time.
svn path=/trunk/packages/invirt-dev/; revision=2581
Evan Broder [Sat, 5 Dec 2009 21:12:49 +0000 (16:12 -0500)]
Actually create a git user.
svn path=/trunk/packages/invirt-dev/; revision=2580
Evan Broder [Sat, 5 Dec 2009 21:12:48 +0000 (16:12 -0500)]
Update the git user's .k5login in invirt-build-conf.
svn path=/trunk/packages/invirt-dev/; revision=2579
Evan Broder [Sat, 5 Dec 2009 20:36:21 +0000 (15:36 -0500)]
Stuff all of our repos into an /invirt subdirectory, so that we have
room for future expansion.
svn path=/trunk/packages/invirt-dev/; revision=2577
Evan Broder [Thu, 26 Nov 2009 15:18:14 +0000 (10:18 -0500)]
Add remctl-server as a dependency for invirt-dev, for the build
scripts.
svn path=/trunk/packages/invirt-dev/; revision=2570
Evan Broder [Thu, 26 Nov 2009 15:15:42 +0000 (10:15 -0500)]
Pass a mode to os.fdopen in invirt-build-conf and invirt-submit-build.
By default, os.fdopen opens files in read-only mode.
svn path=/trunk/packages/invirt-dev/; revision=2569
Evan Broder [Thu, 26 Nov 2009 14:46:28 +0000 (09:46 -0500)]
Fix typo in invirt-build-conf.
svn path=/trunk/packages/invirt-dev/; revision=2568
Evan Broder [Thu, 26 Nov 2009 14:45:03 +0000 (09:45 -0500)]
Replace NamedTemporaryFile with mkstemp in invirt-build-conf and
invirt-submit-build.
NamedTemporaryFile lacks the delete kwarg in Python 2.5, meaning that
files are always deleted when the fd is closed.
svn path=/trunk/packages/invirt-dev/; revision=2567
Evan Broder [Thu, 26 Nov 2009 04:43:21 +0000 (23:43 -0500)]
Until we switch to storing krb5 principals in the database, we need to
convert the AFS-style principals in the database to krb5 principals.
Hopefully this code can be torn out one of these days in the
not-so-distant future.
svn path=/trunk/packages/invirt-dev/; revision=2566
Evan Broder [Thu, 26 Nov 2009 04:43:18 +0000 (23:43 -0500)]
Add a script for generating the remctl configuration to trigger the
Invirtibuilder.
svn path=/trunk/packages/invirt-dev/; revision=2565
Evan Broder [Thu, 26 Nov 2009 04:43:15 +0000 (23:43 -0500)]
Update invirt-dev.dirs to create directories used by the Invirtbuilder.
Also punt the directories it was creating before - there's no need to
create directories that are being used as destinations in a .install
file.
svn path=/trunk/packages/invirt-dev/; revision=2564
Evan Broder [Thu, 26 Nov 2009 04:43:12 +0000 (23:43 -0500)]
First stab at the remctl script to handle new build queue submission
for the Invirtibuilder.
svn path=/trunk/packages/invirt-dev/; revision=2563
Evan Broder [Sun, 22 Nov 2009 22:58:22 +0000 (17:58 -0500)]
In invirt-dev:
* Since the prerm code to remove the repo group from sudoers runs on
upgrades, make sure the postinst code to add it back runs on all
upgrades, too.
svn path=/trunk/packages/invirt-dev/; revision=2556
Evan Broder [Sun, 22 Nov 2009 22:58:19 +0000 (17:58 -0500)]
Also punt invirt-build-release for the time being.
It might make an re-appearance in the future, but for the time being,
I'd like to have all of our builds go through remctl.
svn path=/trunk/packages/invirt-dev/; revision=2555
Evan Broder [Sun, 22 Nov 2009 22:58:18 +0000 (17:58 -0500)]
Punt invirt-ood-packages and invirt-ood-build from invirt-dev's
.install file.
svn path=/trunk/packages/invirt-dev/; revision=2554
Evan Broder [Sun, 22 Nov 2009 21:07:30 +0000 (16:07 -0500)]
Change repository configuration to generate config from a mako
template using gen-files instead of rolling our own.
svn path=/trunk/packages/invirt-dev/; revision=2552
Evan Broder [Sun, 22 Nov 2009 21:07:27 +0000 (16:07 -0500)]
Punt invirt-uploaders and unsigned files from repository config.
Neither of them mean anything since we aren't accepting incoming
uploads, but rather including files in the apt repo directly.
svn path=/trunk/packages/invirt-dev/; revision=2550
Evan Broder [Sun, 22 Nov 2009 21:07:26 +0000 (16:07 -0500)]
Punt the invirt-ood-packages script (and invirt-ood-build).
They were always designed for a one-branch-only world, and we will no
longer be living in such a world after the git revolution.
svn path=/trunk/packages/invirt-dev/; revision=2549
Evan Broder [Sun, 22 Nov 2009 21:07:25 +0000 (16:07 -0500)]
Update the packaging to build and install the invirtibuilder.
svn path=/trunk/packages/invirt-dev/; revision=2548
Evan Broder [Sun, 22 Nov 2009 21:07:25 +0000 (16:07 -0500)]
Add a setup.py for the new invirtibuilder and invirt.builder code.
svn path=/trunk/packages/invirt-dev/; revision=2547
Evan Broder [Sun, 22 Nov 2009 21:07:23 +0000 (16:07 -0500)]
Python 2.5 requires an import from the __future__ to get a with
statement.
svn path=/trunk/packages/invirt-dev/; revision=2546
Evan Broder [Sun, 22 Nov 2009 21:07:22 +0000 (16:07 -0500)]
In the invirtibuilder, take advantage of the getBinaries function in
aptCopy.
svn path=/trunk/packages/invirt-dev/; revision=2545
Evan Broder [Sun, 22 Nov 2009 21:07:21 +0000 (16:07 -0500)]
Deal with Debian-native packages correctly when calculating and
formatting version numbers.
svn path=/trunk/packages/invirt-dev/; revision=2544
Evan Broder [Sun, 22 Nov 2009 21:07:20 +0000 (16:07 -0500)]
Pull functions that are needed for the git remctl scripts out of the
invirtibuilder and into a common module.
svn path=/trunk/packages/invirt-dev/; revision=2543
Evan Broder [Sun, 22 Nov 2009 21:07:19 +0000 (16:07 -0500)]
Move the invirtibuilder into invirt-dev as a first step towards
packaging the git tools.
svn path=/trunk/packages/invirt-dev/; revision=2542
Evan Broder [Mon, 27 Jul 2009 05:06:21 +0000 (01:06 -0400)]
Use a descriptive variable name, instead of $REPLY.
svn path=/trunk/packages/invirt-dev/; revision=2371
Evan Broder [Mon, 27 Jul 2009 04:42:13 +0000 (00:42 -0400)]
Fix invirt-build-release to correctly deal with multiple binary
packages when figuring out the architecture of the package.
svn path=/trunk/packages/invirt-dev/; revision=2370
Evan Broder [Sat, 2 May 2009 16:43:54 +0000 (12:43 -0400)]
In invirt-dev:
* When building an architecture: any package, pass --arch-all to sbuild
for one of the builds.
svn path=/trunk/packages/invirt-dev/; revision=2320
Evan Broder [Sun, 26 Apr 2009 15:25:50 +0000 (11:25 -0400)]
In invirt-dev:
* Add a UDebComponents definition so that we can upload the invirtified
ssh
svn path=/trunk/packages/invirt-dev/; revision=2302
Evan Broder [Sun, 26 Apr 2009 00:03:54 +0000 (20:03 -0400)]
In invirt-dev:
* Add a invirt-system component for invirtified packages.
svn path=/trunk/packages/invirt-dev/; revision=2298
Greg Price [Mon, 22 Dec 2008 05:06:23 +0000 (00:06 -0500)]
invirt-build-release: factor out distribution
svn path=/trunk/packages/invirt-dev/; revision=1863
Greg Price [Sat, 20 Dec 2008 06:58:23 +0000 (01:58 -0500)]
invirt-build-release: separate distribution, architecture
svn path=/trunk/packages/invirt-dev/; revision=1861
Greg Price [Sat, 20 Dec 2008 06:58:21 +0000 (01:58 -0500)]
invirt-build-release: clean up some shell and perl
Also wait to parse the .dsc file until we've made it.
svn path=/trunk/packages/invirt-dev/; revision=1860
Greg Price [Sat, 20 Dec 2008 04:38:02 +0000 (23:38 -0500)]
invirt-build-release: handle amd64 and i386
svn path=/trunk/packages/invirt-dev/; revision=1859
Greg Price [Sat, 20 Dec 2008 04:37:59 +0000 (23:37 -0500)]
invirt-dev: add i386 to apt repo
svn path=/trunk/packages/invirt-dev/; revision=1857
Evan Broder [Wed, 26 Nov 2008 04:16:02 +0000 (23:16 -0500)]
Move invirt-dev's sudoers cleanup to the prerm instead of the postinst
svn path=/trunk/packages/invirt-dev/; revision=1782
Evan Broder [Tue, 25 Nov 2008 13:16:34 +0000 (08:16 -0500)]
Fix invirt-dev to not add the same line a bunch of times to sudoers
svn path=/trunk/packages/invirt-dev/; revision=1770
Evan Broder [Sun, 16 Nov 2008 04:21:20 +0000 (23:21 -0500)]
Support building multiple packages in sequence with invirt-build-release
svn path=/trunk/packages/invirt-dev/; revision=1671
Evan Broder [Mon, 10 Nov 2008 09:01:33 +0000 (04:01 -0500)]
Apparently I screwed up splitting up the list of packages for invirt-ood-build
svn path=/trunk/packages/invirt-dev/; revision=1592
Evan Broder [Mon, 10 Nov 2008 08:46:34 +0000 (03:46 -0500)]
And...you end your for loops with done, not fi
svn path=/trunk/packages/invirt-dev/; revision=1586
Evan Broder [Mon, 10 Nov 2008 08:45:41 +0000 (03:45 -0500)]
Kill some superfluous whitespace in invirt-ood-build
svn path=/trunk/packages/invirt-dev/; revision=1585
Evan Broder [Mon, 10 Nov 2008 08:44:00 +0000 (03:44 -0500)]
Add invirt-ood-build for building out of date packages
svn path=/trunk/packages/invirt-dev/; revision=1584
Evan Broder [Mon, 10 Nov 2008 08:43:59 +0000 (03:43 -0500)]
Clean up invirt-dev packaging
svn path=/trunk/packages/invirt-dev/; revision=1583
Evan Broder [Sun, 9 Nov 2008 04:52:26 +0000 (23:52 -0500)]
Add new invirt-ood-packages script to invirt-dev
svn path=/trunk/packages/invirt-dev/; revision=1570
Evan Broder [Sat, 1 Nov 2008 06:16:30 +0000 (02:16 -0400)]
In invirt-build-release, get the svn uri from the config, not from
/srv/checkout
svn path=/trunk/packages/invirt-dev/; revision=1486
Evan Broder [Tue, 28 Oct 2008 08:24:26 +0000 (04:24 -0400)]
sipb-xen-base -> invirt-base in dependency lists
svn path=/trunk/packages/invirt-dev/; revision=1372
Greg Price [Sun, 26 Oct 2008 04:05:38 +0000 (00:05 -0400)]
document `adduser $user sbuild` in invirt-dev postinst
svn path=/trunk/packages/invirt-dev/; revision=1329
Greg Price [Sun, 26 Oct 2008 03:27:30 +0000 (23:27 -0400)]
sx-build-release -> invirt-build-release
svn path=/trunk/packages/invirt-dev/; revision=1323
Greg Price [Sun, 26 Oct 2008 03:27:18 +0000 (23:27 -0400)]
sipb-xen-dev -> invirt-dev
svn path=/trunk/packages/sipb-xen-dev/; revision=1322
Greg Price [Sun, 26 Oct 2008 03:27:16 +0000 (23:27 -0400)]
cleanups in sipb-xen-dev
svn path=/trunk/packages/sipb-xen-dev/; revision=1321
Greg Price [Fri, 24 Oct 2008 08:57:02 +0000 (04:57 -0400)]
fix our copyright files
E.g., this is free software.
svn path=/trunk/packages/sipb-xen-dev/; revision=1205