profile
viewpoint

rust-lang/www.rust-lang.org 183

The home of the Rust website

rust-lang/blog.rust-lang.org 109

The Rust Programming Language Blog

XAMPPRocky/Chelone 15

A turtle parser in Rust

XAMPPRocky/ddg 11

A DuckDuckGo API wrapper library in Rust

XAMPPRocky/deploy-mdbook 9

A GitHub Action to automatically build and deploy your mdbook project.

rust-lang/pontoon 2

Localization platform used by Rust

XAMPPRocky/csv-to-md 2

A small tool to convert a csv to markdown.

rust-lang/all-hands-2020 0

Website for the Rust All Hands 2020

rust-lang/project-group-template 0

Template for creating Project Groups

created tagXAMPPRocky/fluent-templates

tagv0.4.8

created time in 2 hours

push eventXAMPPRocky/fluent-templates

Erin Power

commit sha 95799691f721f915aba50d7b02cc38318b4d7e60

Fixed multi word parametrs and changed args to take correct hashmap type.

view details

Erin Power

commit sha 354d896cf7a9c4224b09e01dfca77128a18c2375

Bump version

view details

push time in 2 hours

push eventXAMPPRocky/octocrab

Erin Power

commit sha 0ca9a33f7873f1e40f83e23617af260a20a7a3d0

fmt

view details

push time in 3 hours

issue closedXAMPPRocky/tokei

Badge endpoint

Hello! Do we condone other projects using https://tokei.rs/b1/github/repo/user?category=code

If so, I'll begin now 🙂

closed time in 4 hours

ofek

issue commentXAMPPRocky/tokei

Badge endpoint

Hello, yes other projects are free to use it. I would appreciate supporting the project on GitHub sponsors, as it pays for hosting and maintenance, but it is not required!

ofek

comment created time in 4 hours

issue commentrust-lang/glacier

Automatically add a testcase via a comment

I've published a fix for this in 0.3.2.

hellow554

comment created time in 9 hours

created tagXAMPPRocky/octocrab

tagv0.3.2

A modern, extensible GitHub API Client for Rust.

created time in 9 hours

push eventXAMPPRocky/octocrab

Erin Power

commit sha dddeef24d2857253eba775826004aff633c29aa9

Add search to documentation

view details

Erin Power

commit sha 4f9a2fef10cf1660b8d169e966b718173355bf8f

Bump version

view details

push time in 9 hours

push eventXAMPPRocky/octocrab

Erin Power

commit sha 04ac900a651fbe898a8e2a6cf22c84bf37ca0221

update example

view details

push time in 9 hours

push eventXAMPPRocky/octocrab

Erin Power

commit sha b597c60ee9aa6252d99ce6ea0137dc5b437cf54f

Add more search and rename issues search

view details

push time in 10 hours

push eventXAMPPRocky/octocrab

Erin Power

commit sha b06d342704667fbebe820d52972e60c7a9587446

Update content model

view details

push time in 10 hours

pull request commentrust-lang/blog.rust-lang.org

May 21 Governance meeting post

Thank you for your PR!

valgrimm

comment created time in 10 hours

push eventrust-lang/blog.rust-lang.org

valgrimm

commit sha 75d3eebab4474cc3711b3189bf7df20956abf35b

