Migration path between redmine 2.3.4->3.1.0 and git hosting plugin 0.7.10->1.0.7

Hello,
We have a 2.3.4 redmine installation and I'm testing the upgrade on a dedicated VM.
I managed to get redmine_git_hosting to version 0.7.10.
Now I'm blocked and I don't know how to solve it.
I first try to upgrade the plugin to version 1.0.7, but it fails:
redmine@redmine:/srv/redmine/prod$ bundle install --without development test rmagick
Fetching https://github.com/jbox-web/gitolite-rugged.git
Fetching https://github.com/jbox-web/grack.git
Fetching gem metadata from https://rubygems.org/........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "mocha":
  In Gemfile:
    shoulda (~> 3.3.2) ruby depends on
      shoulda-matchers (~> 1.4.1) ruby depends on
        bourne (~> 1.1.2) ruby depends on
          mocha (= 0.10.5) ruby

    mocha (0.13.3)

Bundler could not find compatible versions for gem "rack":
  In Gemfile:
    gitlab-grack (>= 0) ruby depends on
      rack (~> 1.6.0) ruby

    rails (= 3.2.13) ruby depends on
      actionmailer (= 3.2.13) ruby depends on
        actionpack (= 3.2.13) ruby depends on
          rack (1.4.5)

If I try to migrate redmine first, I have the following
redmine@redmine:/srv/redmine/redmine-3.1.0$ bundle install --without development test rmagick
Please configure your config/database.yml first
You cannot specify the same gem twice with different version requirements.
You specified: redcarpet (~> 3.1.2) and redcarpet (~> 2.3.0)

3.1.2 is for redmine and 2.3.0 is for redmine_git_hosting.
Any idea?
Regards.

I managed to get to redmine 2.6.6 with redmine_git_hosting 0.7.10.
I'll try to migrate both at the same time.

It seems that you are on the devel branch.
Be sure to checkout a stable branch. Otherwise check that development gems are commented in plugin's Gemfile. I know it's not the case for one of the releases. I don't remember which one. Sorry.

Any news?

Sorry for the delay, I was on vacation ;-)
I checkout the tag, so I was on a detached head.

Hello,
I decided to migrate my 2.3.4 on a more recent machine (Xenial) with ruby 2.3 and installing gems per redmine installation directory to avoid conflicts.
Unfortunately, I cannot upgrade 0.6.1 to 0.7.10, it may be due to more strict mysql 5.7:
bundle exec rake redmine:plugins:migrate RAILS_ENV=production NAME=redmine_git_hosting
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.13/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
Migrating redmine_git_hosting (Redmine Git Hosting Plugin)...
==  CreateRepositoryGitConfigKeys: migrating ==================================
-- create_table(:repository_git_config_keys)
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead: CREATE TABLE `repository_git_config_keys` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `repository_id` int(11), `key` varchar(255), `value` varchar(255)) ENGINE=InnoDB
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `block in execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:211:in `execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/schema_statements.rb:170:in `create_table'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:434:in `create_table'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:466:in `block in method_missing'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:438:in `block in say_with_time'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:438:in `say_with_time'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:458:in `method_missing'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:334:in `method_missing'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/db/migrate/20140306002300_create_repository_git_config_keys.rb:4:in `up'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:370:in `up'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:410:in `block (2 levels) in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:410:in `block in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:389:in `migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:528:in `migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:720:in `block (2 levels) in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:777:in `ddl_transaction'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:719:in `block in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:700:in `each'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:700:in `migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:570:in `up'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:551:in `migrate'
/home/redmine/redmine-2.3.4/lib/redmine/plugin.rb:453:in `migrate_plugin'
/home/redmine/redmine-2.3.4/lib/redmine/plugin.rb:425:in `migrate'
/home/redmine/redmine-2.3.4/lib/redmine/plugin.rb:436:in `migrate'
/home/redmine/redmine-2.3.4/lib/tasks/redmine.rake:74:in `block (3 levels) in <top (required)>'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'
ActiveRecord::StatementInvalid: Mysql2::Error: All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead: CREATE TABLE `repository_git_config_keys` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `repository_id` int(11), `key` varchar(255), `value` varchar(255)) ENGINE=InnoDB
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `block in execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:211:in `execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/schema_statements.rb:170:in `create_table'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:434:in `create_table'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:466:in `block in method_missing'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:438:in `block in say_with_time'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:438:in `say_with_time'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:458:in `method_missing'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:334:in `method_missing'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/db/migrate/20140306002300_create_repository_git_config_keys.rb:4:in `up'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:370:in `up'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:410:in `block (2 levels) in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:410:in `block in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:389:in `migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:528:in `migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:720:in `block (2 levels) in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:777:in `ddl_transaction'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:719:in `block in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:700:in `each'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:700:in `migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:570:in `up'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:551:in `migrate'
/home/redmine/redmine-2.3.4/lib/redmine/plugin.rb:453:in `migrate_plugin'
/home/redmine/redmine-2.3.4/lib/redmine/plugin.rb:425:in `migrate'
/home/redmine/redmine-2.3.4/lib/redmine/plugin.rb:436:in `migrate'
/home/redmine/redmine-2.3.4/lib/tasks/redmine.rake:74:in `block (3 levels) in <top (required)>'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'
Mysql2::Error: All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `block in execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:211:in `execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/schema_statements.rb:170:in `create_table'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:434:in `create_table'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:466:in `block in method_missing'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:438:in `block in say_with_time'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:438:in `say_with_time'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:458:in `method_missing'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:334:in `method_missing'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/db/migrate/20140306002300_create_repository_git_config_keys.rb:4:in `up'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:370:in `up'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:410:in `block (2 levels) in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:410:in `block in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:389:in `migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:528:in `migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:720:in `block (2 levels) in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:777:in `ddl_transaction'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:719:in `block in migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:700:in `each'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:700:in `migrate'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:570:in `up'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.13/lib/active_record/migration.rb:551:in `migrate'
/home/redmine/redmine-2.3.4/lib/redmine/plugin.rb:453:in `migrate_plugin'
/home/redmine/redmine-2.3.4/lib/redmine/plugin.rb:425:in `migrate'
/home/redmine/redmine-2.3.4/lib/redmine/plugin.rb:436:in `migrate'
/home/redmine/redmine-2.3.4/lib/tasks/redmine.rake:74:in `block (3 levels) in <top (required)>'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.3.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'
Tasks: TOP => redmine:plugins:migrate
(See full trace by running task with --trace)

I tried the following upgrade path:

production server is on Debian Weezy
on Debian jessie:
** replicate the redmine from the production server
** upgrade redmine_git_hosting to 0.7.10
** rename_ssh_keys => error:

