Difference between revisions of "Project management"
(ImageJ Maven repository -> SciJava Maven repository)
(Jenkins -> Travis)
|Line 43:||Line 43:|
== Continuous integration ==
== Continuous integration ==
ImageJ []a continuous integration (CI) systemwhich automatically checks the code for build and test errors.
== Issue tracking ==
== Issue tracking ==
Revision as of 13:23, 30 April 2019
See the Git pages for more information, tutorials, etc.
ImageJ uses Maven for its project infrastructure.
The main purpose of the SciJava Maven repository is to serve the artifacts that are not yet ready to be deployed to OSS Sonatype. Typically, these components are versioned at 0.x—i.e., still in incubation. Once components reach 1.0.0, we try to release them to the central Maven repository via OSS Sonatype.
The SciJava Maven repository's secondary purpose is to serve as a fast, local mirror of Maven Central as well as several useful third-party repositories.
It acts as a unified, on-demand mirror for these public Maven repositories, reducing load on the remote servers and potentially reducing local build times.
Developers can benefit from the mirror by adding the following section to their
<settings> ... <mirrors> <mirror> <id>scijava-mirror</id> <name>SciJava public mirror repository</name> <url>https://maven.scijava.org/content/groups/public</url> <mirrorOf>*</mirrorOf> </mirror> </mirrors> </settings>
ImageJ uses Travis CI, a cloud-based continuous integration (CI) system, which automatically checks the code for build and test errors.
SciJava software projects manage tasks and priorities using GitHub Issues:
Previously, some projects used Trac for issue tracking and roadmapping, but all Trac issues are now being migrated to GitHub. See these links:
- ImageJ Trac roadmap - early ImageJ2 milestones
- ImageJ Features report - a high-level list of features slated for each release
- ImageJ Trac timeline - a fine-grained list of changes to ImageJ
What are issues for?
Issues and milestones are public-facing entities, yet their content can be highly technical to serve as a roadmap and implementation guide for developers. As we see it, the various audiences for issues and milestones, and their needs, are as follows:
|to know what's already been reported||Browse and search all open issues.|
|to keep track of issues of interest||Subscribe to desired issues using notifications.|
|to know which issues were fixed in a release|| Browse issues at a particular milestone|
(e.g., 1.0.0 issues, 1.0.0 bugs, 1.0.0 enhancements).
|to ask questions and report new issues|| Report new issues using the big green "New issue" button,|
or via ImageJ's Report a Bug plugin.
|to track their current tasks|| Browse issues assigned to a particular developer|
(e.g., ctrueden, hinerm).
|to find new tasks to work on||Browse the "help wanted" label or unassigned issues.|
|a place to discuss implementation details, etc.||Use pull requests.|
|to easily see what needs attention||Browse issues without a milestone.|
|to ignore inactive issues without closing them||Use the "unscheduled" milestone.|
|to plan development timelines||Use future milestones (e.g., imagej, scifio).|
|to report completed features||Use completed milestones (e.g., imagej, scifio).|
To meet these needs, we use the following conventions with GitHub issues:
- For short-term active development, use names m1, m2, etc.
- These milestones themselves have no due date and never close, and contain only open issues
- When an issue is closed, it is moved to match its corresponding release milestone.
- Future planned breaking changes should go in SemVer-named milestones.
- All projects should have an "unscheduled" milestone.
- Issues in "unscheduled" are things that core developers and maintainers cannot make time to address.
- Use the standard GitHub labels.
- For repositories with multiple components (e.g., imagej-ui-swing) add "component:XXXX" labels, in orange, as needed.
- Every issue must belong to a milestone.
- Use the "unscheduled" milestone for inactive issues.
- If you are currently working on an issue, assign it to yourself.
- All issues in near-term milestones should have an assignee.
Using these conventions gives rise to a workflow where new issues come in with no assignee and no milestone, and the project maintainers either assign them to a developer who will carry out the work, or put the issue in "unscheduled" with no assignee.
As issues are closed, they are sorted into milestones which match each project's release tags, making it easy to browse which issues were addressed as part of each release.
Note that the relationship between milestones and software releases can be one-to-many: e.g., bug-fix releases, or even the addition of new features, may not necessitate their own milestones. Good milestone structure should read similarly to a good git history: informative without being overly verbose.
- News about ImageJ and Fiji developments, including status updates, observations and comments about ImageJ programming.
- Recent changes to this web site (not the ImageJ code itself).
- BugZilla database of user-reported bugs from the Report a Bug plugin.
Many of these tools are employed to facilitate reproducibility from a technical perspective. From a social perspective, we are writing software for science - in which scholarly citations provide another currency for reproducibility.
To this end, developers can now use digital archives like Zenodo to provide consistent methods for citation.
- The Releases page, for more about how these resources are used to release SciJava software artifacts.