threads / discuss / 63841

[ANN] git-phoenix - repository recovery tool

Subject: [ANN] git-phoenix - repository recovery tool

## tl;dr

5 messages between Jul 24, 2025 and Jul 25, 2025.

replies: 4people: 2as markdown or json

Daniil Iaitskov· Jul 24, 2025, 18:49 UTC · lore
Hi Git List,

I would like to share a tool for recovery an unpublished Git repository after accidental removal or file system failure. VCS usually implies backup feature auto of the box, but due to Git decentralized nature and developer's laziness source code sometimes can be lost. Recently I accidentally deleted all projects, including a few unpulished POCs, after infamous rm -rf * typo. Work on them has been interrupted for quite awhile and rewriting them from scratch recalling all the hack intricacies would be terribly boring. So I decided to invest my dev time in a more creative way.

https://github.com/yaitskov/git-phoenix/
Best regards,
Daniil Iaitskov
Christian Couder· Jul 25, 2025, 18:12 UTC · re: Daniil Iaitskov · lore

Re: [ANN] git-phoenix - repository recovery tool

Hi Daniil,
On Thu, Jul 24, 2025 at 8:49 PM Daniil Iaitskov <dyaitskov@gmail.com> wrote:
Show 14 quoted lines
>
> Hi Git List,
>
> I would like to share a tool for recovery an unpublished Git repository
> after accidental removal or file system failure. VCS usually implies
> backup feature auto of the box, but due to Git decentralized nature and
> developer's laziness source code sometimes can be lost. Recently I
> accidentally deleted all projects, including a few unpulished POCs,
> after infamous rm -rf * typo. Work on them has been interrupted for
> quite awhile and rewriting them from scratch recalling all the hack
> intricacies would be terribly boring. So I decided to invest my dev time
> in a more creative way.
>
> https://github.com/yaitskov/git-phoenix/

Thanks for creating it. It doesn't seem to have a license, which might prevent some of us from using it, though.

Anyway for now there is the following pull request to talk about it in the next Git Rev News edition:

https://github.com/git/git.github.io/pull/790

Best, Christian.

Daniil Iaitskov· Jul 25, 2025, 18:40 UTC · re: Christian Couder · lore

Re: [ANN] git-phoenix - repository recovery tool

On 7/25/25 10:12, Christian Couder wrote:
Show 20 quoted lines
> Hi Daniil,
> 
> On Thu, Jul 24, 2025 at 8:49 PM Daniil Iaitskov <dyaitskov@gmail.com> wrote:
>>
>> Hi Git List,
>>
>> I would like to share a tool for recovery an unpublished Git repository
>> after accidental removal or file system failure. VCS usually implies
>> backup feature auto of the box, but due to Git decentralized nature and
>> developer's laziness source code sometimes can be lost. Recently I
>> accidentally deleted all projects, including a few unpulished POCs,
>> after infamous rm -rf * typo. Work on them has been interrupted for
>> quite awhile and rewriting them from scratch recalling all the hack
>> intricacies would be terribly boring. So I decided to invest my dev time
>> in a more creative way.
>>
>> https://github.com/yaitskov/git-phoenix/
> 
> Thanks for creating it. It doesn't seem to have a license, which might
> prevent some of us from using it, though.

License is specified in project file (BSD3): https://github.com/yaitskov/git-phoenix/blob/9a88c55fd45f28d4e1865df3ac746b409474eaf7/git-phoenix.cabal#L135

The tool is also published on hackage under BSD3: https://hackage.haskell.org/package/git-phoenix-0.0.2

I don't see much difference between open source licenses and picked BSD3 just because it is popular here.

What license would like to see?
Show 8 quoted lines
> 
> Anyway for now there is the following pull request to talk about it in
> the next Git Rev News edition:
> 
> https://github.com/git/git.github.io/pull/790
> 
> Best,
> Christian.

Best regards, Daniil Iaitskov

Christian Couder· Jul 25, 2025, 19:01 UTC · re: Daniil Iaitskov · lore

Re: [ANN] git-phoenix - repository recovery tool

On Fri, Jul 25, 2025 at 8:40 PM Daniil Iaitskov <dyaitskov@gmail.com> wrote:
>
> On 7/25/25 10:12, Christian Couder wrote:
Show 5 quoted lines
> > Thanks for creating it. It doesn't seem to have a license, which might
> > prevent some of us from using it, though.
>
> License is specified in project file (BSD3):
> https://github.com/yaitskov/git-phoenix/blob/9a88c55fd45f28d4e1865df3ac746b409474eaf7/git-phoenix.cabal#L135

Ok, I just saw that GitHub didn't display the license information at the top of your repository page, and then only took a look at the README where I couldn't find any license information.

It seems that you need to add a file named LICENSE (or LICENSE.txt, LICENSE.md) with the full text of your chosen license in the root directory of your repository for GitHub to automatically detect and display it. I could help people find that information and be more confident that they can use it.

Show 7 quoted lines
> The tool is also published on hackage under BSD3:
> https://hackage.haskell.org/package/git-phoenix-0.0.2
>
> I don't see much difference between open source licenses and picked BSD3
> just because it is popular here.
>
> What license would like to see?

It's your choice and I don't have any say in it, but I am happy that it is open source :-)

Thanks.
Daniil Iaitskov· Jul 25, 2025, 21:27 UTC · re: Christian Couder · lore

Re: [ANN] git-phoenix - repository recovery tool

On 7/25/25 11:01, Christian Couder wrote:
Show 19 quoted lines
> On Fri, Jul 25, 2025 at 8:40 PM Daniil Iaitskov <dyaitskov@gmail.com> wrote:
>>
>> On 7/25/25 10:12, Christian Couder wrote:
> 
>>> Thanks for creating it. It doesn't seem to have a license, which might
>>> prevent some of us from using it, though.
>>
>> License is specified in project file (BSD3):
>> https://github.com/yaitskov/git-phoenix/blob/9a88c55fd45f28d4e1865df3ac746b409474eaf7/git-phoenix.cabal#L135
> 
> Ok, I just saw that GitHub didn't display the license information at
> the top of your repository page, and then only took a look at the
> README where I couldn't find any license information.
> 
> It seems that you need to add a file named LICENSE (or LICENSE.txt,
> LICENSE.md) with the full text of your chosen license in the root
> directory of your repository for GitHub to automatically detect and
> display it. I could help people find that information and be more
> confident that they can use it.

Thanks for feedback. After getting familiar with content of a few BSD3 license files I was able to commit mine.

Show 13 quoted lines
> 
>> The tool is also published on hackage under BSD3:
>> https://hackage.haskell.org/package/git-phoenix-0.0.2
>>
>> I don't see much difference between open source licenses and picked BSD3
>> just because it is popular here.
>>
>> What license would like to see?
> 
> It's your choice and I don't have any say in it, but I am happy that
> it is open source :-)
> 
> Thanks.

← back to recent threads