/[qaweb]/trunk
ViewVC logotype

Log of /trunk

View Directory Listing Directory Listing


Sticky Revision:

Revision 355 - Directory Listing
Modified Thu Jun 17 10:34:44 2010 UTC (9 years, 3 months ago) by oysteint
Rewrote the building code to be based on system() instead of pipes/fork since that approach did not work well on Windows.

Replaced redirecting of output with the use of Capture::Tiny to ensure cross platform compatibility.

Renamed the function Builder::fork to execute_build_step().

Renamed the function Builder::exec to execute_subprocess().

Revision 354 - Directory Listing
Modified Thu Jun 17 10:30:12 2010 UTC (9 years, 3 months ago) by oysteint
Added the function auto_trust() and setup the authentication of the server so that it will accept any server certificate regardless of its validity. This was needed since the server certificate on https://svn.met.no is not trusted.

Revision 353 - Directory Listing
Modified Wed Jun 9 08:51:12 2010 UTC (9 years, 4 months ago) by dages
Narrow down the set of file extensions that Static::Simple ignores.

Revision 352 - Directory Listing
Modified Wed Jun 9 08:49:56 2010 UTC (9 years, 4 months ago) by dages
mass-convert pod to html

Revision 351 - Directory Listing
Modified Wed Jun 9 08:49:05 2010 UTC (9 years, 4 months ago) by dages
index page

Revision 350 - Directory Listing
Modified Wed Jun 9 08:48:21 2010 UTC (9 years, 4 months ago) by dages
escape

Revision 349 - Directory Listing
Modified Wed Jun 9 07:28:46 2010 UTC (9 years, 4 months ago) by dages
Empty directory for generated documentation.

Revision 348 - Directory Listing
Modified Thu Jun 3 10:53:22 2010 UTC (9 years, 4 months ago) by oysteint
Added installation instructions for:
- QAWeb host on Ubuntu
- QAWeb build node on Ubuntu
- QAWeb build node on Windows

Revision 347 - Directory Listing
Modified Wed Jun 2 14:01:22 2010 UTC (9 years, 4 months ago) by oysteint
Added DateTime::Format::Pg to the list of modules to install.

Revision 346 - Directory Listing
Modified Wed Jun 2 12:22:17 2010 UTC (9 years, 4 months ago) by oysteint
Added Catalyst::Authentication::Credential::HTTP to the list of modules to install.

Revision 345 - Directory Listing
Modified Wed Jun 2 11:36:19 2010 UTC (9 years, 4 months ago) by oysteint
Upgraded Module::Build to version 0.36 to satisfy DateTime::Timezone

Revision 344 - Directory Listing
Modified Wed Jun 2 11:24:07 2010 UTC (9 years, 4 months ago) by oysteint
Added new CPAN dependencies and fixed an error in the install script after installation issues on Ubuntu Lucid.

Revision 343 - Directory Listing
Modified Wed Jun 2 09:49:23 2010 UTC (9 years, 4 months ago) by oysteint
Removed debug print message that had been checked in by mistake.

Revision 342 - Directory Listing
Modified Mon May 31 08:23:16 2010 UTC (9 years, 4 months ago) by oysteint
Updated TODO with more task and changed it to be "Forvaltningsplan".

Make format DokIT compliant for simplifying the move to DokIT later.

Revision 341 - Directory Listing
Modified Fri May 28 11:29:20 2010 UTC (9 years, 4 months ago) by oysteint
Forced use of cpanm.pl in the current dir to avoid installation of cpanminus on the install machine.

Revision 340 - Directory Listing
Modified Fri May 28 11:24:49 2010 UTC (9 years, 4 months ago) by oysteint
Added DBD::pg to the list of distributions to install.

Revision 339 - Directory Listing
Modified Thu May 27 12:58:34 2010 UTC (9 years, 4 months ago) by oysteint
Added the necessary Subversion and Strawberry Perl binary files for installing on Windows.

Revision 338 - Directory Listing
Modified Thu May 27 12:39:50 2010 UTC (9 years, 4 months ago) by oysteint
Added a complete version of cpanm.pl that can be used for installation.

Revision 337 - Directory Listing
Modified Thu May 27 12:38:56 2010 UTC (9 years, 4 months ago) by oysteint
Updated to a new version of that actually builds properly during installation.

Revision 336 - Directory Listing
Modified Thu May 27 12:37:19 2010 UTC (9 years, 4 months ago) by oysteint
Updated installation script with new dependencies, some packages to force, some packages to not run tests for.

Also changed the order of the installation of some packages.

Revision 335 - Directory Listing
Modified Thu May 27 12:33:55 2010 UTC (9 years, 4 months ago) by oysteint
Replaced the ossp-uuid.tar.gz file with libdata-uuid-perl.tar.gz since the first one did not have the correct internal directory structure to be used by cpanm.pl

Revision 334 - Directory Listing
Modified Thu May 27 12:32:03 2010 UTC (9 years, 4 months ago) by oysteint
Added dependencies for libdbix-class-validation.

Revision 333 - Directory Listing
Modified Thu May 27 11:11:44 2010 UTC (9 years, 4 months ago) by oysteint
Added dependencies for liblingua-stem-perl

Revision 332 - Directory Listing
Modified Thu May 27 11:10:43 2010 UTC (9 years, 4 months ago) by oysteint
Upgraded to version 0.84 to prevent a build error.

Revision 331 - Directory Listing
Modified Thu May 20 14:59:18 2010 UTC (9 years, 4 months ago) by dages
Add reset buttons to branches and repos.

Revision 330 - Directory Listing
Modified Fri May 14 14:52:02 2010 UTC (9 years, 5 months ago) by oysteint
Added libio-captureoutput-perl.tar.gz and libproc-background-perl.tar.gz to the list of packages to installed.

Moved libtemplate-perl.tar.gz to earlier in the install process due to dependencies for libtemplate-timer-perl.tar.gz

Revision 329 - Directory Listing
Modified Fri May 14 14:49:29 2010 UTC (9 years, 5 months ago) by oysteint
Added source package for Proc::Background which is a dependency for Catalyst::Devel.

Revision 328 - Directory Listing
Modified Fri May 14 14:48:29 2010 UTC (9 years, 5 months ago) by oysteint
Added a source package for IO::CaptureOutput which is a dependency for Email::Valid

Revision 327 - Directory Listing
Modified Fri May 14 10:31:34 2010 UTC (9 years, 5 months ago) by oysteint
Updated to version 1.66 that fixes problems on Win32.

Revision 326 - Directory Listing
Modified Wed May 12 14:39:14 2010 UTC (9 years, 5 months ago) by oysteint
Added installation script for the downloaded CPAN packages. The script is based on what InstallationDependencies.pm produces, but manually modified to deal with problems in the installation order or for adding packages not covered by the automatic script.

Revision 325 - Directory Listing
Modified Wed May 12 14:37:18 2010 UTC (9 years, 5 months ago) by oysteint
Added helper module and scripts for (almost) automatic finding and downloading all required CPAN source pages.

Revision 324 - Directory Listing
Modified Wed May 12 14:35:56 2010 UTC (9 years, 5 months ago) by oysteint
Added package that was required by SQL::Abstract for the build process.

Revision 323 - Directory Listing
Modified Wed May 12 14:34:55 2010 UTC (9 years, 5 months ago) by oysteint
Added Win32 specific packages that where required by Net::DNS, but not found in the Meta.yml file.

Revision 322 - Directory Listing
Modified Wed May 12 14:33:37 2010 UTC (9 years, 5 months ago) by oysteint
Updated to version 0.14 to satisfy the Catalyst package. Seems like the wrong version was in the Lucid repository.

Revision 321 - Directory Listing
Modified Wed May 12 12:39:24 2010 UTC (9 years, 5 months ago) by oysteint
Added downloaded CPAN distributions for almost all package dependencies. The module versions are based on the APT source found in the Ubuntu Lucid repository.

Revision 320 - Directory Listing
Modified Thu May 6 11:28:15 2010 UTC (9 years, 5 months ago) by dages
Revert r319 for now

Revision 319 - Directory Listing
Modified Thu May 6 10:10:47 2010 UTC (9 years, 5 months ago) by dages
Replace Catalyst::Authentication::Credential::HTTP with
Catalyst::Authentication::Credential::Remote

Revision 318 - Directory Listing
Modified Wed Apr 28 22:22:17 2010 UTC (9 years, 5 months ago) by dages
Quick but seemingly successful hack to a) avoid symlinks and b) fix the
multiple dependency bug: record the latest successful build's $rN in the
database.

