Comments (23)
Closing, working 100%
from badd-boyz-hosts.
What about
- Funceble run 40 minutes
- After 40 minutes:
- We commit without [ci skip]
- We exit the script with
exit 0
- After 40 minutes:
Then on next commit (last one)
- Funceble run for 40 minutes
- If we reach the last line we set a variable which gonna activate the commit with [ci skip]
from badd-boyz-hosts.
from badd-boyz-hosts.
@funilrys 40 minutes into Travis build and only on "m" ..... not going to make it 😁
from badd-boyz-hosts.
@funilrys .... reached until "rel" then maxed out due to the 50 minute timeout.
from badd-boyz-hosts.
@mitchellkrogza Before anything thanks! I planned to test with dead-hosts but this is just an awesome output :)
from badd-boyz-hosts.
The idea behind the auto save is to commit the continue.txt + all generated files then when you restart with all save files, it'll continue from the last saved domain/IP :)
Not bad at all "rel" :)
For me, the main issue is the outputs like https://travis-ci.org/mitchellkrogza/Badd-Boyz-Hosts/builds/265582291#L9807 😄
from badd-boyz-hosts.
@mitchellkrogza You can restart it :) Only the "m" issue have an influence with the Travis autosave :) The whois outputs don't have any influence with the result 😉
from badd-boyz-hosts.
Ok so how we do that? I'd like to test that for sure but think I am going to need some script changes in deploy etc ???
from badd-boyz-hosts.
For now, we need to start from beginning because commit -am
did not work.
Than, we need only a commit so Travis restart its job ... But you're right I didn't really think about how we handle that part ...
from badd-boyz-hosts.
Going to have to re-work a lot of scripting so that it commits "without a [ci skip]" ... which will then tell Travis to go ahead and build again "but" this time continuing .... and keep doing this until it reaches the end of a list .... then move to final deploy with a [ci skip] message. This one's going to be tricky one to figure out.
from badd-boyz-hosts.
Oh yes, BTW, I found this awesome free app for iOS. https://itunes.apple.com/ua/app/codehub-a-client-for-github/id707173885?mt=8 I did two commits from my iPad last night which was a total breeze, absolutely brilliant little app.
from badd-boyz-hosts.
The big problem is that sometimes Travis stops at [40-50] minutes ...
Not bad 👍
from badd-boyz-hosts.
We will need to have YET another switch for funceble 😹 setting a -r (runtime) option and set it to 25 minutes, then commit and carry on.
👍 that Codehub app is awesome, I could sit in front of TV and do 2 quick commits with the greatest of ease. NOW .... when I go away for 12 days I can be GITTING all I like 🤣 🤣 .... Dylan would KILL ME if I did that.
from badd-boyz-hosts.
Or we stop Travis by exiting after 40 minutes 😹
from badd-boyz-hosts.
40 is good. To be safe I would go with 35 and not put Travis under too much pressure as some of our repo's tend to do 😹 .... one day I can see an email saying hey, slow down on Travis 🤣
from badd-boyz-hosts.
Then we need to handle the end of the file 😸
from badd-boyz-hosts.
What about
- funceble with a runtime of let's say 40 minutes.
- When 40 minutes lapses, funceble kills itself, writes the continue.txt file
- Do a travis commit of all files without [ci skip] in the commit message
- Travis then will trigger a new build
- New build starts, funceble kicks in and continues from continue.txt
- 40 minutes ... same thing.
- Once funceble gets to the end of a list it should maybe write a
.complete
file - The final deploy script can search for the existence of
.complete
and then do the final commit with [ci skip]
Handling this logic in .travis.yml deploy section is what is going to be the trouble maker ???
from badd-boyz-hosts.
You have collaborator access to this repo .... so you can test anything you like here. I'm busy with a cleanup right now of some false positives and dead / inactive domains.
from badd-boyz-hosts.
@funilrys I ran this list on my Ubuntu Server this morning with a timeout of 5 seconds. It finished now.
Execution Time:
04:43:37
I also ran it as follows but cannot find any percentage.txt file anywhere ./funceble -a -ex -h -p -t 5 -f domains.txt
???
I ran it using the dev branch.
from badd-boyz-hosts.
Scratch that @funilrys i should not have added the -p switch ..... silly me.
from badd-boyz-hosts.
That is the reason I added Current value: xxxx
into ./funceble --help
😹 😹 😹 😹
from badd-boyz-hosts.
@funilrys running new dev branch now.
from badd-boyz-hosts.
Related Issues (20)
- ladsup.com HOT 2
- xart.com missing from hosts file HOT 3
- yellowproxy HOT 3
- Add nokia-n8.com HOT 4
- [FALSE-POSITIVE] rarbg.to
- Add maincert.com HOT 6
- Add townhousefilms.com HOT 1
- Add spacebridemag.com HOT 4
- [FALSE-POSITIVE] allekabels.nl and www.allekabels.nl HOT 1
- [BUG] Hosts list is now just one domain HOT 2
- [BUG]
- [FALSE-POSITIVE] HOT 2
- Please add this websites to the hosts list HOT 3
- Request to block nottepad-plus-plus.org (fake site of Notepad++)
- [BLOCK] click.envios.buscape.com.br
- [BUG] Hosts file has just one host? HOT 1
- Empty hosts file HOT 3
- Is there a compatible version of this list that will work with uBlock Origin? HOT 1
- [FALSE-POSITIVE] domain: amospalla.es HOT 5
- [Domain ADDITION] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from badd-boyz-hosts.