1. 15 Apr, 2012 2 commits
  2. 02 Apr, 2012 1 commit
  3. 16 Mar, 2012 2 commits
  4. 15 Mar, 2012 2 commits
  5. 12 Jan, 2012 4 commits
  6. 03 Jan, 2012 1 commit
    • Ryan Jackson's avatar
      Add hgmail script · 89982747
      Ryan Jackson authored
      hgmail is like our gitmail script, only for Mercurial instead of git.
      
      Filtering emails based on the branch doesn't work correctly, so it has
      been disabled for now.  Filtering based on path should still work
      though.
      89982747
  7. 15 Dec, 2011 2 commits
  8. 17 Nov, 2011 3 commits
    • Robert Ricci's avatar
      Fixes to git-checkout-push · ae6fd130
      Robert Ricci authored
      Explicitly set an environment variable for the working directory, otherwise
      git looks in the .git directory and bad things happen
      
      Add an UNSAFE option, off by default
      ae6fd130
    • Robert Ricci's avatar
      Change path handling in git-multihook · d2d6cfcd
      Robert Ricci authored
      If the path is not explictly fully-qualified or relative, prepend
      the path this script itself is at (usually hooks/)
      d2d6cfcd
    • Robert Ricci's avatar
      Fixes to git-checkout-push · 5da66347
      Robert Ricci authored
      Add a note about a variable you have to set on the target repo to
      make git happy
      
      Don't check the index, weird stuff happens
      
      Use 'git reset' rather than 'git checkout', as the latter is known to
      do strange things in this situation
      5da66347
  9. 16 Nov, 2011 2 commits
    • Robert Ricci's avatar
      New git utility script: git-multihook · f0d18eb0
      Robert Ricci authored
      Allows you to call more than one hook - eg. to use git-checkout-push
      and gitmail both from post-receive
      f0d18eb0
    • Robert Ricci's avatar
      New git utility script: git-checkout-push · 09eecec3
      Robert Ricci authored
      Simple script that, if master is updated, does a checkout of the new
      version of master. Intended for things like papers, where you want the
      central repository to have a checked-out copy that reflects the latest
      push.
      09eecec3
  10. 08 Oct, 2011 2 commits
    • Mike Hibler's avatar
      Revert "Adjust the set of unix gids used for a download server." · baba7478
      Mike Hibler authored
      This reverts commit fc89eb38.
      
      Checked in a bunch of crap that was unrelated.
      baba7478
    • Mike Hibler's avatar
      Adjust the set of unix gids used for a download server. · fc89eb38
      Mike Hibler authored
      When downloading an image, start the frisbeed process with the minimum set of
      gids necessary to access the image. This includes the unix gid of the
      project that the image is in and, optionally, the unix gid of the project
      subgroup if the image is part of one.
      
      Previously, we just use the gid set of the uid of the swapper of the
      experiment. Not only was this excessive, but it might also not include the
      gids needed in the case of a "global" image that is not in the world-readable
      /usr/testbed/images directory.
      fc89eb38
  11. 07 Oct, 2011 1 commit
    • Ryan Jackson's avatar
      Added support for new X-Git-Repo-Keyword header · 9743d0f6
      Ryan Jackson authored
      Per-repository 'keywords' may now be configured by setting the
      hooks.gitmail.keyword option.  One X-Git-Repo-Keyword header is added
      to commit mails for each keyword specified.
      
      The primary use case for this is to configure related repositories
      with the same keyword(s), so that commit mails for those repositories
      can be filtered with a single rule rather than one for each
      repository.
      9743d0f6
  12. 06 Aug, 2011 1 commit
    • Robert Ricci's avatar
      New script to re-write history of git moves · 061b0df5
      Robert Ricci authored
      This script is intended for use with 'git filter-branch' - it takes
      a directory, finds all files that have been moved into that directory
      and where they came from, and produces a script that moves (in the
      filesystem sense, not the git sense) them from their old locations
      to their new ones.
      
      Then, you give this script to 'git filter-branch --tree-filter', and
      it will re-write all history so that it looks like the files were
      always in their new locations.
      
      Written specifically for the move of the clientside stuff into its
      own directory, and then off into its own repository.
      061b0df5
  13. 27 Jul, 2011 1 commit
  14. 19 Jul, 2011 1 commit
  15. 05 Jun, 2011 1 commit
    • Robert Ricci's avatar
      Add X-Git-Ref header · 9cebef6f
      Robert Ricci authored
      This header contains the reference name (eg. branch name or tag name)
      that was modified by the commits in the mail.
      9cebef6f
  16. 04 Jun, 2011 2 commits
    • Robert Ricci's avatar
      Be consistent about using $GIT instead of git · 87d08e8b
      Robert Ricci authored
      ... so that we can specify a different path to git if necessary
      87d08e8b
    • Robert Ricci's avatar
      Add an 'archivemail' configuration option · 4de19632
      Robert Ricci authored
      'archivemail' works exactly like 'alwaysmail', except that any
      addresses it contains get separate copies of the mail. This is
      intended to keep cleaner 'To' lines when sending mail to
      archive-type lists.
      
      This script now generates its own Message-Id header, so that
      if more than one piece of mail is generated, they can easily
      be detected by duplicate-suppression features of mailers.
      4de19632
  17. 03 Jun, 2011 1 commit
  18. 12 Jan, 2011 2 commits
  19. 14 Oct, 2010 1 commit
  20. 29 Sep, 2010 1 commit
  21. 28 Sep, 2010 1 commit
    • Ryan Jackson's avatar
      Linux MFS: add support for cached PXE DHCP lease · c55e3901
      Ryan Jackson authored
      Recently I modified Grub's linux initrd loader to append a cpio
      archive containing the cached PXE DHCP ACK packet to the loaded
      initrd/initramfs.  The Linux MFS now looks for this file when
      configuring the network, and will use it to configure the interface
      instead of sending out DHCP DISCOVER requests.  If the file is not
      found then DHCP will be used to configure the control net interface.
      c55e3901
  22. 24 Sep, 2010 1 commit
    • Cody Cutler's avatar
      Add tools/tspitests · bdba604b
      Cody Cutler authored
      This code includes various useful TPM tools along with doquote.c and
      tpm-signoff.c which we use in the MFS to proceed down the secure
      bootchain.
      bdba604b
  23. 31 Aug, 2010 1 commit
  24. 19 Jul, 2010 1 commit
    • Ryan Jackson's avatar
      Improved handling of trivial merges in gitmail · 9b24f18f
      Ryan Jackson authored
      Use 'git diff-tree --no-commit-id --cc' on merge commits to determine if
      there are any differences between the merge commit and its parents.
      This is the case if any new files were hand-modified or added as part of
      the merge (such as when conflicts were resolved).  If git-diff-tree
      produces no output, the merge was trivial.
      
      If the merge was trivial, the commit message is checked for an empty
      body.  If empty, the commit is skipped when generating the email.  This
      way if the committer documents the merge in some way (list of changes,
      reason for the merge, etc.) the email includes that information.
      9b24f18f
  25. 15 Jul, 2010 2 commits
  26. 28 Apr, 2010 1 commit
    • Ryan Jackson's avatar
      Add script to find current HEAD for build · 231b5953
      Ryan Jackson authored
      Add script that, when run from the root of the repository, returns the
      sha1 hash of the current branch head.  It writes the hash to stdout if
      successful or returning non-zero otherwise.  The three methods used to
      get the hash are as follows:
      
      1. Try using the git tools.  This is the preferred method since the
         layout of the .git directory may change (not likely to happen soon,
         but it did change a few years ago).
      2. Failing that, assume the current (1.7.x) repository layout and try
         to extract the value of HEAD.
      3. If there is no .git directory, try extracting the hash from the
         VERSION file in the top-level directory of the tree.
      
      Also add the VERSION file and set the export-subst attribute for it.
      231b5953