Comments (12)
Ok, I'm using a fork now, as you can see with PR #35.
from vesseljs.
Ok, if this should make the version control simpler, it's fine for me. I already verified that all modifications I committed to dev made it to master.
from vesseljs.
I am not sure, really. But I think we can give it a try.
from vesseljs.
Now I have removed the dev branch, and completed a commit and PR with my own fork. It works.
Bad advice
Just do like me: 1. Click "fork" in the upper right on this site (and project, of course) to create your own fork from the master branch. 2. Backup your local changes. 3. In GitHub desktop (if you are using that), clone your new fork to a local repository. 4. Copy in your local changes. 5. Commit changes and sync, in GitHub desktop. 6. Send pull request to master. 7. If you are only making changes to examples, you can merge the PR right away.Later on, after making local changes, you only have to repeat steps 5,6,7. But I believe that before making new changes, it is good to make sure that your fork is up to date.
from vesseljs.
Note also that forking allows you to test your own version of the GitHub pages. Just go to project settings, and find the GitHub pages section. Here is an example from my fork (master is up to date right now, but I could have another version running here): https://eliashasle.github.io/vesseljs/examples/Ship3D_GA.html
Update: This can also be achieved by using a CDN like githack, even on single commit level.
from vesseljs.
Now it looks like one can use "update from shiplab/master" in github desktop, but maybe it is necessary to click "sync" first. Hm.
from vesseljs.
By the way, let's make this a contributing guideline and write it down somewhere on the repo or wiki. I'll do that.
from vesseljs.
from vesseljs.
@hmgaspar @icarofonseca @DiogoKramel @ferrari212
Now (again) I recommend following the example of three.js. They have a master
branch that is updated every second week or so, representing a release (monthly releases may perhaps be more realistic for vessel.js), and a dev
branch that is updated much more frequently. Only well-discussed and well-tested changes make it to master
. In practice, this means greater changes are rarely introduced even to dev
in the last days before a new master
release, because dev
must mature enough to be ready for master
. Pull requests are based on dev
, and can stay open for weeks and months (sometimes years, but I do not recommend that...), depending on how complex or controversial they are.
from vesseljs.
Ship3D
and Ship3D_v2
should be merged together. Likewise with ShipState
and ShipState_new
. Having them separate is just a mess. However, merging them will also require updating, or removing, a few old examples. One option will be to make a small "Legacy" release to support, and then move faster forward with merging the competing classes, effectuating #107, moving to classes and modules etc.
from vesseljs.
@hmgaspar I now added a dev
branch again, and I request that you make it the default branch (I don't think I have the privileges). Then we touch master
only when we are ready for a new release.
from vesseljs.
Ok, good idea.
from vesseljs.
Related Issues (20)
- Idea for Envelope Hull HOT 1
- "Rugen-Kutta" should be "Runge-Kutta"... HOT 2
- Ship3D_v2 deck geometry error HOT 2
- undefined position gives NaN CG HOT 1
- New organization of project resources HOT 2
- Ship3D_v2.js in examples: e is not defined (shows in crane pendulum example)
- Organizing Equipment, Lines and Dynamical Matrices HOT 2
- InsertMooring general function snippet HOT 2
- Modernizing with ES6 classes, modules and smarter build process HOT 3
- Fix caching, or disable, as proposed in #87 HOT 1
- Examples: Reduce camera range to improve depth resolution
- Duplicated code HOT 1
- Compatibility for THREE.js r118 HOT 2
- Bulkhead just reaching half the Breadth of Ship
- Is it possible to create a catamaran hullform with a wave piercer? HOT 1
- Adjustments on ES6 patterns HOT 5
- Publishing Vesseljs on npm HOT 2
- Great idea HOT 1
- Twin Outboards HOT 1
- Does the Patch_interpolation.js makes any difference at all? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vesseljs.