Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.

Conversation

codecurve
Copy link
Contributor

No description provided.

Randall Britten added 30 commits August 25, 2014 11:40
…t is connected.

This is not normalised from the API view, i.e. if a has b in its collection, b will have a in its collection.
In the XML serialisation for CellML 1.1, and proposed for CellML 1.2, this is normalised by means of the "Connection" XML element.
The implementation of the API would most likely have this normalised.
Started adding classes etc for representing imported components.
This is one idea, there are other options.
Also, hid members on overview diagram
Also:
 - some minor renaming of association ends.
 - some minor tidying, e.g. hiding association names on some diagrams.  Will probably do this in other places.
One proposal for implementing reset rules is to allow boolean variables.  Added boolean and real subtypes for variable class, removed association with Unit class from variable and moved to real subtype.
Also, added "Variable" diagram for more details on variable class, showing these details, as well as connectedVariables.
Also, made unit class name property visible on Units diagram, probably need to do the same on some similar situations.
Also, hid members that are shown as associations on overview diagram.
Reason: connections design shown on Variable diagram.
Also, unhid name attribute of component superclass on Imports diagram.
Maybe relying on relative links is simpler?
Also, "stand alone" -> "stand-alone"
There was some private discussion of previous versions.
@nickerso
Copy link
Contributor

Hi Randall. Just a couple of initial comments.

  • The .project file should not be added to the repository (you can create a .gitignore to hide it from git if you'd like).
  • In my opinion, the source UML files (model.di, model.notation, model.uml) should be in a separate repository. We have the generated images in with the docs, which is what people want to see. No need to duplicate the information in the libCellML repository.
  • I'm not sure it is worth pulling this in yet since the discussion is just getting started over on your fork/branch of the repository. It is probably worth waiting until a "closer to final" version is ready and then we can merge that in and centralise any final tweaks. I'm worried that duplicating the content here at this time will fragment the discussion and lead to increased workload in collating it all together.

What do others think about this?

Cheers,
Andre.

@jonc125
Copy link

jonc125 commented Aug 27, 2014

I'd agree about not merging it yet. Although note that it's common GitHub style to leave a pull request open while a piece of work is ongoing, as a convenient place to summarise discussion on that work item. Any new commits to the source branch get added to the pull request automatically.

@nickerso
Copy link
Contributor

good point, thanks!

@agarny
Copy link

agarny commented Aug 27, 2014

FWIW, I agree with both David's and Jonathan's comments.

@codecurve
Copy link
Contributor Author

From what I can tell, it is preferable to include the .project, although I don't think we want it at the top level in the long run, but for the sake of not having to figure out sub-repos or having the eclipse project not at the top level, I committed it now, since we can always figure that out later.

Since the images are derived from the UML files, the docs generator could (in theory anyway) generate the images from the UML files (perhaps there is a Papyrus CLI, or some other UML CLI image generator). Anyway, it probably makes more sense to version control the UML files than the image files, but for the sake of expedience, I just did it this way for now.

Jonathan's understanding of the use of a pull request is exactly the same as mine, i.e. discuss the work that is on the branch for the pull request and make changes on the branch until eventually the pull request gets merged.

@hsorby
Copy link
Contributor

hsorby commented Aug 27, 2014

It is definitely not preferable to include the .project file in the repository it may contain absolute paths that are only relevant to a particular user so they should not be present in the repository.

The source UML files should also not be added to the repository as they are for generating the images of the object model design. They are not in themselves of interest to libCellML, I agree with
Andre in that they should be placed in another repository for managing.

@codecurve
Copy link
Contributor Author

I don't really mind whether or not we include the .project and UML files, but I don't see any harm in including them now and moving them out later.

@nickerso
Copy link
Contributor

Given one vote of ambivalence and three votes to remove those files from this repository, they should be removed.

Might even be worth creating a new branch with just the near-complete version of the objectModel document just to make the history of the cellml/libcellml repo cleaner - but we can decide that later in the review/discussion process.

@codecurve
Copy link
Contributor Author

OK, see cellml/libcellml#9

So we should probably close this pull request?

@nickerso
Copy link
Contributor

Thanks Randall. Closing this one in favour of #9.

@nickerso nickerso closed this Aug 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants