-
Notifications
You must be signed in to change notification settings - Fork 1
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
Desiderata API #2
Comments
This looks like a good start and is broadly in line with what I was thinking. |
Not really API, but I've started to put some thought into how to divide up the task into different modules and objects. As always, I'm happy to hear feedback. In particular, I have a tendency to make objects and modules that are too large, so if people can think of further ways to subdivide work then that would be great.
|
👍 Addendum: submit is nice, but... I suggest to strongly take advantage of git (e.g. install => git clone package locally + eventual build + copy into final local path) thus think to submit to something related to a pull request to the remote database repository for adding user-submitted-package... exploiting git could be the key. |
Agreed, whatever existing functionality is provided by git should be used. Chris, I don't quite understand the distinction between "compile" and Another flatpack method I would find quite useful would be "list" - lists On Thu, Jul 2, 2015 at 4:13 PM, Stefano Zaghi [email protected]
|
👍 for list method Also clean for removing unnecessary dependency/orphans |
I agree, we should use whatever existing functionality Git has. What I was (vaguely) thinking could be done with those two commands is to use git/GitHub's public API. If that were to be something we'd do then it would likely be several releases down the road. @milancurcic Yes, that would essentially be the difference between install and compile. Also, whereas install would probably remove all of the stuff left over from compiling (source and object files etc.) compile wouldn't. List and clean both sound like good methods to have. |
I am reading your last push. Great job! I am studying your layout: I am not a pythonish programmer, many things remain obscure, I hope to improve my knowledge with your help :-) |
Well, I don't know if I'm much better than you are. On 03/07/15 10:13 AM, Stefano Zaghi wrote:
Chris MacMackin |
What if instead of |
@cmacmackin Great work on the layout so far. I am curious about why you decided to have a separate file/module for each command? At this point it looks like an unnecessary layer of complexity, but you may have something in mind with that approach. I thought that defining the command functions in a single module |
Well, either way would work. I chose to do them all in their own files because I personally thought that was a bit tidier. Generally I prefer small files compared to large ones. |
@cmacmackin
I start writing some idea about I would like FLATPack looks like. This is just a memo where writing working in progress thoughts:
For the database language/syntax I suggest json: Python has a lot of modules for json and now also Fortran has a great one :-) Json is a good compromise: it is still human readable, but it can handle more complex structures than INI file gor example, moreover json is a well establidhed standard.
I like the idea to have github repositories collecting database of Fortran packages that users can interrogate to easy install them.
These are just starting ideas that tonight come to me...
The text was updated successfully, but these errors were encountered: