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

Move to fortran-lang? #8

Closed
jacobwilliams opened this issue Jan 22, 2022 · 25 comments
Closed

Move to fortran-lang? #8

jacobwilliams opened this issue Jan 22, 2022 · 25 comments

Comments

@jacobwilliams
Copy link
Member

jacobwilliams commented Jan 22, 2022

See https://fortran-lang.discourse.group/t/moving-minpack-under-fortran-lang/2631

See also: https://github.com/certik/minpack/

I'm open to moving this under fortran-lang.

@awvwgk
Copy link
Member

awvwgk commented Jan 29, 2022

I'm fine with maintaining this one or Ondřej's version under @fortran-lang namespace. From a quick look over both projects I don't see anything that makes one version preferable over the other. Maybe the fact that we already have docs here would be in favor of this project.

If everyone is fine with moving one Minpack version and archiving the other we can do this for sure.

cc @LKedward @milancurcic @certik

@certik
Copy link
Member

certik commented Jan 29, 2022

As I offered here: https://fortran-lang.discourse.group/t/moving-minpack-under-fortran-lang/2631/2:

Why don’t we do a short video meeting to brainstorm this to ensure you are happy with it, and I am happy with it, and then maintain one version under fortran-lang?

I would like to join what we have and maintain just one version. @jacobwilliams when would be a good time for a 15 min (or longer if you have time) discussion on this?

@milancurcic
Copy link
Member

I agree that that one or the other (or a combination of both) Minpack can go to Fortran-lang. I don't have any experience with it so I can't recommend either way. But if everybody interested here come up with a set of goals for Fortran-lang Minpack, then it sounds reasonable to start with one that is closer to those goals.

@certik
Copy link
Member

certik commented Jan 29, 2022

Advantage of certik/minpack:

  • has all examples and all code from minpack
  • 3 people contributed, older (more stars/commits), etc.
  • So far we only did very minimal changes to the code
  • Possibly better fpm package (Minpack package manifest meta data #9).

Advantage of jacobwilliams/minpack:

If this is accurate, then I would move certik/minpack.

However, the reason I want to meet with Jacob over video is to discuss and better understand the reasons if it's possible to add his improvements to certik/minpack, or if one must start from scratch, because the design/goals are just sufficiently different (this might very well be!). But in that case, we should understand this well before moving under fortran-lang, where we will have to compromise and work as a community. So I feel this is best resolved by meeting, let's talk about this and see if we can agree how to take it forward.

@jacobwilliams
Copy link
Member Author

If the goal is a full modern edition of Minpack where we pick up the development where it left off, modernize and improve it where necessary, maybe add new methods, and present to the community as an actively-developed, useful library and example of how modern Fortran should be written, then we should use mine. That's what my intent is to do here. (similar to what I'm doing with quadpack). I think that should also be the intent of anything hosted under fortran-lang.

But if the intent is something else (e.g., keep the old code as is as much as possible), then I would say don't use mine.

