Repository Tags

53 views
Skip to first unread message

Matías Waterloo

unread,
Sep 9, 2014, 12:13:03 AM9/9/14
to boa-...@googlegroups.com
Hello,

I would like to know if it is possible to query the tags for a given project. 

I believe the only way to get this data is through Repository.log property since neither this data-type nor the CodeRepository keeps information about tags. However, I think this method won't be very reliable.

Am I wrong?

Thank you
Matias  


Robert Dyer

unread,
Sep 9, 2014, 10:55:30 AM9/9/14
to boa-...@googlegroups.com
Good question!

While in general, the answer is that Boa does not (explicitly) contain a list of repository tags, at least for now Boa only has CVS and SVN style repository data and for those repositories (because CVS is converted into SVN) you can find tags using the standard SVN directory layout.

This layout says that all tags are in '/tags/.../'.  You can see an example of a query looking for those here:


The output here is indexed first by project ID, then by the tag.  The counts on the right are how many ChangedFiles have that tag.

- Robert

Carlos Eduardo Dantas

unread,
Nov 26, 2016, 1:40:56 PM11/26/16
to Boa Language and Infrastructure User Forum
Hi Robert,

This answer was more than 2 years ago, and maybe something change. I wanna know if i can get the snapshot of some tag. In git, a tag is a pointer to some commit, and i wanna the snapshot until that commit. But first, i need to know witch commit represent each tag.

Robert E Dyer

unread,
Nov 28, 2016, 12:17:24 PM11/28/16
to boa-...@googlegroups.com
Hi Carlos,

Unless I am mistaken, I think we actually did not store the Git tags into our dataset!  It seems we have a ‘getTags’ method in our data generation code, but never actually use it.

I filed an issue on this request: https://github.com/boalang/compiler/issues/73

- Robert

--
More information about Boa: http://boa.cs.iastate.edu/
---
You received this message because you are subscribed to the Google Groups "Boa Language and Infrastructure User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to boa-user+u...@googlegroups.com.
To post to this group, send email to boa-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

________________________________________________
Robert Dyer | Assistant Professor | Department of Computer Science
BGSU | rd...@bgsu.edu | 419.372.3469 | 244 Hayes | Bowling Green, OH

Want to mine ultra-large-scale software repositories with minimal initial
investment? Check out Boa! http://boa.cs.iastate.edu/

Reply all
Reply to author
Forward
0 new messages