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

Code cleaning #91

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Code cleaning #91

wants to merge 8 commits into from

Conversation

denadai2
Copy link
Contributor

I removed the Firefox-addon-sdk, hogan.js and closurelibrary from the third_part directory. Now they are not tracked in github (they are not part of the project, they are requirements now!).

I made a "build.sh" script that installs everything automatically

@vijayp
Copy link
Collaborator

vijayp commented Dec 6, 2014

Great idea! For some reason there appears to be a merge conflict. I'd like to check it out and verify everything builds correctly before merging this. If you could fix any conflicts, I can try tomorrow.


ABSOLUTE_BUILD=`pwd`/../third_party

git clone "https://github.com/mozilla/addon-sdk.git" "$ABSOLUTE_BUILD/firefox-addon-sdk"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would make more sense to use git submodules for this. As an added advantage, the folders would be pinned to a specific commit, which would prevent issues when upstream updates their repositories.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can clone a specific commit. A submodule includes the code, which is not
necessary imho...

anyway I'll check the tests ASAP

2014-12-16 23:48 GMT+01:00 Benjamin Woodruff notifications@github.com:

In browser-ext/login/build.sh
#91 (diff):

+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see http://www.gnu.org/licenses/.
+#
+# You can contact the authors at inbound@mitro.co.
+# *****************************************************************************
+#
+
+set -e
+
+ABSOLUTE_BUILD=pwd/../third_party
+
+git clone "https://github.com/mozilla/addon-sdk.git" "$ABSOLUTE_BUILD/firefox-addon-sdk"

I think it would make more sense to use git submodules for this. As an
added advantage, the folders would be pinned to a specific commit, which
would prevent issues when upstream updates their repositories.


Reply to this email directly or view it on GitHub
https://github.com/mitro-co/mitro/pull/91/files#r21939181.

Marco De Nadai
me@marcodena.it me@marcodena.it
http://www.marcodena.it/
http://www.marcodena.it/?utm_source=email&utm_medium=email&utm_campaign=Email%2Bpersonali

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't include the code. Rather, it's a reference to a repository url and commit id using a few metadata files (.gitmodules, .git/config). Perhaps you're confusing it with a git-subtree?

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

Successfully merging this pull request may close these issues.

None yet

3 participants