May 21 Governance meeting post (#606) * May 21 Governance meeting post * Minor corrections Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>

view details

push time in 10 hours

issue closedXAMPPRocky/tokei

.tokeirc configuration file

Currently requested features

  • [ ] #194 Add languages
  • [ ] #67 Map existing languages to different extensions.

closed time in 10 hours

XAMPPRocky

delete branch XAMPPRocky/rust

delete branch : relnotes-1.44.0

delete time in 12 hours

issue closedXAMPPRocky/octocrab

Search Pull Requests

The github page allows searching pull requests by organization (see for example the weekly PRs link in this week in rust).

This allows a more fine grained query (as opposed to getting all queries and filtering them after the fact) and may help conserve bandwidth. It does need an authenticated user, though, as far as I know.

closed time in 12 hours

llogiq

issue commentXAMPPRocky/octocrab

Search Pull Requests

I've just pushed an initial version of the search API onto master. You can use it like the following.

let page = octocrab::instance()
    .search()
    .issues_or_pulls("GitHub Octocrab in:readme user:ferris")
    .sort("comments")
    .order("asc")
    .send()
    .await?;
llogiq

comment created time in 12 hours

push eventXAMPPRocky/octocrab

Erin Power

commit sha ab69be4228fe8f3d308cd5b15d2f998dcd73e1f7

fmt

view details

push time in 12 hours

push eventXAMPPRocky/octocrab

Erin Power

commit sha 5b52a72c79a08d0fa52da60352552cc477470dba

Add search for issues

view details

push time in 12 hours

push eventvalgrimm/blog.rust-lang.org

XAMPPRocky

commit sha 74d3322f3c3ae1c57260bb51358584ef1cdaa50f

Minor corrections

view details

push time in 17 hours

pull request commentrust-lang/rfcs

add lang-team Major Change Proposals as a "pre-RFC" step

@ratmice The Major change process is definitely something the governance WG is considering recommending to more teams in general, but we agreed to first let the compiler and lang teams try it out the process and iterate on it first before recommending it to the rest of the org.

nikomatsakis

comment created time in 19 hours

push eventXAMPPRocky/rust

XAMPPRocky

commit sha 692f4ec3b103a36830132bc941c2aa2abea4b7e7

Update RELEASES.md

view details

push time in a day

push eventXAMPPRocky/rust

XAMPPRocky

commit sha 859863dad25cd5cd1ea15422c7b6bd280c6c6327

Update RELEASES.md

view details

push time in 2 days

Pull request review commentrust-lang/rust

Update RELEASES.md for 1.44.0

+Version 1.44.0 (2020-06-04)+==========================++Language+--------+- [You can now use `async/.await` with `#[no_std]` enabled.][69033]+- [Added the `unused_braces` lint.][70081]++**Syntax-only changes**++- [Expansion-driven outline module parsing][69838]++These are still rejected semantically, so you will likely receive an error but+these changes can be seen and parsed by macros and conditional compilation.++Compiler+--------+- [Rustc now respects the `-C codegen-units` flag in incremental mode.][70156]+  Additionally when incremental mode rustc defaults to 256 codegen units.+- [Added tier 3\* support for the `aarch64-unknown-none` and+  `aarch64-unknown-none-softfloat` targets.][68334]+- [Refactored `catch_unwind`, to have zero-cost unless unwinding is enabled and+  a panic is thrown.][67502]++Libraries+---------+- [Special cased `vec![]` to map directly to `Vec::new()`.][70632] This allows+  `vec![]` to be able to be used in `const` contexts.+- [`convert::Infallible` now implements `Hash`.][70281]+- [`OsString` now implements `DerefMut` and `IndexMut` returning+  a `&mut OsStr`.][70048]+- [Unicode 13 is now supported.][69929]+- [`String` now implements `From<&mut str>`.][69661]+- [`IoSlice` now implements `Copy`.][69403]+- [`Vec<T>` now implements `From<[T; N]>`.][68692] Where `N` is less than 32.++Stabilized APIs+---------------+- [`PathBuf::with_capacity`]+- [`PathBuf::capacity`]+- [`PathBuf::clear`]+- [`PathBuf::reserve`]+- [`PathBuf::reserve_exact`]+- [`PathBuf::shrink_to_fit`]+- [`f32::to_int_unchecked`]+- [`f64::to_int_unchecked`]+- [`Layout::align_to`]+- [`Layout::pad_to_align`]+- [`Layout::array`]++Cargo+-----+- [Added the `cargo tree` command which will print a tree graph of+  your dependencies.][cargo/8062] E.g.+  ```+    mdbook v0.3.2 (/Users/src/rust/mdbook)+  ├── ammonia v3.0.0+  │   ├── html5ever v0.24.0+  │   │   ├── log v0.4.8+  │   │   │   └── cfg-if v0.1.9+  │   │   ├── mac v0.1.1+  │   │   └── markup5ever v0.9.0+  │   │       ├── log v0.4.8 (*)+  │   │       ├── phf v0.7.24+  │   │       │   └── phf_shared v0.7.24+  │   │       │       ├── siphasher v0.2.3+  │   │       │       └── unicase v1.4.2+  │   │       │           [build-dependencies]+  │   │       │           └── version_check v0.1.5+  ...+  ```++Misc+----+- [Rustdoc now allows you to specify `--crate-version` to have rustdoc include+  the version in the sidebar.][69494]++Compatibility Notes+-------------------+- [Rustc now correctly generates static libraries on Windows GNU targets with+  the `.a` extension, rather than the previous `.lib`.][70937]+- [Removed the `-C no_integrated_as` flag from rustc.][70345]+- [The `file_name` property in JSON output of macro errors now points the actual+  source file rather than the previous format of `<NAME macros>`.][70969]+  **Note:** this may not point a file that actually exists on the user's system.+- [The minimum required external LLVM version has been bumped to LLVM 8.][71147]

What is the compatibility note? I'm not aware of the LLVM 8 change.

XAMPPRocky

comment created time in 2 days

push eventXAMPPRocky/rust

XAMPPRocky

commit sha 5b37ee1c2ace7b2605848d05b7cc40030ac44167

Update RELEASES.md

view details

push time in 2 days

push eventXAMPPRocky/rust

XAMPPRocky

commit sha 283358b081fa2b7e60f3d0d11da1a8e667b13769

Update RELEASES.md

view details

push time in 2 days

issue openedXAMPPRocky/octocrab

Add Search API

This is a tracking issue for the search API endpoints.

  • [ ] Repositories
  • [ ] Commits
  • [ ] Code
  • [ ] Issues and Pull Requests
  • [ ] Users
  • [ ] Topics
  • [ ] Labels

created time in 2 days

issue commentXAMPPRocky/octocrab

Search Pull Requests

Thank you for your issue! I’ve started work on implementing the search API. I’ll have an initial implementation with the next couple of days for issues and pull requests and then other search endpoints can be added later as needed.

llogiq

comment created time in 2 days

issue commentrust-lang/www.rust-lang.org

Hidden links for some screen width

Hmm, yeah I’m not really familiar with the current CSS framework.

ineol

comment created time in 2 days

pull request commentrust-lang/rust

Update RELEASES.md for 1.44.0

I plan to finish this by Sunday.

XAMPPRocky

comment created time in 2 days

issue commentrust-lang/www.rust-lang.org

Hidden links for some screen width

Hmm, well unless there's a concrete suggestion of what change to make I'm not sure there's much that can be done. I wouldn't want to override the media breakpoints. It's definitely something to keep in mind when making other changes to the page though.

ineol

comment created time in 2 days

issue commentrust-lang/www.rust-lang.org

Hidden links for some screen width

Thank you for your issue! Can you give a specific device that you're using? The website isn't designed to work at every possible width only ones that match common devices.

ineol

comment created time in 2 days

issue commentrust-lang/blog.rust-lang.org

Is there any way to e-mail notification of blog posts?

@trevordmiller There is an RSS feed of the blog post, you can link that to any other service to get notifications in the way you want.

ianthetechie

comment created time in 2 days

pull request commentrust-lang/rust-forge

Include Compiler team in Maintaining std docs

@KodrAus Thank you for your PR! Would you (or someone else on the team) want to write an announcement of the change on the “Inside Rust” blog? It would be good to let others know.

KodrAus

comment created time in 2 days

issue commentXAMPPRocky/tokei

support of q and k files

@jmesheridan Not currently I believe :(

BodonFerenc

comment created time in 2 days

issue openedrust-lang/triagebot

Add 'desposition-merge' command

A workflow I often run into is where someone has opened a PR, I've reviewed it, but before I merge I want to cc a group or individual to look over it, but I don't want to block merging the PR on their review if they're busy. It would be nice if you could say @rustbot merge 2 days to have rustbot automatically if there's been no review in the time given.

created time in 3 days

pull request commentrust-lang/rust-forge

Fix correspondence between versions and dates in No Tools Breakage table

Looks good to me implementation wise, though I'm not someone who usually needs this information. Cc @pietroalbini who I believe originally added the no breakage week. If there's no concerns I'll merge within the next couple of days.

dtolnay

comment created time in 3 days

push eventXAMPPRocky/tokei

Erin Power

commit sha ec8edf27e74f469fb42a447de3a39c042fa98b87

Replace lazy_static with once_cell

view details

Erin Power

commit sha 0b98f310c50657cff374884e4b15e8b7565dba5a

fmt

view details

Erin Power

commit sha 2342baa0dd39381c39b194d640948572d7545d91

Move codegen to use Tera

view details

push time in 3 days

push eventXAMPPRocky/tokei

Nick Hackman

commit sha 96b47ab4048b2589359af7d8061453598f6929ec

Verbatim strings (#535) * Added CSharp example Using example from #330, for testing purposes * Updated Rust test case Rust test case now has a verbatim string that fails, with current version of Tokei. * Added C++ verbatim string to example C++ Syntax makes this incredibly difficult to parse using the current infrastructure, `R"PREFIX( )PREFIX"` where PREFIX can be almost anything. * Updated F# Test to have verbatim string * Add support for "verbatim_quotes" Quotes that neglect the `\"` rule, in the case of python as mentioned in #330 it produces the correct outcome with Tokei currently. * Add support for verbatim_quotes in syntax Properly keeps track of current state and handles escapes properly in the case of being inside of a verbatim_quote * Added `verbatim_quotes` to CONTRIBUTING.md

view details

push time in 3 days

issue closedXAMPPRocky/tokei

C# line count is broken if verbatim string with backslash is present

Describe the bug Count is broken when there is a line in C# file with verbatim string in it like this: private const string BasePath = @"a:\";.

To Reproduce

  1. Download file SccTokeiFailure.zip
  2. Extract
  3. tokei

Actual behavior

-------------------------------------------------------------------------------
 Language            Files        Lines         Code     Comments       Blanks
-------------------------------------------------------------------------------
 C#                      1           20           17            0            3
-------------------------------------------------------------------------------
 Total                   1           20           17            0            3
-------------------------------------------------------------------------------

Expected behavior

-------------------------------------------------------------------------------
 Language            Files        Lines         Code     Comments       Blanks
-------------------------------------------------------------------------------
 C#                      1           20           14            3            3
-------------------------------------------------------------------------------
 Total                   1           20           14            3            3
-------------------------------------------------------------------------------

Tested on

  • Debian 9.7
  • Windows 10

closed time in 3 days

ptupitsyn

PR merged XAMPPRocky/tokei

Verbatim strings

Closes #330

Adds support for verbatim strings in Rust, CSharp, FSharp, and C++. This should be easy enough to add for any other languages in the future. The only weird case for future contributors, here is that Python behaves correctly in the current implementation of Tokei and would behave incorrectly in the case of verbatim strings.

Issues

Rust

The Rust implementation is fairly naive, ideally languages.json would have a regex /r(#+)"/, but the dependency on the regex crate would add a good chunk to the compile time and would hurt performance, as mentioned in your comment the most common types are implemented here.

C++

I should've seen this coming, C++ is incredibly annoying for verbatim strings, the syntax of "PREFIX()PREFIX" where PREFIX can basically be anything. This would ideally be a regular expression as well. An empty PREFIX appears to be the most common situation so that's currently what's implemented. It appears that scc doesn't work properly for this either as both bare ()s and prefixed ones produce incorrect results.

Any advice/feedback is greatly appreciated :smile:

+139 -42

3 comments

9 changed files

NickHackman

pr closed time in 3 days

pull request commentXAMPPRocky/tokei

Verbatim strings

Thank you for your PR!

NickHackman

comment created time in 3 days

push eventXAMPPRocky/timetill.rs

XAMPPRocky

commit sha 040e701e5c5ca345a00d1feaef28c1e05ae6d120

Update main.yml

view details

push time in 3 days

issue openedrust-lang/crates.io

Add funding links to crates

It would be nice if crates.io could automatically detect a .github/FUNDING.yml and mention that you can support the project on its crate detail page. It would be nicer if there's was also a way to set it in my owner dashboard, however I think most use would be covered by reading the funding file.

created time in 3 days

created tagXAMPPRocky/tokei

tagv11.2.1

Count your code, quickly.

created time in 3 days

push eventXAMPPRocky/tokei

Erin Power

commit sha fd34fd916c2d23cb5cb4408f2259dcca168ae12f

Add sponsor message

view details

Erin Power

commit sha abddfafcf80f15cf6679fe1e06930257d51d4a6f

Update sub-dependencies

view details

Erin Power

commit sha b7388e2e5d7c6930af040ef80fb302a4ca7de9ed

Bump version

view details

push time in 3 days

pull request commentrust-lang/rfcs

add lang-team Major Change Proposals as a "pre-RFC" step

One thing that came to my mind while reading the RFC is what does the Major Change Process mean for lang PRs opened directly on rust-lang/rust? Should they be closed and redirected to rust/lang-team without prejudice? How major does a change need to be?

This is maybe self-evident by the fact that the idea is being proposed on internals or zulip rather than a PR, but I think it would be good to explicitly enumerate the kinds of changes that don't require the major change process, e.g. documentation.

nikomatsakis

comment created time in 3 days

push eventXAMPPRocky/tokei

XAMPPRocky

commit sha 53e8e0aa12851e146a0da63b315e6533ed40fd38

Update build.bash

view details

push time in 3 days

issue closedXAMPPRocky/tokei

11.2.0 Crashes on Windows

Compiler: 1.43.1 stable-x86_64-pc-windows-msvc I tried installing using cargo:

cargo install --all-features tokei

The help works, but once I issued the following in my project directory it crashed with an access violation.

tokei -- .

I tried the same by installing with --debug, and it worked - so it would be hard for me to tell where the crash origins are :(

closed time in 3 days

naim94a

issue commentXAMPPRocky/tokei

11.2.0 Crashes on Windows

I can verify that tokei is working on windows on GitHub Actions so I'm going to close as wontfix as it's likely an issue with your machine.

naim94a

comment created time in 3 days

issue closedrust-lang/www.rust-lang.org

Prevent "fi" legature in "efficient"

Page(s) Affected

Homepage

What needs to be fixed?

The word "efficient" is rendered, at least on my Firefox instance, using a "fi" ligature rather than "f" and "i" glyphs, which is pretty weird since it results in the two "f" letters looking different.

Suggested Improvement

Prevent the usage of that ligature by inserting the zero-width joiner "&zwnj;", i.e. rewriting "efficient" to "eff&zwnj;icent"

closed time in 3 days

bill-myers

issue commentrust-lang/www.rust-lang.org

Prevent "fi" legature in "efficient"

Okay, sounds good to me. I’m going to close this as wontfix.

bill-myers

comment created time in 3 days

pull request commentrust-lang/blog.rust-lang.org

Add docs.rs post about fewer targets

I think this one should also be on the main blog. It primarily affects users of Rust and docs.rs, it’s not really about the development/developers of Rust or docs.rs.

jyn514

comment created time in 3 days

issue commentrust-lang/glacier

Automatically add a testcase via a comment

The error is with this model, I make a fix for this later, but if someone else wants to please go ahead. https://github.com/XAMPPRocky/octocrab/blob/96e9413c921078463e249078ac0cc5956ac80d1a/src/models.rs#L786

hellow554

comment created time in 3 days

issue commentrust-lang/www.rust-lang.org

Prevent "fi" legature in "efficient"

@Manishearth What version is your browser? I can't replicate that screenshot. Both Firefox and chrome render correctly.

Safari

Screenshot 2020-05-27 at 20 22 51

Firefox

Screenshot 2020-05-27 at 21 13 53

Chrome

Screenshot 2020-05-27 at 21 12 44

bill-myers

comment created time in 3 days

issue commentrust-lang/www.rust-lang.org

Prevent "fi" legature in "efficient"

That must be a Firefox issue as on safari the ligature renders as I would expect. Screenshot 2020-05-27 at 20 22 51

bill-myers

comment created time in 3 days

issue commentrust-lang/www.rust-lang.org

Prevent "fi" legature in "efficient"

Thank you for your issue! Yes it shouldn't have been "fi", I've now replaced it with the correct ligature.

bill-myers

comment created time in 3 days

push eventrust-lang/www.rust-lang.org

XAMPPRocky

commit sha 8c94ec6945bdc4915c6f9fb0ee5c1670750e38f1

Replace "ffi" with ligature. Closes #1120

view details

push time in 3 days

issue closedrust-lang/www.rust-lang.org

Prevent "fi" legature in "efficient"

Page(s) Affected

Homepage

What needs to be fixed?

The word "efficient" is rendered, at least on my Firefox instance, using a "fi" ligature rather than "f" and "i" glyphs, which is pretty weird since it results in the two "f" letters looking different.

Suggested Improvement

Prevent the usage of that ligature by inserting the zero-width joiner "‌", i.e. rewriting "efficient" to "eff‌icent"

closed time in 3 days

bill-myers

startedmatklad/once_cell

started time in 4 days

pull request commentgetzola/zola

Add fluent builtin Tera function.

Oh yes sorry. It works as you would expect. You name the arguments in the function call and they are converted to arguments for fluent. I've linked the tera function implementation below.

{% fluent(lang="en-US", key="menu-item", arg="hello") %}

https://github.com/XAMPPRocky/fluent-templates/blob/d1c4dde6d6916b8b050a20507aa28c64672464b9/src/helper/tera.rs#L38-L68

XAMPPRocky

comment created time in 4 days

push eventXAMPPRocky/i8080

XAMPPRocky

commit sha 0ab152bd648a3e9bb22dac94e556cc9170f6f37e

Update README.md

view details

push time in 4 days

PR opened getzola/zola

Add fluent builtin Tera function.

This adds a new tera builtin function fluent function if there's fluent localisations directory. Obviously more documentation, and tests are needed, but I wanted to open a PR to discuss how the feature should work before doing that.

Tera Example

{% fluent(lang="en-US", key="menu-item") %}

Sanity check:

  • [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code changes

(Delete or ignore this section for documentation changes)

  • [x] Are you doing the PR on the next branch?

If the change is a new feature or adding to/changing an existing one:

  • [ ] Have you created/updated the relevant documentation page(s)?
+220 -0

0 comment

4 changed files

pr created time in 4 days

push eventXAMPPRocky/tokei

XAMPPRocky

commit sha 48c5ed1582e33ac7b40e0d1e5bda9f787accf751

Update build.bash

view details

push time in 4 days

push eventXAMPPRocky/zola

Erin Power

commit sha afb7abb0625dc8843a003618e4e10f77706f424b

Add fluent support

view details

push time in 4 days

push eventXAMPPRocky/zola

Vincent Prouillet

commit sha 0d817ee5283af15d59a23d30cd18afa90b1caedc

Next version

view details

Steven

commit sha b9b9182a779a564edc8c519599966ed0bd286a3f

ZEIT Now => Vercel https://vercel.com/blog/zeit-is-now-vercel

view details

Erin Power

commit sha d17d23e4af94ccc0a03aca09b0f37251e110d448

Add fluent support

view details

push time in 4 days

push eventXAMPPRocky/zola

0xC45

commit sha 167b2b9974fa700f079d89077782600f44c44a19

Fix sass documentation error in example path name (#991)

view details

Vincent Prouillet

commit sha 07e0853183cd4fa6d5b0691359f4d32a909ee62e

Update themes

view details

Gelez

commit sha 7b3279befd417243b450b5b028dafb11678dc729

Theme docs: actually edit the config (#996) I hope it is just not me that misunderstood the sentence above, but I think it should be `true` and not `false`.

view details

Clément Joly

commit sha 6b91328e81abaaa55db94248bfda011391dc628b

Typos (#1010)

view details

Adrian Sieber

commit sha 79b2338bd3a0cda334e4f642696553a91e02b364

Fix path of generated page (#1011)

view details

Hannu Hartikainen

commit sha a7657f30abd94a21d6b74105eca0364a06579b62

Use {{ page.permalink | safe }} in tutorial (#1024) The `&#x2F;` urls are confusing to newcomers (at least myself). Use the best practice in the tutorial (see issue #129).

view details

XAMPPRocky

commit sha 4389a72bdb6381f4653cbee6ce235ca1deeda4eb

Update Cargo.lock (#1034)

view details

Vincent Prouillet

commit sha 1c867b60288920022b23cb504bcfb657a0894cc5

Update deps

view details

Stan Rozenraukh

commit sha 8d32f8b3f3bdaab19e45141f33b8ac76c6a81fed

Fix panic in load_data(url=%s) (#1036) If there is no response from the server, `load_data` would panic with: `response status`. This patch removes the `expect` in favor of an error message that we couldn't get a response from the server for a given url.

view details

Vincent Prouillet

commit sha 3a292d294a13e7eaefe6347cdfa17ac91c346577

Prepare for release

view details

Vincent Prouillet

commit sha a3a5b9ea0639635cfae1010291f5ca0d23ba7ad7

Merge pull request #976 from getzola/next 0.11.0

view details

Steven

commit sha c7c4605340bd1f9b9ffb20372f237c5bfc443d97

ZEIT Now => Vercel https://vercel.com/blog/zeit-is-now-vercel

view details

Vincent Prouillet

commit sha d1f7434a5ad4d6aef7049652f66ded5a4133b9f2

Merge pull request #1039 from styfle/patch-1 ZEIT Now => Vercel

view details

Erin Power

commit sha 23be56e24b95180c71987bcd9f0b59b1196a7b5f

Add fluent support

view details

push time in 4 days

create barnchXAMPPRocky/zola

branch : fluent

created branch time in 4 days

issue commentXAMPPRocky/tokei

11.2.0 Crashes on Windows

@naim94a Thank you for your issue! Can you paste the full error repot, and try running with tokei -vvv — .

naim94a

comment created time in 4 days

push eventXAMPPRocky/tokei

XAMPPRocky

commit sha 5204de76a162abbdfb78d3dff4114c3013c78815

Update CHANGELOG.md

view details

push time in 5 days

push eventXAMPPRocky/tokei

XAMPPRocky

commit sha 84f58ced02195929ee18de175af53b4a6bb4f4c5

Update CHANGELOG.md

view details

push time in 5 days

startedTanaguru/Contrast-Finder

started time in 6 days

delete branch XAMPPRocky/zola

delete branch : update-lockfile

delete time in 6 days

issue commentrust-lang/blog.rust-lang.org

Replace Handlebars with Tera

The website is a much larger project and I don't want to make any promises, though I would certainly like for the website to be static. Right now I'm focusing on the blog as it's much smaller and limited in scope.

XAMPPRocky

comment created time in 6 days

issue commentXAMPPRocky/tokei

Handle container languages

I don't think its too bad. I agree that there's probably a better way to display the information, but as of right now I don't know what that would look like. I imagine it would be more complicated than currently and I like the current simplicity.

I do have a "mind's eye" of how it could look, as I've thinking about this feature for awhile, but I need to make a proof of concept to see if it's actually any good.

XAMPPRocky

comment created time in 7 days

issue commentrust-lang/mdBook

Clean build directory before preprocessors run instead of after.

I've linked how forge generates redirects in its pre-processor below. I'm not interested in collaborating on a solution, breaking my code has already cost me a good chunk of time and stress dealing with people complaining that forge no longer works.

https://github.com/rust-lang/rust-forge/blob/master/blacksmith/src/lib.rs#L131

XAMPPRocky

comment created time in 7 days

issue commentrust-lang/discord-mods-bot

Add `?docs` command

Well I would expect a mention of a valid crate e.g. ?docs tokei to link directly to its docs, I don’t really know what would be the best behaviour beyond that.

XAMPPRocky

comment created time in 7 days

issue commentrust-lang/blog.rust-lang.org

Replace Handlebars with Tera

@tshepang There hasn’t been much public discussion, it’s mainly been me talking to the other maintainers. I do intend to write a motivation explaining why, but the TL;DR is that I don’t want to continue to maintain something bespoke when there’s more actively maintained solutions that provide more functionality. Why Zola specifically? Well there are features that the rust website needs that none of the static site generators currently have, and the Zola maintainers were open to adding those features. https://zola.discourse.group/t/zola-www-rust-lang-org/328

XAMPPRocky

comment created time in 7 days

issue commentzbraniecki/unic-locale

Add common LanguageIdentifier consts

I understand that motivation behind making the proc macro, and not wanting to have preferential treatment. However I think the current situation is quite annoying for my use case which is building higher level libraries and tooling on top of this library rather than a top level application.

When you use a proc macro in your tests and make a change in your crate all of those proc macros need to re-run every time, the only way around this is to move all the proc macro calls into a separate crate so that rust can compile it as a separate code unit.

Having a more limited selection is an acceptable trade off when I’m mainly concerned with testing that my library works with any language identifier.

XAMPPRocky

comment created time in 7 days

issue openedrust-lang/discord-mods-bot

Add `?docs` command

Similar to the ?crate, it would be nice to be able to pull up docs.rs using a command.

created time in 7 days

issue commentrust-lang/mdBook

Clean build directory before preprocessors run instead of after.

I think this is a duplicate of #1087. It was intentionally changed

XAMPPRocky

comment created time in 7 days

issue commentrust-lang/mdBook

Clean build directory before preprocessors run instead of after.

I appreciate that it is frustrating when something breaks, but it has been almost 10 months since the change, it would also cause breakage to revert it.

My problem is not the time scale, it's the fact that this project has no respect for semver, this isn't the first time patch releases have broken forge.

XAMPPRocky

comment created time in 7 days

push eventXAMPPRocky/mdBook

toyboot4e

commit sha 683d2b224073fe346ba0fdf51b237a07e4c4fdfd

Fix use of MDBOOK_BOOK

view details

toyboot4e

commit sha 4c64f23089570c643dc5786ddddf4312a4c77d75

Fix example of MDBOOK_BOOK

view details

toyboot4e

commit sha 3a63276727dd00f4e79568a26d6177562ed1edf8

Not to use `matches!`

view details

toyboot4e

commit sha 2f59dbf1efe4a966e3bb46c5db3e9cd40b56b1a2

Fix example of MDBOOK_BOOK (again)

view details

Tomasz Kurcz

commit sha d665732056d5fb96fdfe085ab65df9a5771b4c22

Links preprocessor: test links with special characters

view details

Tomasz Kurcz

commit sha b1cf3f117d3d98ff75f489fc157fa3632247b595

Links preprocessor: support pluses in file paths

view details

Eric Huss

commit sha 17210b058fd7f89e5ae40a48b92c3356e34a02fd

Merge pull request #1208 from uint/links-preprocessor-support-pluses #1098 Links preprocessor: support pluses

view details

toyboot4e

commit sha 282e55122e32270f3fd2ec85efa979f669fdaac9

Update src/config.rs Co-authored-by: Eric Huss <eric@huss.org>

view details

Eric Huss

commit sha 07dfc4b89ae0b463516810cf487f627c665b9533

Merge pull request #1207 from toyboot4e/fix-mdbook_book Enable `MDBOOK_BOOK` to overwrite `book.toml`

view details

Eric Huss

commit sha c44ef1b2f0dce84c09e6f6a8d54ab35b035c40e4

Fix some clippy warnings.

view details

Eric Huss

commit sha 8ee950e3dec4490ac62e98ab6d56a72f82abb156

Merge pull request #1214 from ehuss/fix-clippy Fix some clippy warnings.

view details

Gilles Rasigade

commit sha 61c84131386baaacc1bfa5ddc85dcdf5fe5b2314

Allow to define own HTML <head> attributes Create a `index.hbs` template file to render additional HTML <head> attributes

view details

Gilles Rasigade

commit sha f7e349d37f53d7a1479fafde1e8e68ae00bae37d

Add `head.hbs` template documentation

view details

Gilles Rasigade

commit sha 1731779a8d3be9d3074be4e464345e48a64cb375

Add `header.hbs` template documentation

view details

Gilles Rasigade

commit sha c2d58158da2594bc2d6701eb60b25075631262be

Revert HTML auto-formatting

view details

Eric Huss

commit sha 50bcf67f2b4535e89dc11ee5a1d7c50896121f5a

Consistent punctuation.

view details

Eric Huss

commit sha 7e11d37e498c85177d969f41665a2c32cf2b1de6

Merge pull request #1206 from GillesRasigade/html-head-custom HTML head customisation with `head.hbs`

view details

Mathieu David

commit sha d6059388866db3aac458053013944f1603e1991b

Bring back draft chapters

view details

Mathieu David

commit sha 43008ef2ef305c1eac377d3de82ed3a857ac4936

fix issues from code review

view details

Eric Huss

commit sha 578e4da5b647188bcbd5dd883424887612175c6b

Merge pull request #1153 from azerupi/draft-chapters Bring back draft chapters

view details

push time in 7 days

push eventXAMPPRocky/octocrab

Elinvynia

commit sha 96e9413c921078463e249078ac0cc5956ac80d1a

Improves CI (#21) * Improves CI * fmt * Review requests * Add checkouts * Revert matrix change * Update .github/workflows/rust.yml Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>

view details

push time in 7 days

PR merged XAMPPRocky/octocrab

Improves CI

Note: This requires the GITHUB_TOKEN secret to be set in the repo settings for the pretty clippy direct lints, it's optional but nice to have.

+21 -2

4 comments

3 changed files

Elinvynia

pr closed time in 7 days

pull request commentXAMPPRocky/octocrab

Improves CI

Thank you again for your PR!

Elinvynia

comment created time in 7 days

push eventElinvynia/octocrab

XAMPPRocky

commit sha 129d2c7434d16766bcb64a7c2eaaee9aa92adc9d

Update .github/workflows/rust.yml

view details

push time in 7 days

Pull request review commentXAMPPRocky/octocrab

Improves CI

 jobs:         os: [ubuntu, macos, windows]     steps:     - uses: actions/checkout@v2-    - run: rustup default ${{ matrix.channel }}+    - run: rustup default ${{ matrix.rust }}
    - run: rustup default ${{ matrix.channel }}
Elinvynia

comment created time in 7 days

Pull request review commentXAMPPRocky/octocrab

Improves CI

 on:  jobs:   build:-    runs-on: ${{ matrix.os }}-latest     strategy:       matrix:-        channel: [stable, beta, nightly]-        os: [ubuntu, macos, windows]+        type: [stable, beta, nightly, windows, macos]+        include:+          - type: stable+            rust: stable+            os: ubuntu-latest+          - type: beta+            rust: beta+            os: ubuntu-latest+          - type: nightly+            rust: nightly+            os: ubuntu-latest+          - type: windows+            rust: stable+            os: windows-latest+          - type: macos+            rust: stable+            os: macos-latest+    runs-on: ${{ matrix.os }}

Yeah, I want to test beta and nightly on macos and windows too. I don't care about CI times or less runners. It takes less than 5 minutes, and I'd prefer to be able catch a upcoming breaking change or regression in Rust.

Elinvynia

comment created time in 7 days

Pull request review commentXAMPPRocky/octocrab

Improves CI

 on:  jobs:   build:-    runs-on: ${{ matrix.os }}-latest     strategy:       matrix:-        channel: [stable, beta, nightly]-        os: [ubuntu, macos, windows]+        type: [stable, beta, nightly, windows, macos]+        include:+          - type: stable+            rust: stable+            os: ubuntu-latest+          - type: beta+            rust: beta+            os: ubuntu-latest+          - type: nightly+            rust: nightly+            os: ubuntu-latest+          - type: windows+            rust: stable+            os: windows-latest+          - type: macos+            rust: stable+            os: macos-latest+    runs-on: ${{ matrix.os }}

Can you either revert the change to the strategy matrix or explain the change? It doesn't look like it adds anything to me.

Elinvynia

comment created time in 7 days

pull request commentXAMPPRocky/octocrab

Improves CI

@Elinvynia I believe it was added at the end of last year. You can read what's exactly available here. https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners

Elinvynia

comment created time in 7 days

issue commentrust-lang/mdBook

Clean build directory before preprocessors run instead of after.

Well I think it should be reverted until there is a solution, otherwise I'll have to pin or maintain a fork of mdbook.

XAMPPRocky

comment created time in 7 days

issue openedrust-lang/mdBook

Clean build directory before preprocessors run instead of after.

This change introduced a regression in the https://forge.rust-lang.org where the our precessor can no longer generate HTML redirects that we need to maintain compatibility. (https://github.com/rust-lang/rust-forge/issues/336). I would propose to perform the clean step before preprocessors are run.

https://github.com/rust-lang/mdBook/blob/6c4c3448e35b527253e0d0cd138a70c078514eb0/src/renderer/html_handlebars/hbs_renderer.rs#L315-L318

created time in 7 days

issue commentrust-lang/mdBook

Add multilingual support

If anyone would like try a version of mdbook with localisation support you can try my fork in #1201

azerupi

comment created time in 7 days

pull request commentgetzola/zola

Update Cargo.lock

Failure seems unrelated. https://dev.azure.com/getzola/zola/_build/results?buildId=524&view=logs&j=d2980ad8-b87d-5294-4faf-0af1145b0486&t=4895aa0f-ffeb-520a-bc7b-cf61e25f8fa6&l=495

XAMPPRocky

comment created time in 7 days

pull request commentXAMPPRocky/octocrab

Improves CI

Thank you for your PR! However I would prefer to not use the actions-rsactions. In my opinion it's too much boilerplate now compared to using rustup directly which is always pre-installed. the clippy check would be nice but it has limitation of not working on forked repositories which makes unusable in my opinion as all pull requests are from forked repositores.

If you rewrote the clippy and format checks to use cargo directly using run: I would be happy to merge this in.

Elinvynia

comment created time in 7 days

push eventXAMPPRocky/zola

Vincent Prouillet

commit sha e1c8c01149b1631776ca18eae7ea06c18e29ba1b

Consistent path for defult index section Closes #995

view details

Hannu Hartikainen

commit sha 36ec33f0429a9f85247a6f76cf4bf176270285d7

Change get_url(cachebust=true) to use a hash (#1032) Cache-busting was previously done with a compile-time timestamp. Change to the SHA-256 hash of the file to avoid refreshing unchanged files. The implementation could be used to add a new global fn (say, get_file_hash) for subresource integrity use, but that's for another commit. Fixes #519. Co-authored-by: Vincent Prouillet <balthek@gmail.com>

view details

Vincent Prouillet

commit sha bfbc16d3ad69ffdcd163c768854750b6a51c311d

Update changelog

view details

Tymoteusz Wiśniewski

commit sha 974ae167a8b442471a81365513981112cc30e5a1

Make path to config.toml independent from root dir (#1023) fixes #1022

view details

Erin Power

commit sha 40511e79d3c22cbc4f0c2bae3891882e6ebd69ed

Update Cargo.lock

view details

push time in 7 days

PR opened getzola/zola

Update Cargo.lock
+1223 -1307

0 comment

1 changed file

pr created time in 7 days

push eventXAMPPRocky/zola

Vincent Prouillet

commit sha 30f6f38e6e0a177f7ad7d7209f1c1510e241ef80

0.10.2

view details

Vincent Prouillet

commit sha 91bf91a88b30ef1cf3e17579cad0de60e0298bb8

Fix link checker not checking for capital id/name Closes #948

view details

Vincent Prouillet

commit sha 01597adfd242a2339845765d7c38106a89fdc7d9

Pass lang to taxonomy list template Closes #963

view details

Gaëtan Caillaut

commit sha 16a22e76fa77af3f6ec3fbfa11304b7cb84bd4f2

Fail if a language is set both in config.default_languages and config.languages

view details

Vincent Prouillet

commit sha ff6238afddd22e5c819a65884627f36e21a27a39

Merge pull request #981 from GaaH/fail-if-lang-set-twice Fail if a language is set both in config.default_languages and config…

view details

Yusuke Tanaka

commit sha e3cb4ff0ea0f958fc5e850d7294d797a54014689

Preserve timestamps when copying files (#974) (#983) * Preserve timestamps when copying files (#974) * Do not copy files with the same modification timestamps * Clean temp dbg! * Add filesize comparison

view details

Vincent Prouillet

commit sha 56e25132a903f58d4cfe6e9179db396d596c1c95

Update deps + fix some misleading doc

view details

Vincent Prouillet

commit sha 469babbd97fbdc1d9f87fc4ec2c2030b9aac0704

Update docs on markdown filter Closes #989

view details

Vincent Prouillet

commit sha fb6cbe008f0da03cbde426d8f020152b86dd91c8

Mention how to get config variables in templates

view details

Vincent Prouillet

commit sha b2eb00a374c71633e5a14c08732a58af253394c0

Ensure lang is always set on default sections

view details

GaaH

commit sha 41bbaeb9700aab7e98d93801985a6c93886df8db

Add an optionnal `lang` parameter to get_url (#982) * get_url takes an optionnal parameter * Documentation about the 'lang' parameter of 'get_url' Co-authored-by: Gaëtan Caillaut <gaetan.caillaut@live.com>

view details

Chris Morgan

commit sha d519cdd0a1d5800110878ab4decafcbacc807e2c

chmod -x a couple of files that needed it

view details

Chris Morgan

commit sha c2dd408df4f1b9b030f95b1560bd352f788bea29

Fix obsolete slugify_paths documentation

view details

Chris Morgan

commit sha 896c30d89242d60723a1148b1666c85dbc28fd67

Fix a broken Markdown link in the docs Whitespace is not allowed between the `]` and `(`.

view details

Chris Morgan

commit sha cc64803553e591769022c5d03bfae5979b7c1446

Fix documentation of TaxonomyConfig fields It doesn’t have a field named slug. It does have a field named lang.

view details

Chris Morgan

commit sha cc01d3f82f00e63bf0e84ab97f2015ac3e17b810

Make live reload work with missing `</body>` The HTML spec doesn’t require it, and I prefer to omit it. This has been bothering me for ages, but I hadn’t gotten round to fixing it yet. This can cause nominally invalid HTML to be emitted, if `</body>` was omitted but `</html>` was present, but that’s unlikely to happen, and this is for development purposes only, and the right thing will happen anyway in all environments (per browser behaviour and spec). I don’t think this warrants a changelog entry.

view details

Chris Morgan

commit sha 4a10d0497e23e986fe4025a33a30ca6c3fdc1d18

Normalise built-in templates Two main purposes of changes here: - To make the formatting and indentation of the raw output prettier; - To simplify the HTML yielded by dropping unnecessary bits. The 404 changes are a tad more extensive, altering the actual wording to match conventional stub 404 pages a little more.

view details

Chris Morgan

commit sha e25915b2315c24bb343a91a55eb92455534ea396

Support and default to generating Atom feeds This includes several breaking changes, but they’re easy to adjust for. Atom 1.0 is superior to RSS 2.0 in a number of ways, both technical and legal, though information from the last decade is hard to find. http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared has some info which is probably still mostly correct. How do RSS and Atom compare in terms of implementation support? The impression I get is that proper Atom support in normal content websites has been universal for over twelve years, but that support in podcasts was not quite so good, but getting there, over twelve years ago. I have no more recent facts or figures; no one talks about this stuff these days. I remember investigating this stuff back in 2011–2013 and coming to the same conclusion. At that time, I went with Atom on websites and RSS in podcasts. Now I’d just go full Atom and hang any podcast tools that don’t support Atom, because Atom’s semantics truly are much better. In light of all this, I make the bold recommendation to default to Atom. Nonetheless, for compatibility for existing users, and for those that have Opinions, I’ve retained the RSS template, so that you can escape the breaking change easily. I personally prefer to give feeds a basename that doesn’t mention “Atom” or “RSS”, e.g. “feed.xml”. I’ll be doing that myself, as I’ll be using my own template with more Atom features anyway, like author information, taxonomies and making the title field HTML. Some notes about the Atom feed template: - I went with atom.xml rather than something like feed.atom (the .atom file format being registered for this purpose by RFC4287) due to lack of confidence that it’ll be served with the right MIME type. .xml is a safer default. - It might be nice to get Zola’s version number into the <generator> tag. Not for any particularly good reason, y’know. Just picture it: <generator uri="https://www.getzola.org/" version="0.10.0"> Zola </generator> - I’d like to get taxonomies into the feed, but this requires exposing a little more info than is currently exposed. I think it’d require `TaxonomyConfig` to preferably have a new member `permalink` added (which should be equivalent to something like `config.base_url ~ "/" ~ taxonomy.slug ~ "/"`), and for the feed to get all the taxonomies passed into it (`taxonomies: HashMap<String, TaxonomyTerm>`). Then, the template could be like this, inside the entry: {% for taxonomy, terms in page.taxonomies %} {% for term in terms %} <category scheme="{{ taxonomies[taxonomy].permalink }}" term="{{ term.slug }}" label="{{ term.name }}" /> {% endfor %} {% endfor %} Other remarks: - I have added a date field `extra.updated` to my posts and include that in the feed; I’ve observed others with a similar field. I believe this should be included as an official field. I’m inclined to add author to at least config.toml, too, for feeds. - We need to have a link from the docs to the source of the built-in templates, to help people that wish to alter it.

view details

Chris Morgan

commit sha 048949ea31feb92dc8a80c78dfaef4ed4a8e6142

Rename last_build_date to latest_date The variable name matched the RSS tag it ended up in, but was misleading about what it actually was—because if you actually want “last build date”, you should use `now()`. (Due to the potential for edits, I think that either there should be an official `updated` field on pages, or that these templates should use `now()`.)

view details

Chris Morgan

commit sha 0cc1435f35fcde465e7ba1642d8822845a4e5d4d

Make config.description optional in atom.xml

view details

push time in 7 days

more