Title: How to list all tags? · Issue #298 · nodegit/nodegit · GitHub
Open Graph Title: How to list all tags? · Issue #298 · nodegit/nodegit
X Title: How to list all tags? · Issue #298 · nodegit/nodegit
Description: Hi! var GitRepository = require('nodegit').Repository; var GitTag = require('nodegit').Tag; var Promise = require('bluebird'); var tags = GitRepository.open(repositoryPath).then(function (repo) { GitTag.list(repo); }); Promise.map(tags, ...
Open Graph Description: Hi! var GitRepository = require('nodegit').Repository; var GitTag = require('nodegit').Tag; var Promise = require('bluebird'); var tags = GitRepository.open(repositoryPath).then(function (repo) { G...
X Description: Hi! var GitRepository = require('nodegit').Repository; var GitTag = require('nodegit').Tag; var Promise = require('bluebird'); var tags = GitRepository.open(repositoryPath)....
Opengraph URL: https://github.com/nodegit/nodegit/issues/298
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to list all tags?","articleBody":"Hi!\n\n``` js\nvar GitRepository = require('nodegit').Repository;\nvar GitTag = require('nodegit').Tag;\nvar Promise = require('bluebird');\n\nvar tags = GitRepository.open(repositoryPath).then(function (repo) {\n GitTag.list(repo);\n});\nPromise.map(tags, function (tag) {\n return {\n name: tag.name()\n }\n}).then(function (tags) {\n res.json(tags);\n});\n```\n\nThis code throws error: `Repository repo is required.`.\n","author":{"url":"https://github.com/nkt","@type":"Person","name":"nkt"},"datePublished":"2014-11-26T10:18:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/298/nodegit/issues/298"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d5c782f4-0ec1-fe8c-fb03-fe1b9a5d98b8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F74:2CE99D:3F8D9F9:588EF26:69713E86 |
| html-safe-nonce | 21af0aac89d64f1010534343514e485a6d40edc1d8cbc9c2832ad77e4c434269 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Rjc0OjJDRTk5RDozRjhEOUY5OjU4OEVGMjY6Njk3MTNFODYiLCJ2aXNpdG9yX2lkIjoiMjQ2MTExNTg2MjY2ODYyMzQ5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9d5c87d72b47fc37d1eacdcd5f9185739d3edd3adbfd4b37ce7cb3ab53d4de91 |
| hovercard-subject-tag | issue:50140900 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/298/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b6db17f7336227ea8e6d10babf8bb2c5efd3861e1c3403b3286534d81fcb0522/nodegit/nodegit/issues/298 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b6db17f7336227ea8e6d10babf8bb2c5efd3861e1c3403b3286534d81fcb0522/nodegit/nodegit/issues/298 |
| og:image:alt | Hi! var GitRepository = require('nodegit').Repository; var GitTag = require('nodegit').Tag; var Promise = require('bluebird'); var tags = GitRepository.open(repositoryPath).then(function (repo) { G... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nkt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7899979feb505886f0f29e8086a739254f3a850fd3dbc9fb63ce4ec27831b1fb |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 998d3ef09faa982f8d83ad111166244ae4625572 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width