confy icon indicating copy to clipboard operation
confy copied to clipboard

Please release more often

Open getreu opened this issue 4 years ago • 26 comments
trafficstars

Please release more often. Even a few smaller improvements can make a big difference, according to what the user needs.

For example: I am desperately waiting for pub fn get_configuration_file_path(name: &str) -> Result<PathBuf, ConfyError>.

The commit 83c3c225b38033d5c04ec50845cca905b720162e could be easily shipped as intermediate version.

getreu avatar Jan 22 '21 07:01 getreu

Happy to see that my recent addition are really something that peoples want. I joined the rust-cli group for this exact reason and publish a version with the yaml feature. Now I just want to test a bit #40 and merge it before publishing a version (hopefully early February). And since it will be my first published version for this crate… well I do not want to mess up :sweat_smile:

Zykino avatar Jan 23 '21 10:01 Zykino

Thanks for the issue. For small crates that's the problem as we rarely have much changes so we wait for a bunch of changes which can take a few months and by then people lose interest :D Will check if there's anything else to be bundled with this and if not make a release or assuming Zykino has permissions, let them go ahead :)

Dylan-DPC-zz avatar Jan 24 '21 02:01 Dylan-DPC-zz

I'm also desperately waiting for this function to be available :) . Anyway thanks for that awesome crate :+1:

RykoL avatar Feb 12 '21 20:02 RykoL

Any plans when to release?

getreu avatar Mar 03 '21 10:03 getreu

Any update?

let4be avatar May 06 '21 15:05 let4be

I try to ping @Dylan-DPC often on Discord :sweat_smile:

Zykino avatar May 06 '21 17:05 Zykino

:D

I'm very sorry for the delays. Been busy the last few months so haven't got to this. Will look into it, this weekend if I can

Dylan-DPC-zz avatar May 06 '21 17:05 Dylan-DPC-zz

Any update?

AlephAlpha avatar Jun 21 '21 00:06 AlephAlpha

Here's another problem: the directories crate doesn't build with -Z minimal-versions. I see that confy has switched to directories-next. Could you please make a release so we can get that?

asomers avatar Jul 28 '21 21:07 asomers

I'm also keen to see a new release - doesn't need to be polished, just needs to be on crates.io. :)

samuelallan72 avatar Aug 17 '21 22:08 samuelallan72

Is there a way that users could help out to ensure you're confident in a release? Like other users have mentioned, I'm interested in features mentioned in the README that aren't in the version on crates.io, and it'd be great to have an up to date release.

mistydemeo avatar Sep 04 '21 21:09 mistydemeo

Polite ping?

wzzrd avatar Jan 16 '22 21:01 wzzrd

It's been almost 2 years since the last release. A new release is very overdue! 🙏🏼

@Dylan-DPC, @Zykino: Does anyone else in the Rust CLI WG have release permissions?

Is there anything that can be done to speed up the release cycle in general? More release automation, more maintainers?

PiDelport avatar Feb 17 '22 08:02 PiDelport

You are probably better off implementing what Confy does yourself. With Serde it is only a handful lines of code:

source

fn config_load_path(config_path: &Path) -> Result<Cfg, FileError> {
    if config_path.exists() {
        let config: Cfg = toml::from_str(&fs::read_to_string(config_path)?)?;
        // Check for obvious configuration errors.
        // ..
        Ok(config)
    } else {
        fs::create_dir_all(config_path.parent().unwrap_or_else(|| Path::new("")))?;

        let mut buffer = File::create(config_path)?;
        buffer.write_all(toml::to_string_pretty(&Cfg::default())?.as_bytes())?;
        Ok(Cfg::default())
    }
}

getreu avatar Feb 17 '22 08:02 getreu

Workaround:

[dependencies]
confy = { git = "https://github.com/rust-cli/confy" }

:tipping_hand_man:

tennox avatar Apr 15 '22 15:04 tennox

Workaround:

[dependencies]
confy = {git = "https://github.com/rust-cli/confy" }

Unfortunately @tennox that doesn't work if you want to make a release yourself. Cargo won't let you release a crate that has git dependencies.

asomers avatar Apr 15 '22 15:04 asomers

Bumping because I just hit an issue that would have been absolutely impossible to debug without using the git version. Please make a release soon

s-burris avatar May 19 '22 23:05 s-burris

Polite bump :)

Lioness100 avatar Aug 09 '22 15:08 Lioness100

Are there any major reasons not to just release? It's still at version 0, so semver-wise you don't even strictly need to concern yourself with breaking changes (although it would be nice, of course, but probably not as nice as having an actual release).

tobiasvl avatar Aug 13 '22 20:08 tobiasvl

I asked the author on discord months ago and he said he would but still hasn't. At this point I've switched to reading files / using serde directly

s-burris avatar Aug 16 '22 15:08 s-burris

Any updates? I think ill fork

krissemicolon avatar Aug 30 '22 14:08 krissemicolon

The CLI-WG is meeting Monday 2022-09-05 and I want to bring up ownership and maintenance of this crate.

deg4uss3r avatar Sep 03 '22 19:09 deg4uss3r

After the WG meeting we figured we should do a Rosetta analysis of this crate to ensure it's something we (as in the Working Group) want to keep updating and support vice other options (config-rs, figment, other crates we are not aware of).

Please post to this issue if there's specific reasons for confy, none of this means it is going away or anything like that! Just in relation to the working group maintainability. I, personally, do not mind maintaining this crate and releasing but I'd rather do so under the WG if possible.

deg4uss3r avatar Sep 07 '22 01:09 deg4uss3r

Thanks, @deg4uss3r :)

I haven't tried other crates (yet), but i loved the simplicitiy of this crate working out of the box :thumbs_up:

tennox avatar Sep 07 '22 18:09 tennox

Version 0.5.0 was released

I'm tempted to close this issue but I would like feedback on my comment above for more data to bring back to the Working Group.

deg4uss3r avatar Sep 08 '22 04:09 deg4uss3r

Thank you very much! I've updated a project to use it.

mistydemeo avatar Sep 08 '22 04:09 mistydemeo