[PR #43] [MERGED] Fixing Position Index Panics and Repo Cleanup #48

Closed
opened 2026-03-02 05:08:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/goodhosts/hostsfile/pull/43
Author: @luthermonson
Created: 9/29/2023
Status: Merged
Merged: 9/30/2023
Merged by: @luthermonson

Base: mainHead: misc-bugfixes


📝 Commits (7)

  • bfb2ee3 go1.21, removed vendor, fixed position bugs in Clear and HostsPerLine
  • 87e3840 remove backtics from docs
  • bb00edd Merge branch 'main' into misc-bugfixes
  • 098bb83 adding reindexer
  • 7c6c672 Merge branch 'misc-bugfixes' of github.com:luthermonson/hostsfile into misc-bugfixes
  • b956c3c switching to ubuntu latest runners
  • 21f1491 updating golangci-lint

📊 Changes

97 files changed (+209 additions, -27078 deletions)

View changed files

📝 .github/workflows/ci.yml (+2 -2)
📝 go.mod (+1 -1)
📝 hosts.go (+94 -56)
📝 hosts_test.go (+111 -3)
📝 hostsline.go (+1 -1)
vendor/github.com/asaskevich/govalidator/.gitignore (+0 -15)
vendor/github.com/asaskevich/govalidator/.travis.yml (+0 -12)
vendor/github.com/asaskevich/govalidator/CODE_OF_CONDUCT.md (+0 -43)
vendor/github.com/asaskevich/govalidator/CONTRIBUTING.md (+0 -63)
vendor/github.com/asaskevich/govalidator/LICENSE (+0 -21)
vendor/github.com/asaskevich/govalidator/README.md (+0 -622)
vendor/github.com/asaskevich/govalidator/arrays.go (+0 -87)
vendor/github.com/asaskevich/govalidator/converter.go (+0 -81)
vendor/github.com/asaskevich/govalidator/doc.go (+0 -3)
vendor/github.com/asaskevich/govalidator/error.go (+0 -47)
vendor/github.com/asaskevich/govalidator/numerics.go (+0 -100)
vendor/github.com/asaskevich/govalidator/patterns.go (+0 -113)
vendor/github.com/asaskevich/govalidator/types.go (+0 -656)
vendor/github.com/asaskevich/govalidator/utils.go (+0 -270)
vendor/github.com/asaskevich/govalidator/validator.go (+0 -1769)

...and 77 more files

📄 Description

  • update to go1.21
  • remove vendor dir
  • fixes #38
  • fixes #39
  • fixes #42
  • remove backticks from the docs

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/goodhosts/hostsfile/pull/43 **Author:** [@luthermonson](https://github.com/luthermonson) **Created:** 9/29/2023 **Status:** ✅ Merged **Merged:** 9/30/2023 **Merged by:** [@luthermonson](https://github.com/luthermonson) **Base:** `main` ← **Head:** `misc-bugfixes` --- ### 📝 Commits (7) - [`bfb2ee3`](https://github.com/goodhosts/hostsfile/commit/bfb2ee31f65aa289b1a5bac56c8a0d4fa8cda2f6) go1.21, removed vendor, fixed position bugs in Clear and HostsPerLine - [`87e3840`](https://github.com/goodhosts/hostsfile/commit/87e38401d358940ffcfb57bccf97e74d1127cf49) remove backtics from docs - [`bb00edd`](https://github.com/goodhosts/hostsfile/commit/bb00edd503e605ea8664ffc320c4ee8325c1a49f) Merge branch 'main' into misc-bugfixes - [`098bb83`](https://github.com/goodhosts/hostsfile/commit/098bb83f9080161414a335b9e21745342f663834) adding reindexer - [`7c6c672`](https://github.com/goodhosts/hostsfile/commit/7c6c67218f2937d0b9e35e3e399d32a14750a415) Merge branch 'misc-bugfixes' of github.com:luthermonson/hostsfile into misc-bugfixes - [`b956c3c`](https://github.com/goodhosts/hostsfile/commit/b956c3c7f79ce3d8a518bda18a37b3864bbaf06f) switching to ubuntu latest runners - [`21f1491`](https://github.com/goodhosts/hostsfile/commit/21f149179f425545b51e070a088b88cd7d7858d3) updating golangci-lint ### 📊 Changes **97 files changed** (+209 additions, -27078 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+2 -2) 📝 `go.mod` (+1 -1) 📝 `hosts.go` (+94 -56) 📝 `hosts_test.go` (+111 -3) 📝 `hostsline.go` (+1 -1) ➖ `vendor/github.com/asaskevich/govalidator/.gitignore` (+0 -15) ➖ `vendor/github.com/asaskevich/govalidator/.travis.yml` (+0 -12) ➖ `vendor/github.com/asaskevich/govalidator/CODE_OF_CONDUCT.md` (+0 -43) ➖ `vendor/github.com/asaskevich/govalidator/CONTRIBUTING.md` (+0 -63) ➖ `vendor/github.com/asaskevich/govalidator/LICENSE` (+0 -21) ➖ `vendor/github.com/asaskevich/govalidator/README.md` (+0 -622) ➖ `vendor/github.com/asaskevich/govalidator/arrays.go` (+0 -87) ➖ `vendor/github.com/asaskevich/govalidator/converter.go` (+0 -81) ➖ `vendor/github.com/asaskevich/govalidator/doc.go` (+0 -3) ➖ `vendor/github.com/asaskevich/govalidator/error.go` (+0 -47) ➖ `vendor/github.com/asaskevich/govalidator/numerics.go` (+0 -100) ➖ `vendor/github.com/asaskevich/govalidator/patterns.go` (+0 -113) ➖ `vendor/github.com/asaskevich/govalidator/types.go` (+0 -656) ➖ `vendor/github.com/asaskevich/govalidator/utils.go` (+0 -270) ➖ `vendor/github.com/asaskevich/govalidator/validator.go` (+0 -1769) _...and 77 more files_ </details> ### 📄 Description * update to go1.21 * remove vendor dir * fixes #38 * fixes #39 * fixes #42 * remove backticks from the docs --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 05:08:19 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hostsfile#48
No description provided.