Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status: latest merge to java-shib-shared was on 2022-06-15.

This page has some personal notes and status information related to the following Jira issue:

...

These repositories are read-write for iay, and read-only for other committers and not presented via gitweb. They can be updated if we change assumptions or update the source repositories (the latter is already the case), but there’s there's no way to preserve any changes pushed to them if we need to re-run the build process. Once they become read-write, there’s there's really no way back.

The straw man is built under the following assumptions, all of which may change before we declare victory:

  • At this stage, we’re not planning to refactor any of the code in either source repository. We may do that later to disaggregate the current java-supportartifact.

  • At this stage, we’re not trying to make this into a multi-module project. We do want to do that longer term, with the assumption being that we’d put the pom.xml into the root directory of this new repository, in the way we’ve done with the MDA and some of the plugin repositories, rather than the side-by-side scheme we used in the IdP and OpenSAML.

  • We don’t intend to use this new merged repository to rebuild historic versions of the artifacts, or to do any necessary maintenance on previous versions (however, there’s no reason to make it impossible, either). There’s no current intention to remove the old repositories, and that work can be done there. This should mean that we can strip all branch names carried over from the old repositories, and I think there’s a good argument that we should do so.

  • Initially, we’re leaving the file names and Maven coordinates for the two artifacts generated as they are. Longer term, we want to rename those because their current names aren’t well chosen. I’m assuming that we want to change from java-support to shib-support and from spring-extensions to shib-spring.

  • To align with that, the histories for the two source repositories are moved into sub-directories with those names (shib-support and shib-spring).

  • The GPG/PGP signatures have been stripped from all signed tags. It’s not possible to perform any of the surgery required and preserve these as functional signatures, and removing them seems better than leaving them intact but non-functional.

...

  • There’s an empty root commit dated 2010-01-01T00:00Z. This timestamp predates the earliest commit in each of the source repository.

  • Two branches come out of the root commit, one for each source repository. Branches and tags from the source repositories are all prefixed with support- or spring- as appropriate. For example the main branch from java-support is called support-main in the new repository.

  • The main branch of the new repository is a merge between the support-main and spring-main branches.

  • All dev/ branches from the source repositories have been rebased to the new main as appropriate. The script handles new ones programmatically so there appears to be no need to resolve dev/ branches before the merge.

This all means that for example git log shib-support/pom.xmldoes what you’d want.

...

Code Block
  dev/spring-JSPS-1
  dev/spring-JSPT-98
  dev/support-JSPT-111
  dev/support-JSPT-98
* main
  spring-main
  spring-maint-5
  spring-maint-6
  support-main
  support-maint-7
  support-maint-8

...