Revision
15414 -
Directory Listing
-
[select for diffs]
Modified
Wed Sep 4 11:22:29 2013 UTC
(10 years, 8 months ago)
by
laffer1
Diff to
previous 15336
Update magus to use subversion roots instead. In this case, we switched CvsDir and CvsRoot to VcsRoot and VcsDir to be more generic. While here, fix the licenseit script
Revision
15169 -
Directory Listing
-
[select for diffs]
Modified
Sat Aug 17 18:56:35 2013 UTC
(10 years, 8 months ago)
by
laffer1
Diff to
previous 14964
revert 1.8. md5 is used for verify of installed files, but sha256 is used for package verification. really should use sha for both
Revision
13776 -
Directory Listing
-
[select for diffs]
Modified
Sun Mar 17 16:41:29 2013 UTC
(11 years, 1 month ago)
by
laffer1
Diff to
previous 13478
add load_depends function. It creates dependencies list for each package we add to the index for consumption by magus clients.
This allows clients to predict what dependencies it needs to fetch prior to fetching the main package.
Otherwise, we get a scenario where we fetch a package only to find out we need 5 more and then 5 more after that and so on.
Revision
12048 -
Directory Listing
-
[select for diffs]
Modified
Sun Sep 25 19:43:50 2011 UTC
(12 years, 7 months ago)
by
laffer1
Diff to
previous 11770
This script was used to see if version numbers moved backwards and to blame users but required index generation. This would more easily be accomplished with some sql queries + code on magus. We have history there since 2008.
Further, the mport tools don't have the same concept of version numbers that pkg_info -P would give us and this script relies on that among other pkg_info specifics.
Revision
10763 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 26 13:50:35 2011 UTC
(13 years, 2 months ago)
by
laffer1
Diff to
previous 10762
This isn't quite what chris had in mind, but set the alias to the origin for now. This allows a user to type a relative path off of mports to get a specific port without knowing the "friendly" package name.
Add indexes for some columns to speed up searches on the client.
Revision
10762 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 26 00:35:59 2011 UTC
(13 years, 2 months ago)
by
laffer1
Diff to
previous 8978
This is the first version of the new bless utility for magus/packages. This will generate a sqlite3 database containing an index and mirror list for packages.
Next steps:
handle os version and arch
populate mirror list for mysql?
fill in aliases
Revision
7696 -
Directory Listing
-
[select for diffs]
Modified
Tue Apr 14 23:58:42 2009 UTC
(15 years ago)
by
laffer1
Diff to
previous 7695
The java ports rely heavily on the proc file system availability when magus is running. Allow the chroot module to mount the proc and linprocfs file systems accordingly.
Revision
7693 -
Directory Listing
-
[select for diffs]
Modified
Tue Apr 14 23:49:25 2009 UTC
(15 years ago)
by
laffer1
Diff to
previous 7683
I think this should be /usr/bin/perl
We make a symlink the port case and now that it could be installed as part of the OS...
Revision
6915 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 10 16:39:30 2008 UTC
(15 years, 4 months ago)
by
ctriv
Diff to
previous 6845
Add mporter; a script I use to automate repetative maintaince tasks. At the
moment it is poorly documented, but I hope to improve the docs in the
future.
Revision
6827 -
Directory Listing
-
[select for diffs]
Modified
Thu Nov 6 20:11:22 2008 UTC
(15 years, 6 months ago)
by
ctriv
Diff to
previous 6790
Update to make /etc and /usr/share from src. We also inject a resolv.conf
into /etc, as the one from source isn't empty/non-existant.
Right now the only way to change resolv.conf is to edit this script, a way
to configure this at run time is still needed.
Revision
6512 -
Directory Listing
-
[select for diffs]
Modified
Wed Oct 8 04:59:22 2008 UTC
(15 years, 6 months ago)
by
ctriv
Diff to
previous 6469
add licenseit. A simmple script for making it quick and easy to license a
port. It downloads the port, starts a shell in the working directory, and
once that shell exists, it starts your $EDITOR on the right line of the
makefile.
Revision
6411 -
Directory Listing
-
[select for diffs]
Modified
Wed Oct 1 21:09:15 2008 UTC
(15 years, 7 months ago)
by
ctriv
Diff to
previous 6408
Move a bunch of stuff to the child module. Still need to clean up logging,
but this gives it some badly needed orginzation.
Revision
6248 -
Directory Listing
-
[select for diffs]
Modified
Fri Sep 19 17:10:21 2008 UTC
(15 years, 7 months ago)
by
ctriv
Diff to
previous 6197
Fix a bug in _mkdir. File::Path::path throws exceptions on error, its
return value in this case isn't what we need to check.
Revision
6140 -
Directory Listing
-
[select for diffs]
Modified
Wed Sep 10 13:07:01 2008 UTC
(15 years, 7 months ago)
by
laffer1
Diff to
previous 6134
Here's a quick an dirty utility I'm using to make the ftp symlinks. It requires MySQL client library (5.x used).
This is ugly and the user/password pair shouldn't be hard coded (i replaced them in the code)
To use, cd to the packages directory for the release in question and execute. (All and Latest should be subdirectories)
Revision
6134 -
Directory Listing
-
[select for diffs]
Modified
Tue Sep 9 18:16:44 2008 UTC
(15 years, 7 months ago)
by
ctriv
Diff to
previous 6133
Pretty big refactor of Chroot.pm.
A reference chroot dir is now created, and one or more working chroot dirs.
When a working chroot dir is marked dirty or dead, cpdup is used to sync
that dir with the reference dir. This is more rebust and faster than the
older methods of cleaning a chroot dir.
The groundwork is also now in place for supporting more than one worker
chroot dir. This will be used when the -j flag is implmented on the slave
side.
Revision
6132 -
Directory Listing
-
[select for diffs]
Modified
Tue Sep 9 15:46:51 2008 UTC
(15 years, 7 months ago)
by
ctriv
Diff to
previous 6131
Try to recover from a dropped DB connection.
Don't use /usr/mports for the loopback, set up a mports tree in
/usr/magus/slave-data.
Don't flush locks on a machine level. This is in anticipation of running
more than one magus process on a machine.
Revision
5023 -
Directory Listing
-
[select for diffs]
Modified
Sun May 18 06:23:31 2008 UTC
(15 years, 11 months ago)
by
ctriv
Diff to
previous 4928
make_ftp_symlinks.pl - makes the symlinks needed for packages on the ftp
site. Gets the categories and the latest link.
Revision
4305 -
Directory Listing
-
[select for diffs]
Modified
Fri Mar 21 20:41:41 2008 UTC
(16 years, 1 month ago)
by
ctriv
Diff to
previous 4263
start of improved searching, can do things like "curl status:fail" or
"run:12 status:pass" can't do things involving joins yet, so no "curl
arch:i386 status:fail"
Revision
4262 -
Directory Listing
-
[select for diffs]
Modified
Thu Mar 20 22:23:49 2008 UTC
(16 years, 1 month ago)
by
ctriv
Diff to
previous 4260
Bug fixes.
* Try to keep indexing from using local configuration directives.
* Cleanup /compat/linux in dirty chroot dirs.
Revision
4161 -
Directory Listing
-
[select for diffs]
Modified
Fri Mar 7 07:31:09 2008 UTC
(16 years, 2 months ago)
by
ctriv
Diff to
previous 4160
various cleanups. Most importantly, we refresh the port object in the
parent after the child exits. This insures that package is uploaded in the
port passed.
Revision
4155 -
Directory Listing
-
[select for diffs]
Modified
Wed Mar 5 18:52:06 2008 UTC
(16 years, 2 months ago)
by
ctriv
Diff to
previous 4108
Die if downloading the run tarball fails. We might need/want a retry scheme
in the future, but this will be enough for now.
Revision
4097 -
Directory Listing
-
[select for diffs]
Modified
Thu Feb 28 20:09:06 2008 UTC
(16 years, 2 months ago)
by
ctriv
Diff to
previous 4019
schema 2.0. Many many changes. Result and port tables have merged. There
is now an entry for each port for each run. Runs are per osversion and
arch. events have replaced subresults.
Revision
4019 -
Directory Listing
-
[select for diffs]
Modified
Sun Feb 24 23:58:47 2008 UTC
(16 years, 2 months ago)
by
ctriv
Diff to
previous 3688
Sync with current developement version. This is not ready for primetime
yet, but it was felt that a checkin was good for backing up and peer review.
Revision
3674 -
Directory Listing
-
[select for diffs]
Modified
Fri Nov 16 05:29:37 2007 UTC
(16 years, 5 months ago)
by
ctriv
Diff to
previous 3637
Update to the devel version of the next milestone. The ports table is now
the cross product of the archs and the ports. This makes the rest of the
schema much more natural.
There is now a ready_ports view in the database.
A snap table has been added. This will be used to keep nodes on the right
version of the mports tree.
Revision
3603 -
Directory Listing
-
[select for diffs]
Modified
Mon Nov 12 00:06:01 2007 UTC
(16 years, 5 months ago)
by
laffer1
Diff to
previous 3602
Preserve permissions on tar operation to simulate a real system. Remove /var/crash/ and /var/audit as they should not be needed for ports builds.
Revision
3602 -
Directory Listing
-
[select for diffs]
Modified
Sun Nov 11 23:53:26 2007 UTC
(16 years, 5 months ago)
by
laffer1
Diff to
previous 3503
Several other files have schg set. Let's just remove the flags from everything even though it takes longer. This includes /usr/sbin and /sbin in the chroot
Revision
3413 -
Directory Listing
-
[select for diffs]
Modified
Mon Nov 5 16:54:49 2007 UTC
(16 years, 6 months ago)
by
ctriv
Diff to
previous 3412
We now use the mports tree specified in the config file as the master root.
Delete entries from the database when they are no longer in the dir
makefiles.
Mark ports as failed if they don't exist but are in the dir makefile.
Be a bit verbose about what is going on.
Revision
3282 -
Directory Listing
-
[select for diffs]
Modified
Thu Oct 25 17:48:45 2007 UTC
(16 years, 6 months ago)
by
ctriv
Diff to
previous 3240
Make sure that when looking for ready ports non of the depends are locked. Just because the port is tested doesn't mean that the package is up on the master.
Revision
3216 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 23 03:58:51 2007 UTC
(16 years, 6 months ago)
by
ctriv
Diff to
previous 3215
Add logs. An entry is made in the log table for any phase of a build that
fails. This means that subresult rules now get to see all the output, not
just each line. While this costs some ram, it will be /much/ faster.
Revision
3215 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 23 03:57:20 2007 UTC
(16 years, 6 months ago)
by
ctriv
Diff to
previous 3210
Refactored a good chunk of code.
Added logging.
Added docs.
Cleaned up exception handling.
Still a few known bugs. SIGINT isn't quite handled correctly yet.
Revision
2680 -
Directory Listing
-
[select for diffs]
Modified
Mon Sep 17 18:09:48 2007 UTC
(16 years, 7 months ago)
by
ctriv
Diff to
previous 2675
Sync with my working version. At this point a slave machine can chroot,
test a port, and analyze the results. The next step is to implement the
master machine.
Revision
2648 -
Directory Listing
-
[select for diffs]
Modified
Tue Sep 11 02:29:26 2007 UTC
(16 years, 7 months ago)
by
ctriv
Diff to
previous 2646
A pretty significant refactoring. This code is still in active
developement, and future such changes are likely.
Revision
2646 -
Directory Listing
-
[select for diffs]
Modified
Sun Sep 9 22:26:07 2007 UTC
(16 years, 7 months ago)
by
ctriv
Diff to
previous 2640
Ported the chkfake script to sh from perl. This will allow all ports to be
checked, and simplify things for magus.
Revision
2640 -
Directory Listing
-
[select for diffs]
Modified
Sun Sep 9 02:20:48 2007 UTC
(16 years, 7 months ago)
by
ctriv
Diff to
previous 2632
recurse_ports used to take around 4m40s to run. This optimization is a
little hacky, but I got the time down to around 5s.
Revision
2309 -
Directory Listing
-
[select for diffs]
Modified
Wed Aug 15 20:55:39 2007 UTC
(16 years, 8 months ago)
by
ctriv
Diff to
previous 2212
Start of the perl libraries for playing with mports. At the moment this
commit is simply to backup my work so far. The code is not yet usable. As
perl will be the official language for major scripting in the mports system,
these libraries will - over time - become quite extensive.
Revision
2087 -
Directory Listing
-
[select for diffs]
Modified
Mon Jul 30 19:50:20 2007 UTC
(16 years, 9 months ago)
by
ctriv
Diff to
previous 1907
Skip ahead on symlinks. We just want to see that the link is there. It
might not make any sense until final install time.