Futura-Py / TimerX

A fluent Timer App, made completely in Python
https://timerx-app.netlify.app
MIT License
37 stars 5 forks source link

feat: Code Formatting via cron #76

Closed not-nef closed 2 years ago

not-nef commented 2 years ago

@sumeshir26 Can you please verify this works this is my first time doing something like this thanks

netlify[bot] commented 2 years ago

✔️ Deploy Preview for timerx-app canceled.

🔨 Explore the source changes: 905f2db54a02752ba1aac6856c15f36d01748977

🔍 Inspect the deploy log: https://app.netlify.com/sites/timerx-app/deploys/62072ca4697910000734b572

im-coder-lg commented 2 years ago

Hey, I wanted to do this! I have a bunch of workflow apps to do this.

not-nef commented 2 years ago

Well i was faster xd

not-nef commented 2 years ago

But i didnt figure out how to manually trigger a workflow

im-coder-lg commented 2 years ago

But i didnt figure out how to manually trigger a workflow

It has to be on the master branch.

not-nef commented 2 years ago

Ah ok

im-coder-lg commented 2 years ago

I'll take over for the apps . I kinda have better knowledge, but I'll teach you by commenting after each commit, is that fine?

not-nef commented 2 years ago

So theres no way to test if this works?

not-nef commented 2 years ago

Yeah

im-coder-lg commented 2 years ago

So theres no way to test if this works?

I'll test this on my other Python apps ;)

not-nef commented 2 years ago

Cool!

im-coder-lg commented 2 years ago

Also, I'll have to divide time equally, so I'll start with this within half an hour. I have to work on linking TimerX to npm via the package.json file. I got all the resources, will take care of this ;)

im-coder-lg commented 2 years ago

Some more commits incoming!

im-coder-lg commented 2 years ago

Wait, how can we create a PAT in an org? If not, we could try OAuth, right? If yeah, then how?

not-nef commented 2 years ago

Btw, can we rename the org to something like Futura-Software?

not-nef commented 2 years ago

So i can start work on CalcX

im-coder-lg commented 2 years ago

Well, let's wait for @sumeshir26's response. Moreover, I'll be offline tomorrow yet again, so it will be a loooong time before I get back onto GitHub.

not-nef commented 2 years ago

Okay

sumeshir26 commented 2 years ago

@not-nef I'm not reallay in liking with Futura-Software. Could we try something else?

not-nef commented 2 years ago

Yeah, do you have any other ideas?

sumeshir26 commented 2 years ago

You know what, I'll rename the org to Futura-Software Can someone make a logo?

sumeshir26 commented 2 years ago

@not-nef Futura-Software isnt available 😆

im-coder-lg commented 2 years ago

Futura-Tech?

not-nef commented 2 years ago

You know what, I'll rename the org to Futura-Software Can someone make a logo?

I can make a logo, but not at the moment

im-coder-lg commented 2 years ago

What kind of logo? Maybe I'll be able to draw something on a blank sheet of paper. Make sure it's geometric, I'll make the lengths and spacings.

sumeshir26 commented 2 years ago

I've got a idea - Ill make it tommorow on Google Drawings

im-coder-lg commented 2 years ago

@not-nef why do you hate Futura-Tech? Close to your title, except I changed software to tech. Also, what do you guys think of a game in the future? Kind of like Atari Breakout?

im-coder-lg commented 2 years ago

Also ,any ideas on a repo token for checks? Or maybe I'll add just Black.

im-coder-lg commented 2 years ago

As well as isort.

im-coder-lg commented 2 years ago

Alright, I think the workflow is great now. It will run at midnight IST/5:30 AM UTC on the 15th of every month. I haven't tested this, but if it fails, I'll resolve it.

not-nef commented 2 years ago

@not-nef why do you hate Futura-Tech? Close to your title, except I changed software to tech. Also, what do you guys think of a game in the future? Kind of like Atari Breakout?

I dont like it. And the game idea is cool

not-nef commented 2 years ago

I held a presentation about the creator of Breakout, Steve Wozniak, yesterday

not-nef commented 2 years ago

@sumeshir26 What about futura-py?

im-coder-lg commented 2 years ago

Hmm, that seems cool. Also, Steve Jobs and Woz made the game. Woz did the schematics and boarding since you had to do those at that time and Jobs submitted the game to Nolan Bushnell. I know that due to the biography, read that a lot of times. Actually, I understand how Breakout works. You must start with a Ping Pong-like UI and add blocks. Then you must configure the blocks so that they disappear when the ball hits tgem. Slowly, the speed increases and etc. I thought of making this in JavaScript, React especially, but I think we could use PyGame to make the game.

im-coder-lg commented 2 years ago

I held a presentation about the creator of Breakout, Steve Wozniak, yesterday

Wow. Actually, I played Breakout on Elgoog.com, it is easy to understand. Moreover, it doesn't need documentation. Okay, maybe a little, but I'll manage it.

not-nef commented 2 years ago

Ok, so @sumeshir26 can you rename the org to futura-py

sumeshir26 commented 2 years ago

Okay, and i think push jobs are better than crontabs since we only need to format when a commit is pushed, right? Why unnecessarily waste GH's runners?

im-coder-lg commented 2 years ago

I said cronjob since you format once in a while, thereby using less runners. Moreover, instead of formatting immediately, if we wait, we could format more lines of code if we wait. Maybe I'll also try integrating a push notification workflow inside it to tell us the code is formatted.

im-coder-lg commented 2 years ago

Also, you don't need to waste runners. It will just trigger the runner which will start the work.

im-coder-lg commented 2 years ago

I'll have to change some links again.

im-coder-lg commented 2 years ago

Wait, hold up! We can't push the changes here. I'll do some tricks around and push it by Monday.

im-coder-lg commented 2 years ago

I'm almost done, just need to push the changes! Works on https://github.com/im-coder-lg/Calculator-made-with-Python!

im-coder-lg commented 2 years ago

Final test!

im-coder-lg commented 2 years ago

This works now!

im-coder-lg commented 2 years ago

Merging!