Commit graph

84 commits

Author SHA1 Message Date
Simon Legner
8697de8567 thor updates: fix Terminal::Table from terminal-table
The newest Thor also contains a Terminal module, causing "uninitialized constant Thor::Shell::Terminal::Table (NameError)"
2024-01-05 20:30:27 +01:00
Oliver Eyton-Williams
b4d1f8c5bd
fix: convert hash to keyword args 2023-10-02 10:54:16 +02:00
Sigve Indregard
28295354d0
fix: download_doc deletes tempfile
The download routine in docs.thor did not delete the tarball after completion.
2023-08-29 20:04:29 +02:00
Oliver Eyton-Williams
25893614b3
fix: use URI.open to fetch docs 2023-02-21 11:38:28 +01:00
Paul Sernatinger
2da05d74db Specs all passing 2022-11-14 08:30:30 -06:00
Simon Legner
961bbeb92b fix: replace calls to Dir.exists? with Dir.exist? 2022-09-21 21:00:47 +02:00
Andy Holmes
51cb8984eb
fix: replace calls to File.exists? with File.exist?
This prints warnings about being deprecated, so replace it with the
call that the deprecated function wraps.

See: https://github.com/ruby/ruby/blob/ruby_2_7/file.c#L1752-L1781
2022-09-19 13:35:47 -07:00
Simon Legner
69df9b2c48 docs:download: fix open deprecation 2021-08-23 22:22:01 +02:00
Richard Michael
64bf56e352 Consistent descriptions 2021-04-30 17:18:49 +02:00
Richard Michael
21827a6b69 Adjust docs:page version handling
- Remove `--version` option
- Add `@|~` version notation, consistent with other commands
2021-04-30 17:18:49 +02:00
Richard Michael
26a1e61a42 Adjust docs:generate version handling
- Remove `--version` option
- Add `@|~` version notation, consistent with `docs:download`
- Adjust `CONTRIBUTING.md` instructions
2021-04-30 17:18:49 +02:00
Richard Michael
bec0f33b27 Add and use a singular finder, find_doc() 2021-04-30 12:59:26 +02:00
Oliver Eyton-Williams
8eee612852
fix: puts, not print
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
2021-02-16 17:25:55 +01:00
Oliver Eyton-Williams
32c94604a6
fix: remove the 'bundle' path segment 2021-02-16 12:06:09 +01:00
Oliver Eyton-Williams
23b84c109e
fix: update comments 2021-02-16 12:04:35 +01:00
Oliver Eyton-Williams
60722327ee
fix: update staging bucket references to prod 2021-02-16 12:00:13 +01:00
Oliver Eyton-Williams
72ac0a2101
fix: s/devdocs.in/devdocs.io/g 2021-02-16 11:49:32 +01:00
Oliver Eyton-Williams
7713074c93
feat: use the new buckets
The tarballs are currently getting put into /bundles, but maybe this
isn't necessary
2021-02-16 11:44:58 +01:00
Oliver Eyton-Williams
c6264eb1bf
fix: remove cdn entirely and rely on Cloudflare 2021-02-16 11:44:57 +01:00
Simon Legner
cb6865b0a8 thor updates:check group major/minor updates 2021-01-03 10:12:14 +01:00
Simon Legner
e8b152fa51 thor updates:check --markdown
This outputs the results in Markdown for manual versions report updates.
2020-11-18 22:23:31 +01:00
Simon Legner
959f51e6f7 prepare_deploy: report which download has failed 2020-11-15 22:10:18 +01:00
Rick Mac Gillis
33bb85f0e5
Console docs for --all 2020-05-18 09:06:18 -04:00
Jasper van Merle
5b7ad37917 Fix production build and simplify verbose sprites:generate 2019-09-03 22:29:12 +02:00
Jasper van Merle
dc47573a08 Optimize spritesheets using OptiPNG 2019-09-03 19:52:53 +02:00
Jasper van Merle
8fed7b8cae Update sprites:generate to apply dark icon fix less frequently 2019-08-24 00:07:21 +02:00
Jasper van Merle
5dbb853606 Fix Docker images, sprites:generate and a favicon cors issue 2019-08-04 02:50:19 +02:00
Jasper van Merle
6e917001ce Fix merge conflicts 2019-07-20 03:55:27 +02:00
Jasper van Merle
1fd1ed9d23 Remove public/icons from .slugignore and remove it later 2019-07-20 03:44:22 +02:00
Jasper van Merle
50cd4e13a3 Fix assets:compile 2019-07-20 03:25:39 +02:00
Jasper van Merle
4ce7dbcfd5 Remove hardcoded username and fix broken methods 2019-06-11 23:01:37 +02:00
Jasper van Merle
f80d07412c Merge master 2019-06-11 21:17:05 +02:00
Jasper van Merle
11eeadbc0a Better error handling and added a 15s timeout on HTTP requests 2019-03-10 23:15:40 +01:00
Jasper van Merle
227fbfe70f Update issue message and issue repository 2019-03-10 03:26:23 +01:00
Jasper van Merle
41e0a138a6 Refactoring and cleaning up 2019-03-10 03:02:24 +01:00
Jasper van Merle
cd43632a2c Check for updates based on modified date for scrapers without release 2019-03-10 01:10:31 +01:00
Jasper van Merle
6ee1693134 Implement get_latest_version for the remaining scrapers 2019-03-09 20:22:48 +01:00
Jasper van Merle
3dc17a9b29 Finish get_latest_version for 81 scrapers and add uploading functionality 2019-03-09 02:37:52 +01:00
Jasper van Merle
2d1e8aa00c Add better logging and get_latest_version implementations for 10 scrapers 2019-03-08 15:13:11 +01:00
Jasper van Merle
d0300dd585 Create command to check for updates 2019-03-08 03:23:40 +01:00
Thibaut Courouble
436a98a5c8 Ensure documentation files are present before uploading in thor docs:upload command 2018-12-18 15:47:11 -05:00
Thibaut Courouble
782880210d Upload documentation files to a freeCodeCamp-owned S3 bucket 2018-12-18 15:32:28 -05:00
Thibaut Courouble
91753ce1f8 Improve "thor docs:page" with --debug option 2018-11-25 16:38:49 -05:00
Thibaut Courouble
083b8e06a3 Improve "thor docs:list --packaged" 2018-11-25 13:17:33 -05:00
Thibaut Courouble
3b39fa747f Fix "thor docs:upload --packaged" not finding docs whose slug is different than name 2018-11-25 13:17:33 -05:00
Thibaut Courouble
17cddbccaf Make "thor docs:upload" upload packages to MaxCDN (dl.devdocs.io) 2018-11-25 13:17:33 -05:00
Thibaut Courouble
a8a1020ddf Add --packaged option to "thor docs:list" 2018-11-25 13:17:32 -05:00
Thibaut Courouble
9e37ff5c8a Add instrumentation for slow response processing 2018-11-25 13:17:32 -05:00
Thibaut Courouble
eef70d83d0 Oops, dl.devdocs.io is not HTTPS-enabled yet 2018-11-04 08:55:55 -05:00
Thibaut Courouble
8ecb9f37be Improve deployments to not require including all the docs' index.json in git 2018-10-21 18:41:35 -04:00