Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fossil support #2092

Merged
merged 1 commit into from
Jan 10, 2022
Merged

Fossil support #2092

merged 1 commit into from
Jan 10, 2022

Conversation

dominikschulz
Copy link
Member

This commit adds HIGHLY EXPERIMENTAL support for the Fossil SCM.
It's barely tested but seems to support the most basic use cases
already. A lot of Fossil specifics aren't supported, yet. Cloning
for examples isn't supported so far.

This should be threated as an experiment only so far. If there is some interest we
will probably built this out further in the future. Fossil definitely has some
very nice properties and should be much simpler to support than git.

Fixes #2022

RELEASE_NOTES=[EXPERIMENTAL] Support the Fossil SCM

Signed-off-by: Dominik Schulz dominik.schulz@gauner.org

This commit adds HIGHLY EXPERIMENTAL support for the Fossil SCM.
It's barely tested but seems to support the most basic use cases
already. A lot of Fossil specifics aren't supported, yet. Cloning
for examples isn't supported so far.

Fixes gopasspw#2022

RELEASE_NOTES=[EXPERIMENTAL] Support the Fossil SCM

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
@dominikschulz dominikschulz added the rcs-and-sync SCM / Sync Backends label Jan 9, 2022
@dominikschulz dominikschulz added this to the 1.14.0 milestone Jan 9, 2022
Copy link
Member

@AnomalRoil AnomalRoil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I never tried fossil-scm so far, so not much to say.

Overall, I'm a bit sad we don't have a nice go lib to handle that and have to resort to cmd.Exec, but I guess that's fine.

Also no tests, but it's difficult to do that kind of tests when you're calling external tools and all.

@dominikschulz
Copy link
Member Author

If we ever find something that's pure Go that'd be great.
But fossil is based on SQLite and that isn't available in Go without CGO.

I'm primarily interested in this to keep exploring possible alternatives to git.
I understand that many users won't migrate away from git. But if I find something
that works better I'll happily move over myself.

@dominikschulz dominikschulz merged commit e45a50d into gopasspw:master Jan 10, 2022
@dominikschulz dominikschulz deleted the fix/issue-2022 branch January 10, 2022 16:29
@dertuxmalwieder
Copy link

Just yesterday I complained on the IRC (of a different community) that my attempts at getting my own Git server running were fruitless. I would have to migrate to Git first... :-)

Thank you for your commit! From what I can see, it should work fine...

@dominikschulz
Copy link
Member Author

dominikschulz commented Jan 10, 2022

@dertuxmalwieder Please note that this is really meant as an early preview. A lot of things don't work yet - or are at least untested (e.g. cloning a repo).

kpitt pushed a commit to kpitt/gopass that referenced this pull request Jul 21, 2022
This commit adds HIGHLY EXPERIMENTAL support for the Fossil SCM.
It's barely tested but seems to support the most basic use cases
already. A lot of Fossil specifics aren't supported, yet. Cloning
for examples isn't supported so far.

Fixes gopasspw#2022

RELEASE_NOTES=[EXPERIMENTAL] Support the Fossil SCM

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rcs-and-sync SCM / Sync Backends
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Fossil SCM
3 participants