Comments (18)
One thing to keep in mind about moving gh-pages out of the repo, this may make it harder for travis CI to update the javadocs on build (or at minimum that process would likely want to be updated).
from avian.
BTW, in case it wasn't obvious: rewriting history will invalidate everyone's forks and clones, so it will be very disruptive, and we'll need to make sure everyone's comfortable with that.
from avian.
@jentfoo - agreed.
@dicej - The gh-pages branch is actually a combination of an artifact repository and documentation. I'd suggest we move the tarballs and jars to something more suited to binary storage. That'd have the biggest bang for our buck (plus gh-pages branch history management).
from avian.
According to the Ruby script from the Rally article I linked to, these are the top ten biggest offenders:
hello/machine.o
swt-3.7-carbon-macosx.zip
swt-3.7-cocoa-macosx-x86_64.zip
swt-3.7-gtk-linux-x86.zip
hello/hello
swt-3.7-gtk-linux-arm.zip
swt-3.7-gtk-linux-x86_64.zip
swt-3.7-gtk-linux-powerpc.zip
swt-3.7-win32-win32-x86_64.zip
swt-3.7-win32-win32-x86.zip
So it looks like we'd get a big win just by moving the zips elsewhere (and rewriting history so they're completely gone from the repo).
from avian.
There's no need to hold the SWT jars in the avian repository. There are a few artifact repositories that are hosting SWT in a Maven/Ivy oriented fashion.
Why are we storing a built hello world in the avian repository?
from avian.
We could probably set up those SWT artifacts to be hosted on Bintray if they are not available anywhere else: https://bintray.com/
from avian.
@sgoings - everything under hello was checked in accidentally. I removed it as soon as I realized, but it's still in the history.
from avian.
Instead of bintray, I'd recommend using the Google Code SWT Repo like we are doing in swt-bling for resolving SWT.
from avian.
Why not simply a dedicated repository on GitHub?
from avian.
+1 @l1m5's suggestion to use an existing repo to resolve the SWT artifacts.
from avian.
I'd much rather use the Google Code repo as opposed to duplicating the artifact hosting on GitHub. From the research I did for swt-bling, it seems that many other projects rely on this repo.
from avian.
I'm fine with whatever as long as the versions we link to don't disappear, and the host is willing to add our non-standard build(s) (e.g. linux/arm, which the Google Code repo doesn't currently have).
from avian.
FWIW, my fork (https://github.com/dicej/avian), which has more code, branches, etc. in it than ReadyTalk/avian, but doesn't have gh-pages, is only 15MB.
from avian.
Quick (and probably obvious) thought on the gh-pages. If most the data is retained within gh-pages, and gh-pages has never been merged into master. The following could be a simple way to get rid of the history of this branch (and thus hopefully reduce size without impacting the usage of gh-pages).
- Copy the data from the branch
- Delete the gh-pages branch and push the branch deletion to origin
- Recreate the branch with the saved data from step 1
- Push new gh-pages branch with no history
from avian.
If you go this route (it sounds good to me), make sure you create the new
gh-pages branch as an orphaned branch:
git checkout --orphan gh-pages
see:
http://robots.thoughtbot.com/its-for-the-orphans/
Also, after deleting the old branch, is there something you have to do to
"really" delete it and git rid of the data it contained?
On Tue, Dec 24, 2013 at 4:57 PM, Mike Jensen [email protected]:
Quick (and probably obvious) thought on the gh-pages. If most the data is
retained within gh-pages, and gh-pages has never been merged into master.
The following could be a simple way to get rid of the history of this
branch (and thus hopefully reduce size without impacting the usage of
gh-pages).
- Copy the data from the branch
- Delete the gh-pages branch and push the branch deletion to origin
- Recreate the branch with the saved data from step 1
- Push new gh-pages branch with no history
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/137#issuecomment-31187823
.
from avian.
Also, after deleting the old branch, is there something you have to do to
"really" delete it and git rid of the data it contained?
All future clones of the repository won't have the old data. At some point github and the rest of the existing clones (who haven't explicitly checked out a local copy of the old branch), will get cleaned up with an automatic 'git gc'. Anybody who has a checked-out version of the old branch will have to delete it / recreate it manually before the data goes away.
from avian.
Useful workaround for the gh-pages problem: git clone --single-branch [email protected]:ReadyTalk/avian
from avian.
I've updated gh-pages branch to include only the HTML, CSS, and PNG files, moving everything else to avian-web under https://github.com/ReadyTalk/readytalk.github.io. This brings the repo size down from over 100MB to 19MB. I also experimented with rewriting history to remove some accidentally-checked in binary files, but that didn't save enough space to justify the headaches and confusion of publishing a new history.
from avian.
Related Issues (20)
- getParentFile() behavior HOT 1
- Building embedded avian with openjdk class library without buliding the whole openjdk package HOT 2
- Error trying to run tomcat hello server HOT 5
- Avian does not support constructor references. HOT 1
- What Java/JVM subset does Avian support? HOT 3
- Travis build is failing for "bootimage-test=true" HOT 2
- Unable to compile Lambda/default method HOT 10
- Is it possible to embed Avian in C/C++ ? HOT 1
- UnsetisfiedLinkError HOT 3
- openjdk8 - java/lang/SecurityException: Cannot locate policy or framework files! HOT 2
- NoSuchMethodError unmodifiableCollection HOT 4
- Collectors.joining: don't know how to auto-unbox to V HOT 1
- Is possible to build a GUI using Swing/JavaFX or at least AWT??
- avian fails to build with java 10.0.1 due to java version parsing HOT 2
- Getting a ClassCastException when trying to get class annotations
- Yet another lambda problem
- invokedynamic leads to accessing null dynamicTable in addDynamic.
- java/lang/annotation/AnnotationFormatError: Unexpected end of annotations.
- File Descriptor Leak in NIO
- Fails to compile on a modern Linux system, fixed via PR
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 avian.