1. 03 Nov, 2006 1 commit
    • Leigh B. Stoller's avatar
      Big set of changes intended to solve a couple of problems with long · ff9061d4
      Leigh B. Stoller authored
      term archiving of firstclass objects like users, projects, and of
      course templates.
      
      * Projects, Users, and Groups are now uniquely identified inside the
        DB by a index value that will not be reused. If necessary, this
        could easily be a globally unique identifier, but without federation
        there is no reason to do that yet.
      
      * Currently, pid, gid, and uid still need to be locally unique until
        all of the changes are in place (which is going to take a fairly
        long time since the entire system operates in terms of those, except
        for the few places that I had to change to get the ball rolling).
      
      * We currently archive deleted users to the deleted_users table (their
        user_stats are kept forever since they are indexed by the new index
        column). Eventually do the same with projects (not sure about
        groups) but since we rarely if ever delete a project, there is no
        rush on this one.
      
      * At the same time, I have started a large reorg of the code, to move
        all of the user, group, project code into modules, both in php and
        perl, turning them into first class "objects" (as far as that goes
        in php and perl). Eventually, the number of query statements
        scattered around the code will be manageable, or so I hope.
      
      * Another related part of this reorg is to make it easier to move the
        new user/project/group code in the perl backend so that it can be
        made available via the xmlrpc interface (without duplication of the
        code).
      ff9061d4
  2. 02 Nov, 2006 3 commits
  3. 31 Oct, 2006 2 commits
  4. 30 Oct, 2006 4 commits
  5. 29 Oct, 2006 2 commits
  6. 27 Oct, 2006 9 commits
  7. 26 Oct, 2006 11 commits
  8. 25 Oct, 2006 8 commits
    • Leigh B. Stoller's avatar
      6fab4476
    • Leigh B. Stoller's avatar
      Makefile Whacking! Try to deal with the problem caused by the delay · bc269f9a
      Leigh B. Stoller authored
        between when something is installed and when post-install runs. Short
        of a global lock (which we probably need anyway someday), my solution
        is this. In your makefiles, add these variables before the line that
        has the include of $(TESTBED_SRCDIR)/GNUmakerules:
      
        	SETUID_BIN_SCRIPTS   =
        	SETUID_SBIN_SCRIPTS  =
      
        I have added three new rules to GNUmakerules that look like this:
      
        	$(addprefix $(SBINDIR)/, $(SETUID_SBIN_SCRIPTS)): $(SBINDIR)/%: %
        		echo "Installing (setuid) $<"
        		-mkdir -p $(INSTALL_SBINDIR)
        		$(SUDO) $(INSTALL) -o root -m 4755 $< $@
      
        Yep, your eyes ain't lying to you; use sudo to run the target so that
        install does the right thing (which is that the old file is not
        replaced until the new one has the proper attributes on it).
      
        Note that post-install is still needed for the initial install, but
        should no longer be needed for day to day installs since all that other
        stuff post-install does is mkdir/chmod on directories.
      bc269f9a
    • Leigh B. Stoller's avatar
      Makefile Whacking! Try to deal with the problem caused by the delay · 7590f9c5
      Leigh B. Stoller authored
      between when something is installed and when post-install runs. Short
      of a global lock (which we probably need anyway someday), my solution
      is this. In your makefiles, add these variables before the line that
      has the include of $(TESTBED_SRCDIR)/GNUmakerules:
      
      	SETUID_BIN_SCRIPTS   =
      	SETUID_SBIN_SCRIPTS  =
      
      I have added three new rules to GNUmakerules that look like this:
      
      	$(addprefix $(SBINDIR)/, $(SETUID_SBIN_SCRIPTS)): $(SBINDIR)/%: %
      		echo "Installing (setuid) $<"
      		-mkdir -p $(INSTALL_SBINDIR)
      		$(SUDO) $(INSTALL) -o root -m 4755 $< $@
      
      Yep, your eyes ain't lying to you; use sudo to run the target so that
      install does the right thing (which is that the old file is not
      replaced until the new one has the proper attributes on it).
      
      Note that post-install is still needed for the initial install, but
      should no longer be needed for day to day installs since all that other
      stuff post-install does is mkdir/chmod on directories.
      7590f9c5
    • Leigh B. Stoller's avatar
      b24ab662
    • Leigh B. Stoller's avatar
      Add comment about what page does. · 4b0cba30
      Leigh B. Stoller authored
      4b0cba30
    • Leigh B. Stoller's avatar
      9726d5c4
    • Kevin Atkinson's avatar
      Added defs for my (kevina) devel tree · 16e06c82
      Kevin Atkinson authored
      16e06c82
    • Mike Hibler's avatar
      FreeBSD: were not properly setting up delay pipes for vlan devices · 2e8e2370
      Mike Hibler authored
      Linux: nits, no functional changes
      2e8e2370