Other comments:

  • I think my version has all the code. Is something missing? (note that I moved everything into the module. But I think it should all be there unless I messed something up.
  • The doc should be public domain right?

@certik
Copy link
Member

certik commented Feb 1, 2022

I met with @jacobwilliams over video and we brainstormed how to move forward. I think we agreed on pretty much everything, including:

  • Keep developing minpack and other such basic libraries, under the conditions:
    • have representative benchmarks (ensure modifications do not slow things down)
    • have tests (ensure correctness)
  • Include a low level API that has just arrays as arguments (no derived types) and a higher level API that can be object oriented
  • Move under fortran-lang and develop as a community; we can use this version and port things from certik/minpack.
  • Move to modules, get rid of gotos, etc. Jacob has done most of this work

Stretch goal:

@jacobwilliams let me know if you agree and/or if I forgot about anything.

@awvwgk
Copy link
Member

awvwgk commented Feb 1, 2022

Sorry for not dropping by, was a bit late here and I didn't expect a call today ;).

The actionable conclusion is that we transfer this repo and port fixes from certik/minpack later? However, I would recommend to at least address/clarify https://github.com/jacobwilliams/minpack/issues/9 before we do the transfer.

@certik do want to handle the transfer to @fortran-lang, i.e. enable permissions for repo creation and have Jacob move the repo or should I look into this?

@certik
Copy link
Member

certik commented Feb 1, 2022

The actionable conclusion is that we transfer this repo and port fixes from certik/minpack later?

Yes, but let's wait for Jacob to confirm.

@certik do want to handle the transfer to @fortran-lang, i.e. enable permissions for repo creation and have Jacob move the repo or should I look into this?

If you could handle it with Jacob, that would be awesome. I can't remember if he can simply transfer it to fortran-lang, or if we need something else.

@awvwgk
Copy link
Member

awvwgk commented Feb 1, 2022

If you could handle it with Jacob, that would be awesome. I can't remember if he can simply transfer it to fortran-lang, or if we need something else.

Sure can do. Transfer is disabled by default, but I know which switch I have to flip.

@jacobwilliams
Copy link
Member Author

Agree with all. We can transfer this one to fortran-lang and then port in the changes from the other repo.

Or port them into this repo and then transfer? That's good too.

I can do the transfer if somebody gives me permission, or one of you can do it. I think to move it I would have to do it right? (or I could make one of you a maintainer in this repo). Whatever is easiest.

@certik
Copy link
Member

certik commented Feb 1, 2022

@awvwgk why don't you figure out with @jacobwilliams how to move it, then let's move it and then let's start submitting PRs to the fortran-lang repo to get it up to date with certik/minpack and any other improvements.

@awvwgk
Copy link
Member

awvwgk commented Feb 1, 2022

@jacobwilliams you should be able to transfer to @fortran-lang now.

Edit: I'll stick around for a couple more minutes, however it's already late here and I have to be in the office tomorrow again.

@jacobwilliams
Copy link
Member Author

Thank you! I probably missed you. I can't get to it until later tonight. I'll try to do it and hopefully not mess anything up! :)

@jacobwilliams
Copy link
Member Author

@awvwgk When I try to transfer it I get a big red notice "You don’t have the permission to create public repositories on fortran-lang". :(

@awvwgk
Copy link
Member

awvwgk commented Feb 2, 2022

Okay, let me try again, should be possible now.

@jacobwilliams
Copy link
Member Author

Done!

@awvwgk
Copy link
Member

awvwgk commented Feb 2, 2022

Let's keep this open until we are done with the aftermath (fixing URLs, updating permissions, ...).

@awvwgk awvwgk reopened this Feb 2, 2022
@awvwgk
Copy link
Member

awvwgk commented Feb 2, 2022

Permissions are updated, @fortran-lang/push-access has now the correct access. Once the URLs are fixed we can close this issue.

@jacobwilliams
Copy link
Member Author

I can make a MR now to remove my name from all the links, unless you are already doing that.

jacobwilliams added a commit to jacobwilliams/minpack that referenced this issue Feb 2, 2022
@jacobwilliams
Copy link
Member Author

@awvwgk do you need to add me as a maintainer so the CI runs for me? It doesn't seem to be running.... but not sure if that has something to do with the move or not?

@milancurcic
Copy link
Member

Thank you @jacobwilliams @certik and @awvwgk for coming up with a great solution!

@certik
Copy link
Member

certik commented Feb 2, 2022

Thanks everybody!

@certik
Copy link
Member

certik commented Feb 2, 2022

Now when this is under fortran-lang, let's make this happen: #14.

@awvwgk
Copy link
Member

awvwgk commented Feb 2, 2022

Alright, I think we have covered all steps for the transfer. Will close this one now.

@awvwgk awvwgk closed this as completed Feb 2, 2022
@awvwgk
Copy link
Member

awvwgk commented Feb 2, 2022

Quick note, I connected the content of certik/minpack with this repo using a little hack I found out about a while ago. You can browse, reference and fetch the other repos content conveniently from this one (see c0dc9cd), however it will not be included when cloned locally (so no additional bloat).

I opened an issue for archiving the other version in certik/minpack#8.

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

4 participants