Is there a way to easily search for / list template repositories on Github? - github

Is there a way to easily search for / list template repositories on Github?
Templates are quite interesting because they allow to create a new project from a, well, template without having to get all the history with it.
An example with Spring Boot : https://github.com/Spring-Boot-Framework/Spring-Boot-Application-Template.
I tried the usual search on Github itself but using the "template" query doesn't give any meaningful results because many repositories use the "template" string without the actual Github meaning. I couldn't find any way to tag those repos either.
Even the API search page doesn't seem to include proper qualifiers for template repositories.
That leaves me to wonder how they can actually become useful since the discoverability is so low at the moment.
Thanks!

Got an answer from Github support yesterday. As of now, it is not possible.
Hi Julien,
Thank you for writing to GitHub Support.
If I understand you correctly, you want a way to search for repositories but only show template repositories.
If so, then, unfortunately such functionality does not exist. If you want, I can pass this ticket to our product team which reads and evaluates feedback about our products.
Regards,
Paul
GitHub Support

Related

github searching whith multiple organization

I'm using GitHub searching features with great appreciation
https://docs.github.com/en/search-github/searching-on-github/searching-for-repositories
As explained in the above document, I usually search for something like this.
"involves:Kim org:orgA is:open"
But I also want to search like this.
"involves:Kim org:orgA or orgB is:open" which means searching for all open issues throughout orgA and orgB which involves user Kim.
I want to manage my all issues which spreaded into multiple organizations.
But it wasn't working in Git Hub.
Is it impossible for searching like that?

Github API Specify Previous Tag

I'm trying to figure out how to specify "Previous Tag" via queryparams in the release form automation, or via the Create Release API. Preferably Both.
Here is the feature in the UI documented as step 7 here.
If there is no way to do this - where does one request a feature for github? Ex: Is there a github project for github?
Here are the documentation pages for the two ways to do this:
Automation for release forms - there is no "previous_tag" option.
Create a release API - there is no obvious reference to how to specify previous tag, even though there is a way to specify and tell it to generate release notes.
To repeat the question one more time:
How do we specify the specify the prerelease tag for release note autogen? - if unavailable, where does one request a feature for github?
Update:
There is a separate API for generating the release notes, which accepts the previous_tag parameter.
For the querystring, a feature request is open in the github feedback board. Vote for it go give it visbility, hopefully GitHub will take note and implement it.
Original Answer:
It does not look like you can configure it via queryparameters or the API yet. The documentation you shared seems to confirm that.
GitHub has an open discussion board where you can propose features and they have previously shown that they work on topics that resound with the community.
I don't see a fitting category for "Releases" right now, but you can probably fit it into the categories APIs and Integrations or General.

Is there a way to tag projects in github

Is there a way to tag projects in Github. I would like to group projects based on my interests and I was wondering if there is a tool which allows you to do that on top of Github.
GitHub does not have built in repository tagging. However, GitHub has added language filters and other filters to your stars page, which may help.
If that isn't enough, I recommend creating a markdown document in a new repository and simply listing GitHub repos in separate sections.
You might be interested in my answer to a similar question here: https://stackoverflow.com/a/42049046/5012123
This might be useful if the repositories you are interested in use 'topics' consistently.
If you want to see tags from maintainers of repositories, use GitHub Topics.
If you want to privately maintain your own tags for any repositories, star them and use Astral to organize them.

GitHub API search optional keywords

I am trying to use the GitHub search repository API, but I want to use optional search keywords (e.g. include mutltiple terms and match on best match, rather than only match on repos that have all terms - so if i search java,node,javascript, if no project is marked as all three it returns repos with partial matches).
Not much is given away in the docs: http://developer.github.com/v3/search/#search-repositories
I have tried a few variations of delimiters (,+ ||) but they all seem to asses keywords as AND (API example is https://api.github.com/legacy/repos/search/java,groovy,spring)
Anyone else have experience of this?
The API search functionality is from v2 of the API. At that time, GitHub search was really suboptimal and it has since significantly improved thanks to the awesome team over there. Unfortunately, that hasn't improved the API search so, that is still tied to other functionality.

Mercurial hosting with folders / repository organizing capabilities

I'm currently using Bitbucket for my Mercurial repositories and it's working great. I would however like to be able to organize my repositories in folders, as having them all in one long list is a bit disorganized for my liking.
To be clear I'd like to be able to access my repositories kind of like this:
hg clone https://username#bitbucket.org/username/foldername/reponame
While (AFAIK) it is currently only possible to use a single reponame, no foldername.
Is there any Mercurial hosting provider that does this, or is there some other method that might help me organize my stuff?
I'm aware of subrepos and I might look into that, but it seems like a hackish solution to my problem (also one of the clusters I am working on uses an ancient Mercurial version from way before subrepos were added). Another possibility would be to have multiple user accounts for Bitbucket, but again that doesn't really scale well (I don't want to wind up with 10 accounts).
You will have to use separate repositories.
Kiln has a nice interface that supports multiple repositories.
Organize Your Code
Start simply by just creating the repositories you need for your
code. Kiln introduces branch repositories, repository groups, and
projects to help keep things organized as you develop your own
workflow.
...
Repository Groups and Projects are there to help keep related code
grouped together. Whether your software project is large or small, it
can be really helpful to separate different parts of the code into
different repositories. What used to be accomplished with complicated
naming schemes is now accomplished with simple labels and
drag-and-drop organization.
Kiln (kilnhg.com) has a concept of projects and groups for organizing repositories along with several other really cool features.
It is a commercial product, however. (Your question didn't mention whether or not that was a problem for you.)
The only way you can obtain this using Bitbucket is to create a single repository named "foldername" and put the sub-repository inside this 'root repository'. This however is not the best practice according to the mercurial philosophy. Also, you will have a single bitbucket panel as per a single repository.
You can then use the mercurial feature Suprepositories to manage the whole collection:
https://www.mercurial-scm.org/wiki/Subrepository
Read about the kind of layout you are looking for here:
https://www.mercurial-scm.org/wiki/UnderstandingMercurial
(point 6, at the end of the page)
Of course you can setup your personal mercural server to do this, but is a little bit tricky and I discourage it. If you wanto to try, you can start from here:
http://ekkescorner.wordpress.com/blog-series/git-mercurial/step-by-step-install-mercurial-server-on-ubuntu/