Revision 317 - Directory Listing
Modified Mon Feb 22 13:34:27 2010 UTC (9 years, 7 months ago) by dages
Clean up after emacs's semi-broken auto-indent.

Revision 316 - Directory Listing
Modified Mon Feb 22 13:33:44 2010 UTC (9 years, 7 months ago) by dages
reindent

Revision 315 - Directory Listing
Modified Mon Feb 22 13:32:51 2010 UTC (9 years, 7 months ago) by dages
Use txn_do() instead of txn_{begin,commit,rollback}().

Revision 314 - Directory Listing
Modified Fri Feb 19 12:53:33 2010 UTC (9 years, 7 months ago) by dages
Add (c)

Revision 313 - Directory Listing
Modified Thu Feb 18 13:13:22 2010 UTC (9 years, 7 months ago) by dages
I have no idea how I could have overlooked this: build_config() never told
the main loop whether the build had succeeded...

Revision 312 - Directory Listing
Modified Thu Feb 18 13:11:17 2010 UTC (9 years, 7 months ago) by dages
Add an ok() method that returns false if any stage failed and true otherwise.

Revision 311 - Directory Listing
Modified Thu Feb 18 13:00:55 2010 UTC (9 years, 7 months ago) by dages
Add env-like and argv-like splitting so *_env and *_args properties work
as expected.

Revision 310 - Directory Listing
Modified Thu Feb 18 12:22:04 2010 UTC (9 years, 7 months ago) by dages
typo

Revision 309 - Directory Listing
Modified Thu Feb 18 11:46:40 2010 UTC (9 years, 7 months ago) by dages
Fix links to dependencies

Revision 308 - Directory Listing
Modified Thu Feb 18 11:43:58 2010 UTC (9 years, 7 months ago) by dages
$debug_dependencies tweak

Revision 307 - Directory Listing
Modified Wed Feb 17 14:01:41 2010 UTC (9 years, 7 months ago) by dages
todo & doc fix

Revision 306 - Directory Listing
Modified Wed Feb 17 12:30:07 2010 UTC (9 years, 7 months ago) by dages
Fix a dependency tracking bug: if A requires B and B requires C, and C
fails to build, we would mark B as "no can do" but still build A.

Defining the QAWEB_DEBUG_DEPENDENCIES environment variable before
starting qaweb_builder will enable some debugging code which should
help track down any related bugs.

Revision 305 - Directory Listing
Modified Fri Jan 22 12:28:29 2010 UTC (9 years, 8 months ago) by dages
Three more fqname instances

Revision 304 - Directory Listing
Modified Thu Jan 21 13:22:53 2010 UTC (9 years, 8 months ago) by dages
Fix fqname here too

Revision 303 - Directory Listing
Modified Thu Jan 21 12:26:11 2010 UTC (9 years, 8 months ago) by dages
Fix a couple of action URLs.

Revision 302 - Directory Listing
Modified Tue Dec 22 13:37:36 2009 UTC (9 years, 9 months ago) by dages
missing newline

Revision 301 - Directory Listing
Modified Fri Dec 18 14:49:38 2009 UTC (9 years, 9 months ago) by dages
Append the start time (in seconds since the epoch) to the name of the
installation directory, so each run installs into a unique directory.
This solves the missing dependency problem once and for all: previously,
a successful installation could be permanently deleted by a failed build
of the same revision, leaving the "last" link pointing into thin air.

This renders r298 moot.

The next logical step is to look up the last successful build of each
provider at the beginning of the build, obviating the need for the "last"
link, which won't work on Windows anyway.

Revision 300 - Directory Listing
Modified Fri Dec 18 12:52:55 2009 UTC (9 years, 9 months ago) by dages
repo -> branch.repo

Revision 299 - Directory Listing
Modified Tue Dec 15 13:42:03 2009 UTC (9 years, 10 months ago) by dages
fix option letter

Revision 298 - Directory Listing
Modified Tue Dec 15 13:26:10 2009 UTC (9 years, 10 months ago) by dages
It is quite possible for a config to have several runs with the same
revno, some of which we want to keep and some of which we don't.
Therefore, instead of blindly deleting runs we no longer care about,
we have to make a list of directories we want to keep and directories
we want to clean out.  We will only clean out a directory if we've
deleted *all* the runs that referenced it.

Revision 297 - Directory Listing
Modified Tue Dec 15 13:05:31 2009 UTC (9 years, 10 months ago) by dages
Fix usage

Revision 296 - Directory Listing
Modified Mon Dec 14 16:53:23 2009 UTC (9 years, 10 months ago) by dages
typo

Revision 295 - Directory Listing
Modified Mon Dec 14 16:52:59 2009 UTC (9 years, 10 months ago) by dages
actually, that was not unreachable code, that was the common case...

Revision 294 - Directory Listing
Modified Mon Dec 14 16:48:48 2009 UTC (9 years, 10 months ago) by dages
props

Revision 293 - Directory Listing
Modified Mon Dec 14 16:47:06 2009 UTC (9 years, 10 months ago) by dages
Add a "do-nothing" flag and switch to more sensible defaults.

Revision 292 - Directory Listing
Modified Mon Dec 14 16:43:46 2009 UTC (9 years, 10 months ago) by dages
lock and load!

Revision 291 - Directory Listing
Modified Mon Dec 14 16:42:09 2009 UTC (9 years, 10 months ago) by dages
add comments and replace unreachable code with an exception.

Revision 290 - Directory Listing
Modified Mon Dec 14 16:26:58 2009 UTC (9 years, 10 months ago) by dages
- Rename clean() to clean_result().
- Add code to actually delete the on-disk data and the database entry,
  but leave it commented out.
- Return early if our query did not return any rows.
- Update lastrun in case we deleted the most recent run.
- Wrap it all in a txn (one per config).

Revision 289 - Directory Listing
Modified Mon Dec 14 14:57:01 2009 UTC (9 years, 10 months ago) by dages
Teach properties_hr() and has() about the name, branch and repo pseudo-
properties.

Revision 288 - Directory Listing
Modified Mon Dec 14 14:39:55 2009 UTC (9 years, 10 months ago) by dages
Set a 60-second refresh on any page that includes a "stashed resultset".

Revision 287 - Directory Listing
Modified Mon Dec 14 14:37:48 2009 UTC (9 years, 10 months ago) by dages
Style and doc issues

Revision 286 - Directory Listing
Modified Mon Dec 14 14:37:14 2009 UTC (9 years, 10 months ago) by dages
Add a "pass" method that returns true if none of the stages failed, and use
it to avoid pointing last at a failed build.

Revision 285 - Directory Listing
Modified Mon Dec 14 11:50:12 2009 UTC (9 years, 10 months ago) by dages
refactor

Revision 284 - Directory Listing
Modified Fri Dec 11 16:18:34 2009 UTC (9 years, 10 months ago) by dages
Embryonic cleaner script.  It doesn't actually clean anything out yet,
but all the logic to determine what to clean out is in place.

Revision 283 - Directory Listing
Modified Fri Dec 11 13:02:49 2009 UTC (9 years, 10 months ago) by dages
Remove last remnants of pre-dependency code.

Revision 282 - Directory Listing
Modified Fri Dec 11 13:02:01 2009 UTC (9 years, 10 months ago) by dages
Since the dependency graph is a partial ordering, we can't use Perl's
sort() (mergesort / quicksort); it may work in some cases, but not in
all.  Replace it with a trivial quadratic algorithm.

Revision 281 - Directory Listing
Modified Thu Dec 10 16:39:51 2009 UTC (9 years, 10 months ago) by dages
add support for "nothing" builder

Revision 280 - Directory Listing
Modified Thu Dec 10 16:24:34 2009 UTC (9 years, 10 months ago) by dages
Return 'dnr' rather than 'pass', and hook into QAWeb::Builder.

Revision 279 - Directory Listing
Modified Thu Dec 10 16:08:38 2009 UTC (9 years, 10 months ago) by dages
missing >

Revision 278 - Directory Listing
Modified Thu Dec 10 16:08:11 2009 UTC (9 years, 10 months ago) by dages
missing }

Revision 277 - Directory Listing
Modified Thu Dec 10 16:01:12 2009 UTC (9 years, 10 months ago) by dages
Add m4

