Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 4.69 KB

CONTRIBUTING.md

File metadata and controls

63 lines (46 loc) · 4.69 KB

Contributing

Thanks for your interest in contributing to PreTeXt.

Details on participation in the PreTeXt Community can be found at

Welcome to the PreTeXt Community

In particular, discussion almost always begins in the Google Groups, and once there is consensus about what needs to be done (bug-fix, new feature, etc.), then an issue is created.

Please do not use issues for support questions and please initiate feature requests in one of the Google Groups. Pull requests are welcome without discussion when something is clearly in error and the change is readily apparent.

Thanks for adapting to the idosyncracies of our project! Some specific details follow.

(2022-06-19)

Reporting Errors

If you have output that you think might be incorrect or misbehaved, please follow this procedure:

  • Check that your input conforms to the schema Author's Guide
  • Add a small example of your problem to the "minimal" example in the examples/minimal directory and test there
  • Search the pretext-support and pretext-dev Google Groups, and the GitHub issues, to see if the problem is known (if so, please add any new information there)
  • Post on one of the Google Groups, and include the source of your adjusted minimal example, along with a copy of the problematic output
  • If your problem involves HTML output, it is usually easier for us to understand if you host a live example and provide a URL in your post
  • If you have discovered a new problem, you can help when asked by filing an issue on GitHub (and it is OK to cut/paste from th Google Group discussion and/or link to a discussion there)

Thanks for your help keeping all the volunteers on this project working efficiently.

(2018-08-27)

Contributing to PreTeXt

Thanks for your interest in making PreTeXt better. Contributions from users are an important part of its development. The following suggestions are meant to make the process of creating and accepting a contribution easier for you, and easier for the maintainers.

  • Use the pretext-dev Google Group to float your idea before starting. You will get some good feedback that will make your contribution better and you may get some cautions that will save you some effort.
  • Pull requests on GitHub are the easiest way to contribute and are really the only practical way for us to review, test, and incorporate your work. If you are new to Git, there is lots of information on the Internet, and some of it is even helpful and accurate. You can also read a guide we put together, Git for Authors. Despite the title, it has general principles and techniques that work equally well for software.
  • Always begin a new branch for a contribution. And keep topically distinct contributions on different branches. Small and compact is better than large and diverse.
  • Pull frequently from the main line of development for official PreTeXt (master at this writing) to update current progress. Then rebase your topic branch onto the tip of this official branch as you work, as follows.
git switch master
git pull origin master
git switch topic
git rebase master
  • In particular, do not merge master into your topic branch, that makes our job harder when we add your work into the official repository.
  • Once you have your branch in good shape, be sure you update master one last time and rebase onto the tip of master. Then make a pull request with that branch.
  • While your work is being reviewed, do not add any new commits to your branch, and do not rebase it again, unless you are asked to add changes. If you later need to build on your work, then say so in the discussion area and we can plot how to accomodate that. But it would be better to not make a pull request until you are completely finished with a task.
  • We are likely to combine your commits, and maybe even then distribute them into logical chunks. We will edit your commit messages, deleting anything beyond a single line (so do not spend time on that).
  • We will preserve your authorship, and mark the commit(s) with the pull request number so there is a record of where it came from and how (or we will merge and put the pull request number on the merge commit).
  • Once we incorporate your work into the mainline of the official repository, then you can pull those changes and delete your topic branch.

(2018-08-27)