Behind a small issue

Antonio Yang

yanganto@github

一个Issue背后的故事

Once upon a time...

Star from a crazy idea, and try to find out and replace all of my development environment made by a young programming language

A total Rust solution ............

In Version Control Tool

Tig

GitUI

Tig is a quick and efficient tool

and this time I want to support Rust by be a user

So I try to be a gitui user this time

It's cool, but ...

So I try to do this by my self

Spend a weekend and make PR

Sounds normal

And what is behind ?

What is behind

pub struct App {
    ...
    key_config: &'static KeyConfig,
    ...
}

At first, I do this,  and try to make the config static but lazy loaded when the program loaded

What is behind

What is behind

pub struct App<'a> {
    ...
    key_config: &'a KeyConfig,
    ...
}

At first, I do this, and change over 30+ files with a lot of lifetimes annotation and conflict with all other feature branch at that time, because I do not want to use garbage collection

What is behind

What is behind

pub struct App {
    ...
    key_config: SharedKeyConfig;
    ...
}

// SharedKeyConfig = Rc<KeyConfig>;

Yay, I think this can be merged

What is next

What is behind

Hints ?!

All these are hard coding  :(

Just Do It

The PR finally merged

After all of these handled

What is really behind this

What is open source doing

  • For good

  • Be true

  • Be patient

For good - 開源向善

Better cooperating for others

    key_config: &'static KeyConfig, 
    key_config: &'a KeyConfig,
    key_config: Rc<KeyConfig>;,

Be true - 求真務實

These are hard coding

But people truly need this?

 

Yes, and also enhance the

completeness of the key binds feature

So this should be done.

For good - 開源向善

Leave comment let others know what is going on

Be patient and polite

No one supposed be anywhere to fix the bug or review things,

everyone is equal here, and use the time/life to do a good thing

What is true about this

I am not good at programming

So I make a talk on COSCUP 2020 in Taiwan,

and point out the issue and hope somebody will be interested on this.

Because extrawurst (author) is not a vim user,

this label "wonfix" appear in mid of August 2020

So I just try to implement this with myself,

and willing to take suggestions

I am happy to be here and share

It is cool and fun !

Another issue is waiting for you

Solve It

Learn

And Share

Update

The issue is solved after I prepared for the talk, so I list some cool issues for you :)

Title Text

Subtitle

Special Thank

toomore@telegram to record video, volunteers of this event

Title Text

Subtitle

Title Text

Subtitle

Thank You

一個Issue背後的故事 - Behind a small issue

By Antonio Yang

一個Issue背後的故事 - Behind a small issue

這個講題是闗於一個小Issue後面的故事,並希望藉著這個故事能讓更多人喜歡並且參與開源文化。This talk is a story of a small issue, and encourage people to participate in open source culture more.

  • 1,070