Revision 276 - Directory Listing
Modified Thu Dec 10 15:20:56 2009 UTC (9 years, 10 months ago) by dages
A builder that does nothing.

Revision 275 - Directory Listing
Modified Wed Dec 9 17:24:24 2009 UTC (9 years, 10 months ago) by dages
Lower the minimum length of a branch / dependency / repo / config name
from three to two.

Revision 274 - Directory Listing
Modified Fri Dec 4 14:44:37 2009 UTC (9 years, 10 months ago) by dages
Remove debugging code from r271

Revision 273 - Directory Listing
Modified Fri Dec 4 14:37:06 2009 UTC (9 years, 10 months ago) by dages
sort @dbr numerically, not lexically

Revision 272 - Directory Listing
Modified Fri Dec 4 14:27:08 2009 UTC (9 years, 10 months ago) by dages
More debugging

Revision 271 - Directory Listing
Modified Fri Dec 4 14:07:52 2009 UTC (9 years, 10 months ago) by dages
fix "uninitialized value"

Revision 270 - Directory Listing
Modified Fri Dec 4 12:54:01 2009 UTC (9 years, 10 months ago) by dages
rm debugging printout

Revision 269 - Directory Listing
Modified Mon Nov 30 17:22:16 2009 UTC (9 years, 10 months ago) by dages
Apparently, Subversion will ignore but preserve leading or trailing
spaces in the svn:author revprop (just like it ignores but conserves
case).  The validation code in QAWeb::Schema::Result::Authors trims
leading and trailing space, so the find_or_create() call further down
tries to create a row *without* the extra spaces after it fails to
find one *with* the extra spaces, leading to a constraint violation.

We work around this by preemptively trimming leading and trailing
spaces, rather than wait for the validation code to do it for us.
	    
Example: revs 100 and 122 in https://svn.met.no/tseries

Revision 268 - Directory Listing
Modified Mon Nov 30 15:49:46 2009 UTC (9 years, 10 months ago) by dages
Add create / update / delete for dependencies.

Revision 267 - Directory Listing
Modified Mon Nov 30 15:49:03 2009 UTC (9 years, 10 months ago) by dages
Factor out the validation loop and add support for object-wide
constraints.

Revision 266 - Directory Listing
Modified Mon Nov 30 15:01:38 2009 UTC (9 years, 10 months ago) by dages
Remove commented-out uniqueness checks.

Revision 265 - Directory Listing
Modified Mon Nov 30 13:00:35 2009 UTC (9 years, 10 months ago) by dages
Validation issues

Revision 264 - Directory Listing
Modified Thu Nov 26 16:04:13 2009 UTC (9 years, 10 months ago) by dages
previous commit added unlink() in the wrong place.

Revision 263 - Directory Listing
Modified Thu Nov 26 16:02:36 2009 UTC (9 years, 10 months ago) by dages
unlink existing last link before creating new

Revision 262 - Directory Listing
Modified Tue Nov 10 10:37:59 2009 UTC (9 years, 11 months ago) by dages
No need to show the repo in the result summary bar.  Either show_repo
was set, in which case we already showed the repo on the left, or it
wasn't, in which case it's safe to assume that it can be deduced from
context.

Revision 261 - Directory Listing
Modified Tue Nov 10 09:42:26 2009 UTC (9 years, 11 months ago) by dages
More

Revision 260 - Directory Listing
Modified Tue Nov 10 09:38:09 2009 UTC (9 years, 11 months ago) by dages
Reduce code duplication; remove redundant information from result summaries;
use double quotes instead of single quotes where possible (makes Emacs happy)

Revision 259 - Directory Listing
Modified Tue Nov 10 09:37:16 2009 UTC (9 years, 11 months ago) by dages
Forgot to stash results in add / edit / delete / reset

Revision 258 - Directory Listing
Modified Mon Nov 9 13:13:07 2009 UTC (9 years, 11 months ago) by dages
Mess around with fonts.

Revision 257 - Directory Listing
Modified Mon Nov 9 13:12:18 2009 UTC (9 years, 11 months ago) by dages
Compress the repository list

Revision 256 - Directory Listing
Modified Mon Nov 9 13:08:49 2009 UTC (9 years, 11 months ago) by dages
We're not out of the woods yet...

Revision 255 - Directory Listing
Modified Mon Nov 9 13:08:32 2009 UTC (9 years, 11 months ago) by dages
Documentation

Revision 254 - Directory Listing
Modified Mon Nov 9 13:08:13 2009 UTC (9 years, 11 months ago) by dages
Narrower "name" fields.

Revision 253 - Directory Listing
Modified Mon Nov 9 13:07:19 2009 UTC (9 years, 11 months ago) by dages
Wording

Revision 252 - Directory Listing
Modified Mon Nov 9 13:01:57 2009 UTC (9 years, 11 months ago) by dages
Hide "nobody", and don't let anyone edit or delete it.

Revision 251 - Directory Listing
Modified Mon Nov 9 12:59:22 2009 UTC (9 years, 11 months ago) by dages
Can't delete "nobody".

Revision 250 - Directory Listing
Modified Mon Nov 9 12:52:21 2009 UTC (9 years, 11 months ago) by dages
When a new config is created, go straight to the edit interface.

Revision 249 - Directory Listing
Modified Mon Nov 9 12:50:37 2009 UTC (9 years, 11 months ago) by dages
fix config list

Revision 248 - Directory Listing
Modified Mon Nov 9 12:38:09 2009 UTC (9 years, 11 months ago) by dages
Coerce descriptions into single lines

Revision 247 - Directory Listing
Modified Mon Nov 9 12:02:26 2009 UTC (9 years, 11 months ago) by dages
Crypt::SaltedHash is too smart for its own good; it doesn't care about
leading garbage.  Move the locking * to the end of the hash string.

Revision 246 - Directory Listing
Modified Mon Nov 9 11:50:04 2009 UTC (9 years, 11 months ago) by dages
Fix link

Revision 245 - Directory Listing
Modified Mon Nov 9 11:32:10 2009 UTC (9 years, 11 months ago) by dages
Add $Id$

Revision 244 - Directory Listing
Modified Mon Nov 9 11:31:17 2009 UTC (9 years, 11 months ago) by dages
Set a real version number and disable debugging.

Revision 243 - Directory Listing
Modified Mon Nov 9 11:17:10 2009 UTC (9 years, 11 months ago) by dages
Force recent versions of Catalyst and DBIC.

Revision 242 - Directory Listing
Modified Mon Nov 9 11:07:21 2009 UTC (9 years, 11 months ago) by dages
Implement MakeMaker

Revision 241 - Directory Listing
Modified Mon Nov 9 11:07:04 2009 UTC (9 years, 11 months ago) by dages
Don't try to clean if configure failed

Revision 240 - Directory Listing
Modified Mon Nov 9 11:06:37 2009 UTC (9 years, 11 months ago) by dages
Revert, it isn't our decision to make

Revision 239 - Directory Listing
Modified Mon Nov 9 11:03:31 2009 UTC (9 years, 11 months ago) by dages
If configure failed, we probably don't have a Makefile, so skip 'make
clean'.

Revision 238 - Directory Listing
Modified Mon Nov 9 11:00:11 2009 UTC (9 years, 11 months ago) by dages
Always run the clean stage!

Revision 237 - Directory Listing
Modified Mon Nov 9 10:48:49 2009 UTC (9 years, 11 months ago) by dages
Mark configs active / inactive
Create an admin
Wrap it all up in a txn

Revision 236 - Directory Listing
Modified Mon Nov 9 04:32:43 2009 UTC (9 years, 11 months ago) by dages
Remove spurious label end tags.
Explicitly state that the empty line is for a new property, for those
who don't get it.

Revision 235 - Directory Listing
Modified Mon Nov 9 04:31:10 2009 UTC (9 years, 11 months ago) by dages
Use QAWeb::Builder::Unknown.

Revision 234 - Directory Listing
Modified Mon Nov 9 04:30:47 2009 UTC (9 years, 11 months ago) by dages
Update the docs (only a little) and add a builder for stuff we don't know
hot to build.

Revision 233 - Directory Listing
Modified Mon Nov 9 04:29:28 2009 UTC (9 years, 11 months ago) by dages
Fix lastrun + minor whitespace

Revision 232 - Directory Listing
Modified Mon Nov 9 04:25:52 2009 UTC (9 years, 11 months ago) by dages
Redirect to correct page after reset