bundle exec rake --trace redmine_git_hosting:rename_ssh_keys RAILS_ENV=production
Your Gemfile lists the gem nokogiri (< 1.6.0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem thin (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
** Invoke redmine_git_hosting:rename_ssh_keys (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine_git_hosting:rename_ssh_keys

Delete SSH keys in Gitolite and reset identifier :

  - Delete SSH key redmine_eolepack_1393415509_779488
rake aborted!
NoMethodError: undefined method `ssh_keys' for nil:NilClass
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/admin_users_helper.rb:49:in `remove_inactive_key'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/admin_users_helper.rb:12:in `handle_ssh_key_delete'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/admin_users.rb:45:in `block in delete_ssh_keys'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/admin.rb:179:in `block in wrapped_transaction'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/admin.rb:164:in `block in get_lock'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/admin.rb:159:in `open'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/admin.rb:159:in `get_lock'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/admin.rb:176:in `wrapped_transaction'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/admin_users.rb:44:in `delete_ssh_keys'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/admin_users.rb:22:in `delete_ssh_key'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/shell.rb:66:in `handle_command'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/redmine_gitolite/git_hosting.rb:44:in `resync_gitolite'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/tasks/rename_ssh_keys.rake:18:in `block (3 levels) in <top (required)>'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.13/lib/active_record/relation/delegation.rb:6:in `each'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.13/lib/active_record/relation/delegation.rb:6:in `each'
/home/redmine/redmine-2.3.4/plugins/redmine_git_hosting/lib/tasks/rename_ssh_keys.rake:10:in `block (2 levels) in <top (required)>'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/task.rb:248:in `call'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/task.rb:248:in `block in execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/task.rb:243:in `each'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/task.rb:243:in `execute'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/task.rb:187:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/task.rb:180:in `invoke_with_call_chain'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/task.rb:173:in `invoke'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:152:in `invoke_task'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:108:in `block (2 levels) in top_level'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:108:in `each'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:108:in `block in top_level'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:117:in `run_with_threads'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:102:in `top_level'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:80:in `block in run'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:178:in `standard_exception_handling'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:77:in `run'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/bin/rake:23:in `load'
/home/redmine/redmine-2.3.4/vendor/bundle/ruby/2.1.0/bin/rake:23:in `<main>'
Tasks: TOP => redmine_git_hosting:rename_ssh_keys

Any idea?
Regards.

bundle exec rake --trace redmine_git_hosting:rename_ssh_keys RAILS_ENV=production
Your Gemfile lists the gem nokogiri (< 1.6.0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem thin (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
** Invoke redmine_git_hosting:rename_ssh_keys (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine_git_hosting:rename_ssh_keys
Delete SSH keys in Gitolite and reset identifier :

Delete SSH key redmine_eolepack_1393415509_779488
rake aborted!
NoMethodError: undefined method `ssh_keys' for nil:NilClass

This error was caused by the fail of cloning the gitolite-admin repository.

I managed to make my migration from 0.6.3 using a Debian Jessie intermediate machine to upgrade redmine_git_hosting to version 0.7.10:

rsync my redmine 2.3.4 from my prod server

dump/restore my 2.3.4 DB from my prod server

rsync my git home dir from my prod server

upgrade my gitolite for OpenSSH 6.8 compat (sitaramc/gitolite@ed807a40c6683960e357bc995b3acf721ec088b4)

start redmine to check that everything was working correctly

apply #619

follow the migration from 0.6 to 0.7.10

start redmine and check that everything was working correctly

The migration from redmine 2.3.4 with redmine_git_hosting 0.7.10 on the intermediate VM to the target machine (Ubuntu Xenial) with redmine 3.3.0 with redmine_git_hosting 1.2.1:

prepare a redmine 3.3.0 on the target

run bundle exec rake redmine_git_hosting:prepare_migration_to_v1 RAILS_ENV=production on the intermediate machine

rsync my redmine datas (files/) to the target /home/redmine/redmine-3.3.0/files/

dump/restore my 2.3.4 DB from my intermediate server to the target

delete duplicated entries in DB

DELETE FROM repository_git_extras USING repository_git_extras, repository_git_extras r1 WHERE repository_git_extras.id > r1.id AND repository_git_extras.repository_id = r1.repository_id;

rsync my git home dir from my intermediate server to the target

populate ~redmine/.ssh/known_hosts

configure sudo

cat > /etc/sudoers.d/redmine <<'EOF'
Defaults:redmine !requiretty
redmine ALL=(git) NOPASSWD:ALL
EOF

then I follow the migration from 0.7.x to 1.x

Now except #568 everything is running fine.
Regards.


fix(Lax): BeLax flag was not taken into account for some operators

Any
Code
Contains
None
NotAny
Set
SubSetOf
SuperSetOf
Bag
SubBagOf
SuperBagOf

Pull Request Test Coverage Report for Build 406382902

27 of 27 (100.0%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0002%) to 99.794%

Totals

Change from base Build 402877507:
0.0002%

Covered Lines:
6794

Relevant Lines:
6808

💛  - Coveralls


Chore: Upgrade RTD build to Python 3.8

What the title says.

matplotlib.org currently offline
loading intersphinx inventory from https://matplotlib.org/stable/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://matplotlib.org/stable/objects.inv' not fetchable due to <class 'requests.exceptions.HTTPError'>: 522 Server Error:  for url: https://matplotlib.org/stable/objects.inv

-- https://matplotlib.org/


Event push notifications

Is your feature request related to a problem? Please describe.
I would like to ensure I do not miss any upcoming events that excite me, or forget to attend them.
Describe the solution you'd like
A easy way to do this could be to have the website use web push notifications in order to notify users when events they follow are occuring.
Additional context
Email notifications could be nice too.

Looking into browser Notification API, this seems very doable.
Email support is planned and can be implemented with relative ease on the back end. The only problem is finding an email provider that:
A.) Isn't Expensive
B.) Doesn't get blocked by emails
C.) Is relatively sane to use

Implemented, currently Live


Call/Open a flutter screen through a notification

To set an alarm I'm using native code, so java for android, to be able to access background services and have pending intents, as this seamed like the most feasible way cause most plugins either don't work or just send local notifications.
I am able to schedule alarms using Java but the notification currently links to an android activity (Ring activity). I want to be able to be able to open a flutter screen by tapping on the widget to give the user an option to dismiss or snooze.
Article I have been referring: https://learntodroid.com/how-to-create-a-simple-alarm-clock-app-in-android/
GitHub repo for it: https://github.com/learntodroid/SimpleAlarmClock
My current approach is to call a dart method from Ring activity using method channel and create a flutter screen in the method.

Update:
It does open a flutter screen but it is opening the sign-in page, as in the first screen.
How do I open a particular page of the app?

Update:
It does open a flutter screen but it is opening the sign-in page, as in the first screen.
How do I open a particular page of the app?

You will probably need to look into routes or deep links. Or, a more straightforward way would be to have some sort of checker in the main() function which will launch a specific page based on how the app was opened (you can use SharedPreferences here).

Also, have you tried android_alarm_manager? It seems to be quite popular and could get the job done easily instead of messing around with native code.

At some point I did mention that package. But I couldn't find anything for iOS though

Also, have you tried android_alarm_manager? It seems to be quite popular and could get the job done easily instead of messing around with native code.

Yes, I did try that initially but it didn't quite work. And that package basically adds all the native code for you (if you take a look at the manifest additions required for the package). Plus, the article outlines it really well so it was easy to implement in native code.
And as @khatrivarun said it doesn't work for iOS.
Writing our own native code can help add more functionality and implement it for iOS as well.

Update:
It does open a flutter screen but it is opening the sign-in page, as in the first screen.
How do I open a particular page of the app?

You will probably need to look into routes or deep links. Or, a more straightforward way would be to have some sort of checker in the main() function which will launch a specific page based on how the app was opened (you can use SharedPreferences here).

Yes, I think I'll have to add some sort of check in the main function itself.

Also, have you tried android_alarm_manager? It seems to be quite popular and could get the job done easily instead of messing around with native code.

Yes, I did try that initially but it didn't quite work. And that package basically adds all the native code for you (if you take a look at the manifest additions required for the package). Plus, the article outlines it really well so it was easy to implement in native code.
And as @khatrivarun said it doesn't work for iOS.
Writing our own native code can help add more functionality and implement it for iOS as well.

Okay that's cool, if you're familiar with native code then go ahead.
While adding full iOS support would definitely be great, I don't think it needs to be a priority unless you want it to be. You'll also need a Mac and iPhone to test it properly.


No character metrics in 'Main-Regular' for certain unicode characters

