dirs icon indicating copy to clipboard operation
dirs copied to clipboard

Add XDG_STATE_HOME

Open piegamesde opened this issue 3 years ago • 8 comments

Not released yet, but it's already part of the spec: $XDG_STATE_HOME.

I added support for it in this crate by copy-pasting and following existing patterns as much as possible. As it's not officially released yet, maybe it should be hidden behind a feature flag?

I don't know anything about Windows and Mac, so I simply answered that question with None. I think implementing it for these platforms can be done in a future work. (I wouldn't want to do it since I can't test it.)

piegamesde avatar Nov 07 '20 22:11 piegamesde

Thanks for the PR. I'm sorry for the late in reviewing. I've been away from computer for a time.

~I searched in https://gitlab.freedesktop.org/xdg/xdg-specs/-/blob/master/basedir/basedir-spec.xml but I didn't find any mentions of XDG_STATE_HOME.~ I'm sorry, firefox search feature lied to me. I can find the XDG_STATE_HOME in that file after doing the search one more time.

You told that the new spec is not released. So do you think in the meantime wait for the new spec is OK?

tesuji avatar Jan 05 '21 02:01 tesuji

You told that the new spec is not released. So do you think in the meantime wait for the new spec is OK?

I think that's up to you to decide. See also the discussion in https://github.com/whitequark/rust-xdg/pull/33 about this topic.

I think I'll go and ask for a proper release, but don't expect anything to happen soon.

piegamesde avatar Jan 05 '21 11:01 piegamesde

The spec won't move in any direction anytime soon, so don't expect any releases there. Are you still interested in this?

piegamesde avatar Mar 06 '22 20:03 piegamesde

The spec won't move in any direction anytime soon, so don't expect any releases there.

Maybe I'm missing something, but every variant of the spec I can find suggests this was released a little over a year ago now. Notably both the Freedesktop.org Specifications page for basedir version 0.8 and the xdg gitlab variant list $XDG_STATE_HOME.

rydalt avatar May 15 '22 23:05 rydalt

True. How could I miss that? Thanks for the notice

piegamesde avatar May 15 '22 23:05 piegamesde

Actually I was digging around a bit more, it looks like this was added and released in dirs 4.0.0. This is the repo where development is happening for dirs now which threw me off since I got to here from another issue blocked by this and didn't look at the readme

rydalt avatar May 15 '22 23:05 rydalt

True. How could I miss that? Thanks for the notice

Their site wasn't updated until well after the fact so the only way to know at the time was if you were following the upstream repo itself.

ammgws avatar May 16 '22 04:05 ammgws

ping... do this has any process?

Decodetalkers avatar Jul 06 '23 13:07 Decodetalkers