Skip to content

Commit

Permalink
Move fedora messaging schema to separate repository
Browse files Browse the repository at this point in the history
Fedora messaging schema for the-new-hotness is now at
https://github.com/fedora-infra/the-new-hotness-messages

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
  • Loading branch information
Zlopez committed Apr 28, 2022
1 parent 4de6647 commit 1c3b406
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 2,624 deletions.
2 changes: 0 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
branch = True
include =
hotness/*
hotness_schema/hotness_schema/*

[report]
fail_under = 50
Expand All @@ -12,4 +11,3 @@ exclude_lines =
if __name__ == .__main__.:
omit =
hotness/tests/*
hotness_schema/hotness_schema/tests/*
26 changes: 11 additions & 15 deletions docs/dev-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,45 +231,41 @@ If you are a maintainer and wish to make a release, follow these steps:
1. Change the version in ``hotness.__init__.__version__``. This is used to set the
version in the documentation project and the setup.py file.

2. (Optional) Update ``version`` in ``hotness_schema/setup.py`` script.

3. Get authors of commits by ``python get-authors.py``.
2. Get authors of commits by ``python get-authors.py``.

.. note::
This script must be executed in ``news`` folder, because it
creates files in current working directory.

4. Generate the changelog by running ``towncrier``.
3. Generate the changelog by running ``towncrier``.

.. note::
If you added any news fragment in the previous step, you might see ``towncrier``
complaining about removing them, because they are not committed in git.
Just ignore this and remove all of them manually; release notes will be generated
anyway.

5. Remove every remaining news fragment from ``news`` folder.

6. Commit your changes with message *the-new-hotness <version>*.
4. Remove every remaining news fragment from ``news`` folder.

7. Tag a release with ``git tag -s <version>``.
5. Commit your changes with message *the-new-hotness <version>*.

8. Don't forget to ``git push --tags``.
6. Tag a release with ``git tag -s <version>``.

9. Build the Python packages with ``python setup.py sdist bdist_wheel``.
7. Don't forget to ``git push --tags``.

10. Upload the packages with ``twine upload dist/<dists>``.
8. Build the Python packages with ``python setup.py sdist bdist_wheel``.

11. (Optional) Repeat steps 9 and 10 in ``hotness_schema`` folder.
9. Upload the packages with ``twine upload dist/<dists>``.

12. Create new release on `GitHub releases <https://github.com/fedora-infra/the-new-hotness/releases>`_.
11. Create new release on `GitHub releases <https://github.com/fedora-infra/the-new-hotness/releases>`_.

13. Deploy the new version in staging::
12. Deploy the new version in staging::

$ git checkout staging
$ git rebase master
$ git push origin staging

14. When successfully tested in staging deploy to production::
13. When successfully tested in staging deploy to production::

$ git checkout production
$ git rebase staging
Expand Down
339 changes: 0 additions & 339 deletions hotness_schema/LICENSE

This file was deleted.

8 changes: 0 additions & 8 deletions hotness_schema/README.rst

This file was deleted.

52 changes: 0 additions & 52 deletions hotness_schema/get_fixture_data.py

This file was deleted.

18 changes: 0 additions & 18 deletions hotness_schema/hotness_schema/__init__.py

This file was deleted.

188 changes: 0 additions & 188 deletions hotness_schema/hotness_schema/messages.py

This file was deleted.

19 changes: 0 additions & 19 deletions hotness_schema/hotness_schema/tests/__init__.py

This file was deleted.

0 comments on commit 1c3b406

Please sign in to comment.