Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review meta project facilities #3316

Merged
merged 20 commits into from
Jan 22, 2024
Merged

Review meta project facilities #3316

merged 20 commits into from
Jan 22, 2024

Conversation

aadcg
Copy link
Member

@aadcg aadcg commented Jan 18, 2024

Description

A revision of nyxt.asd, NASDF, CI, INSTALL, etc.

Checklist:

  • Git branch state is mergable.
  • Changelog is up to date (via a separate commit).
  • New dependencies are accounted for.
  • Documentation is up to date.
  • Compilation and tests ((asdf:test-system :nyxt/gi-gtk))
    • No new compilation warnings.
    • Tests are sufficient.

@aadcg aadcg added the 4-series Related to releases whose major version is 4. label Jan 18, 2024
@aadcg aadcg force-pushed the review-asd-nasdf-ci branch 3 times, most recently from 476bfe5 to 00169a4 Compare January 18, 2024 17:09
@aadcg aadcg changed the title Review asd nasdf ci Review meta project facilities Jan 18, 2024
@aadcg aadcg requested a review from jmercouris January 19, 2024 15:19
@aadcg aadcg force-pushed the review-asd-nasdf-ci branch from 00169a4 to 1cd3dbe Compare January 19, 2024 15:20
@aadcg aadcg removed the request for review from jmercouris January 19, 2024 15:20
@aadcg aadcg force-pushed the review-asd-nasdf-ci branch from 1cd3dbe to ed8f841 Compare January 22, 2024 20:18
aadcg added 20 commits January 22, 2024 22:26
Its goal is to report unbound exports and undocumented exported symbols.
The implementation is lacking and these kind of linters are easily replaceable
with stronger programmer discipline.
It's the CI that needs to adapt to development spirit of CL, not the other way
around.  Therefore, env var NASDF_TESTS_QUIT_ON_FAIL and nasdf:fail-on-warnings aren't
needed.

Have nasdf-test-system inherit from nasdf-system.
When writing .asd files, symbols from packages asdf and uiop are available and
it is bad taste to use package prefixed symbols such as asdf:foo or uiop:bar.

Since NASDF is an extension of ASDF, the change is justified.
The tests are broken; the testing strategy is sub-par and the tested invariants
are rather uninteresting.
nasdf:print-benchmark doesn't belong to NASDF, but rather to
https://github.com/Shinmera/trivial-benchmark/.

Rename system from nyxt/benchmark to nyxt/benchmarks to mimic nyxt/tests.

The only benchmark written is rather uninteresting, but it serves as a proof of
concept for future endeavors.
renderer/gtk-clipboard is deleted since the functionality has been deleted in
commit 57b6ebe.

cl-webkit2 depends on cl-cffi-gtk.
nyxt/gtk depends on bordeaux-threads.
search-buffer-mode no longer depends on hint-mode.
Run tests on SBCL exclusively.

With the deprecation of NASDF_TESTS_QUIT_ON_FAIL, the CI must handle the fact
that a failing test return the appropriate exiting code.
Added in commit 91ecf06.  The mode has been
deleted.
It is not used in any of the official distributions means and it is unlikely to
be ever turned on.
The official distribution means and dev env don't rely on Quicklisp.
Nyxt only supports SBCL.  The makefile still allows developers to attempt
supporting other CL implementations.

Delete references to quicklisp since both the official distribution means and
dev env don't rely on it.
@aadcg aadcg force-pushed the review-asd-nasdf-ci branch from ed8f841 to 4d4e459 Compare January 22, 2024 20:29
@aadcg aadcg merged commit 856ee85 into master Jan 22, 2024
1 check passed
@aadcg aadcg deleted the review-asd-nasdf-ci branch January 22, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4-series Related to releases whose major version is 4.
Development

Successfully merging this pull request may close these issues.

1 participant