Some unicode characters such as "\u2272" (\lesssim) and "\u2a7d" (\leqslant) are rendered in an inappropriate font, and trigger the warning that they do not have character metrics in Main-Regular. I notice that in symbols.js these characters are set not to be substituted, while their flipped counterparts \gtrsim and \geqslant are set to be substituted and are rendered in the correct font with no warnings. I am not sure if this is an error in symbols.js, or if this is an error in the font metrics.
I also get an "unrecognized Unicode character" warning for "\u2218" (\circ), but this is displayed in the correct font (and doesn't trigger the "no character metrics" warning).

I see, thank you. I suppose I thought the Unicode equivalent of leqslant would have been supported since the equivalent of geqslant seemed to be. I do get that warning about strict mode.
I can always use the backslash commands for unsupported characters, certainly.

@InThisStyle10s6p Agreed, this is likely just an oversight, but @ronkok is the expert.

@InThisStyle10s6p Thanks for the note. You're right; these characters belong in KaTeX core. I'll write up a PR to do that. I see a couple more relations that I can pick up at the same time.

Fixed via #1389.


Enable Data Reset for local dev

Description
This ticket is related to #2011, #3443, and #4270. Once this work has been completed (or in the process of being completed), we'll want to ensure that the data reset via an endpoint (or Spring) can be run locally on demand. This will improve the local dev experience running e2e tests, and should closely resemble the Test environment.
In addition to the requirements in #3443 and #4270, local dev implementation needs to:

Run on demand (running on a schedule such as daily does not make sense)

Take advantage of the config env variable(s) set up in the previous tickets

Accommodate the variety of local setups:

Run with Okta
Run without Okta
Run on bare metal
Run in docker

Additional Context

This ticket may be completed simultaneously with the two referenced tickets as local testing will likely be desired

FIxing in favor of #3443 and #4272 and we already have the option db down -v in intellij

closing in favor of #3443 and #4272 and we already have the option db down -v in intellij. Will reopen if this is still an issue


feat: otomi install chart skeleton

This is not ready just for getting your comments.

LGTM
An idea for improvement:
We could enrich this chart by moving values.schema.json inside the chart.

values.schema.json  # OPTIONAL: A JSON Schema for imposing a structure on the values.yaml file
Read more: https://helm.sh/docs/topics/charts/

the otomi-core value-schema.json is outside of the chart folder, so the helm command do not have access to it. Should we make a copy of the value schema in the chart folder?

An idea for improvement:
We could enrich this chart by moving values.schema.json inside the chart.

we can generate that in there yes.


ADS Web Smoketest is failing because of a timeout while waiting for Python install notification.

In notebook.test.ts, the smoke test that opens a new notebook, configures Python, and executes one cell is failing because of a timeout in the _waitForInstallationComplete method in configurePythonDialog.ts.
The timeout seems to be happening because the python installation complete notification isn't rendering after 1 minute.

I can increase the timeout - hopefully that'll pass the tests. Thanks for opening the issue!


Replace call to augur.getTimestamp on new block

If time controlled use TimeStampSet logs If normal, use timestamp on the block.
https://github.com/AugurProject/augur/blob/18f0fdd7f053a45f969aafb553b9dd00022c1e2d/packages/augur-sdk/src/state/Controller.ts#L56

The coordination of timestamp and block info needs to be centralized. If a getter is concerned with new block the passed block should have the "correct" timestamp.

This still seems like an issue which is potentially concerning since we'll be doing getTimestamps in getters.

@nuevoalex @justinbarry  -- Do you think this is an important issue before v2 launch for stability?

Status?

This still needs to be done.
From augur.ts:
async getTimestamp(): Promise<BigNumber> {
    return this.contracts.augur.getTimestamp_();
}

@robert-e-davidson3 -- Is this handled by your branch?


Update antelope endpoint and enable sorting

@DanielJMaher @FBRTMaka please review/merge

:+1: @Bobfrat fine work bob!


I tried an example from bot framework documentation page, I am not able to connect to LUIS.AI and redirrecting me to default dialog

var builder = require('botbuilder');
// Create bot and bind to console
var connector = new builder.ConsoleConnector().listen();
var bot = new builder.UniversalBot(connector);
// Create LUIS recognizer that points at our model and add it as the root '/' dialog for our Cortana Bot.
var model = 'https://api.projectoxford.ai/luis/v1/application?id=c413b2ef-382c-45bd-8ff0-f76d60e2a821&subscription-key=&q=';
var recognizer = new builder.LuisRecognizer(model);
var dialog = new builder.IntentDialog({ recognizers: [recognizer] });
bot.dialog('/', dialog);
// Add intent handlers
dialog.matches('builtin.intent.alarm.set_alarm', builder.DialogAction.send('Creating Alarm'));
dialog.matches('builtin.intent.alarm.delete_alarm', builder.DialogAction.send('Deleting Alarm'));
dialog.onDefault(builder.DialogAction.send("I'm sorry I didn't understand. I can only create & delete alarms."));

looking at the code snippet pasted, I see that you miss subscription key from you luis url and probably that is the reason that calls to Luis are failing in your bot. Here is an example using the same model: https://github.com/Microsoft/BotBuilder/blob/5cf71c742f27d89e9dbc4076f850122bd6edac11/Node/examples/basics-naturalLanguage/app.js#L19

Hi, I have added the subscription key, as
var model = process.env.model || 'https://api.projectoxford.ai/luis/v1/application?id=c413b2ef-382c-45bd-8ff0-f76d60e2a821&subscription-key=1be925f44e414e1481024a6d43a7eff5&q=';
Now getting the below error,

When I open that url in the browser, I see this error message:
{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." }

@siddiq-rehman If you look at sample, this should be the url for the model: https://api.projectoxford.ai/luis/v1/application?id=c413b2ef-382c-45bd-8ff0-f76d60e2a821&subscription-key=6d0966209c6e4f6b835ce34492f3e6d9&q=

Closing this. Feel free to open another issue if you need help.


Let's see what happens if we remove the sphinx setup function

Close #70

Apparently we don't - We don't use recommonmark in favor of myst


Support gitlab-style inline math $a=b$

Since https://github.com/miyakogi/m2r/commit/eeb618b9e5a3c59b90e4c5ac92df0703c57ac76a m2r supports inline math with dollar signs inside backticks, but gitlab uses backticks inside dollar signs.
We would like to render the same document with gitlab and with sphinx, and so would like m2r2 to support the gitlab way.

Since 15.5 gitlab supports inline math surrounded by only dollar signs only: https://gitlab.com/gitlab-org/gitlab/-/issues/21757
Their regular expression to avoid treating currencies as math is here

I agree with @kalvdans and think that m2r2 should consider that inline math will be using $...$ instead of `$...$`.
I guess all it takes is to change this line:
https://github.com/CrossNox/m2r2/blob/0408d7acea843485d9ff42ee08a105a79f045493/m2r2.py#L122
to
inline_math = re.compile(r"\$(.*?)\$")

What do you think @CrossNox ? :blush:
Thanks for the great package anyways!

Any news regarding this issue?

Pull request up at https://github.com/CrossNox/m2r2/pull/62; please try it out @milannnnn and @alexisthual!
We hit https://gitlab.com/gitlab-org/gitlab/-/issues/389949 preventing some expressions to render correctly in gitlab; the generated mathjax with m2r2 + sphinx looks ok though.


Add support to use labels in Data Warehouse

Fixes #280
This should address issue #280

please use the release-bot naming convention for PR names.  For instance, I think this would have a prefix of "feat"


Support for precalcuating toggles and manual metrics

I have a number of SPA (Single Page Applications) that will run in a user's browser. The code in the browser is written in Typescript (Angular or React)
I would like to add 2 capabilities:
Precalculated toggles
A way to pre-calculate all toggles for a given UnleashContext without triggering the corresponding metrics
This will let me generate the results of toggles to send to the browser which can then be used by the client side code.
Manually sending metrics
Periodically when the front-end checks back for toggle updates it can report its metrics to the backend which will be able to forward them on to Unlease.
I don't want my frontend code calling Unleash directly due to differing authentication needs and scalability.
Would this capability be welcome as a PR?

Hi @checketts,
As part of the commercial offering, we already have the unleash-proxy, providing this functionalities (and more) on top of the Node SDK.
Our plan is to also open-source the Unleash Proxy for everyone, but that would take a few more sprints before we are able to prioritize this work (it will require us to do some cleanup to make it 100% compatible with the community version of Unleash). You might want to use the Unleash Proxy as the official way to integrate with SPAs
That being said, I do not see any harm of adding these capabilities for the Java SDK as well.

Closing since this is addressed in version 4.1.0


[Update] After Linkis-0.9.4 enables LDAP and proxy user mode, DSS is still used to log in users to perform tasks

1.linkis-gateway/proxy.properties
liurijia=appuser
2.

Hello, have you set this parameter? wds.linkis.gateway.conf.enable.proxy.user=true

Hello, have you set this parameter? wds.linkis.gateway.conf.enable.proxy.user=true

linkis-gateway/conf/linkis.properties，This configuration file, I have already done; amount of related settings。

Can you find these two lines in the Gateway log.

Can you find these two lines in the Gateway log.

When I run a job, I cannot find those two log lines in the Gateway log.

Debug shows ENABLE_PROXY_USER.getValue=true, but scheduleAtFixedRate() will not be executed. Why?

Hello, you can try catch this run method to see if there is any exception information


Draw-Your-Own-Pattern Functionality

Hi!
I just wanted to share my attempt at a HTML/Javascript program to create a Sandtable pattern from just drawing it on your screen.
It has functionality to import & position a background image for tracing, and my attempts can be seen in the attached images. There are still some bugs with reflections & rotations in the pattern when I import them into sandify, but overall it works reliably. Would love to see this feature implemented into the standard sandify!
DrawYourOwnTHR.txt
Appreciate all you've done,
Justin

Whow that very nice. Have you a video ton better see it?

Here's a really quick sketch using my mouse. If you have a touchscreen or stylus, its much easier!
https://github.com/user-attachments/assets/2e99089a-1339-48e6-b4a5-6fe38d3d8285

Nice 🙌🙌

There is a coding error in the APP, how can it be resolved?

12/6/2024 Updates:
Improved functionality with pen raises & drops. Improved theta formula to take into account crossing different axis. (Prevents the weird rotation/reflection issue of last program).
DrawYourOwnTHR - BEST.txt
Created Debugger Graphs to help discover any issues.
Includes a graph showing theta & rho as a function of time (point #). For a good pattern, this should be continuous, with no big jumps.
Includes a second canvas, that live-plots your pattern, to ensure that the calculated theta&rho can be converted back to the original coordinates.
DrawYourOwnTHR - BEST - With Debug Graphs.txt

Can I just copy these two files to the SD card?

2024 年 12 月 6 日更新： 改进了笔的抬升和放下功能。改进了 theta 公式，以考虑不同轴的交叉。（防止上一个程序出现奇怪的旋转/反射问题）。DrawYourOwnTHR - BEST.txt
创建调试器图表以帮助发现任何问题。 包括一个显示 theta 和 rho 作为时间函数（点号）的图表。对于良好的模式，这应该是连续的，没有大的跳跃。 包括第二个画布，实时绘制您的模式，以确保计算出的 theta&rho 可以转换回原始坐标。
DrawYourOwnTHR - 最佳 - 带有调试图表.txt

What should I do? This is the first time I encounter this situation. Are the two files you gave me to replace the files in the SD card? If possible, please guide me, thank you!

Happy to help, sorry for not being clearer...
How to use:

Save the ".txt" files above to your computer.
Open the file in your text editor
File > Save As > Hyper Text Markup Language (.html)
Close out of ".txt" file
Open the .html file. You should see the webpage!


Add flowmap.blue to showcases

Coverage decreased (-2.6%) to 80.428% when pulling c6bb10e58c5197d1dce1c80440f9ef184268305a on x/showcases into 4aeea2a30e91c03f3170e82b2190eec7023ff992 on master.


qcm:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Description: This package provides qualitative colormaps (by colorbrewer).
I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

Thanks!


feat: support debug console ansi escape sequence output

Types

[x] 🎉 New Features

Background or solution
效果如下
256 前景色

256 背景色

基本样式码
可参考文档 https://zh.wikipedia.org/wiki/ANSI转义序列#选择图形再现（SGR）参数

Changelog
调试控制台支持 ANSI escape codes 输出

you're so good. it's better to add some test cases.

you're so good. it's better to add some test cases.

下次一定

加个测试吧，这周版本锁需求啦，下个迭代再上

加个测试吧，这周版本锁需求啦，下个迭代再上

done

Codecov Report

Merging #469 (50dc02a) into main (073cf07) will increase coverage by 0.16%.
The diff coverage is 91.89%.

:exclamation: Current head 50dc02a differs from pull request most recent head 14919cb. Consider uploading reports for the commit 14919cb to get more accurate results

@@            Coverage Diff             @@
##             main     #469      +/-   ##
==========================================
+ Coverage   59.00%   59.16%   +0.16%
==========================================
  Files        1200     1201       +1
  Lines       73914    74203     +289
  Branches    15293    15392      +99
==========================================
+ Hits        43615    43905     +290
- Misses      27615    27616       +1
+ Partials     2684     2682       -2

Impacted Files
Coverage Δ

...r/view/console/debug-console-tree.model.service.ts
70.17% <0.00%> (ø)

.../src/browser/view/console/debug-console-session.ts
26.19% <15.78%> (-0.58%)
:arrow_down:

packages/debug/src/browser/debug-ansi-handle.ts
97.46% <97.46%> (ø)

packages/theme/src/common/color.ts
86.91% <0.00%> (+0.58%)
:arrow_up:

...kages/theme/src/browser/workbench.theme.service.ts
71.21% <0.00%> (+0.89%)
:arrow_up:

packages/core-common/src/node/port.ts
46.96% <0.00%> (+3.03%)
:arrow_up:

...ckages/terminal-next/src/browser/terminal.color.ts
73.33% <0.00%> (+73.33%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 073cf07...14919cb. Read the comment docs.


Better support for govaluate expressions

Summary
I found out that Argo is using govaluate to parse when conditional expressions. I played around with it and turns out most of govaluate works out of the box. However, the regex comparison operator seems to be very flaky with all the yaml parsing (json mapping) etc stuff. I compiled a list of some expressions and their respective outcome, below

expression in yaml
output

when: "a11 =~ a1\\d"
when 'a11 =~ a1\d

when: "a11 =~ a1\\d+"
Invalid 'when' expression 'a11 =~ a1\d+': Unexpected end of expression

when: "a11 =~ a1\\\\d"
works

"a112 =~ a\\\\d{3}"
'Invalid 'when' expression 'a112 =~ a\d{3}': Invalid token: '{' (hint: try wrapping the affected expression in quotes ("))'`

when: "'a112 =~ a\\\\d{3}'"
Expected boolean evaluation for ''a112 =~ a\\d{3}''. Got a112 =~ a\d{3}

when: "\"a112 =~ a\\\\d{3}\""
expected boolean evaluation for '"a112 =~ a\\d{3}"'. Got a112 =~ a\d{3}

Use Cases
When would you use this?
I would use that quite often to evaluate expression in a regex like style.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

We use https://github.com/antonmedv/expr for evaluation in depends: logic and have been considering switching the when: logic to it as well. However, since the issue here seems to be related to the yaml itself, I'm not sure if making the switch would fix this particular issue. Maybe you can test that for us?
Meanwhile, as a workaround I can suggest you add a new container step right before the relevant when: step and perform the regex in said container. The container can then output true or false and then you can use its result on the field like so when: {{steps.regex.outputs.result}}. Does this make sense?

Yeah, will test it and add my findings in this ticket.
Ad) workaround - yes this would be another option. However being able to use regexp would make the when statement ever so elegant and powerful.

I found that if you wrap the left and right expressions with single quotes respectively, the error will go away. For example, for
when: "a11 =~ a1\\d+"

the working version would be
when: "'a11' =~ 'a1\\d+'"

I came here as I was confused as to whether govaluate or expr is used in when:
To me it is very confusing to find when: use one library, but depends: and {{# use another one.

We're moving away from govaluate. Closing issue.

See #7831 and related issues for moving away from govaluate


nRF5340 net core flash issue

I am doing some trials with PyOCD + DAP link (probe is Max32625PICO) with the dual core nRF5340. I installed the pack nrf5340_xxaa.
Flashing the APP core is no issue and everything goes well. But when trying to flash the NET core I get :
Failed to add data chunk: no memory region defined for address 0x01000000 [file_programmer]
I dived a bit in the device pack and the parser and found out the ROM region for NET core is beeing removed and not replaced by a FLASH region as it should (And as it does for the APP core)
NET:

APP:

(For a clearer view, I splitted nrf5340_xxaa into nrf5340_xxaa_APP and nrf5340_xxaa_NET in the pdsc file of the device pack but results are the same with original pdsc)
Problem seems to be in _split_flash_region_by_sector_size()  where we do start = region.start + offset and start ends up equal end and as a result the FLASH region is not added. Changing this line then gives an error about the NET core RAM region:
pyocd.core.exceptions.TransferFaultError: Memory transfer fault @ 0x21000200-0x210003ff

Is nRF5340 really fully supported by PyOCD ?
If yes, what am I doing wrong ?

Thank you !

I wonder about this issue too. The device pack exposes two devices, one with _APP suffix and the other with _NET, but pyocd lists just one device without suffix? And with that device it is possible to flash the APP cpu.

Are there any updates? I also have the same issue.

I'm working on it: https://github.com/pyocd/pyOCD/pull/1656


Add Support for OpenSuSE

Tested this on an OpenSuSE 13.1, however, with a local repository,
since the boxes where it runs on, don't get out to the Internet.
Updated README, metadata.json, and added specs for the new
operatingsystem.
While there, I made use of $::module_name in the output of fail() in order to ease debugging.

LGTM!


KAFKA-5490: Skip empty record batches in the consumer

The actual fix for KAFKA-5490 is in
https://github.com/apache/kafka/pull/3406.
This is just the consumer change that will allow the cleaner
to use empty record batches without breaking <IP_ADDRESS>
consumers (assuming that KAFKA-5490 does not make the cut).
This is a safe change even if we decide to go with a different option
for KAFKA-5490 and I'd like to include it in RC2.

@dguy, can you please review this?

Btw, this is @hachikuji's code, I just split the consumer change from the log cleaner changes.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5602/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5616/
Test PASSed (JDK 7 and Scala 2.11).

I updated the PR, @dguy.

I will merge to trunk and 0.11.0 once the tests pass.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5608/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5622/
Test PASSed (JDK 7 and Scala 2.11).


Docs not updating

Environment Information

Python version: 3.8
Operating System: macos M1 chip

Description
I was following your YouTube videos for GeoSoft (which are great by the way), and I created my repo using pypackage.  But I for some reasons the docs and webpage are not updating.  I've corrected the branch to be gh-pages and use /root and that seemed to get the correct mkdocs-material page to load.  However, the index and version number do not match.  I believe it has to do with me using main instead of master for my default branch.  I noticed the edit buttons on the site refer to master urls.  But I'm not sure where to change this in the mkdocs configuration?  Here is my repo: https://github.com/josh-spatial/qdmap

Hi, I'm about to get this set up myself. I'm also using main for my default branch and wondering if I will encounter a similar problem. Were you able to resolve this issue?

Yes I was.  See the explanation at the mkdocs-material site here regarding using main vs master branches for the github workflows.  I simply changed the branch to in the workflow.


Version upgrade to 1.90.0

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-ZQrYvg1Wv7BG
Commit ID: c201ec34cb03c07b9d7295b71419f18c0a1ae807
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-sdNVS2x9cuir
Commit ID: c201ec34cb03c07b9d7295b71419f18c0a1ae807
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-HHah0H4kRcJ1
Commit ID: c201ec34cb03c07b9d7295b71419f18c0a1ae807
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-sdNVS2x9cuir
Commit ID: e06048c519809e6b4847e17669cd1feed19e8a5c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-HHah0H4kRcJ1
Commit ID: e06048c519809e6b4847e17669cd1feed19e8a5c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-ZQrYvg1Wv7BG
Commit ID: e06048c519809e6b4847e17669cd1feed19e8a5c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


test suite for record layout

Just the tests for record layout.
At the moment, some issues are causing the MSVC version to fail.  #316
The GCC/Clang versions work.
At the moment, only the parser is being tested. No static asserts for layout are being called.
The code can test layout w/ a small change.
A README.md is in the /test/records directory that explains the .c usage files and license.

this has drifted too much from records branch.


Problem with Inference

Thank you for providing your wonderful work!
I was encountering an error while running Inference Step.
python feature_matching_object_detector.py +experiment=object_detector.yaml n_ref_view=15
I followed Installation and Dataset setup steps perfectly. I didn't receive any error but I am getting an error for this. Below is the error.
$ python feature_matching_object_detector.py +experiment=object_detector.yaml n_ref_view=15

Global seed set to 12345
/home/shiva/miniconda3/envs/onepose/lib/python3.7/site-packages/hydra/_internal/defaults_list.py:251: UserWarning: In 'config.yaml': Defaults list is missing `_self_`. See https://hydra.cc/docs/upgrades/1.0_to_1.1/default_composition_order for more information
  warnings.warn(msg, UserWarning)
  0%|                                                                                | 0/80 [00:00<?, ?it/s]2024-03-12 15:38:24.561 | INFO     | __main__:inference:164 - Run feature matching object detector for: /home/shiva/Downloads/OnePose-main/data/onepose_datasets/test_data/0408-colorbox-box/colorbox-4
=> load weights:  /home/shiva/Downloads/OnePose-main/data/models/extractors/SuperPoint/superpoint_v1.pth
=> load weights:  /home/shiva/Downloads/OnePose-main/data/models/matchers/SuperGlue/superglue_outdoor.pth
Provide model format: '.bin' or '.txt'
  0%|                                                                                | 0/80 [00:00<?, ?it/s]
Error executing job with overrides: ['+experiment=object_detector.yaml', 'n_ref_view=15']
Traceback (most recent call last):
  File "feature_matching_object_detector.py", line 170, in main
    globals()[cfg.type](cfg)
  File "feature_matching_object_detector.py", line 165, in inference
    inference_core(cfg, data_root, seq_dir, sfm_model_dir)
  File "/home/shiva/miniconda3/envs/onepose/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "feature_matching_object_detector.py", line 135, in inference_core
    K_crop_save_dir=paths['output_K_crop_dir']
  File "/home/shiva/Downloads/OnePose-main/src/local_feature_2D_detector/local_feature_2D_detector.py", line 47, in __init__
    self.db_dict = self.extract_ref_view_features(sfm_ws_dir, n_ref_view)
  File "/home/shiva/Downloads/OnePose-main/src/local_feature_2D_detector/local_feature_2D_detector.py", line 54, in extract_ref_view_features
    cameras, images, points3D = read_model(sfm_ws_dir)
TypeError: cannot unpack non-iterable NoneType object

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Can somebody please help me with this?

Also, I noticed that the
OnePose-main/data/sfm_model/0408-colorbox-box/outputs_superpoint_superglue/sfm_ws/model/
is empty. Is it supposed download any model in this folder?

@JiamingSuen  @gcgeng  @ybbbbt @pengsida  your inputs wold be great helpful for me :)


feat: :sparkles: add ignored_guids array

This can be used to ignore specific devices. In some cases, gamepads can get recognized twice by Godot, and to prevent this, one of the duplicate GUID can be added to the array to ignore the inputs.
*Edit
Apparently, it also removes a lot of white space. Sorry for that. Let me know if I should submit this without those changes.

i might be missing something. It doesn't look like this does anything. The ignore array is never populated.

You can populate that array yourself before reset() is called, or you can just add the GUIDs and call reset() again.


"Dangling" labels when creating structures

So, I'm using the dev build, and this involves the type system, so pardon me if this isn't a useful bug report.
Suppose I have the following code:
#include <stdio.h>
#include <string.h>

typedef struct _test_type{
	int num1;
	int num2;
} test_type;

test_type global_test = {4, 8};

int main(){
	printf("Number 1: %d\n", global_test.num1);
	printf("Number 2: %d\n", global_test.num2);
	return 0;
}

When I compile this code, Binary Ninja correctly determines that there's two dwords there:

Data view:

If I name both of them, we're all good:

But then let's say that I decide that those two numbers are part of a structure, and I define one:

And I apply it to the global structure:

Still looks good, but when I go back to the disassembly view of main, I see this:

It retained both num1 and num2 and typed them both as test_struct. The only way I can find to correct this has been to delete the structure, delete the offending num2 label, and recreate the structure.
Again, not sure if you want bug reports of dev-branch features, but thought I would let you know just in case.

What happens if you just delete the num2 label?

Ah, yes, that fixes it. I hadn't realized you could do that from disassembly. In the data view, the label doesn't appear, so I couldn't delete it.


Stately Visualizer says "Services from a separate process are currently being inspected"

Description
I am not sure if this is a bug or if it is expected behavior.
When I access the Stately visualiser via https://stately.ai/viz?inspect, it shows a message saying "Services from a separate process are currently being inspected". However everything works as expected when accessing via https://stately.ai/vz.
Expected Result
Editable visualiser when accessing https://stately.ai/viz?inspect or better understanding of the displayed message.
Actual Result
Visualiser shows "Services from a separate process are currently being inspected"
Reproduction
Access https://stately.ai/viz?inspect and observe editor.
Additional context
This behavior was originally seen in an xstate addon for storybook (https://github.com/SimeonC/storybook-xstate-addon), where the embedded visualiser shows the above error.  The addon seem to internally use the https://stately.ai/viz?inspect to load the visualiser.

This is working as expected; the stately.ai/viz?inspect URL is only for inspected machines; not for normal visualization.


Need to explain CC SQL user permissions in docs

I couldn't find anywhere where we explain what the privileges of a SQL user added in the console are. This is something our users will want to know before granting access to new users or services (it even came up in one of our user interviews). We should have a description of these privileges either in the "getting started" section or "managing your cluster".
cc @thtruo

We've documented SQL user permissions in the "Create SQL users" section of the "Connect to your cluster" doc: https://www.cockroachlabs.com/docs/cockroachcloud/stable/cockroachcloud-connect-to-your-cluster.html#step-2-create-a-sql-user
The Authorization doc explains it in greater detail: https://www.cockroachlabs.com/docs/cockroachcloud/stable/cockroachcloud-authorization.html#user-authorization
However, I do agree the UX and the related docs are confusing to new users. @thtruo: Fodder for the Operator role conversation?

+1 @Amruta-Ranade definitely relates to the operator role conversation. Will link to this GH issue in our internal doc

Closing in favor of #9017


[RFC] createInjectionToken generic type and optional factory

I'd like to provide some other suggestions.
How about adding support for the Generic type and marking the factory as optional?
So basically this:
export const TOKEN = new InjectionToken<MyType>();
becomes:
export const [injectFn, provideFn] = createInjectionToken<MyType>();
There's a problem though, I can't make it multi without providing the factory 🤷🏻♂
Also, considering the code above, would this work?
provideFn(() => {   const foo = inject(FOO);   if (foo) return 'something'   return 'something else' })
Instead of a simple value, to provide a factory!
This is how I manage it now:

For the first case where you need optional factory and multi, you can use the following workaround for now

// note the "!" non-null assertion.
export const [injectFn, provideFn] = createInjectionToken<MyType>(() => null!, { multi: true });

provideFn() accepting a factory is tricky. What's the main difference between the following?

export const [injectFn, provideFn] = createInjectionToken(() => {
    const foo = inject(FOO, { optional: true });
    if (foo) return 'something'
    return 'something else';
}, { multi: true });
provideFn();

// versus
provideFn(() => { const foo = inject(FOO); if (foo) return 'something' return 'something else' })

Okay, not-null null sounds cool :) But it's okay for this approach!
So what I'm trying to achieve is to have a multi-token that contains some objects. Sometimes, I need to inject other tokens to create the object.
For example:
export const [injectBlocks, provideBlock] = createInjectionToken((): MyBlock[] => [], { multi: true });

Adding needed blocks:
// image.block.ts
provideBlock(() => {
 const locale = inject(LOCALE);
 return {
   type: 'image',
   align: locale === 'en-US' ? 'left' : 'right' // just an example
 }
})

// text.block.ts
provideBlock(() => {
 const direction = inject(Directionality);
 return {
   type: 'text',
   textAlign: direction.value === 'ltr' ? 'left' : 'right'
 }
})

Somewhere in the main component:
readonly blocks = injectBlocks(); // -> [{type: 'image' ...}, {type: 'text', ...}]

Is there a workaround for this now?

hm....there's not a workaround now unfortunately. I'll add support for passing factories into provideFn


Analyze/Prioritize/Organize All User Feedback from Testing Sessions

Title of ticket: Analyze/Prioritize/Organize All User Feedback from Testing Sessions
Description
Summarize issue
Dependencies
Are there any dependencies?
DOD

[x] Analyze
[x] Prioritize what should be MVP vs. POST MVP vs. LONG TERM
[x] Organize and plan

https://miro.com/app/board/uXjVOIRfzvU=/?invite_link_id=410133745665


CPU, memory, and storage monitoring are not displayed[BUG]

Describe the bug

The harvester (0.2.0) is deployed by means of `helm', and currently the monitoring data of CPU, memory, and storage are not displayed

To Reproduce
Steps to reproduce the behavior:

Go to '...'

Expected behavior

Support bundle

Environment:

Harvester ISO version: 0.2.1
However, the ISO file is not used for installation, but for deployment through helm.
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

install metrics


Save uploaders list for every model separately

When two models have uploaders with the same name, and one of the uploaders is serialized, another (not serialized uploader) was expected in that serialized field.
SecondModel has serialized_uploaders which points to image_data which does not exist in that model:
class FirstModel
  mount_uploader :image, ImageUploader, serialize_to: :image_data
end

class SecondModel
  mount_uploader :image, ImageUploader
end

This PR fixes this behaviour.

Just read current opened PRs :)
The approach in #18 is better and it covers the case when a superclass can define uploaders
So I close this PR


travis: Fix Go 1.6 builds

The Go 1.6 builds are currently failing as the swagger documentation checks
require the latest version of ciao's dependencies to be downloaded to the
GOPATH and built.  Sadly, some of the latest versions of our dependencies,
notably docker, no longer compile with 1.6, and so the build fails.  This
commit simply disables the swagger checks on 1.6 builds.
Signed-off-by: Mark Ryan<EMAIL_ADDRESS>

Coverage increased (+0.01%) to 66.425% when pulling 15f0830d2aa67109333638288ef9b79360225a66 on markdryan:fix-travis into 21d93c4d8dff063af087fdce91dd96d68be73e14 on 01org:master.


O11Y-3603: Deprecate InstrumentationLibrary for InstrumentationScope

Which problem is this PR solving?
OpenTelemetry's specification has recently transitioned from using "Instrumentation Library" to "Instrumentation Scope" for certain identifying information.
To ensure that OpenTelemetry Dart remains up-to-date with the specification the InstrumentationLibrary class should be deprecated in favor of an InstrumentationScope class within the SDK package.
Short description of the change
This PR:

Adds usage of the existing InstrumentationScope class to relevant locations in SDK code.
InstrumentationLibrary from SDK and API have been deprecated and will be removed in a future version.
The version of opentelemetry-protoc submodule referenced by the library has been updated to current (1.0.0).

How Has This Been Tested?

Verified that unit tests pass successfully following this change.
Loaded this branch into a small testing application and confirmed that it can be used to emit traces.

Security Insights
No security relevant content was detected by automated scans.
Action Items

Review PR for security impact; comment "security review required" if needed or unsure
Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

Public API Changes
Recommendation: :bangbang: Major version bump (fyi @Workiva/semver-audit-group )
@@ opentelemetry/sdk.dart <-- package:opentelemetry/src/sdk/trace/read_write_span.dart#L10 @@
abstract class ReadWriteSpan implements ReadOnlySpan, Span

      From package:opentelemetry/src/sdk/trace/read_only_span.dart
-     InstrumentationLibrary get instrumentationLibrary
//    Removing a field is a major change.
+     InstrumentationScope get instrumentationScope
//    Adding abstract members breaks all subclasses.

@@ opentelemetry/sdk.dart <-- package:opentelemetry/src/sdk/trace/read_only_span.dart#L17 @@
abstract class ReadOnlySpan
-     InstrumentationLibrary get instrumentationLibrary
//    Removing a field is a major change.

+     InstrumentationScope get instrumentationScope
//    Adding abstract members breaks all subclasses.

@@ opentelemetry/api.dart <-- package:opentelemetry/src/api/trace/tracer_provider.dart#L12 @@
abstract class TracerProvider
-     Tracer getTracer(String name, {String version})
+     Tracer getTracer(String name, {String version, String schemaUrl, List<Attribute> attributes})
//    `getTracer` is abstract.
//    Changing the signature of an abstract member breaks all subclasses.

@@ opentelemetry/sdk.dart <-- package:opentelemetry/src/sdk/trace/tracer_provider.dart#L14 @@
class TracerProviderBase implements TracerProvider
-     Tracer getTracer(String name, {String version = ''})
+     Tracer getTracer(String name, {String version = '', String schemaUrl = '', List<Attribute> attributes = const []})
//    `attributes` was added.
//    Adding an optional parameter is a minor change.

@@ opentelemetry/sdk.dart <-- package:opentelemetry/src/sdk/common/instrumentation_scope.dart#L9 @@
+  class InstrumentationScope
// Adding a class is a minor change.

Click to see 1 more API Changes

@@ opentelemetry/web_sdk.dart <-- package:opentelemetry/src/sdk/platforms/web/trace/web_tracer_provider.dart#L21 @@
class WebTracerProvider extends TracerProviderBase
-     Tracer getTracer(String name, {String version = ''})
+     Tracer getTracer(String name, {String version = '', String schemaUrl = '', List<Attribute> attributes = const []})
//    `attributes` was added.
//    Adding an optional parameter is a minor change.

Showing results for d8eb4cc34725d237007fcde4cac569be7fe1bfe3

Powered by semver-audit-service. Please report any problems by filing an issue.
Reported by the dart semver audit client 2.2.2
Browse public API.


some sort of sentiment analysis?

Issue created by TheSkeward#1111.

You can do general sentiment analysis pretty easily with the transformers package
install: pip install transformers
from transformers import pipeline
classifier = pipeline('sentiment-analysis')

On a string:
classifier('We are very happy to show you the 🤗 Transformers library.')

output:
[{'label': 'POSITIVE', 'score': 0.9997795224189758}]

On a list of strings
results = classifier(["We are very happy to show you the 🤗 Transformers library.",
           "We hope you don't hate it."])
for result in results:
    print(f"label: {result['label']}, with score: {round(result['score'], 4)}")

output
label: POSITIVE, with score: 0.9998
label: NEGATIVE, with score: 0.5309

where the score is a measure of how strongly a text is positive or negative.


etcd Operator command args are wrongly formatted

I wanted to activate cluster wide mode for the etcd-operator, but the way the helm chart is specified yo cannot properly specify the arguments.
What it needs is -cluster-wide with a single dash in front.
The template does this:
{{- range $key, $value := .Values.etcdOperator.commandArgs }}
- "--{{ $key }}={{ $value }}"
{{- end }}
which both always does two dashes and always does an equals, which even for those flags that take a param is not correct.
This results in pod failure:
bad flag syntax: --cluster-wide=
Usage of etcd-operator:
-alsologtostderr
log to standard error as well as files
-chaos-level int
DO NOT USE IN PRODUCTION - level of chaos injected into the etcd clusters created by the operator. (default -1)
-cluster-wide
Enable operator to watch clusters in all namespaces
-create-crd
The operator will not create the EtcdCluster CRD when this flag is set to false. (default true)
-gc-interval duration
GC interval (default 10m0s)
-listen-addr string
The address on which the HTTP server will listen to (default "<IP_ADDRESS>:8080")
-log_backtrace_at value
when logging hits line file:N, emit a stack trace
-log_dir string
If non-empty, write log files in this directory
-logtostderr
log to standard error instead of files
-stderrthreshold value
logs at or above this threshold go to stderr
-v value
log level for V logs
-version
Show version and quit
-vmodule value
comma-separated list of pattern=N settings for file-filtered logging

Well it's only stale, because nobody acted upon it.


Webstorm: Unable to authenticate to Team Services.

I'm trying to access Team Services through Webstorm and I don't seem to be able to log in. I'm using my personal account.
EDIT: Looking through webstorm logs I found this:
2016-05-11 15:30:33,641 [ 239809]   WARN - in.idea.ui.common.LookupHelper - Authenticating with Team Services failed
java.lang.AssertionError: Unexpected exception type: Microsoft.VisualStudio.Services.Profile.ProfileDoesNotExistException, Microsoft.VisualStudio.Services.WebApi

Log in through a browser works perfectly fine.

Hi wawyed,
Did you ever get past this issue? Did you try upgrading to a newer version of the plugin? We now handle this specific error much better. The only real fix is to force a profile to be created. You can find out more about creating a profile here: http://java.visualstudio.com/Support/faq/Index#_why-do-i-see-the-error-no-profile-exists-for-the-user
Thanks,
Jason


Support plugins

There is no way to pass plugins argument to new Kysely

I think this module should receive exactly same type from Kysely constructor.

Fixed in 4b57f279fca2b1a7bb0df6c14083d865cf1a89a5. Please use the latest version.
Thank you.


View coverage.py report on Azure?

I'm using pytest-cov to make a coverage report. It works, but it doesn't show up as a nice webpage on Azure.
Here is what I have: https://dev.azure.com/00030000FAC97C58/multinorm/_build/results?buildId=4&view=codecoverage-tab
Before I was using travis-ci and put the coverage report here, where it appeared nicely:
https://codecov.io/gh/cdeil/multinorm/src/master/multinorm.py
Is it possible to get a nice coverage report display directly on Azure?
Or alternatively can you document how to upload and get it e.g. at codecov.io?
One related question: in the commands above I see pytest --cov=com. What is "com" ? I presume this is something I have to replace with my package name? Could you please clarify this in the docs?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2ca42420-9324-1988-16bd-501be69e278d
Version Independent ID: 400c0122-a0cc-bb52-b6cc-8aa93ff2c47a
Content: Building Python apps with Azure Pipelines or TFS - Azure Pipelines & TFS
Content Source: docs/pipelines/languages/python.md
Product: devops
GitHub Login: @erickson-doug
Microsoft Alias: dastahel

@cdeil - thanks for the feedback on improving the docs.
When you use the publish code coverage step, you currently get two things:

Summary on % coverage in the build summary tab
Downloadable artifact that contains HTML reports that you can click through

That said, we are working on better coverage reporting that doesn't require you to download artifacts and will offer much more (e.g., PR integration). I would love to share our storyboard with you and get feedback on our current plans. If you are willing to provide feedback, please send me a mail on
pbora AT microsoft DOT com.

@PBoraMSFT could the coverage reporting also include a status badge? It's very nice to have in the github README.md to see how well a project is doing 🙂

@cmsj - yes, the coverage reporting improvements will also include a coverage status badge.
We are working on better coverage reporting. I would love to share our storyboard with you and get feedback on our thoughts. If you are willing to provide feedback, please send me a mail on
pbora AT microsoft DOT com.

have the same problem as @cdeil (hi by the way). The coverage report doesnt quite work

Please accept our apology for the significant delay in addressing this issue.
It looks like you're working through an issue with the product itself, rather than an issue with the documentation. Here are a few options where you might consider asking your question:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot

Had the same problem.
My solution was to change
--cov=com to --cov=./
as the prior searches for a module called com


auto-export overview in prefs cuts off delete button on Linux

On Ubuntu 20.04, I'm using the latest stable version of Zotero and zotero-better-bibtex, and I want to update the exported bibliography entries immediately after an entry has been added into Zotero each time. For this purpose, I use the
inotifywait tool to monitor $HOME/Zotero/zotero.sqlite for some events, say, modify. But the problem is some bibliographies also have notes and associating files which will result in multiple triggering of observation events for each bibliography, as a result, the exporting operation will run multiple times after such a  bibliography entry has been added into Zotero. In order to solve this problem, I additionally calculate the md5sum of all citation keys as following, and only execute the export operation when this md5sum is changed.
#!/usr/bin/env bash
zotero_sqlite=$HOME/Zotero/zotero.sqlite
better_bibtex_export=$HOME/Documents/bibliograph/better-bibtex
bibtex_filename=$better_bibtex_export/references-bibtex.bib
biblatex_filename=$better_bibtex_export/references-biblatex.bib
while read _
do
  if [[ $citation_key_md5sum != $(curl -s "http://<IP_ADDRESS>:23119/better-bibtex/export/library?/1/library.bibtex"  | grep '^\@' | sort | md5sum | cut -d ' ' -f1)  ]]; then
    #echo "Changes are observed."
    citation_key_md5sum=$(curl -s "http://<IP_ADDRESS>:23119/better-bibtex/export/library?/1/library.bibtex"  | grep '^\@' | sort | md5sum | cut -d ' ' -f1)
    curl -s "http://<IP_ADDRESS>:23119/better-bibtex/export/library?/1/library.bibtex" -o $bibtex_filename
    #curl -s "http://<IP_ADDRESS>:23119/better-bibtex/export/library?/1/library.biblatex" -o $biblatex_filename
  fi
done < <(inotifywait --quiet --monitor --event MODIFY $zotero_sqlite)

Though the above method works, but it seems cumbersome. Is there any more concise and elegant way to accomplish this task?
Regards,
HY
Support log ID:

Why not just set up a BBT auto-export?

I'm not familiar with JavaScript. Although I've read the documentation here, but I still failed to figure out the JavaScript code corresponding to my above shell script.

I'm not familiar with JavaScript and TypeScript. Although I've read the documentation here, but I still failed to figure out the code corresponding to my above shell script.

No need for either of those. Export the collection/library you are interested in using the Better BibTeX or Better BibLaTeX exporter, and check the "keep updated" option. That export will then show up in the place you screenshotted above. From that point on, Zotero will just update the bib file whenever any of the items in that collection/library change/get added/deleted.

and check the "keep updated" option.

I can't find the above option:

You need to select "Better BibTeX", not "BibTeX", but in this screenshot the red message that would usually alert you to that fact is missing

which would indicate there is some kind of error preventing a proper load of BBT.

Thank you very much. Got it. As shown in the screenshot below:

This is a great feature, but I still want to know if there is a script-based way to enable/use it?

That the glee button doesn't show must be Linux-specific, I'll see gaat I can do about that.
Script-based in what sense? Shell script? What would you want to be able to do through shell scripting?

Can you test whether build 1284 shows the delete button for the auto-export?

Still failed to show the delete button for the auto-export:

Script-based in what sense? Shell script? What would you want to be able to do through shell scripting?

I mean more flexible control and communicate with BBT from within *nix CLI or Emacs.

What specifically do you want to be able to do? "More flexible" doesn't tell me what you are missing right now.  There's also a few JSON-RPC commands you can send BBT. If those two don't cover your needs, you are going to have to be more specific.
I'll get you a fix for that button missing later this afternoon when I get home.

What specifically do you want to be able to do?

I describe this requirement in detail as follows:
I use zotero-better-bibtex and also use eBib-Biblio based method as the bibliography database manipulation/building/management workflow with Emacs. For zotero-better-bibtex the bib(la)tex files are exported from zotero, while for ebib and biblio.el, the bib(la)tex files are created directly. Now, I want to let zotero-better-bibtex and ebib/biblio.el use the same bib(la)tex files with the following collaboration and interoperability:

When I modified the bib(la)tex files through ebib/biblio.el, they should be imported into the corresponding zotero collection library.
When I modified the zotero collection library, the corresponding bib(la)tex files should be updated immediately, which can be done by the feature discussed in this issue.
For the entries generated by ebib/biblio.el, use the citation key generation rule of BBT to maintain the consistency.

I'll get you a fix for that button missing later this afternoon when I get home.

Thank you very much for your wonderful work.

Another thing that really surprised me is it seems that zotero and BBT don't store their prefs in ~/.zotero/ or ~/Zotero/.

When I modified the bib(la)tex files through ebib/biblio.el, they should be imported into the corresponding zotero collection library.

This isn't really related to BBT, as import is a general Zotero functionality, which in turn calls BBT sometimes for doing the work of the import. You can invoke this by using the debug bridge to execute
await Zotero_File_Interface.importFile({ file: Zotero.File.pathToFile(path), createNewCollection: false })

You can't really "import into a collection"; what you can do is assign imported items to an existing collection after import. But I honestly doubt you want to do this. You will end up with more and more duplicates of items, as each import will import all items in the bib file as new, independent items.
If you're talking about bi-directional sync instead of import, that is not happening, as the bib file is not a good sync source.

When I modified the zotero collection library, the corresponding bib(la)tex files should be updated immediately, which can be done by the feature discussed in this issue.

OK, so nothing extra there.

For the entries generated by ebib/biblio.el, use the citation key generation rule of BBT to maintain the consistency.

I don't know what BBT could do for you here.

Another thing that surprised me is that Zotero and BBT don't seem to store their preferences in ~/.zotero/ or ~/Zotero/.

That is not related to the current issue(s), that is a general Zotero question. I know the answer (they are stored in the profile, not in the data dir), but the discussion of the why/how of that should be had with the Zotero developers.

That is not related to the current issue(s), that is a general Zotero question. I know the answer (they are stored in the profile, not in the data dir), but the discussion of the why/how of that should be had with the Zotero developers.

Thank you for letting me know the thinking direction of the problem.

If you're talking about bi-directional sync instead of import, that is not happening, as the bib file is not a good sync source.

Yes, that's what I think.

What Linux are you on? I can't replicate this on Ubuntu 20.04

Can you give build 1289 a go?

What Linux are you on? I can't replicate this on Ubuntu 20.04

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

Can you give build 1289 a go?

Still meet the same problem.

That's the same problem. Can you go into the Help menu, select Debug Output Logging, then Restart with logging enabled, let Zotero restart, then go into Preferences, BBT, Auto-export (which will show the button cut off), then back into the Help menu and select Send Better BibTeX Support log, and post the red ID you get here.

8DLRPQR8-apse

It seems the problem is caused by something wrong of my system. Now, I installed the Ubuntu 20.04.2 LTS, and the problem disappeared:
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal

I needed to overhaul the prefs screens anyway, so no worries.

Got it. The problem is caused by the larger interface text font size.
This will OK:

This will trigger the problem reported here:

Can you see if build 1315 works with the larger font size?

Yes. This version has a scroll bar which will do the trick:

I'

I'

What's your meaning?

I'll try to replicate this when I get back to my linux system. The vertical scrollbars shouldn't be necessary, and the horizontal ones may only be required for the filename.

I clicked on "comment" by accident before I finished my message.

This version fixes this problem and has no scrollbars

Superb. Is the fields for the target filename sensible qua length?

I'm not sure whether I understand you correctly. Anyway, see below:

That's sort of OK, but the window is still too wide. I'll see what I can do about that.

1318 may or may not solve the width problem, but the larger font may just always have this. The prefs pane module from Firefox (which Zotero is built on) has long-known resizing problems, and since Mozilla itself no longer use the prefs pane module, it is not going to be fixed by them. We're stuck with trying kludges and workarounds.

That's as good as it's going to get looks like.


Prevent query disabled plugin

This should address #64.

Coverage decreased (-1.4%) to 80.442% when pulling f0b79da88f7d1c266244c0177d0a64a70274de24 on prevent-query-disabled-plugin into de3ab5183b0094c6516ff86f7cb475d1e4d14d53 on develop.

Coverage decreased (-1.4%) to 80.442% when pulling c1eddb78c6c070a6e1f5d8d4ae441e71c5ce249d on prevent-query-disabled-plugin into de3ab5183b0094c6516ff86f7cb475d1e4d14d53 on develop.


[Bug / Docs]: PDO driver not supported

PHP Version
7.3, 7.4, 8.0, 8.1
CodeIgniter4 Version
4
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
macOS, Windows, Linux
Which server did you use?
apache
Database
MySQL
What happened?
In sequence of this issue https://github.com/codeigniter4/CodeIgniter4/issues/3922,
In the Docs > Databases >  'Database Configuration)' section as well as in 'Connect to Your Database' in 'Build Your First Application', should be mentioned that PDO driver is not supported.
Steps to Reproduce

Expected Output

Anything else?
No response

Why would you want to use pdo mysql over mysqli?
I have begun working on a PDO ODBC driver but it has a lot of work to do.

I sent a PR #6933

@sclubricants
PDO was created for a reason.
PDO base drives exist since php 5.1, why not use it?
Others frameworks use it, why not CI ?
@kenjis
English is not my native lang.
So i Think the text should be clear. Something like,  " PDO drivers base are not supported."
This should be clear in 3 places:

in requirements section
in Databases > 'Database Configuration' section
in 'Connect to Your Database' in 'Build Your First Application'

Thanks

We will accept your contributions. You could write PDO drivers and send PRs.

CodeIgniter is a community driven project and accepts contributions of code and documentation from the community. These contributions are made in the form of Issues or Pull Requests on the CodeIgniter4 repository on GitHub.
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/README.md

I think with PDO the code would be more clean and reusable.

If you say about your application code, no. Your code will hardly change.

I think my PR is sufficient.
It is clearly documented. It is obvious that PDO is not supported now.
*******************
Supported Databases
*******************

A database is required for most web application programming.
Currently supported databases are:

  - MySQL via the *MySQLi* driver (version 5.1 and above only)
  - PostgreSQL via the *Postgre* driver
  - SQLite3 via the *SQLite3* driver
  - MSSQL via the *SQLSRV* driver (version 2005 and above only)
  - Oracle via the *OCI8* driver (version 12.1 and above only)

@kenjis
if you think so, then  you can close the issue.
Thanks.


toggle playback

the "space"  toggle playback stop working in the last version but only on browser like chrome-brave-opera etc. on firefox is ok is any fix for that??
(when i play it on my site the page is go down and in the demo https://plyr.io/ is just dont do nothing but the K is ok)

@sampotts
please add space keyboard shortcut for pause / resume video playing

@sampotts any update??

Just use version 3.7.0 for now.
Tried to fork and re build with older ones, but required packages weren't installing

still this is not fixed on new version..

@sampotts still this is not fixed on new version..
I am using this as a work around till its fixed.

    (document.querySelector(".video__container") as HTMLDivElement).addEventListener("keydown", (e) => {
        if (e.key === " ") {
            e.preventDefault();
            (video.value as any).plyr.togglePlay();
        }
    });


Return from the goroutine if we fail to start the stream

This causes panics and lotsa flaky tests.
eg. https://github.com/knative/serving/issues/8725
/assign mattmoor @julz

There is already a PR open: https://github.com/knative/pkg/pull/1604

ah, didn't get that far yet in my emails
/close


CALL can take additional parameters

This is a valid Applesoft program. The tokenizer / verifier considers the CALL statement invalid. Detokenizing the file pulled from disk produces the correct BASIC code. This is decidedly a corner case and isn't called out in the Applesoft manuals that I can see. Examples are in chapters 16 and 17 of Assembly Lines https://archive.org/download/AssemblyLinesCompleteWagner/AssemblyLinesCompleteWagner.pdf
200 I = 100
210 FOR I = 0 TO 100
220 CALL 768,I,I
230 NEXT I

Trying to verify or tokenize this using a2kit get -f foo.A | a2kit verify -t atxt results in:
ERROR row 2 col 8
    220 CALL 768,I,I
Error: Syntax

0801 : 0B 08 C8 00 49 D0 31 30 30 00 18 08 D2 00 81 49 |+| ....I.100......I |-| ..H..P......R...
0811 : D0 30 C1 31 30 30 00 25 08 DC 00 8C 37 36 38 2C |+| .0.100.%....768, |-| P.A......\......
0821 : 49 2C 49 00 2C 08 E6 00 82 49 00 00 00 0A       |+| I,I.,....I....   |-| ......f.......

Thanks for this example, I was not aware of it, but I have thought about similar cases.  An important thing to realize is this depends on the called routine to do the "extra parsing."  That is, the interpreter doesn't (directly) parse the ,I,I.  Whoever wrote the code at address 768 does that.  It is much like an ampersand command.
The difficulty for a parser is that the syntax following the address is arbitrary, i.e., assembly programmers can make up whatever syntax they want.
I can think of a few courses one might take:

consider it an edge case and do nothing
support comma delimited expressions like in the example
treat CALL and & using the same parsing rules (& also has difficulties)
try to allow for something very arbitrary - but this begins to defeat the purpose of a language server


window:resize event name is not allowed

I have Directive and I want to add listener for window:resize event.
  @HostListener('window:resize')
  void onResize() {
    print('onResize');
  }

But it's generating an error in a template.
The event  is also not working when I'm adding ('window:resize')="onResize($event)" to my element.

See last bullet in https://github.com/dart-lang/angular2/blob/master/CHANGELOG.md#200-beta21
Angular2 for Dart doesn't support global event targets anymore this way. Use window.onResize.listen...) instead.

Thanks Günter. I've created WindowRef service to have an access to window object in my directive. It works fine just wondering if there is a better way to do it.

Not sure what you mean with WindowRef. dart:html is already an abstraction over the DOM, therefore there shouldn't be another abstraction necessary.

"window.onResize" : will change detection still work?

I don't think that's a problem in Dart (I know it is in TS in some browsers) worth checking though

Should work fine in Dart :)


IndexOutOfBoundsException on SQL Server and Stored procedure

Which version and edition of Flyway are you using?
6.5.5
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
CLI
Which database are you using (type & version)?
SQL Server 2017
Which operating system are you using?
Ubuntu for flyway and Windows Server for SQL Server
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)

Apply successful
What did you see instead?
ERROR: Unable to parse statement in ./R__GetServicePaymentStatus.sql at line 25 col 57. See https://flywaydb.org/documentation/knownparserlimitations for more information: Index -1 out of bounds for length 0
Caused by: java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0

Is this the entire contents of R__GetServicePaymentStatus.sql? Running the provided script through the parser does not produce an error.

Well, the original file isn't that, 'cause i rename the tables, columns and variables... but this is the real one.  We shall look into a fix.


After sign in, any access-token is valid with correct client

After signing in using email authentication the resulting client will work with any access token until there is a ~5 second gap between requests.
For example, if I sign in, grab the client from the header and quickly make a request with a bad access token, '123', I will be able to access any point that requires authentication for the next ~5 seconds. If I continue to repeatedly make calls to the api, this access will continue indefinitely.

Version: 1.1.3

Request and response headers: client, access-token, expiry, toke-type,

Rails Stacktrace: this can be found in the log/development.log of your API.

Environmental Info: Same as reference implementation

Routes: api/v1/auth, api/v1/resource

Gems: Default ruby <IP_ADDRESS> gems
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '2.7.1'
gem 'rails', '6.0.2', '>= <IP_ADDRESS>'
gem 'pg', '>= 0.18', '< 2.0'
gem 'puma', '4.1'
gem 'bootsnap', '>= 1.4.2', require: false
gem 'devise_token_auth'
gem 'rswag-api'
gem 'rswag-ui'
group :development, :test do
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'rspec-rails', '4.0.0'
gem 'rswag-specs'
end
group :development do
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'spring'
gem 'spring-watcher-listen', '2.0.0'
end
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Custom Overrides: None

Custom Frontend: None, just an API

Same here, also test from the documentation is failed (deny access to a restricted page with an incorrect token)
https://devise-token-auth.gitbook.io/devise-token-auth/usage/testing

@MaicolBen excuse me, any updates on such problem?

I cannot reproduce this error, can you tell me which endpoints is letting you in with an invalid token?

I've gone through and tried to reproduce the error myself and can't. @frolovdev any luck?


allow configureable smoke test password

CFv213 onwards allows for an optional password policy.
Service releases which use the cf-test-helpers suite should
be able to overwrite the suite's default password (meow) to
avoid failure.
Connected to cloudfoundry-incubator/cf-test-helpers#16

Hi @Callisto13 , thanks for the PR! We merged it as part of delivering the above story.


Push multi-arch docker image

Motivation
Feature parity with kserve and knative ref https://github.com/kserve/kserve/pull/2550#discussion_r1055222609
Fixes https://github.com/kserve/kserve/issues/2612
Modifications

Now runs test job on PR
Now pushes multi-arch docker images on push

Result
Can run on e.g. AWS graviton family instances (arm64)

/lgtm


[RESOLVED in mojo-app branch] sort preference isn't preserved on Back button

To repeat:

click "Updated" to sort by that column
scroll to the middle of the page
click a link to visit a module page
click back in the browser
see page sort by name

Perhaps use a #sort-col anchor, to avoid re-sorting?

This is resolved by the above commit and the Issue will be closed when the branch gets merged and goes live.


Move pass-journal-loader to pass-support and port it to the new framework

This is a command line tool that creates/updates journal objects in PASS.
Reads journals from a text or csv file downloaded from PMC or medline.
In order to search efficiently, the PASS journals are loaded into memory. This is probably reasonable given there are only around 30,000 journals. As an experiment could try to search pass instead and see how fast it is.
The existing code is fairly simple. It could become a single submodule of pass-support called pass-journal-loader. The ITs should just be in that module. See pass-support/pass-data-client for how it is doing ITs. We may want to consolidate all of the pass-support ITs into a separate integration testing module. Most of the work will be moving from the old pass client to the new pass-data-client.
The application should be manually tested against pass-core in addition to the integration tests.

Done. Just needs review


How to resume the dataset build process?

I had a little error in the middle of generating the data broke, due to the huge amount of data, tensorflow_dataset folder under the 70G of data has been generated (1.0.0.incompletePLFLVH) how to resume the process.

Hey, resuming is not straightforward unfortunately.
I have implemented a hacky version of this in the past here: https://github.com/JonathanYang0127/r2d2_rlds_dataset_builder/blob/af87e4ea8a2d4bd1707734ed71e35f47454e5b76/r2_d2/r2_d2.py#L45
But I wouldn't recommend and instead just regenerate from the start.


Add Portuguese (PT/BR) translation

Hey Jacob!
Thank you for your project! This helped my team a lot. We can now manage the DB without logging into CloudFlare itself and use the same session from Zero Trust.
Since we're a team of Portuguese speakers, I translated it so that we and others could use it.
Kind regards,
André Antunes

No problem :)
Keep up with your great work.
Regards