Revision 231 - Directory Listing
Modified Mon Nov 9 04:24:49 2009 UTC (9 years, 11 months ago) by dages
Fix active flag + reset that wouldn't reset

Revision 230 - Directory Listing
Modified Mon Nov 9 04:10:25 2009 UTC (9 years, 11 months ago) by dages
Turns out DBIx::Class::InflateColumn::Boolean buys us nothing...

Revision 229 - Directory Listing
Modified Mon Nov 9 04:00:11 2009 UTC (9 years, 11 months ago) by dages
We need DBIx::Class::InflateColumn::Boolean if we want DBIC to do something
sensible with booleans.

Revision 228 - Directory Listing
Modified Mon Nov 9 03:35:38 2009 UTC (9 years, 11 months ago) by dages
Add missing reset template

Revision 227 - Directory Listing
Modified Mon Nov 9 03:27:50 2009 UTC (9 years, 11 months ago) by dages
Implement add / edit / delete for configs.
Also implement reset, which clears "lastrun" to force a rerun.

Revision 226 - Directory Listing
Modified Mon Nov 9 02:55:38 2009 UTC (9 years, 11 months ago) by dages
The name can't be changed.

Revision 225 - Directory Listing
Modified Mon Nov 9 02:43:10 2009 UTC (9 years, 11 months ago) by dages
Wrong description

Revision 224 - Directory Listing
Modified Mon Nov 9 02:37:10 2009 UTC (9 years, 11 months ago) by dages
Add uniqueness constraint on config_dependencies (config, name)

Revision 223 - Directory Listing
Modified Mon Nov 9 02:27:05 2009 UTC (9 years, 11 months ago) by dages
Add warnings

Revision 222 - Directory Listing
Modified Mon Nov 9 02:07:33 2009 UTC (9 years, 11 months ago) by dages
- add validation for configs
- relax the checks on repo & branch names: hyphens are allowed
- remove remnants of old validation code

Revision 221 - Directory Listing
Modified Mon Nov 9 01:56:51 2009 UTC (9 years, 11 months ago) by dages
Add an active flag to the configs table.  Configs that aren't marked active
are ignored by the builder script, even when they consume an active config.

Revision 220 - Directory Listing
Modified Mon Nov 9 01:46:53 2009 UTC (9 years, 11 months ago) by dages
Rationalize

Revision 219 - Directory Listing
Modified Mon Nov 9 01:23:48 2009 UTC (9 years, 11 months ago) by dages
Add add / edit / delete for branches.

Revision 218 - Directory Listing
Modified Mon Nov 9 01:23:30 2009 UTC (9 years, 11 months ago) by dages
Move description and fix some links.

Revision 217 - Directory Listing
Modified Mon Nov 9 01:11:33 2009 UTC (9 years, 11 months ago) by dages
If validation failed, feed the input back to the form.

Revision 216 - Directory Listing
Modified Mon Nov 9 01:07:19 2009 UTC (9 years, 11 months ago) by dages
Nit

Revision 215 - Directory Listing
Modified Mon Nov 9 01:02:20 2009 UTC (9 years, 11 months ago) by dages
Fix action links, put the name back in, show correct rev count

Revision 214 - Directory Listing
Modified Mon Nov 9 01:01:50 2009 UTC (9 years, 11 months ago) by dages
Put the name back in

Revision 213 - Directory Listing
Modified Mon Nov 9 00:46:46 2009 UTC (9 years, 11 months ago) by dages
Validation

Revision 212 - Directory Listing
Modified Mon Nov 9 00:17:49 2009 UTC (9 years, 11 months ago) by dages
Add description.

Revision 211 - Directory Listing
Modified Mon Nov 9 00:11:47 2009 UTC (9 years, 11 months ago) by dages
Implement HTTP basic authentication

Revision 210 - Directory Listing
Modified Mon Nov 9 00:09:09 2009 UTC (9 years, 11 months ago) by dages
Additional dependencies

Revision 209 - Directory Listing
Modified Mon Nov 9 00:02:57 2009 UTC (9 years, 11 months ago) by dages
Rename verify_password() to check_password() for compatibility with
Catalyst::Authentication::Credential::Password.

Revision 208 - Directory Listing
Modified Sun Nov 8 23:58:05 2009 UTC (9 years, 11 months ago) by dages
Additional dependencies

Revision 207 - Directory Listing
Modified Sun Nov 8 23:56:28 2009 UTC (9 years, 11 months ago) by dages
Documentation.

Revision 206 - Directory Listing
Modified Sun Nov 8 23:46:17 2009 UTC (9 years, 11 months ago) by dages
lock / unlock and set password

Revision 205 - Directory Listing
Modified Sun Nov 8 23:42:09 2009 UTC (9 years, 11 months ago) by dages
Account management

Revision 204 - Directory Listing
Modified Sun Nov 8 22:32:28 2009 UTC (9 years, 11 months ago) by dages
Add an "admins" table.

Revision 203 - Directory Listing
Modified Sun Nov 8 22:29:18 2009 UTC (9 years, 11 months ago) by dages
Rename the builder and syncer scripts.

Revision 202 - Directory Listing
Modified Sun Nov 8 22:13:16 2009 UTC (9 years, 11 months ago) by dages
--email

Revision 201 - Directory Listing
Modified Sat Nov 7 21:39:36 2009 UTC (9 years, 11 months ago) by dages
Improve repo add, implement {repo,author} {edit,delete}. 

Revision 200 - Directory Listing
Modified Sat Nov 7 21:39:28 2009 UTC (9 years, 11 months ago) by dages
Force list context when calling populate(); see comment for details.

Revision 199 - Directory Listing
Modified Sat Nov 7 21:38:22 2009 UTC (9 years, 11 months ago) by dages
Add support routines for create / update / delete

Revision 198 - Directory Listing
Modified Sat Nov 7 21:37:44 2009 UTC (9 years, 11 months ago) by dages
More validation work

Revision 197 - Directory Listing
Modified Sat Nov 7 21:09:52 2009 UTC (9 years, 11 months ago) by dages
Crop

Revision 196 - Directory Listing
Modified Sat Nov 7 20:45:22 2009 UTC (9 years, 11 months ago) by dages
Fix nesting

Revision 195 - Directory Listing
Modified Sat Nov 7 20:41:44 2009 UTC (9 years, 11 months ago) by dages
add class

Revision 194 - Directory Listing
Modified Sat Nov 7 17:48:03 2009 UTC (9 years, 11 months ago) by dages
Changed my mind about fullname

Revision 193 - Directory Listing
Modified Sat Nov 7 17:20:41 2009 UTC (9 years, 11 months ago) by dages
s/fullname/name/g

Revision 192 - Directory Listing
Modified Sat Nov 7 17:18:54 2009 UTC (9 years, 11 months ago) by dages
Add the Validation component "the right way", and document it.

Revision 191 - Directory Listing
Modified Sat Nov 7 17:16:44 2009 UTC (9 years, 11 months ago) by dages
We cant "use SVN::Ra" within the area controlled by
DBIx::Class::Schema::Loader.

Revision 190 - Directory Listing
Modified Sat Nov 7 17:09:24 2009 UTC (9 years, 11 months ago) by dages
Temporarily revert r180

Revision 189 - Directory Listing
Modified Sat Nov 7 15:54:56 2009 UTC (9 years, 11 months ago) by dages
Drop the MX check.

Revision 188 - Directory Listing
Modified Fri Nov 6 14:33:54 2009 UTC (9 years, 11 months ago) by dages
Data::FormValidator is a POS; replace it with our own validator class.

Revision 187 - Directory Listing
Modified Fri Nov 6 10:27:53 2009 UTC (9 years, 11 months ago) by dages
Add $Id$

Revision 186 - Directory Listing
Modified Thu Nov 5 17:46:03 2009 UTC (9 years, 11 months ago) by dages
Sprinkle liberally with action icons.

Revision 185 - Directory Listing
Modified Thu Nov 5 17:44:17 2009 UTC (9 years, 11 months ago) by dages
New and improved icons

Revision 184 - Directory Listing
Modified Thu Nov 5 16:50:01 2009 UTC (9 years, 11 months ago) by dages
Implement repository creation and editing (the latter is unfinished).  90%
of the code is related to validation, and it looks horrible.  It could be
reduced to only a few lines if we had a better validation engine.

Revision 183 - Directory Listing
Modified Thu Nov 5 16:47:24 2009 UTC (9 years, 11 months ago) by dages
Add validation.  I'm not too happy about this; for instance, I'd like to
retrieve the UUID, check that it's the same if we change the URL, etc.

