sanctuary icon indicating copy to clipboard operation
sanctuary copied to clipboard

Add Option for IP Address

Open amaank404 opened this issue 3 years ago • 16 comments

I have seen that this project does not allow to choose IP Address for hosting the Web Application, so i thought I can fix it. Hence I will be getting a new pull request Up for the same.

amaank404 avatar Sep 30 '20 08:09 amaank404

Thank you for marking that out. @xcodz-dot.

The community usually goes into replicating the defect/bug that is listed, then ideates the way of solving it and finally moves on to developing a fix to address the said issue. You are requested to discuss in detail under this ticket how such a feature addition can be important and why it should be incorporated.

gridhead avatar Oct 02 '20 03:10 gridhead

well, when you host a server, you need to host on a static IP address which can be accessed by a DNS Server. Also you might want to host the server on local LAN connection so you might want to put on a custom IP Address for the server to host. So i suggest we can simply add an argument to click and pass the address to run method of flask application

amaank404 avatar Oct 02 '20 09:10 amaank404

Please assign this to me

amaank404 avatar Dec 02 '20 06:12 amaank404

This needs some thorough discussions. I'd ask @VaibhavSaini19 @s-katte @shivangswain @tripathyprateek to explore this and get into discussion.

gridhead avatar Dec 02 '20 16:12 gridhead

well, when you host a server, you need to host on a static IP address which can be accessed by a DNS Server. Also you might want to host the server on local LAN connection so you might want to put on a custom IP Address for the server to host. So i suggest we can simply add an argument to click and pass the address to run method of flask application

As I understand, you are suggesting that instead of default localhost:PORT only, we can have and option that user can provide input for IP as well, like suppose 198.6.6.1:PORT ? Please correct me if i am wrong @xcodz-dot

s-katte avatar Dec 02 '20 16:12 s-katte

Yes, by default we will keep it localhost but if user specifies the option we will keep the user one. This would not break compatibility but only add a optional command line option. Also we will take input in this format 192.168.43.1 and not 192.168.43.1:PORT

amaank404 avatar Dec 03 '20 03:12 amaank404

This is a good feature to have in my opinion and I don't see any problem with merging only this change from the linked PR. I'd suggest @xcodz-dot drop the other additions they have made to the PR and only let this functionality be added to the project for now. (see: Atomic PRs)

shivangswain avatar Dec 03 '20 17:12 shivangswain

i did not quite understand, what i am thinking is:

  • let my previous PR be done (#70)
  • i will get myself assigned to this
  • the next day i will submit PR for this

amaank404 avatar Dec 04 '20 04:12 amaank404

please assign this to me :smile:

amaank404 avatar Dec 16 '20 05:12 amaank404

please assign this to me 😄

@t0xic0der please assign

tripathyprateek avatar Dec 17 '20 15:12 tripathyprateek

This is a good feature to have in my opinion and I don't see any problem with merging only this change from the linked PR. I'd suggest @xcodz-dot drop the other additions they have made to the PR and only let this functionality be added to the project for now. (see: Atomic PRs)

I just understood it now, but i think i will startup clean with a new PR

amaank404 avatar Dec 17 '20 17:12 amaank404

@t0xic0der please assign this to me :smile:

amaank404 avatar Dec 18 '20 07:12 amaank404

I apologize for the delay in assigning; you may start contributing now.

shivangswain avatar Dec 27 '20 05:12 shivangswain

thanks! 😄

amaank404 avatar Dec 27 '20 06:12 amaank404

Hi @xcodz-dot,

I know it has been a long while since we last attended your issues/PRs and I understand that it can be disheartening to be in such a situation. We would definitely get back to working on this at a later date, whenever we would find some time out of the tasks we are usually engaged in. Thanks for contributing. :)

gridhead avatar May 31 '21 03:05 gridhead

:)

amaank404 avatar May 31 '21 03:05 amaank404