Skip to content
This repository was archived by the owner on Apr 5, 2021. It is now read-only.

Conversation

koute
Copy link
Contributor

@koute koute commented Jan 18, 2018

Fixes #28

@andybarron
Copy link
Owner

andybarron commented Jan 18, 2018

Thanks so much for this!! I've been super busy lately unfortunately, but should have time to merge & deploy this and some other fixes in the next couple of days.

@SebAubin
Copy link

SebAubin commented Feb 1, 2018

Can someone merge this fix for the nightly please?

@kornelski
Copy link

@andybarron could you make a quick release with this now? It is causing breakage in dependent projects.

@xeniagda
Copy link

xeniagda commented Feb 11, 2018

For everyone needing this: you can add the following to your Cargo.toml to use this patch right now:

[patch.crates-io]
app_dirs = { git = "https://github.com/koute/app-dirs-rs" }

(@SebAubin @kornelski)

@PSeitz
Copy link

PSeitz commented Feb 20, 2018

So if this speeds up things, I tested it and it works on my Mac.

@faern
Copy link

faern commented Mar 1, 2018

This problem exists on the latest beta, rustc 1.25.0-beta.6. So I guess the compiler change triggering this will exist in 1.25.0 stable as well. That means this must be merged and published before March 29 unless we want this bug to regress into stable, which would be very sad.

Would probably have to be published quite a while before that so people have some time to update their Cargo.lock files before Travis CI and similar systems automatically upgrade to rustc 1.25.0.

@koute
Copy link
Contributor Author

koute commented Mar 1, 2018

@andybarron If you don't have the time to maintain this crate anymore then perhaps you could share co-maintainership with someone else? (I'm sure someone would be interested in helping out.)

@luser
Copy link

luser commented Mar 13, 2018

I use app_dirs in sccache and I'd be happy to help out with some light maintenance if you'd like.

@icefoxen
Copy link

I've forked this crate with the intent of making sure it stays maintained, you can find the fork here: https://crates.io/crates/app_dirs2

I'm working on incorporating this and other fixes now.

icefoxen added a commit to app-dirs-rs/app-dirs-rs that referenced this pull request Mar 21, 2018
@kornelski
Copy link

@icefoxen I recommend that you add other owners to your fork on crates.io, so that your crate won't also have bus factor 1.

@qezz
Copy link

qezz commented Mar 21, 2018

For those who experience this problem in other crates, .as_ref().into() compilation error is not going to be fixed, so this is a breaking change in compiler

@icefoxen
Copy link

@kornelski that's the intention. Any volunteers?

@kornelski
Copy link

I volunteer.

@icefoxen
Copy link

@kornelski You should have access to the repo and crates.io project; if you don't, let me know.

@qezz
Copy link

qezz commented Mar 27, 2018

@icefoxen thank you for fork, but there are some inconveniences:

  1. It is hard to find the fork via github (because it doesn't include fork into the search result)
  2. Is it possible to create an issue within the fork repo? Idk for sure... Anyway, it is hard for people (at least for me) to find the proper repo/fork to ask questions

So, maybe you should create a separate repo (not a fork one)? But I'm still not sure about legal rights / licensing / copyrights...

@icefoxen
Copy link

@qezz I can add an issue tracker to the fork, but 1) is still a valid point. I've made an entirely separate repo here: https://github.com/app-dirs-rs/app_dirs2 and updated crates.io to point to it. Hopefully that will make life simpler.

@skade
Copy link

skade commented Mar 28, 2018

Hi, this will break on stable tomorrow, with the release of Rust 1.25. @andybarron, can you do a release or at least give someone release rights? I'd also be happy to do that, in this case, add @skade to this repository and skade ([email protected]) at crates.io.

@andybarron andybarron merged commit e3779dc into andybarron:master Mar 29, 2018
@andybarron
Copy link
Owner

Published 1.2.0. Sincerest apologies for the inactivity. Fork maintainers, feel free to open PRs against this repo if you have incorporated any additional fixes. I will look into adding a co-maintainer :)

@icefoxen
Copy link

Welcome back to the land of the living, @andybarron! app-dirs-rs/app_dirs2#1 has some thoughts on the topic of co-maintenance if you're interested.

kseo pushed a commit to CodeChain-io/codechain that referenced this pull request Apr 10, 2018
This patch bumps the version of app_dirs to ^1.2.1
See andybarron/app-dirs-rs#29
jD91mZM2 pushed a commit to jD91mZM2/app-dirs-rs that referenced this pull request Jul 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.