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

Make a collection in the database #1074

Open
stevenhua0320 opened this issue Jul 4, 2024 · 1 comment
Open

Make a collection in the database #1074

stevenhua0320 opened this issue Jul 4, 2024 · 1 comment

Comments

@stevenhua0320
Copy link
Contributor

  1. make a collection locally (a file called packages.yml in your db directory) and put a couple of packages in there. For now, let's use diffpy.utils and diffpy.pdfmorph which we just released. Just use PyCharm to do it.
  2. Make a couple of UCs for what kind of searches we will do on these. I suggest that we make a lister-helper first that makes queries to that db and collection and returns things. We can discuss what, but it will be things like "Simon wants to know all the packages that the group released in the last year", things like that.
  3. Decide what info we want printed to the screen. Ususally we want a verbose and non-verbose choice, where the latter is summary info, one line per package and the verbose has much more. Look in the other listers for ideas.
  4. Make a lister that does this. First write a test that has the output in a format that we want, then write the function to go and get the info and print it like that.
@stevenhua0320
Copy link
Contributor Author

UC1: Simon wants to know all the packages that the group released in the last year.
UC2: Simon wants to know all the packages that released by the the target authors.
UC3: Tina wants to know all the packages that have the same "function label".
UC4: Andrew knows the packages that want to generate the report, but he wants to know the content after the third time release.
UC5: Simon wants to know about dependencies between the packages.

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

1 participant