Revision 182 - Directory Listing
Modified Thu Nov 5 16:46:23 2009 UTC (9 years, 11 months ago) by dages
Pretty arrows.

Revision 181 - Directory Listing
Modified Thu Nov 5 14:03:34 2009 UTC (9 years, 11 months ago) by dages
More dependencies.

Revision 180 - Directory Listing
Modified Thu Nov 5 13:56:34 2009 UTC (9 years, 11 months ago) by dages
Load DBIx::Class::Validation into all schema classes.

Revision 179 - Directory Listing
Modified Thu Nov 5 12:03:47 2009 UTC (9 years, 11 months ago) by dages
More dependencies.

Revision 178 - Directory Listing
Modified Thu Nov 5 12:02:25 2009 UTC (9 years, 11 months ago) by dages
Rename QAWeb::View::TT to QAWeb::View::HTML, and move its configuration
from QAWeb and into QAWeb::View::HTML itself.

Revision 177 - Directory Listing
Modified Thu Nov 5 11:55:45 2009 UTC (9 years, 11 months ago) by dages
Remove pointless comments and add $Id$.

Revision 176 - Directory Listing
Modified Thu Nov 5 11:54:49 2009 UTC (9 years, 11 months ago) by dages
Add more dependencies

Revision 175 - Directory Listing
Modified Thu Nov 5 10:48:29 2009 UTC (9 years, 11 months ago) by dages
Explicitly set CATALYST_VAR to 'c'.  This is actually the default, but
if it isn't set explicitly, Catalyst::View::TT will still define
'base' and 'name' in addition to 'c.base' and 'c.name'.  Me no like.

Revision 174 - Directory Listing
Modified Wed Nov 4 17:03:31 2009 UTC (9 years, 11 months ago) by dages
Once again, remove svn:mergeinfo

Revision 173 - Directory Listing
Modified Wed Nov 4 17:03:09 2009 UTC (9 years, 11 months ago) by dages
Move /repo/list to /repo

Revision 172 - Directory Listing
Modified Wed Nov 4 16:48:22 2009 UTC (9 years, 11 months ago) by dages
Uh, the previous revision didn't do what it said it did.  This one
does.

Revision 171 - Directory Listing
Modified Wed Nov 4 16:46:07 2009 UTC (9 years, 11 months ago) by dages
Don't build a config if one of its providers failed.

Revision 170 - Directory Listing
Modified Wed Nov 4 16:42:25 2009 UTC (9 years, 11 months ago) by dages
Better communication skills

Revision 169 - Directory Listing
Modified Wed Nov 4 16:38:37 2009 UTC (9 years, 11 months ago) by dages
Set proctitle

Revision 168 - Directory Listing
Modified Wed Nov 4 16:20:41 2009 UTC (9 years, 11 months ago) by dages
Get dependencies working.

Revision 167 - Directory Listing
Modified Wed Nov 4 16:20:25 2009 UTC (9 years, 11 months ago) by dages
--prefix

Revision 166 - Directory Listing
Modified Wed Nov 4 16:20:14 2009 UTC (9 years, 11 months ago) by dages
Instead of $abbrev, run a caller-provided coderef.

Revision 165 - Directory Listing
Modified Wed Nov 4 15:56:07 2009 UTC (9 years, 11 months ago) by dages
fix copy-paste error

Revision 164 - Directory Listing
Modified Wed Nov 4 15:53:07 2009 UTC (9 years, 11 months ago) by dages
Add useful accessors for providers / consumers.

Revision 163 - Directory Listing
Modified Wed Nov 4 15:05:19 2009 UTC (9 years, 11 months ago) by dages
Use Email::Valid to identify authors whose login is also their email address.

Revision 162 - Directory Listing
Modified Wed Nov 4 14:55:38 2009 UTC (9 years, 11 months ago) by dages
Tweak title

Revision 161 - Directory Listing
Modified Wed Nov 4 14:50:11 2009 UTC (9 years, 11 months ago) by dages
s/producer/provider/g
s/shortname/name/g
s/longname/description/g

Revision 160 - Directory Listing
Modified Wed Nov 4 12:41:47 2009 UTC (9 years, 11 months ago) by dages
From now on, we will install all Autotools projects, and test both
Autotools and MakeMaker projects.

Revision 159 - Directory Listing
Modified Tue Nov 3 16:53:34 2009 UTC (9 years, 11 months ago) by dages
Add a list of recent test results.

Revision 158 - Directory Listing
Modified Tue Nov 3 15:13:34 2009 UTC (9 years, 11 months ago) by dages
pod is out of date

Revision 157 - Directory Listing
Modified Tue Nov 3 13:27:37 2009 UTC (9 years, 11 months ago) by dages
Add a clear() method that empties the tree (actually, it destroys it
then recreates it, but the effect is the same)

Revision 156 - Directory Listing
Modified Tue Nov 3 13:14:01 2009 UTC (9 years, 11 months ago) by dages
indentation

Revision 155 - Directory Listing
Modified Tue Nov 3 13:04:17 2009 UTC (9 years, 11 months ago) by dages
Major refactoring.

Revision 154 - Directory Listing
Modified Tue Nov 3 13:00:07 2009 UTC (9 years, 11 months ago) by dages
Add an accessor that returns a hashref of all properties.

Revision 153 - Directory Listing
Modified Mon Nov 2 14:34:39 2009 UTC (9 years, 11 months ago) by dages
Revert a change that was never meant to be committed.

Revision 152 - Directory Listing
Modified Mon Nov 2 14:05:24 2009 UTC (9 years, 11 months ago) by dages
nuke mergeinfo; the server doesn't understand it anyway.

Revision 151 - Directory Listing
Modified Mon Nov 2 14:05:06 2009 UTC (9 years, 11 months ago) by dages
Rename QAWeb::Builder::Tree to QAWeb::Tree.

Revision 150 - Directory Listing
Modified Mon Nov 2 13:06:45 2009 UTC (9 years, 11 months ago) by dages
Add names to dependencies so consumers can easily reference their producers.
(I am tempted to s/producer/provider/ throughout...)

Fix the relationship bridge; I got it the wrong way around because the 
diana / metlibs dependency created by qaweb_populate was inverted.

Add a constraint to ensure that a config can't consume itself.          

Do not add (or mention) a constraint that prevents a config from consuming
another config referring to the same branch.  If a branch contains both a
library and an application that uses it, one might want to have separate
test configs for the library and the application.

Revision 149 - Directory Listing
Modified Mon Nov 2 12:32:23 2009 UTC (9 years, 11 months ago) by dages
Move debugging info around.

Revision 148 - Directory Listing
Modified Mon Nov 2 12:32:01 2009 UTC (9 years, 11 months ago) by dages
Set atime / mtime on newly extracted files.

Revision 147 - Directory Listing
Modified Mon Nov 2 00:45:55 2009 UTC (9 years, 11 months ago) by dages
Major reorganization to handle producer / consumer relationships.  Pay
close attention to the comments at the top of sort_candidates().

We're not quite out of the woods yet: we still need to figure out (and
implement) the best way to a) install a producer and b) making sure
the consumer finds it and uses it.  This will probably require some
sort of variable interpolation in configuration properties.

Revision 146 - Directory Listing
Modified Mon Nov 2 00:16:01 2009 UTC (9 years, 11 months ago) by dages
Display consumer / provider relationships.

Revision 145 - Directory Listing
Modified Sun Nov 1 22:19:35 2009 UTC (9 years, 11 months ago) by dages
Tabify

Revision 144 - Directory Listing
Modified Sun Nov 1 22:06:58 2009 UTC (9 years, 11 months ago) by dages
Add methods to generate fully qualified names for repos, branches and configs.

Revision 143 - Directory Listing
Modified Sun Nov 1 22:04:27 2009 UTC (9 years, 11 months ago) by dages
Add a relationship bridge for the producer / consumer relationship between
configs. It would be nice if DBIC did this automatically...

Revision 142 - Directory Listing
Modified Sun Nov 1 18:48:37 2009 UTC (9 years, 11 months ago) by dages
Register dependencies between configs.

Revision 141 - Directory Listing
Modified Sun Nov 1 18:14:34 2009 UTC (9 years, 11 months ago) by dages
Reduce duplication.

Revision 140 - Directory Listing
Modified Sun Nov 1 17:56:00 2009 UTC (9 years, 11 months ago) by dages
Tweak various lists - most importantly, fix handling of empty lists.

Revision 139 - Directory Listing
Modified Sun Nov 1 17:43:08 2009 UTC (9 years, 11 months ago) by dages
Overhaul and simplify, now that I've figured out why second-level result
sets didn't work in TT.

Revision 138 - Directory Listing
Modified Thu Oct 29 15:03:26 2009 UTC (9 years, 11 months ago) by dages
Provide _rs versions of methods that return result sets.

Revision 137 - Directory Listing
Modified Wed Oct 28 17:57:54 2009 UTC (9 years, 11 months ago) by dages
Change the front page to show a timeline of commits and builds.

Revision 136 - Directory Listing
Modified Wed Oct 28 17:57:34 2009 UTC (9 years, 11 months ago) by dages
Abbreviate paths in logs.

Revision 135 - Directory Listing
Modified Wed Oct 28 17:56:38 2009 UTC (9 years, 11 months ago) by dages
Further improve how filter expression parsing errors are handled.

Revision 134 - Directory Listing
Modified Wed Oct 28 17:55:52 2009 UTC (9 years, 11 months ago) by dages
Show test results interleaved with log entries

Revision 133 - Directory Listing
Modified Wed Oct 28 17:55:26 2009 UTC (9 years, 11 months ago) by dages
Tweak links

Revision 132 - Directory Listing
Modified Wed Oct 28 14:41:29 2009 UTC (9 years, 11 months ago) by dages
Further fixes for the empty filter case

Revision 131 - Directory Listing
Modified Wed Oct 28 14:37:23 2009 UTC (9 years, 11 months ago) by dages
the () trick is no longer necessary, and breaks if no filter
expression was provided.

Revision 130 - Directory Listing
Modified Wed Oct 28 13:42:20 2009 UTC (9 years, 11 months ago) by dages
Fix HTML bugs and tweak the layout.

Revision 129 - Directory Listing
Modified Wed Oct 28 12:57:08 2009 UTC (9 years, 11 months ago) by dages
Typo

Revision 128 - Directory Listing
Modified Wed Oct 28 11:05:23 2009 UTC (9 years, 11 months ago) by dages
Record what we've done, and skip configs that have already run.

Revision 127 - Directory Listing
Modified Wed Oct 28 10:58:03 2009 UTC (9 years, 11 months ago) by dages
Another "change in philosophy": decouple the creation / deletion of the
work directory from the act of extracting the source code.  The "prepare"
stage is renamed to "extract", and the "clean" stage is now builder-
specific (the Autotools builder runs "make clean").  The tree is created
in the constructor and deleted in a separate destroy() method (we can't
do it in the destructor, because the destructor is called in every child
process)

Revision 126 - Directory Listing
Modified Tue Oct 27 13:03:33 2009 UTC (9 years, 11 months ago) by dages
Note a bug

Revision 125 - Directory Listing
Modified Tue Oct 27 11:07:36 2009 UTC (9 years, 11 months ago) by dages
pretty things up a little.

Revision 124 - Directory Listing
Modified Tue Oct 27 10:45:24 2009 UTC (9 years, 11 months ago) by dages
Add a link to the revision we built

Revision 123 - Directory Listing
Modified Tue Oct 27 10:43:54 2009 UTC (9 years, 11 months ago) by dages
More result links

Revision 122 - Directory Listing
Modified Tue Oct 27 10:42:58 2009 UTC (9 years, 11 months ago) by dages
Update as per our previously mentioned "change of philosophy".
Before storing our results, check $config->running to see if we've been
preempted (not a particularly strict test, but good enough in most cases)

Revision 121 - Directory Listing
Modified Tue Oct 27 10:37:51 2009 UTC (9 years, 11 months ago) by dages
Change of philosophy: don't die if a stage fails.  Now that outcomes are
ternary, this actually simplifies the code.  Each stage returns true if
the outcome is *not* "fail" (i.e. if it is "pass" or "dnr").

Revision 120 - Directory Listing
Modified Mon Oct 26 21:32:21 2009 UTC (9 years, 11 months ago) by dages
If the config has never been tested, say so.

Revision 119 - Directory Listing
Modified Fri Oct 23 10:45:39 2009 UTC (9 years, 11 months ago) by dages
Adapt for pass / fail / dnr.

Revision 118 - Directory Listing
Modified Fri Oct 23 10:45:21 2009 UTC (9 years, 11 months ago) by dages
Adapt for pass / fail / dnr

Revision 117 - Directory Listing
Modified Fri Oct 23 10:44:46 2009 UTC (9 years, 11 months ago) by dages
Rather than a boolean, make *_ok a ternary value: pass, fail, dnr (did not run)

Revision 116 - Directory Listing
Modified Fri Oct 23 09:06:43 2009 UTC (9 years, 11 months ago) by dages
Views are usedul, but DBIx::Class seems to trip over them.

Revision 115 - Directory Listing
Modified Fri Oct 23 08:50:06 2009 UTC (9 years, 11 months ago) by dages
Move file

Revision 114 - Directory Listing
Modified Fri Oct 23 08:48:06 2009 UTC (9 years, 11 months ago) by dages
Fix path

Revision 113 - Directory Listing
Modified Fri Oct 23 08:39:25 2009 UTC (9 years, 11 months ago) by dages
Set $config->running before starting a build, and clear it after the
build completes.  Set $config->lastrun and store the results in a
transaction.  We had trouble with transactions earlier because the db
connection would time out while we were building, so we give it a kick
in the pants before we start the transaction.

Revision 112 - Directory Listing
Modified Fri Oct 23 08:13:06 2009 UTC (9 years, 11 months ago) by dages
Unit tests for result controller

Revision 111 - Directory Listing
Modified Fri Oct 23 08:12:39 2009 UTC (9 years, 11 months ago) by dages
Add result view and start refactoring.

Revision 110 - Directory Listing
Modified Fri Oct 23 08:10:43 2009 UTC (9 years, 11 months ago) by dages
Add result controller

Revision 109 - Directory Listing
Modified Fri Oct 23 08:10:07 2009 UTC (9 years, 11 months ago) by dages
Order by finished

Revision 108 - Directory Listing
Modified Fri Oct 23 08:09:08 2009 UTC (9 years, 11 months ago) by dages
Share @STAGES.

Revision 107 - Directory Listing
Modified Fri Oct 23 08:08:36 2009 UTC (9 years, 11 months ago) by dages
Save *_ok

Revision 106 - Directory Listing
Modified Fri Oct 23 08:07:57 2009 UTC (9 years, 11 months ago) by dages
Record both start and finish

Revision 105 - Directory Listing
Modified Tue Oct 20 13:01:25 2009 UTC (9 years, 11 months ago) by dages
Ask psql nicely if he would mind terribly not making so much noise, please.

Revision 104 - Directory Listing
Modified Tue Oct 20 13:00:31 2009 UTC (9 years, 11 months ago) by dages
Regenerate as per r103.

Revision 103 - Directory Listing
Modified Tue Oct 20 12:58:43 2009 UTC (9 years, 11 months ago) by dages
For each config, we'd like to know which revision was last tested, whether
there is a build currently running, and if so, when it started.
For each result set, we'd like to know which revision was tested.

Revision 102 - Directory Listing
Modified Tue Oct 20 12:15:05 2009 UTC (9 years, 11 months ago) by dages
Vastly improved conversion scripts, primarily because MySQL really likes to
have its tables dropped in reverse order.

Revision 101 - Directory Listing
Modified Tue Oct 20 11:54:10 2009 UTC (9 years, 11 months ago) by dages
Don't give make(1) the impression of success when in fact we failed to
convert the SQL code (due to an error in the script).

Revision 100 - Directory Listing
Modified Mon Oct 19 16:53:35 2009 UTC (9 years, 11 months ago) by dages
Add a controller for configs.

Revision 99 - Directory Listing
Modified Mon Oct 19 16:50:45 2009 UTC (9 years, 11 months ago) by dages
We have to be prepared to catch exceptions from the builder - although
we don't care what they say.
Take advantage of QAWeb::Builder::result_hash().

Revision 98 - Directory Listing
Modified Mon Oct 19 16:49:06 2009 UTC (9 years, 11 months ago) by dages
Add logic for _ok(), and simplify the reporting methods.

Revision 97 - Directory Listing
Modified Mon Oct 19 16:46:53 2009 UTC (9 years, 11 months ago) by dages
It makes no sense to install code that hasn't been tested.

