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

fix: allow LICENSE rendering via gnoweb #2417

Merged
merged 4 commits into from
Jun 24, 2024
Merged

Conversation

deelawn
Copy link
Contributor

@deelawn deelawn commented Jun 22, 2024

We allow LICENSE files to be included when adding packages, so we should also allow them to be viewed via gnoweb.

Contributors' checklist...
  • Added new tests, or not needed, or not feasible
  • Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory
  • Updated the official documentation or not needed
  • No breaking changes were made, or a BREAKING CHANGE: xxx message was included in the description
  • Added references to related issues and PRs
  • Provided any useful hints for running manual tests
  • Added new benchmarks to generated graphs, if any. More info here.

@github-actions github-actions bot added 🧾 package/realm Tag used for new Realms or Packages. 📦 🌐 tendermint v2 Issues or PRs tm2 related 📦 ⛰️ gno.land Issues or PRs gno.land package related labels Jun 22, 2024
Copy link

codecov bot commented Jun 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.72%. Comparing base (ea1ff3f) to head (974206c).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2417      +/-   ##
==========================================
+ Coverage   54.69%   54.72%   +0.02%     
==========================================
  Files         582      583       +1     
  Lines       78430    78715     +285     
==========================================
+ Hits        42899    43074     +175     
- Misses      32319    32422     +103     
- Partials     3212     3219       +7     
Flag Coverage Δ
contribs/gnodev 23.81% <ø> (ø)
contribs/gnofaucet 14.46% <ø> (-0.86%) ⬇️
contribs/gnokeykc 0.00% <ø> (ø)
contribs/gnomd 0.00% <ø> (ø)
tm2 54.36% <100.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left some comments that should be addressed before merging, otherwise looks good 💯

tm2/pkg/std/memfile.go Outdated Show resolved Hide resolved
gno.land/pkg/gnoweb/gnoweb_test.go Outdated Show resolved Hide resolved
gno.land/pkg/gnoweb/gnoweb.go Show resolved Hide resolved
tm2/pkg/std/memfile.go Show resolved Hide resolved
Copy link
Contributor

@leohhhn leohhhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just check TM2 lint in CI, otherwise seems good.

@deelawn deelawn merged commit bedd0f9 into master Jun 24, 2024
90 checks passed
@deelawn deelawn deleted the fix/gnoweb-license-support branch June 24, 2024 13:51
gfanton pushed a commit to gfanton/gno that referenced this pull request Jul 23, 2024
We allow LICENSE files to be included when adding packages, so we should
also allow them to be viewed via gnoweb.

<!-- please provide a detailed description of the changes made in this
pull request. -->

<details><summary>Contributors' checklist...</summary>

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [x] Provided any useful hints for running manual tests
- [x] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 🌐 tendermint v2 Issues or PRs tm2 related 📦 ⛰️ gno.land Issues or PRs gno.land package related 🧾 package/realm Tag used for new Realms or Packages.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants