How do you imagine you would do it with GitHub?

|
2020-12-23 20:39:40
hypernxf 2020-12-23 20:39:08
let’s say there’s no composer. How do you imagine you would do it with GitHub?

Download and upload files to their places

hypernxf 2020-12-23 20:39:50
and what happen when there’s new updates?
GistOf 2020-12-23 20:40:07
2020-12-23 20:39:14
Docker suxx? I hope)

I like docker but there’s no need to mess with it in this case

2020-12-23 20:40:26
hypernxf 2020-12-23 20:39:50
and what happen when there’s new updates?

Scripts. Auto download, auto extract. Auto move. Like my current ad removal dns

2020-12-23 20:40:57
GistOf 2020-12-23 20:40:07
I like docker but there’s no need to mess with it in this case

I am happy I’m not alone here also. It consumes too much of resources

hypernxf 2020-12-23 20:41:10
just to be clear, what kind of scripts are you referring to?
2020-12-23 20:42:04
hypernxf 2020-12-23 20:41:10
just to be clear, what kind of scripts are you referring to?

#!/bin/bash
And cron
Cheching for updates and performing update if tests are good

hypernxf 2020-12-23 20:42:14
Ok cool
hypernxf 2020-12-23 20:42:32
So you have to write a script, run a cron, check for updates for every single files you download from GitHub
2020-12-23 20:42:58
hypernxf 2020-12-23 20:42:32
So you have to write a script, run a cron, check for updates for every single files you download from GitHub

Not for every. Yet it is pretty hard work for sure

hypernxf 2020-12-23 20:43:03
exactly
2020-12-23 20:43:27
That’s me). 8 years ago)
hypernxf 2020-12-23 20:43:34
Composer allows you to monitor all the files you installed in a nut shell. and helps you update it/ install it
hypernxf 2020-12-23 20:43:47
in a very easy manner
hypernxf 2020-12-23 20:44:08
like “composer install” “composer update”
2020-12-23 20:44:18
hypernxf 2020-12-23 20:43:34
Composer allows you to monitor all the files you installed in a nut shell. and helps you update it/ install it

Yet not. –force is not canceled. And “warnings” is not good for sure

hypernxf 2020-12-23 20:44:19
so you dont have to write the bash script on your own,
hypernxf 2020-12-23 20:44:43
The idea is that with so many packages installed in your projects, it’s hard to keep track of all.
hypernxf 2020-12-23 20:45:08
So composer does that for you and give you as much indicator as possible on projects that’s about to be “dead” etc etc..
hypernxf 2020-12-23 20:45:20
But these are more like features..
hypernxf 2020-12-23 20:45:37
The key thing composer does is to allow you to manage your packages.
2020-12-23 20:45:53
hypernxf 2020-12-23 20:44:43
The idea is that with so many packages installed in your projects, it’s hard to keep track of all.

That is what I am scared about. Before I had to take care and investigate few foreign scripts. For now. I have to use 79 scripts (said by composer) from scratch

hypernxf 2020-12-23 20:46:19
Sure, we live in a dependencies world now lol
hypernxf 2020-12-23 20:46:38
you cna always write everything from scratch on your own, going back to the dinosaurs age. But it’s the trade off I guess
hypernxf 2020-12-23 20:46:57
and it’s happening in all programming language lol
hypernxf 2020-12-23 20:47:08
Because sometimes, it’s just wiser not to reinvent the wheel
2020-12-23 20:47:14
It’s may be my profession. I was a security admin before. Taking care no info leaks from either users or software.
hypernxf 2020-12-23 20:47:29
I see.
GistOf 2020-12-23 20:47:43
hypernxf 2020-12-23 20:46:57
and it’s happening in all programming language lol

That’s not a good reason to switch though

hypernxf 2020-12-23 20:47:52
Well for me.. I’m usually cautious when installing third party libraries too.
hypernxf 2020-12-23 20:48:06
For Laravel’s framework dependency. I’ll leave that to the Laravel team to manage
hypernxf 2020-12-23 20:48:23
for my own, I usually look at the stars, how active is it maintained before I decide if I want to use it.
2020-12-23 20:48:51
I see. OK. It’s not a drinking fags meeting. I am over it, yet for you to understand my pov.
hypernxf 2020-12-23 20:49:13
If the feature is quite simple, sometimes I will still write my own code instead of using Third Party.
2020-12-23 20:49:34
If it is OK and acceptable so third-party code is used. It’s ok
|