is there any gitlab API to rename a group - api

I am using GitLab 6.9.2 e46b644, I can not find any API to rename a group from API doc, but from gitlab UI, it really support rename group.
any idea if I need to batch rename groups?
Thanks in advance.

As you've said, it's not documented at: https://github.com/gitlabhq/gitlabhq/blob/4a5044e30269f8b3c6c075093cd4646a478231c7/doc/api/groups.md
Also, it's not implemented at: https://github.com/gitlabhq/gitlabhq/blob/4a5044e30269f8b3c6c075093cd4646a478231c7/lib/api/groups.rb which would be the obvious place.
And I could not find any feature request at http://feedback.gitlab.com
So I think it is safe to assume that it is not possible. I recommend that you open a feature request at http://feedback.gitlab.com

Related

Bitbucket - Add default task when creating a pull requst

I am looking into improving the workflow my colleague and myself are using for BitBucket. Something that is often forgotten is the documentation for the feature we are working on therefore I thought I good way to 'don't forget' would be to add a Task as soon as a Pull request is created for a particular branch.
The first think a developer should do after creating the Pull Request would be:
- Add a comment, something like WIP (Work in Progress)
- Create a task underneath, something like 'Add documentation'
In this way, we won't be able to 'Merge' the branch into 'Develop' if All tasks are not completed (this is how it is currenly configured).
Rather than having the developer to do so, it would be good if we can have the system to do so as soon as we create the Pull Request.
Is that possible?
I had searchd on Internet, to be honest I didn't understand if taht functionality comes with like the Premium package or if it is an Add-On...who knows.
Thanks :)
Atlassian recently added a 'Default Pull Request Tasks' feature to Bitbucket Cloud.
The same functionality was previously available as a Bitbucket app, but it was removed in May 2020. It's now a native feature.
Product announcement: https://bitbucket.org/blog/bitbucket-cloud-product-updates-august-2022
Feature details: https://bitbucket.org/blog/default-pull-request-tasks
You can try this. It is free for 30 days.
https://marketplace.atlassian.com/apps/1225598/default-tasks-for-pull-requests?tab=pricing&hosting=datacenter
I did not find any free solutions.

Pentaho 8.1 multi-tenancy

I've tried to follow the documentation (Pentaho Multi-Tenancy) but the way they did isn't exactly what I need, they still use only one repository. I'm trying to find a way to make the server use one repository for each tenant. Is that possible?
I've found some classes like: Tenant (Tenant (pentaho-platform-core 8.1.0.0-365 API)) and RepositoryTenantManager (RepositoryTenantManager (pentaho-platform-repository 8.1.0.0-365 API) ). The documentation about them is vague, are they used?
As far as I know, you can’t. Pentaho uses only one repo, at most you can limit what each user can see and onky show elements of the right tenant.

Is there a way to programmatically share current plan with a defined user?

So far, I experimented with:
new DroneDeploy({version: 1}).then(function(dronedeploy){
dronedeploy.Plans.getCurrentlyViewed().then(function(plan){
plan.shared_users.push({username: "my.username#mail.kom"});
return plan;
).then(function(plan){
dronedeploy.Plans.update( plan.id,{shared_users: plan.shared_users});
});
);
It gives error:
shared_users is not a whitelisted field to update on the plan.
But still makes the sharing. I guess it is not the best and reliable way, what what be the proper one?
Unfortunately, the ability to edit shared_users is actually a bug that will be fixed soon. There is no official way to share through the DroneDeploy API.
If you'd like to request that as a feature, you can do so by opening an issue here: https://github.com/dronedeploy/DroneDeploy-App-Market/issues
Disclosure: I am a developer on the DroneDeploy team

Opera Next extension autoupdate via update_url

I got problem with my company internal extension. They don't want to publish it, as it does gather data on external server. So I need to host it myself... but would like not to lose ability of autoupdate.
As far as I read I need to use update_url in manifest, but nothing more is said in Opera documentation...
"update_url": "http://path/to/updateInfo.xml", - as it is said in documentation page
Ok... and what should I put in that xml? Will it autoupdate or just notify users about new updates? Where do I put rest of updated files?
I tried to concat Opera itself about this question, but they don't give any contact information except something like if you have problem, ask on stackoverflow... so here I am.
If it does not work, I was thinking about really BAD method, using unsafe-eval and keeping newest version in local storage... but would rather like to avoid that.
In general the behavior is the same as for Chrome. You can base on this document: https://developer.chrome.com/extensions/autoupdate

How to get all indexes from database in ravenDB?

Since i HATE the fact that i have to run VM with IE in order to connect to ravendb web (made with horrible silverlight) i'm loking to use ravendb's http API. So far, only conclusion is that it's docs is horrible and i can't find some options.
Right now, i would need to get the list of index-es. in certain database. However, i can't find that as an option in official docs. http://ravendb.net/docs/2.0/http-api
Does that option exist and how to get that list?
Endpoint for index list:
curl http://localhost:8080/indexes/?start=0&pageSize=256