Closed dwightgunning closed 6 years ago
Hey there, and thanks for your contributions!
I had a few notes for you,
filecmp
. According to the Python docs, it only looks at os.stat
, which might not be the most reliable way to identify if two files are in fact identical. What do you think? If my understanding is correct that there is nothing specific to Knownly, how about:
This way, the internals use something explicit, and the user-visible parts use the Knownly name;.
Note: I do understand and respect the fact that you might want to promote Knownly as a first-party integration. I also think it's a fair ask considering you're providing something that has definitely been requested before by our user base, but I'm hoping we can find a compromise that'll work well! I'm definitely open to other ideas as well.
Cheers,
I have also started reviewing your PR a bit, but I'm kinda backlogged as of late so I might need a bit more time (apologies in advance).
Hi,
Thanks for the kind welcome and feedback.
Let me address your initial notes:
filecmp
as I think it should be reliable in majority of cases. At a minimum it looks at file size and modification dates. I could be wrong but I doubt the other providers (S3, Rackspace) do full binary diffs so this seemed a fair trade-off for speed.I'm fine to re-write and re-raise the PR with more generic naming in the source. I like your suggestion to use 'knownly' as the config label and perhaps we can reflect the contribution in the docs?
Is there any timeline for a next release that I should work toward?
Hey there,
Feel free to make updates to this PR directly. There is no specific timeline for the next release, but considering this is a new feature with little potential for breakage, we can ship it when it's ready (note that I'm speaking about the CLI tool here, not the Mac App).
Thanks!
Hi @krallin I finally got around to re-writing the filesystem provider.
Removed references to my Knownly service, rebased the feature-branch on master, should be good to go.
Housekeeping close.
Knownly is a service that allows people to host websites from a Dropbox folder. This PR allows people to deploy to their Knownly website folder - a local Dropbox folder (or any other folder in fact).
The deployment provider functions in a similar manner to the other existing providers such as S3 and Rackspace. First the developer just adds the custom provider to the config.json. The first 'deploy' will prompt for a target destination which is saved in the config for future.