Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish provider re-organization #15

Closed
bithavoc opened this issue Jan 2, 2013 · 18 comments
Closed

Finish provider re-organization #15

bithavoc opened this issue Jan 2, 2013 · 18 comments
Assignees

Comments

@bithavoc
Copy link
Member

bithavoc commented Jan 2, 2013

In order to reflect recent changes, We need to:

  • Update the readme to reflect the re-organization of the providers
  • Remove the providers code
  • Remove knox and aws2js dependencies of package.json
  • Add new contributos to Readme.md
  • Version bump to 0.1.0(in a separate Pull Request)
@ghost ghost assigned nuarhu Jan 2, 2013
@nuarhu
Copy link
Contributor

nuarhu commented Jan 2, 2013

Hi @thepumpkin1979

isn't that what Joe's 2nd commit updates (at least a good part of it)?
joewright@65b4ba6
from #11 (2nd commit further down).

@bithavoc
Copy link
Member Author

bithavoc commented Jan 2, 2013

I didn't see that, Yeah, you can merge that. The localfs module was uploaded to NPM, please test it to see if it's working property.

@nuarhu
Copy link
Contributor

nuarhu commented Jan 2, 2013

Should I change the package.json to version 0.1.0 before merging this major change?

@bithavoc
Copy link
Member Author

bithavoc commented Jan 2, 2013

Merge and then comes the Version Bump :)

I'm not saying that we have right now(my bad), but the Workflow should be:

  1. Open a change in Readme.md to reflect that the version in Master is unestable and have a link to the tag in github of the last version published to NPM.
  2. Open a change in Changelog.md(we don't have one right now xD) to reflect the next version number and label it with "Next Release". The next version should be predictable, if the last published version was v0.1.0, the next version should v0.1.1 or if this is non-backward compatible release, it should be v1.0.0 or v2.0.0. The git tag of the last available/published version should be added as a link to Changelog.
  3. Commit and Merge pull Requests in Master branch and updating Changelog.md to include the issue id that were solved of related in this upcoming release.
  4. Once we determinate that we are not receiving more pull requests or don't have any plans to make more changes, we close Changelog removing "Next Release" from the current version.
  5. Make a version bump
  6. Publish to NPM
  7. Rinse and Repeat.

Notes:

What do you think of this?

@nuarhu
Copy link
Contributor

nuarhu commented Jan 2, 2013

Please have a look - and merge if it's ok.

@bithavoc
Copy link
Member Author

bithavoc commented Jan 2, 2013

what else do we need? are the other modules ready to be published?

@nuarhu
Copy link
Contributor

nuarhu commented Jan 2, 2013

Yes, I would say so.

What about #11 - it includes the necessary changes to the README and removes the provider files. Can't we simply merge that? (You just closed it without merging?)

Concerning heapsource/mongoose-attachments-localfs#4 - I would rather not merge that one. It's supposed to be "local fs", at least for now, and this issue is about problems when copying images from one device to another.

@nuarhu
Copy link
Contributor

nuarhu commented Jan 2, 2013

Ok, after checking the package.json files of the provider modules:

  • localfs still requires mongoose-attachments 0.0.x - this should now be 0.1.x. Unfortunately, this version is already tagged with 0.1.0 (localfs) - do we have to bump the version, again? Well, actually it should work with 0.0.x, as well. But it would be better to reference the next minor version.
    Also, package.json names this "mongoose-attachments-fs" but the documentation states "mongoose-attachments-localfs". I don't remember exactly what we agreed on? If it's "localfs" we could have another module "netfs" with all the code required for cross device handling as already reported in Fixed the error: Error: EXDEV, Cross-device link mongoose-attachments-localfs#4 . Either way, it has to be corrected to be the same all over the project.
  • knox has version 1.0.0 and references mongoose-attachments 0.0.x. The latter should be 0.1.x. Is the former ok?
  • aws2js same as knox.

mongoose-attachments-knox and mongoose-attachments-aws2js are not on npm, yet.

@nuarhu
Copy link
Contributor

nuarhu commented Jan 2, 2013

... and the provider name should be "localfs" or "fs" depending on whether the module is mongoose-attachments-localfs or mongoose-attachments-fs. (Currently, it's "fs".)

Wich one do you prefer? It's messed up as it is, anyway: npm knows about "mongoose-attachments-fs" but the github module is "mongoose-attachments-localfs"? Sorry :-(

@bithavoc
Copy link
Member Author

bithavoc commented Jan 2, 2013

I can republish with -force and reset the tag, no problem.

Choose whatever name you'd like and let me know what I need to change.

Don't worry, If we need to re-publish then we do it.

@bithavoc
Copy link
Member Author

bithavoc commented Jan 2, 2013

I think local-fs is ok since the repo name is already local-fs, I don't know, we can still rename it I guess

@bithavoc
Copy link
Member Author

bithavoc commented Jan 2, 2013

In the readme, let's include links to the other providers.

@bithavoc
Copy link
Member Author

bithavoc commented Jan 2, 2013

btw, the readme still says Supports Amazon S3 out-of-the-box. hehe, that's no longer true.

@nuarhu
Copy link
Contributor

nuarhu commented Jan 3, 2013

Ok, I will change localfs to be localfs everywhere in mongoose-attachments-localfs and make a pull request for that.

For the decision on how to require the providers - whether they return the attachments instance right away, I'd rather have a different branch. (See my comment in #17 )

The package.json of mongoose-attachments still says 0.0.4 but I didn't want to just change that as part of some commit.

@bithavoc
Copy link
Member Author

bithavoc commented Jan 7, 2013

How are we with this reorganizacion @nuarhu ?

@nuarhu
Copy link
Contributor

nuarhu commented Jan 8, 2013

The pull request #17 removes the providers and updates the README. I didn't want to merge it without you having a look at it. Can you check and merge?

There is still to decide whether the provider submodules should return a reference to mongoose-attachments. (See the comment in the pull request.) Depending on that, there is a little work to be done in the submodules.

@nuarhu
Copy link
Contributor

nuarhu commented May 8, 2013

Hi @thepumpkin1979 ,

sorry for not working on this for so long. I hope to have some spare time this week to finish this, and maybe have a look at the issues that are coming in.

@nuarhu
Copy link
Contributor

nuarhu commented Aug 23, 2013

Ready for release from my part.

@nuarhu nuarhu closed this as completed Aug 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants