Comments (15)
-Support JSON/TEXT format for +log
-Support additional arguments similar to git log, e.g. filtering by author or date.
Reported by None
on 2013-04-11 12:29:27
from gitiles.
It would also be nice to have a rev-list endpoint. There are a lot of services that
will only be interested in the ordering of commits.
Reported by None
on 2013-09-26 10:43:35
from gitiles.
I'd be willing to patch in the json support. Which fields were you interested in having
in the output? Are you looking at KeySet.SHORTLOG just like in the html output?
Reported by None
on 2013-10-22 07:35:47
from gitiles.
from https://skia.googlesource.com/skia/+log/HEAD
I'd like to get the full git hash and associated commit time in unix seconds for each
row. Thanks.
Reported by None
on 2013-10-22 07:39:28
from gitiles.
Are CL descriptions and authors too much to add? If not, we might need them in the future.
Thank you.
Reported by None
on 2013-10-22 07:41:20
from gitiles.
FWIW, gwt-team is interested in at least commit hash id, subject, author name, and author
email.
Reported by None
on 2013-10-30 22:41:56
from gitiles.
First pass at:
https://gerrit-review.googlesource.com/51324
Only supports the limit revision syntax already supported by +log; will eventually
be extended to have more git-rev-list-y options.
Reported by None
on 2013-11-01 12:17:52
from gitiles.
dborowitz: That looks great! Will log entries still be listed newest to oldest like
in the current view?
Tangentially, does +log have anything similar to git log's --reverse and/or --max-count
options? (In my use case, I'd ideally be able to query the equivalent of "git log
-5 --reverse $COMMIT..HEAD", but generally $COMMIT is only a couple revisions behind
HEAD anyway, so in practice it's fine that I reverse and truncate the results myself.)
Reported by None
on 2013-11-01 12:38:53
from gitiles.
Ordering is the same as the HTML view of +log. No --reverse yet, that's in the category
of "more git-rev-list-y options".
The following change adds "n" as a limit parameter:
https://gerrit-review.googlesource.com/51325
Reported by None
on 2013-11-01 12:44:08
from gitiles.
So "time" is not in Unix seconds, which means we still need to parse for calculations.
Reported by None
on 2013-11-01 17:46:20
from gitiles.
Sure, but the string should be parseable by strptime(3), right? I stuck with the form
produced by git log, and also I prefer my JSON to be human-readable. But if this is
an impediment to scripts working I am open to alternatives.
Reported by None
on 2013-11-04 11:01:02
from gitiles.
I'll then parse the string in Java and Python to get unix time - thanks for the explanation.
It is nice to make it human-readable and let machines do the hard work.
Reported by None
on 2013-11-04 12:13:22
from gitiles.
Doesn't matter to me, but why not provide both the human readable output and a seconds-since-the-epoch
count?
Reported by None
on 2013-11-04 12:14:37
from gitiles.
UNIX time in JSON is ugly. I much prefer a human readable time that is parsed by machine
using a known format. Gerrit's JSON feeds use ISO format "yyyy-mm-dd hh:mm:ss.mmm"
in UTC and demands clients to parse and reformat in their desired timezone.
I also don't like the idea of presenting the same data twice in different formats,
it leaves room for errors like one field being filled in and the other not, etc. Much
better to have just one field in a well defined format. A human readable time is easy
for a human to write a parser around, they can see what the format is, configure their
time parsing library function to read it, and move on.
Reported by None
on 2013-11-04 12:28:27
from gitiles.
+1 to more filtering options, like --before/after.
Reported by None
on 2015-06-09 14:27:43
from gitiles.
Related Issues (20)
- markdown TOC renderer should also include at least H4-level items
- Symlink viewer renders broken link to destination
- Build impossible on Mac M1 / arm. Please upgrade bazel version HOT 1
- Gerrit cannot be returned properly after browsing code through the Gitiles plugin in Gerrit HOT 1
- Building with bazel fails with `reason: '<>' with anonymous inner classes is not supported in -source 8`
- C++14 single quote (') digit separators aren't rendered correctly in header files
- #./tools/maven/mvn.sh deploy
- https://android.googlesource.com/ the json format error HOT 3
- Add 'y' shortcut to generate permalink to commit HOT 1
- Render graph using mermaid.js in .md files HOT 1
- Unc0ver-volvo
- https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#ni HOT 1
- ok
- Ciris
- gitlies
- git clone https://gerrit.googlesource.com/gitiles HOT 1
- We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA ([login here](https://cla.developers.google.com/) to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
- Menuka Vishal
- Código de seguridad de WhatsApp de system company in master data (+52 221 199 1681)
- `text and `json` formats for a tag does not work correctly.
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 gitiles.