Commit Graph

20 Commits

Author SHA1 Message Date
Matt DeVore
f0acca7893 builddeb: remove leading "hg_" to make the Debian pkg version number valid
Differential Revision: https://phab.mercurial-scm.org/D813
2017-09-25 12:59:45 -07:00
Simon Farnsworth
8db61bcb60 contrib: add git-sl emulation of hg smartlog
Summary:
git-sl is a script to emulate some of hg smartlog, but for git. It's generally
useful, and demonstrates some of our thinking around source control, so let's
release it to the world.

Test Plan:
Just for documentation

Ran tests - only test-check-commit-hg.t fails, but that does not run on public
commits, so this is safe to land (unlike the previous attempt).

Reviewers: durham, ryanmce, #fbhgext, quark

Reviewed By: #fbhgext, quark

Subscribers: quark, #fbhgext

Differential Revision: https://phab.mercurial-scm.org/D180
2017-07-27 02:32:41 -07:00
Ryan McElroy
ad40ddec58 git-sl: back out changeset 061f79bcb1a1
Summary: This broke the tests.

Test Plan: test-check-code-hg.t passes on this file again

Reviewers: #fbhgext, simonfar

Reviewed By: #fbhgext, simonfar

Subscribers: simonfar

Differential Revision: https://phab.mercurial-scm.org/D144
2017-07-19 07:08:21 -07:00
Simon Farnsworth
67c24e1442 contrib: add git-sl emulation of hg smartlog
Summary:
git-sl is a script to emulate some of hg smartlog, but for git. It's generally
useful, and demonstrates some of our thinking around source control, so let's
release it to the world.

Test Plan: Just for documentation

Reviewers: durham

Subscribers: #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D5433956

Tasks: 20166062
2017-07-19 03:41:18 -07:00
Rodrigo Damazio Bovendorp
a72494903f packaging: adding Cython as a build dependency for the Debian package
Now that absorb is included in the deb, we need Cython to build linelog.
2017-04-26 11:30:42 -07:00
Rodrigo Damazio Bovendorp
930bb6277b packaging: removing libssl dependency from deb package 2017-04-26 11:30:42 -07:00
Jun Wu
80e40da9d6 sha1: switch to new implementation
Summary:
This diff changes our code to use the new SHA1 library. See the previous diff
for why we do this.

Test Plan:
Run related tests manually:

```
$ make local PYTHON=python2
$ rt test-remotefilelog-*.t
.........................
# Ran 25 tests, 0 skipped, 0 warned, 0 failed.
$ rt test-treemanifest*.t
........
# Ran 8 tests, 0 skipped, 0 warned, 0 failed.
$ rt test-fastmanifest*.t
.........
# Ran 9 tests, 0 skipped, 0 warned, 0 failed.
```

Reviewers: #sourcecontrol, durham

Reviewed By: durham

Subscribers: mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D4945025

Signature: t1:4945025:1493154873:844e55a51ab250354fc08163e0949eed47b0a861
2017-04-25 14:53:32 -07:00
Rodrigo Damazio Bovendorp
b42744af5a packaging: adding a few more small extensions to the Debian package 2017-04-24 10:00:31 -07:00
Martin von Zweigbergk
c8881106a1 debian: override lintian possible-gpl-code-linked-with-openssl check
Some build tool we use internally runs lintian and that's currently
failing because of possible-gpl-code-linked-with-openssl. We are
apparently okay overriding this. I'll defer to others to explain why.

The following line fails before this patch and passes after:

rm ../remotefilelog_*; rm -rf debian/; DEBPREPONLY=1 make deb; dpkg-buildpackage; lintian ../remotefilelog_*.deb
2017-04-03 17:24:08 -07:00
Martin von Zweigbergk
40b20b0a89 debian: clean with "--component remotefilelog" to not need Cython
I was trying to build a Debian package on a build machine without
Cython installed. That failed when it was running "dh clean --with
python2", which calls the dh_auto_clean target, which in turn calls
"python setup.py clean --all". Overriding that target to pass
"--component remotefilelog" seems to solve the problem.

The internet wasn't able to tell me what else is supposed to be done
in dh_auto_clean, so I can only hope that nothing else than "python
setup.py clean --all" was supposed to be done there.
2017-04-03 16:25:27 -07:00
Jun Wu
248f2ce38f contrib: fix changelog
This breaks the latest check-code.
2017-02-14 17:22:39 -08:00
Kyle Lippincott
5c73644ae8 debian: Do not package hgext3rd/__init__.py
When installed into a path like /usr/lib/python2.7/dist-packages, this file
conflicts with the hgext3rd/__init__.py from mercurial itself.  Let's keep the
mercurial version the canonical one, and just skip packaging this one.

I added a warning to this repo's __init__.py about behavior divergences between
this __init__.py and mercurial's version.
2016-12-19 16:34:49 -08:00
Augie Fackler
d4d945e7a9 debian: add missing dependencies so that cdatapack builds 2016-10-18 16:29:33 -07:00
Augie Fackler
b1c766405d debian: package should be marked as "any" not "all"
The package now has a dependency on a .so, so it's
architecture-specific now. Technically we should split the
architecture-specific and architecture-independent bits into separate
packages, but I don't want to bother with that for a one-off package
script like this.
2016-10-18 16:29:33 -07:00
Augie Fackler
d28dbe3290 builddeb: make it possible to do only the preparation steps of building a deb
This makes some types of debugging easier, and also makes it easier to
build debian packages with a nonstandard pipeline.
2016-10-18 16:29:33 -07:00
Rodrigo Damazio Bovendorp
bfb9b1b184 Making deb file construction only include remotefilelog 2016-10-13 09:15:15 -07:00
Augie Fackler
ee90e218a4 debian: mark us as breaking hg older than 3.5, and enhancing mercurial
Doing this rather than depending on Mercurial will allow developers of
Mercurial to have this package installed without having to do
something awkward to not also get Mercurial from their distro.
2015-09-14 12:37:07 -04:00
Augie Fackler
26c3dd960f builddeb: use a + before latesttagdistance instead of -
This matches the behavior of Mercurial itself.
2015-09-14 12:34:45 -04:00
Augie Fackler
22754f44c5 debian: mark architecture as "all"
We don't have any architecture-specific files, so we can use one deb
for all platforms.
2015-09-14 12:30:35 -04:00
Augie Fackler
5495152039 contrib: new rules for building a debian package of remotefilelog
To build it, simply do `bash contrib/builddeb`, which will build a
debian package for the current host system.
2015-09-10 11:01:36 -04:00