Revision 96 - Directory Listing
Modified Mon Oct 19 16:44:41 2009 UTC (9 years, 11 months ago) by dages
forgot s/check/test/

Revision 95 - Directory Listing
Modified Mon Oct 19 16:23:20 2009 UTC (9 years, 11 months ago) by dages
Introduce separate boolean columns to indicate the result of each stage:
success (true), failure (false) or not run (null).

Revision 94 - Directory Listing
Modified Mon Oct 19 16:21:05 2009 UTC (9 years, 11 months ago) by dages
Remove check(), it can only confuse matters.

Revision 93 - Directory Listing
Modified Mon Oct 19 16:20:42 2009 UTC (9 years, 11 months ago) by dages
Improve documentation.

Revision 92 - Directory Listing
Modified Mon Oct 19 15:21:51 2009 UTC (9 years, 11 months ago) by dages
style nit

Revision 91 - Directory Listing
Modified Mon Oct 19 15:20:51 2009 UTC (9 years, 11 months ago) by dages
missing filter

Revision 90 - Directory Listing
Modified Mon Oct 19 15:16:30 2009 UTC (9 years, 11 months ago) by dages
List test configurations.

Revision 89 - Directory Listing
Modified Mon Oct 19 14:22:23 2009 UTC (9 years, 11 months ago) by dages
Run the tests and record the results.

Revision 88 - Directory Listing
Modified Mon Oct 19 14:21:09 2009 UTC (9 years, 11 months ago) by dages
Propagate $verbose

Revision 87 - Directory Listing
Modified Mon Oct 19 14:20:52 2009 UTC (9 years, 11 months ago) by dages
Style issues

Revision 86 - Directory Listing
Modified Mon Oct 19 14:18:09 2009 UTC (9 years, 11 months ago) by dages
Use InnoDB - not that it helps...

Revision 85 - Directory Listing
Modified Mon Oct 19 14:14:56 2009 UTC (9 years, 11 months ago) by dages
fix new() prototype + pod

Revision 84 - Directory Listing
Modified Mon Oct 19 14:14:29 2009 UTC (9 years, 11 months ago) by dages
pod tweaks.

Revision 83 - Directory Listing
Modified Mon Oct 19 14:10:55 2009 UTC (9 years, 11 months ago) by dages
Implement configure(), build(), install() and test().

Revision 82 - Directory Listing
Modified Mon Oct 19 14:09:01 2009 UTC (9 years, 11 months ago) by dages
Add a results table and regenerate the schema.

Revision 81 - Directory Listing
Modified Mon Oct 19 14:05:57 2009 UTC (9 years, 11 months ago) by dages
Rethink and extend the constructor a bit:

 - QAWeb::Builder removes configuration keys that it recognizes from
   the hash, and expects the concrete subclass to do the same, so it
   can warn about unrecognized options.

 - Create a QAWeb::Builder::Tree object (note that this does not
   actually create or populate the work directory)

 - Add fields for storing the output from each stage, and accessors
   for those fields.

Overhaul the way we run external commands.  There is now a fork()
method that runs the specified coderef in a child process and
optionally captures its output, an exec() method that replaces the
current process with the specified command, and a setenv() method that
does what you think it does.

Implement prepare() and clean() in terms of exec() / fork() and the
appropriate calls to QAWeb::Builder::Tree methods.

Add an install() method for when we need to install the result of one
build so another one can use it (need to think long and hard about
that one).

Revision 80 - Directory Listing
Modified Mon Oct 19 13:49:54 2009 UTC (9 years, 11 months ago) by dages
Abstraction for a source tree.

Revision 79 - Directory Listing
Modified Mon Oct 19 13:48:30 2009 UTC (9 years, 11 months ago) by dages
Add OpenPAM, which builds much faster than Metlibs or Diana and is
therefore better suited for testing.

Revision 78 - Directory Listing
Modified Mon Oct 19 13:31:47 2009 UTC (9 years, 11 months ago) by dages
MySQL: can't live with it, can't...  right.

Revision 77 - Directory Listing
Modified Mon Oct 19 13:15:40 2009 UTC (9 years, 11 months ago) by dages
Correct some typos.  Add instructions for MySQL.  Clarify instructions
for configuring CPAN.  Update the instructions for populating the
database.  Add instructions for updating the source tree.

Revision 76 - Directory Listing
Modified Mon Oct 19 11:09:50 2009 UTC (9 years, 11 months ago) by dages
forgot s/key/name

Revision 75 - Directory Listing
Modified Mon Oct 19 11:01:31 2009 UTC (9 years, 11 months ago) by dages
Fix drop syntax.
MySQL does not accept varchar without a length.
MySQL does not have datetime, but it does have timestamp (which has tricky
semantics which hopefully don't matter to us)

Revision 74 - Directory Listing
Modified Mon Oct 19 10:59:57 2009 UTC (9 years, 11 months ago) by dages
Fix MySQL command-line syntax.

Revision 73 - Directory Listing
Modified Mon Oct 19 10:56:46 2009 UTC (9 years, 11 months ago) by dages
tabify

Revision 72 - Directory Listing
Modified Mon Oct 19 10:52:52 2009 UTC (9 years, 11 months ago) by dages
Thanks to MySQL, we can't have a column named "key".

Revision 71 - Directory Listing
Modified Mon Oct 19 09:43:40 2009 UTC (9 years, 11 months ago) by dages
Make sure the foreign references cascade.

Revision 70 - Directory Listing
Modified Sun Oct 18 16:25:35 2009 UTC (9 years, 11 months ago) by dages
Expect an actual regexp, not a string.

Revision 69 - Directory Listing
Modified Wed Oct 14 11:08:30 2009 UTC (10 years ago) by dages
missing variable definition

Revision 68 - Directory Listing
Modified Wed Oct 14 11:07:51 2009 UTC (10 years ago) by dages
typo

Revision 67 - Directory Listing
Modified Tue Oct 13 18:58:17 2009 UTC (10 years ago) by dages
Documentation nits

Revision 66 - Directory Listing
Modified Tue Oct 13 16:35:37 2009 UTC (10 years ago) by dages
Unfinished daemon script.

Revision 65 - Directory Listing
Modified Tue Oct 13 16:23:44 2009 UTC (10 years ago) by dages
Stub builders for Autotools and MakeMaker.

Revision 64 - Directory Listing
Modified Tue Oct 13 16:23:11 2009 UTC (10 years ago) by dages
Oops, unshadow

Revision 63 - Directory Listing
Modified Tue Oct 13 16:18:22 2009 UTC (10 years ago) by dages
Refactor the extra accessors and predicates, and add a regexp-based
predicate.

Revision 62 - Directory Listing
Modified Tue Oct 13 14:34:01 2009 UTC (10 years ago) by dages
Add accessors and predicates for configuration properties.

Revision 61 - Directory Listing
Modified Mon Oct 12 16:45:11 2009 UTC (10 years ago) by dages
Add configurations

Revision 60 - Directory Listing
Modified Mon Oct 12 15:11:06 2009 UTC (10 years ago) by dages
Convert the author property to lowercase.  It turns out that Subversion
ignores but conserves case when a user logs in, so there are revisions in
both metlibs and diana with the same author spelled differently.

If the author property looks like an email address, use it when creating
the author object.

Revision 59 - Directory Listing
Modified Mon Oct 12 15:08:45 2009 UTC (10 years ago) by dages
Very basic author controller.

Revision 58 - Directory Listing
Modified Mon Oct 12 15:08:04 2009 UTC (10 years ago) by dages
Link to a repository.

Revision 57 - Directory Listing
Modified Mon Oct 12 15:07:45 2009 UTC (10 years ago) by dages
Sometimes, it can be useful to include the name of the repository.

Revision 56 - Directory Listing
Modified Mon Oct 12 15:07:13 2009 UTC (10 years ago) by dages
Use the new name() method

Revision 55 - Directory Listing
Modified Mon Oct 12 14:35:30 2009 UTC (10 years ago) by dages
Add name() (pretty-printable name) and repos() (list of repos in which
this author is active)

Revision 54 - Directory Listing
Modified Mon Oct 12 13:59:54 2009 UTC (10 years ago) by dages
Regenerate for new unique constraints on branches table.

Revision 53 - Directory Listing
Modified Mon Oct 12 13:52:40 2009 UTC (10 years ago) by dages
Use a Perl script to populate the database, instead of increasingly complex
SQL statements.

Revision 52 - Directory Listing
Modified Mon Oct 12 13:48:11 2009 UTC (10 years ago) by dages
In each repo, there can only be one branch with the same shortname,
longname or subdir.

Revision 51 - Directory Listing
Modified Mon Oct 12 11:08:52 2009 UTC (10 years ago) by dages
Add $Id$

Revision 50 - Directory Listing
Modified Mon Oct 12 10:51:49 2009 UTC (10 years ago) by dages
Hide UUID behind $verbose.

Revision 49 - Directory Listing
Modified Mon Oct 12 10:51:18 2009 UTC (10 years ago) by dages
Uncutify.

Revision 48 - Directory Listing
Modified Sun Oct 11 11:43:07 2009 UTC (10 years ago) by dages
reorder, add qaweb/trunk

Revision 47 - Directory Listing
Modified Sat Oct 10 02:34:02 2009 UTC (10 years ago) by dages
title

Revision 46 - Directory Listing
Modified Sat Oct 10 02:33:11 2009 UTC (10 years ago) by dages
Implement /branch/view

Revision 45 - Directory Listing
Modified Sat Oct 10 02:32:53 2009 UTC (10 years ago) by dages
Overhaul

Revision 44 - Directory Listing
Modified Sat Oct 10 02:32:43 2009 UTC (10 years ago) by dages
Overhaul

Revision 43 - Directory Listing
Modified Sat Oct 10 02:31:03 2009 UTC (10 years ago) by dages
Useful bits of code

Revision 42 - Directory Listing
Modified Sat Oct 10 02:30:12 2009 UTC (10 years ago) by dages
cosmetic nits

Revision 41 - Directory Listing
Modified Sat Oct 10 02:29:33 2009 UTC (10 years ago) by dages
Forgot to commit the view...

Revision 40 - Directory Listing
Modified Sat Oct 10 02:28:51 2009 UTC (10 years ago) by dages
Only one view is needed.

Revision 39 - Directory Listing
Modified Sat Oct 10 00:59:03 2009 UTC (10 years ago) by dages
Add a svnurl method that returns a direct URL to the revision.

Revision 38 - Directory Listing
Modified Sat Oct 10 00:37:47 2009 UTC (10 years ago) by dages
Add a svnurl method that returns a direct URL to the branch.

Revision 37 - Directory Listing
Modified Sat Oct 10 00:34:19 2009 UTC (10 years ago) by dages
Remove trailing slash.

Revision 36 - Directory Listing
Modified Fri Oct 9 23:57:39 2009 UTC (10 years ago) by dages
Move the revision view.

Revision 35 - Directory Listing
Modified Fri Oct 9 23:56:56 2009 UTC (10 years ago) by dages
Redirect from the front page to the list of repos.

Revision 34 - Directory Listing
Modified Fri Oct 9 23:32:45 2009 UTC (10 years ago) by dages
1) move repo/rev to rev/index
2) list branches in repo/view

Revision 33 - Directory Listing
Modified Fri Oct 9 23:28:54 2009 UTC (10 years ago) by dages
Create views and controllers for revs and branches.

Revision 32 - Directory Listing
Modified Fri Oct 9 23:14:43 2009 UTC (10 years ago) by dages
Show how to specify the database user and password on the qaweb_create.pl
command line.  Change the password to make it easier to tell it apart from
the user name.  Regenerate what needs to be regenerated.

Revision 31 - Directory Listing
Modified Fri Oct 9 23:06:47 2009 UTC (10 years ago) by dages
Add a revs method that returns revisions that touched the branch.

Revision 30 - Directory Listing
Modified Fri Oct 9 21:23:59 2009 UTC (10 years ago) by dages
We need more branches.

Revision 29 - Directory Listing
Modified Fri Oct 9 21:02:32 2009 UTC (10 years ago) by dages
Fix inserts

Revision 28 - Directory Listing
Modified Fri Oct 9 21:01:48 2009 UTC (10 years ago) by dages
DBIC really likes tables to have primary keys.  Humor it.
Rearrange the preloaded data.

Revision 27 - Directory Listing
Modified Fri Oct 9 20:56:27 2009 UTC (10 years ago) by dages
Forgot to commit this with the switch to PostgreSQL.

Revision 26 - Directory Listing
Modified Fri Oct 9 20:31:05 2009 UTC (10 years ago) by dages
oops

Revision 25 - Directory Listing
Modified Fri Oct 9 13:17:52 2009 UTC (10 years ago) by dages
Tired of SQLite, switching to PostgreSQL.

Revision 24 - Directory Listing
Modified Fri Oct 9 13:17:33 2009 UTC (10 years ago) by dages
Need ca-certificates for https.

Revision 23 - Directory Listing
Modified Mon Oct 5 17:26:55 2009 UTC (10 years ago) by dages
Edit for clarity.

Revision 22 - Directory Listing
Modified Thu Oct 1 17:39:17 2009 UTC (10 years ago) by dages
Mention the conversion scripts

Revision 21 - Directory Listing
Modified Thu Oct 1 17:35:40 2009 UTC (10 years ago) by dages
rename targets, update usage string.

Revision 20 - Directory Listing
Modified Thu Oct 1 17:23:35 2009 UTC (10 years ago) by dages
Prettify

Revision 19 - Directory Listing
Modified Thu Oct 1 17:22:33 2009 UTC (10 years ago) by dages
Allow the user to specify which repo(s) to synchronize.

Revision 18 - Directory Listing
Modified Thu Oct 1 17:21:46 2009 UTC (10 years ago) by dages
Update for the new schema, where authors are not associated with a
particular repo.  Simplify the handling of revisions with no author or
message (either revision 0 or the result of loading a filtered dump).

Revision 17 - Directory Listing
Modified Thu Oct 1 14:57:49 2009 UTC (10 years ago) by dages
Dissociate authors from repos.

Revision 16 - Directory Listing
Modified Thu Oct 1 14:57:00 2009 UTC (10 years ago) by dages
Change db string to match the instructions in INSTALL.

Revision 15 - Directory Listing
Modified Thu Oct 1 14:53:50 2009 UTC (10 years ago) by dages
Ignore generated files

Revision 14 - Directory Listing
Modified Thu Oct 1 14:51:54 2009 UTC (10 years ago) by dages
Correct file extension

Revision 13 - Directory Listing
Modified Thu Oct 1 14:50:03 2009 UTC (10 years ago) by dages
These comments are superfluous now that we have conversion scripts.

Revision 12 - Directory Listing
Modified Thu Oct 1 14:48:50 2009 UTC (10 years ago) by dages
Add conversion scripts for PostgreSQL and MySQL, and a Makefile to tie it
all together.

Revision 11 - Directory Listing
Modified Thu Oct 1 14:31:19 2009 UTC (10 years ago) by dages
tabify

Revision 10 - Directory Listing
Modified Thu Oct 1 13:27:55 2009 UTC (10 years ago) by dages
slightly less verbose

Revision 9 - Directory Listing
Modified Thu Oct 1 13:04:58 2009 UTC (10 years ago) by dages
zzt

Revision 8 - Directory Listing
Modified Thu Oct 1 13:00:21 2009 UTC (10 years ago) by dages
When using a database backend that autocommits by default, we risk
having incomplete information about a revision in the database; when
using one that doesn't, we risk losing all our work if a single
revision fails.  Dodge both issues by wrapping each revision in a
separate transaction.

Revision 7 - Directory Listing
Modified Thu Oct 1 12:55:34 2009 UTC (10 years ago) by dages
Move the callback out of the get_log() call for improved readability.

Revision 6 - Directory Listing
Modified Thu Oct 1 12:40:42 2009 UTC (10 years ago) by dages
-force is wrong

Revision 5 - Directory Listing
Modified Thu Oct 1 12:20:52 2009 UTC (10 years ago) by dages
props

Revision 4 - Directory Listing
Modified Thu Oct 1 12:20:02 2009 UTC (10 years ago) by dages
Forgot to commit the CSS file.

Revision 3 - Directory Listing
Modified Thu Oct 1 12:13:33 2009 UTC (10 years ago) by dages
Installation instructions.

Revision 2 - Directory Listing
Modified Thu Oct 1 12:11:55 2009 UTC (10 years ago) by dages
Import code from old repo

Revision 1 - Directory Listing
Added Thu Oct 1 12:07:33 2009 UTC (10 years ago) by dages
trunk branches tags

svn@met.no
ViewVC Help
Powered by ViewVC 1.1.5