Is target server working directory cached?

Q
A

Issue Type
Question

Deployer Version
3.0.11

Local Machine OS
Ubuntu 14.04

Remote Machine OS
Ubuntu 14.04

Whenever I deploy, for some reason its grabbing an old copy of the working directory. I tried doing a manual pull down to the target server and it works fine, but the deploy seems to be grabbing a working copy with untracked files. Is a cached copy of repo maybe stored somewhere on the target server? Ive deleted the deploy_path files multiple times, and get same result everytime.
Content of deploy.php
desc('Artisan migrations');

task('hubot', function(){
    run('export SLACK_TOKEN= && echo "Just deployed code to example.com!" | slack-post --channel C0MXXXXX --username hubot chat.postMessage');
})->desc('Hubot told about deployment');

task('deploy', [
    'deploy:prepare',
    'deploy:release',
    'deploy:update_code',
    'deploy:shared',
    'deploy:writable',
    'deploy:vendors',
    'deploy:symlink',
    'migration',
    'cleanup',
])->desc('Deploy your project');

after('deploy', 'success');

server('prod', 'xxx.xxx.xxx.xxx', 22)
    ->user('user')
    ->forwardAgent() // You can use identity key, ssh config, or username/password to auth on the server.
    ->stage('production')
    ->env('deploy_path', '/var/www/example.com'); // Define the base path to deploy your project to.

server('prod', 'xxx.xxx.xxx.xxx', 22)
    ->user('user')
    ->forwardAgent() // You can use identity key, ssh config, or username/password to auth on the server.
    ->stage('staging')
    ->env('deploy_path', '/var/www/staging.example.com'); // Define the base path to deploy your project to.

set('repository', 'git@github.com:organisation/repo.git');

Try to do it your self on server.

@elfet: please explain what you mean by "try do it yourself". Do what?
Running into the same issue, though I suspect it's more apache/filesystem related than a deployer problem.

Please, provide output of dep deply -vvv.

I could pull the code down successfully from github on the server. No issues. Here is the verbose output.
/home/me/dev/portal [git::master] [me@orion] [16:40]

dep deploy prod -vvv
➤ Executing task deploy:prepare
⤷ on [prod]
Run: echo $0
zsh

Run: if [ ! -d /var/www/mysite.com ]; then mkdir -p /var/www/mysite.com; fi
Run: cd /var/www/mysite.com && if [ ! -d releases ]; then mkdir releases; fi
Run: cd /var/www/mysite.com && if [ ! -d shared ]; then mkdir shared; fi
⤶ done on [prod]
✔ Ok
➤ Executing task deploy:release
⤷ on [prod]
Run: mkdir /var/www/mysite.com/releases/20160322204128
Run: cd /var/www/mysite.com && if [ -h release ]; then rm release; fi
Run: ln -s /var/www/mysite.com/releases/20160322204128 /var/www/mysite.com/release
⤶ done on [prod]
✔ Ok
➤ Executing task deploy:update_code
⤷ on [prod]
Run: git version

git version 1.9.1

Run: ls /var/www/mysite.com/releases

20160322204128

Run: readlink /var/www/mysite.com/release

/var/www/mysite.com/releases/20160322204128

Run: git clone  --depth 1 --recursive -q git@github.com:foundational-eb/portal.git /var/www/mysite.com/releases/20160322204128 2>&1
⤶ done on [prod]
✔ Ok
➤ Executing task deploy:shared
⤷ on [prod]
Run: if [ -d $(echo /var/www/mysite.com/releases/20160322204128/storage/app) ]; then rm -rf /var/www/mysite.com/releases/20160322204128/storage/app; fi
Run: mkdir -p /var/www/mysite.com/shared/storage/app
Run: mkdir -p dirname /var/www/mysite.com/releases/20160322204128/storage/app
Run: ln -nfs /var/www/mysite.com/shared/storage/app /var/www/mysite.com/releases/20160322204128/storage/app
Run: if [ -d $(echo /var/www/mysite.com/releases/20160322204128/storage/framework/cache) ]; then rm -rf /var/www/mysite.com/releases/20160322204128/storage/framework/cache; fi
Run: mkdir -p /var/www/mysite.com/shared/storage/framework/cache
Run: mkdir -p dirname /var/www/mysite.com/releases/20160322204128/storage/framework/cache
Run: ln -nfs /var/www/mysite.com/shared/storage/framework/cache /var/www/mysite.com/releases/20160322204128/storage/framework/cache
Run: if [ -d $(echo /var/www/mysite.com/releases/20160322204128/storage/framework/sessions) ]; then rm -rf /var/www/mysite.com/releases/20160322204128/storage/framework/sessions; fi
Run: mkdir -p /var/www/mysite.com/shared/storage/framework/sessions
Run: mkdir -p dirname /var/www/mysite.com/releases/20160322204128/storage/framework/sessions
Run: ln -nfs /var/www/mysite.com/shared/storage/framework/sessions /var/www/mysite.com/releases/20160322204128/storage/framework/sessions
Run: if [ -d $(echo /var/www/mysite.com/releases/20160322204128/storage/framework/views) ]; then rm -rf /var/www/mysite.com/releases/20160322204128/storage/framework/views; fi
Run: mkdir -p /var/www/mysite.com/shared/storage/framework/views
Run: mkdir -p dirname /var/www/mysite.com/releases/20160322204128/storage/framework/views
Run: ln -nfs /var/www/mysite.com/shared/storage/framework/views /var/www/mysite.com/releases/20160322204128/storage/framework/views
Run: if [ -d $(echo /var/www/mysite.com/releases/20160322204128/storage/logs) ]; then rm -rf /var/www/mysite.com/releases/20160322204128/storage/logs; fi
Run: mkdir -p /var/www/mysite.com/shared/storage/logs
Run: mkdir -p dirname /var/www/mysite.com/releases/20160322204128/storage/logs
Run: ln -nfs /var/www/mysite.com/shared/storage/logs /var/www/mysite.com/releases/20160322204128/storage/logs
Run: if [ -f $(echo /var/www/mysite.com/releases/20160322204128/.env) ]; then rm -rf /var/www/mysite.com/releases/20160322204128/.env; fi
Run: if [ ! -d $(echo /var/www/mysite.com/releases/20160322204128/.) ]; then mkdir -p /var/www/mysite.com/releases/20160322204128/.;fi
Run: mkdir -p /var/www/mysite.com/shared/.
Run: touch /var/www/mysite.com/shared/.env
Run: ln -nfs /var/www/mysite.com/shared/.env /var/www/mysite.com/releases/20160322204128/.env
⤶ done on [prod]
✔ Ok
➤ Executing task deploy:writable
⤷ on [prod]
Run: ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1

www-data

Run: cd /var/www/mysite.com/releases/20160322204128 && chmod 2>&1; true

chmod: missing operand
Try 'chmod --help' for more information.

Run: cd /var/www/mysite.com/releases/20160322204128 && if hash setfacl 2>/dev/null; then echo 'true'; fi
Run: cd /var/www/mysite.com/releases/20160322204128 && sudo chmod 777 -R bootstrap/cache storage
⤶ done on [prod]
✔ Ok
➤ Executing task deploy:vendors
⤷ on [prod]
Run: if hash composer 2>/dev/null; then echo 'true'; fi

true

Run: cd /var/www/mysite.com/releases/20160322204128 &&  composer install --no-dev --verbose --prefer-dist --optimize-autoloader --no-progress --no-interaction

Loading composer repositories with package information
Installing dependencies from lock file
Analyzed 101 packages to resolve dependencies
Analyzed 188 rules to resolve dependencies

Installing symfony/finder (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/polyfill-mbstring (v1.1.0)
Loading from cache
Extracting archive

Installing symfony/var-dumper (v3.0.2)
Loading from cache
Extracting archive

Installing psr/log (1.0.0)
Loading from cache
Extracting archive

Installing maximebf/debugbar (v1.11.1)
Loading from cache
Extracting archive

Installing vlucas/phpdotenv (v2.2.0)
Loading from cache
Extracting archive

Installing symfony/translation (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/routing (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/process (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/polyfill-util (v1.1.0)
Loading from cache
Extracting archive

Installing symfony/polyfill-php56 (v1.1.0)
Loading from cache
Extracting archive

Installing symfony/http-foundation (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/event-dispatcher (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/debug (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/http-kernel (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/console (v3.0.2)
Loading from cache
Extracting archive

Installing swiftmailer/swiftmailer (v5.4.1)
Loading from cache
Extracting archive

Installing nikic/php-parser (v2.0.0)
Loading from cache
Extracting archive

Installing jakub-onderka/php-console-color (0.1)
Loading from cache
Extracting archive

Installing jakub-onderka/php-console-highlighter (v0.3.2)
Loading from cache
Extracting archive

Installing dnoegel/php-xdg-base-dir (0.1)
Loading from cache
Extracting archive

Installing psy/psysh (v0.6.1)
Loading from cache
Extracting archive

Installing paragonie/random_compat (1.1.6)
Loading from cache
Extracting archive

Installing nesbot/carbon (1.21.0)
Loading from cache
Extracting archive

Installing mtdowling/cron-expression (v1.1.0)
Loading from cache
Extracting archive

Installing monolog/monolog (1.17.2)
Loading from cache
Extracting archive

Installing league/flysystem (1.0.16)
Loading from cache
Extracting archive

Installing jeremeamia/superclosure (2.2.0)
Loading from cache
Extracting archive

Installing doctrine/inflector (v1.1.0)
Loading from cache
Extracting archive

Installing classpreloader/classpreloader (3.0.0)
Loading from cache
Extracting archive

Installing laravel/framework (v5.2.14)
Loading from cache
Extracting archive

Installing barryvdh/laravel-debugbar (v2.2.0)
Loading from cache
Extracting archive

Installing psr/http-message (1.0)
Loading from cache
Extracting archive

Installing guzzlehttp/psr7 (1.2.3)
Loading from cache
Extracting archive

Installing guzzlehttp/promises (1.1.0)
Loading from cache
Extracting archive

Installing guzzlehttp/guzzle (6.1.1)
Loading from cache
Extracting archive

Generating optimized autoload files

post-install-cmd: php artisan clear-compiled
post-install-cmd: php artisan optimize
Generating optimized class loader

⤶ done on [prod]
✔ Ok
➤ Executing task deploy:symlink
⤷ on [prod]
Run: cd /var/www/mysite.com && ln -sfn /var/www/mysite.com/releases/20160322204128 current
Run: cd /var/www/mysite.com && rm release
⤶ done on [prod]
✔ Ok
➤ Executing task migration
⤷ on [prod]
Run: php /var/www/mysite.com/releases/20160322204128/artisan migrate --force

Nothing to migrate.

⤶ done on [prod]
✔ Ok
➤ Executing task cleanup
⤷ on [prod]
Run: cd /var/www/mysite.com && if [ -e release ]; then rm release; fi
Run: cd /var/www/mysite.com && if [ -h release ]; then rm release; fi
⤶ done on [prod]
✔ Ok
➤ Executing task success
Successfully deployed!
✔ Ok

What happens if you try to do it your self:
git clone --depth 1 --recursive -q git@github.com:foundational-eb/portal.git /var/www/mysite.com/releases/20160322204128

it looks fine. "nothing to commit, working directory clean"

Try to add into deploy.php next line:
env('git_cache', false);

DIdnt help.
home/me/dev/portal [git::master] [me@orion] [9:40]

dep deploy staging -vvv
➤ Executing task deploy:prepare
⤷ on [staging]
Run: echo $0
zsh

Run: if [ ! -d /var/www/staging.mysite.com ]; then mkdir -p /var/www/staging.mysite.com; fi
Run: cd /var/www/staging.mysite.com && if [ ! -d releases ]; then mkdir releases; fi
Run: cd /var/www/staging.mysite.com && if [ ! -d shared ]; then mkdir shared; fi
⤶ done on [staging]
✔ Ok
➤ Executing task deploy:release
⤷ on [staging]
Run: mkdir /var/www/staging.mysite.com/releases/20160323134106
Run: cd /var/www/staging.mysite.com && if [ -h release ]; then rm release; fi
Run: ln -s /var/www/staging.mysite.com/releases/20160323134106 /var/www/staging.mysite.com/release
⤶ done on [staging]
✔ Ok
➤ Executing task deploy:update_code
⤷ on [staging]
Run: ls /var/www/staging.mysite.com/releases

20160323134106

Run: readlink /var/www/staging.mysite.com/release

/var/www/staging.mysite.com/releases/20160323134106

Run: git clone  --depth 1 --recursive -q git@github.com:site-eb/portal.git /var/www/staging.mysite.com/releases/20160323134106 2>&1
⤶ done on [staging]
✔ Ok
➤ Executing task deploy:shared
⤷ on [staging]
Run: if [ -d $(echo /var/www/staging.mysite.com/releases/20160323134106/storage/app) ]; then rm -rf /var/www/staging.mysite.com/releases/20160323134106/storage/app; fi
Run: mkdir -p /var/www/staging.mysite.com/shared/storage/app
Run: mkdir -p dirname /var/www/staging.mysite.com/releases/20160323134106/storage/app
Run: ln -nfs /var/www/staging.mysite.com/shared/storage/app /var/www/staging.mysite.com/releases/20160323134106/storage/app
Run: if [ -d $(echo /var/www/staging.mysite.com/releases/20160323134106/storage/framework/cache) ]; then rm -rf /var/www/staging.mysite.com/releases/20160323134106/storage/framework/cache; fi
Run: mkdir -p /var/www/staging.mysite.com/shared/storage/framework/cache
Run: mkdir -p dirname /var/www/staging.mysite.com/releases/20160323134106/storage/framework/cache
Run: ln -nfs /var/www/staging.mysite.com/shared/storage/framework/cache /var/www/staging.mysite.com/releases/20160323134106/storage/framework/cache
Run: if [ -d $(echo /var/www/staging.mysite.com/releases/20160323134106/storage/framework/sessions) ]; then rm -rf /var/www/staging.mysite.com/releases/20160323134106/storage/framework/sessions; fi
Run: mkdir -p /var/www/staging.mysite.com/shared/storage/framework/sessions
Run: mkdir -p dirname /var/www/staging.mysite.com/releases/20160323134106/storage/framework/sessions
Run: ln -nfs /var/www/staging.mysite.com/shared/storage/framework/sessions /var/www/staging.mysite.com/releases/20160323134106/storage/framework/sessions
Run: if [ -d $(echo /var/www/staging.mysite.com/releases/20160323134106/storage/framework/views) ]; then rm -rf /var/www/staging.mysite.com/releases/20160323134106/storage/framework/views; fi
Run: mkdir -p /var/www/staging.mysite.com/shared/storage/framework/views
Run: mkdir -p dirname /var/www/staging.mysite.com/releases/20160323134106/storage/framework/views
Run: ln -nfs /var/www/staging.mysite.com/shared/storage/framework/views /var/www/staging.mysite.com/releases/20160323134106/storage/framework/views
Run: if [ -d $(echo /var/www/staging.mysite.com/releases/20160323134106/storage/logs) ]; then rm -rf /var/www/staging.mysite.com/releases/20160323134106/storage/logs; fi
Run: mkdir -p /var/www/staging.mysite.com/shared/storage/logs
Run: mkdir -p dirname /var/www/staging.mysite.com/releases/20160323134106/storage/logs
Run: ln -nfs /var/www/staging.mysite.com/shared/storage/logs /var/www/staging.mysite.com/releases/20160323134106/storage/logs
Run: if [ -f $(echo /var/www/staging.mysite.com/releases/20160323134106/.env) ]; then rm -rf /var/www/staging.mysite.com/releases/20160323134106/.env; fi
Run: if [ ! -d $(echo /var/www/staging.mysite.com/releases/20160323134106/.) ]; then mkdir -p /var/www/staging.mysite.com/releases/20160323134106/.;fi
Run: mkdir -p /var/www/staging.mysite.com/shared/.
Run: touch /var/www/staging.mysite.com/shared/.env
Run: ln -nfs /var/www/staging.mysite.com/shared/.env /var/www/staging.mysite.com/releases/20160323134106/.env
⤶ done on [staging]
✔ Ok
➤ Executing task deploy:writable
⤷ on [staging]
Run: ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1

www-data

Run: cd /var/www/staging.mysite.com/releases/20160323134106 && chmod 2>&1; true

chmod: missing operand
Try 'chmod --help' for more information.

Run: cd /var/www/staging.mysite.com/releases/20160323134106 && if hash setfacl 2>/dev/null; then echo 'true'; fi
Run: cd /var/www/staging.mysite.com/releases/20160323134106 && sudo chmod 777 -R bootstrap/cache storage
⤶ done on [staging]
✔ Ok
➤ Executing task deploy:vendors
⤷ on [staging]
Run: if hash composer 2>/dev/null; then echo 'true'; fi

true

Run: cd /var/www/staging.mysite.com/releases/20160323134106 &&  composer install --no-dev --verbose --prefer-dist --optimize-autoloader --no-progress --no-interaction

Loading composer repositories with package information
Installing dependencies from lock file
Analyzed 101 packages to resolve dependencies
Analyzed 188 rules to resolve dependencies

Installing symfony/finder (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/polyfill-mbstring (v1.1.0)
Loading from cache
Extracting archive

Installing symfony/var-dumper (v3.0.2)
Loading from cache
Extracting archive

Installing psr/log (1.0.0)
Loading from cache
Extracting archive

Installing maximebf/debugbar (v1.11.1)
Loading from cache
Extracting archive

Installing vlucas/phpdotenv (v2.2.0)
Loading from cache
Extracting archive

Installing symfony/translation (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/routing (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/process (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/polyfill-util (v1.1.0)
Loading from cache
Extracting archive

Installing symfony/polyfill-php56 (v1.1.0)
Loading from cache
Extracting archive

Installing symfony/http-foundation (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/event-dispatcher (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/debug (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/http-kernel (v3.0.2)
Loading from cache
Extracting archive

Installing symfony/console (v3.0.2)
Loading from cache
Extracting archive

Installing swiftmailer/swiftmailer (v5.4.1)
Loading from cache
Extracting archive

Installing nikic/php-parser (v2.0.0)
Loading from cache
Extracting archive

Installing jakub-onderka/php-console-color (0.1)
Loading from cache
Extracting archive

Installing jakub-onderka/php-console-highlighter (v0.3.2)
Loading from cache
Extracting archive

Installing dnoegel/php-xdg-base-dir (0.1)
Loading from cache
Extracting archive

Installing psy/psysh (v0.6.1)
Loading from cache
Extracting archive

Installing paragonie/random_compat (1.1.6)
Loading from cache
Extracting archive

Installing nesbot/carbon (1.21.0)
Loading from cache
Extracting archive

Installing mtdowling/cron-expression (v1.1.0)
Loading from cache
Extracting archive

Installing monolog/monolog (1.17.2)
Loading from cache
Extracting archive

Installing league/flysystem (1.0.16)
Loading from cache
Extracting archive

Installing jeremeamia/superclosure (2.2.0)
Loading from cache
Extracting archive

Installing doctrine/inflector (v1.1.0)
Loading from cache
Extracting archive

Installing classpreloader/classpreloader (3.0.0)
Loading from cache
Extracting archive

Installing laravel/framework (v5.2.14)
Loading from cache
Extracting archive

Installing barryvdh/laravel-debugbar (v2.2.0)
Loading from cache
Extracting archive

Installing psr/http-message (1.0)
Loading from cache
Extracting archive

Installing guzzlehttp/psr7 (1.2.3)
Loading from cache
Extracting archive

Installing guzzlehttp/promises (1.1.0)
Loading from cache
Extracting archive

Installing guzzlehttp/guzzle (6.1.1)
Loading from cache
Extracting archive

Generating optimized autoload files

post-install-cmd: php artisan clear-compiled
post-install-cmd: php artisan optimize
Generating optimized class loader

⤶ done on [staging]
✔ Ok
➤ Executing task deploy:symlink
⤷ on [staging]
Run: cd /var/www/staging.mysite.com && ln -sfn /var/www/staging.mysite.com/releases/20160323134106 current
Run: cd /var/www/staging.mysite.com && rm release
⤶ done on [staging]
✔ Ok
➤ Executing task migration
⤷ on [staging]
Run: php /var/www/staging.mysite.com/releases/20160323134106/artisan migrate --force

Nothing to migrate.

⤶ done on [staging]
✔ Ok
➤ Executing task cleanup
⤷ on [staging]
Run: cd /var/www/staging.mysite.com && if [ -e release ]; then rm release; fi
Run: cd /var/www/staging.mysite.com && if [ -h release ]; then rm release; fi
⤶ done on [staging]
✔ Ok
➤ Executing task success
Successfully deployed!
✔ Ok
Still get following in /current/
Storage is in shared folder.
deleted:    storage/app/.gitignore
modified:   storage/debugbar/.gitignore
deleted:    storage/framework/cache/.gitignore
deleted:    storage/framework/sessions/.gitignore
deleted:    storage/framework/views/.gitignore
deleted:    storage/logs/.gitignore
Untracked files:
(use "git add ..." to include in what will be committed)
storage/app
storage/framework/cache
storage/framework/sessions
storage/framework/views
storage/logs


qf window width is changed after quickfixtextfunc is called

Neovim version (nvim -v | head -n1)
NVIM v0.10.0-dev-1768+gc48f94d1f-Homebrew
Operating system/version
macOS 13.4
How to reproduce the issue

Open two window side by side
Open quickfix window
Window width inside quickfixtextfunc is less than the final window width of the quickfix window.

Expected behavior
Should be able to get the final quickfix window width reliably inside quickfixtextfunc function.
Actual behavior
https://github.com/kevinhwang91/nvim-bqf/blob/1276701ed0216b94d7919d5c07845dcdf05fbde5/lua/bqf/layout.lua#L28
This changes the width of the quickfix window after quickfixtextfunc is called. So if I want to format the quickfix items based on the available window width, it isn't possible anymore.

Run bel copen instead of copen. Without bel,  the position of qf window is buggy. You can disable bqf and try again.

Without bel, the position of qf window is buggy

What do you mean by "buggy"? 🤔 Is it that it's opened below the current window? Isn't that the default behavior? https://github.com/neovim/neovim/blob/780ab11b90119fb9b91d3266d6eef459228edc9a/src/nvim/quickfix.c#L3643-L3643

Two windows, one is left, another is right. Run copen under left window.


DuckDB relation failing as Python model return type

When returning a DuckDB relation as a return type for my python model I get an error stating that the dataframe cannot be found
Catalog Error: Table with name df does not exist! Did you mean "pg_depend"? LINE 1: ... my_transform__dbt_tmp" as select * from df

However, after converting the relation to a pandas dataframe or arrow table, things work as expected. My assumption is there's something wrong with the DuckDB connection which closes the relation, or the relation being out of scope. Any tips here?

Hey @Soloniss, apologies for the lag here-- I tried to play with this a bit and I couldn't reproduce it locally, but then I promptly got busy with some non-DuckDB work stuff and forgot to post about it. Is there any easy way to repro this that you've come across? I have a couple of functional tests that exercise variations of the scenario you described and they all work AFAICT, but if I've missed something I would very much like to fix it: https://github.com/duckdb/dbt-duckdb/blob/master/tests/functional/adapter/test_python_model.py#L116


Augment documentation with a few more use cases, examples

Would it be possible (as time permits, naturally) to add additional examples or use cases to the online documentation.  At present, there is a "Basic usage" section, which gets one up and going, and a full "Reference" section.
It would be nice to have a full (i.e., complete) example of using tsrc to

populate a workspace consisting of multiple repos,
tagging and/or branching (establishing a common tag/branch name across multiple repos),
switching branches, and
committing changes (although I don't know if tsrc is intended for that purpose or if commits and pushes are intended to just use git directly).

To provide a little more context...
At work, I've only recently switched into a group that is using git.  Previously, I used git to maintain my own code even though the company was making use of a different tool.  (So, it was set of fairly lonely repositories with only a single contributor!)
My new group typically has workspaces that each consists of files from 3 distinct repos, each cloned into distinct directories:

testbench code for an ASIC/FPGA design (forms the top-level directory)
the SystemVerilog code for the design (under that top-level directory, cleverly-named design)
library code for the testbench (in yet another directory beneath the top-level)

So, an example workspace would have a structure like
project1-tb
project1-tb/design
project1-tb/library
(The top-level directory has contents other than design/ and library/, but those are all part of that testbench repository.)
Thus far, they've been content creating new workspaces via manually-invoked git clone commands, with dispersed group knowledge of what branches of, say, the library a given testbench needs.  As the "new guy", I naturally stumbled over this, pulling the wrong branch of things and getting quite confused where I was supposed to find certain code.
There is also currently no general, automated mechanism by which scripts can pull / create a workspace (for, say, running regression tests on the design).
I think tsrc could be a useful tool for my team, even though it involves a little bit of change.  (Normally, the testbench directory inherently forms the start of a new workspace.  I think the manifest approach adds another directory, although I think I saw a feature request for cloning into "." and using relative paths for subdirectories?)
So, I'm trying to understand the intended use models for tsrc.  Some more complete online examples would also serve as good starting points when I try to introduce tsrc to the team.
Thanks for making tsrc available, BTW!

Thus far, they've been content creating new workspaces via manually-invoked git clone commands, with dispersed group knowledge of what branches of, say, the library a given testbench needs. As the "new guy", I naturally stumbled over this, pulling the wrong branch of things and getting quite confused where I was supposed to find certain code.

Good news: this is exactly the type of problems tsrc is trying to solve :)

I think I saw a feature request for cloning into "." and using relative paths for subdirectories?)

Yeah .. don't do that unless you have to. It was not a really good example.

It would be nice to have a full (i.e., complete) example of using tsrc to [...]

Good idea. I think a "use cases" section in the doc would be useful indeed. Thanks for the suggestion :)

Some guides we could write

Setup tsrc
Using groups
Using several manifest branches
Selecting repos with --all-cloned or --groups
How to edit <workspace>/.tsrc/config.yml
...

This project has moved. Your issue can be found at : https://gitlab.com/tsrc2/tsrc/-/issues/238

This project has moved. Your issue can be found at : https://gitlab.com/tsrc2/tsrc/-/issues/238


Replace on-template Evolve choice with a Rule (for swaps/bonds)

Fixes https://github.com/digital-asset/daml-finance/issues/383

Just wondering, now that we have the new interface, it is maybe possible to get rid of the IsBond t type-class in some of the helper functions?

The IsBond t type-class wasn't used at all anymore, so I have remove it now.


feat(logs): Attach an empty log page when opening the app

Attach an empty log page when opening the app
Reformat code
Resize icon

when we open MQTTX, the log system will create a new log file to record your operation instead of reading from the newest log file from ${APP_DATA_PATH}/logs/${newest_log_file}

The next step needs to be done:

Bury the log
Optimize log stream


ENH: new_type arguments for top-level function

we need new_type arguments for all pertinent top-level functions, e.g.

[x] cogent3.get_code()
[x] cogent3.get_moltype()
[x] cogent3.make_seq()
[ ] etc..

Additionally, these should support being set by an environment variable

fixed in #1928


$BUILDKITE_JOB_ID not substituted in artifact upload destination

The docs here: https://buildkite.com/docs/agent/build-artifacts say that I should set the upload destination as follows:
export BUILDKITE_ARTIFACT_UPLOAD_DESTINATION=s3://name-of-your-s3-bucket/$BUILDKITE_JOB_ID

However, the $BUILDKITE_JOB_ID is not substituted, so I end up with urls with the literal string $BUILDKITE_JOB_ID in the path.  This results in all artifacts for all builds ending up in the same directory in S3.

Hey Ray! Where abouts are you doing that export?

In my ECS task definition for the container
On Tue, 22 Dec 2015 at 15:02 Keith Pitt<EMAIL_ADDRESS>wrote:

Hey Ray! Where abouts are you doing that export?
—
Reply to this email directly or view it on GitHub
https://github.com/buildkite/agent/issues/222#issuecomment-166500111.

Ah! You need to put it in an agent hook - usually the 'environment' one works pretty well.

This is related to buildkite/feedback#152 — going to close this one here


[BUG] Tags Not Sending to Firebase Database

I'm having an issue with the tags not being sent to the Firebase database. When I try to view the project details on the "View Project" page, the tags are not being displayed and are instead showing as "undefined." I believe the problem is in the code for sending the tags to the database, but I'm not sure how to resolve it. Can someone help me figure out what's going wrong and how to fix it? Thank you in advance!

I have sent a pull request regarding this issue. The values for the label tags were wrong. Also, the boolean condition to check the checkbox was incorrect. Let me know if you face any problems.

Thank you sir ! Reviewed and merged.


Bandpass downloads from stsci not working

Is it possible that the throughput website was updated recently? The urls in builtins.py for ACS & WFC3 bandpasses point to webpages without the data available causing it to download the webpage instead of the tables.
It looks like the tables are located in zip files here, so maybe be best to just host these on sncosmo.github.io?

Thanks for reporting! I've been traveling and won't be back with my laptop for a while. If someone is interested in giving this sooner, you could submit a PR to sncosmo/sncosmo.github.io adding the data files in the appropriate place under the data/filters directory and updating the redirects.json file to remove the redirects to the STScI site for the filters.
Alternatively, if anyone knows where they are moved to, we could just change the redirect address.

WFC3 filters should be fixed by the pull requests above, ACS WFC filters still won't work, until someone can find the throughput tables.

Hopefully fixed now. :crossed_fingers: Please check that it works for you!


building on own infrastructure is using the wrong port for loading the js bundle

What am I trying to accomplish?
A bare workflow build with a physical device as target in order to develop the IAP integration.

The command I'm using is:
eas build --platform ios --profile dev --local
my eas.json looks like this
{
  "builds": {
    "android": {
      "release": {
        "workflow": "managed"
      }
    },
    "ios": {
      "dev": {
        "distribution": "internal",
        "workflow": "generic",
        "credentialsSource": "local",
        "schemeBuildConfiguration": "Debug",
        "env": {
          "ENVIRONMENT": "dev",
          "RCT_METRO_PORT": "19000"
        }
      },
    }
  }
}

Even though I specify the RCT_METRO_PORT to be the same as the port expo start uses.
I also tried to build using the remote eas build service but with luck as the app crashes on the launch screen.
Quick Solution
The solution for now is to develop using RCT_METRO_PORT=8081 react-native start.
Real solution
Provide the same configuration to the eas build as the one used for the expo start in order to maintain consistency.

it sounds like your concern is that building locally the env var isn't being set? does the "ENVIRONMENT": "dev" env var have the expected side effect for you?

@brentvatne "...building locally the env var isn't being set?..." Not quite.
The variables present in the "env" key are set correctly inside the app but they might not be correctly forwarded to the adequate processes that actually build app during the multi step phase that take place when building the app.

envs are passed to gradlew call correctly if they are not passed further to the packager then you need to handle that in your native project config
for a managed project, development-client is a recommended approach (you can also use it in bare projects, but you would need to configure your project to support that) https://docs.expo.io/clients/introduction/


[Feature]: add ignore missing to text chunking processor

Description
Adds ignore missing field to text chunking processor
Issues Resolved
Closes:
opensearch-project/neural-search#906
opensearch-project/neural-search#907
Version
2.18.0
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@kolchfa-aws This PR is for since 2.18.

The PR: https://github.com/opensearch-project/neural-search/pull/907 is still under review. Please merge this PR after the PR gets merged.

We can merge this now. opensearch-project/neural-search/pull/907 is now merged
@kolchfa-aws

Pinging @kolchfa-aws and @natebower for review.


how to use this with the icon?

I don't understand what did you mean by that?

I mean, i wanna have the gradient colors inside the Icon,
example: i wanna have Red + blue for Icon color

This module works only with text, everything else is not supported.


Add Bloop scripted integration

I'd like to add upstream this tiny bloop scripted integration that extends the
zinc scripted infrastructure to be able to run it with bloop.
These are the benefits of running it with bloop:

Faster turnaround time and startup.
No need to publish jars before running.
Small maintenance cost.

This script still needs to be tweaked so that we can test different compiler
bridges at the same time. I think this is possible and I'd like to make this
change in a future PR.
Since @Duhemm and I hack on Zinc, we'd like to merge this upstream because
we believe it gives value to future contributors. We take ownership of it and
are happy to maintain it as bloop evolves.

To validate this pull request against other sbt modules, please visit this link.


Maximizing minimized client is broken

This is blocked by JDK-8087997

This got fixed in https://bugs.openjdk.java.net/browse/JDK-8166677


[Feature Request]: Send App Service logs to Blob Storage with sasUrl

Description
There should be an option for enabling the App Service logs and sending to the Blob Storage with sasUrl. The related Bicep file is https://github.com/Azure/ResourceModules/blob/main/modules/web/sites/main.bicep

Hey @tsc-buddy ,
I just migrated this issue over from CARML. Please take a look and triage if still relevant :)

Hi There - Thanks for logging this issue. We shall triage this wc 15th July.

Hi - There is a new submodule for use that allows this now. Thanks All.


Boleto Bancário payment not working for Brazil.

I am integrating the SDK for android for brazil. Credit cards payments are working fine but when i try with Boleto Bancário payment then It is throwing an error
ERROR
ApiException{cause=[Cause{code='7521', description='To generate a registered boleto the following parameters are required: payer.address.zip_code , payer.address.street_name , payer.address.street_number , payer.address.neighborhood , payer.address.city , payer.address.federal_unit'}], error='bad_request', message='To generate a registered boleto the following parameters are required: payer.address.zip_code , payer.address.street_name , payer.address.street_number , payer.address.neighborhood , payer.address.city , payer.address.federal_unit', status=400}
But I am sending all details in Body for creating preference ID:
Body:
{
"items": [
{
"title": "Test",
"quantity": 1,
"currency_id": "BRL",
"unit_price": 10
}
],
"payer": {
"email"<EMAIL_ADDRESS>"address": {
"street_number": 259,
"street_name":"Av. Beira Mar",
"zip_code":"40420340",
"city":"Salvador",
"federal_unit":"BA",
"neighborhood":"Ribeira"
}
}
}
Any help will be appreciated
Thanks.

Hi there @imjaspreet ,
Which version of our lib are you using?

Hi there, this is the minimum amount of data to post a payment needed by mercadopago.
Anyway, if you can provide us which version are you using and if it's just a post or the complete checkout flow will be great.
"payer": {
"first_name": "Test",
"last_name": "Test",
"identification": {
          "type": "CPF",
          "number": "XXX333333"
      }
}

Please, if you still having issues please provide us more info. We will close this issue by the time being.


Follow us links missing on footer

There is only one link to News; the others have gone.

Dealing with this on Systemwide


stuck with installation

I am not a django developer, but really keen to use this project for a ideation initiative. I have been trying to set this up for last 2 days and getting lost in the dependency maze and other issues. There is not much support for the required version either.
Can someone please provide some steps/script or a Dockerfile to get a working version of this promising tool.
thanks.

nevermind, figured it out.


Feature/push handler

This adds generic event handler support for github push events.  Comment actions are collapsed to just the result summary which is added to commits in the push.

:tada: This PR is included in version 4.11.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


using with the require hook

i noticed that if i use this or istanbul with babel's require hook, it does not report the coverage correctly. http://babeljs.io/docs/usage/require/
do you know how to get around that?

I always run tests with babel-node instead of node, which manages the require hook automatically. I think it ultimately has to do with multiple processes and how istanbul handles those. What is your test command?

ah i c. i'm reluctant to use babel-node because it makes all the test commands a little more confusing, and i'd prefer to just one day remove the require hook vs. rewriting all the test commands.
currently, this is what i have, which worked until i used the node require hook.
{
  "scripts": {
    "test": "./bin/reseed && NODE_ENV=test mocha lib/__tests/index.js server/__tests/index.js",
    "test-cov": "./bin/reseed && NODE_ENV=test istanbul cover node_modules/mocha/bin/_mocha -- lib/__tests/index.js server/__tests/index.js"
  }
}

do you mind adding your test commands to the readme? that would be super helpful.

sidenote: would be nice if you did babel: '^6.0.0' as there are various bugs in 6.0 that were fixed in 6.1. https://github.com/ambitioninc/babel-istanbul/blob/c58405488ed18ca4fe2c72bf0fa403f6444a9f4e/package.json#L91

I'll bump babel. I haven't published any test commands because everyone is going to have a different setup. Each person needs to understand their test requirements and how each of the tools they use interact with each other. In this case, I believe it is impossible to use the require hook and istanbul in the way that you want because of how instabul works.
I think your command will work if you do something like this:
./bin/reseed && NODE_ENV=test babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha -- lib/__tests/index.js server/__tests/index.js

cool thanks


[dv, sw] SW logs over UART to UVM prints in DV

This PR enables logs from SW test sent over UART to be captured as UVM
print messages. The printed message looks for severity identifier in the
message string (INFO, WARN, ERROR and FATAL) and prints the final
message with the corresponding uvm_* facilities.
The plan to enable the much faster print-bypassing-uart is still on -
that will be enabled shortly. The goal is to have both methods supported
so that FPGA tests can be run as-is in DV without any modifications.
Signed-off-by: Srikrishna Iyer<EMAIL_ADDRESS>

This looks fantastic, thank you Sri. I left a couple of style nits, and I'd like to address the question of whether this new "device" counts as a core device.

Thanks for the review. LMK if this is ready to go in.

Thanks for the review - merging this in now.


Plaintext URLs in Facebook posts get rewritten with the URL of the webrecorder being used

If a facebook post contains plaintext links just pasted in by the user, like http://rhizome.org, they become the full recorder URL, like http://localhost:8080/record/http://rhizome.org, in the visible text.

This should be fixed with pywb 0.9.8


Implement submission of read-write transactions to TransactionHandles

#13 introduces TransactionHandles, but currently only read-only transactions can be submitted to them. We should implement submission of read-write transactions to TransactionHandles as well.

We can currently not implement the submission of read-write transactions, because the lower-level Haskell bindings are set up in such a way that the internal MDB_txn should be created and completed in a single bound Haskell thread:
-- | Begin a new transaction, possibly read-only, with a possible parent.
--
--     mdb_txn_begin env parent bReadOnly
--
-- NOTE: Unless your MDB_env was created with MDB_NOLOCK, it is necessary
-- that read-write transactions be created and completed in one Haskell
-- 'bound' thread, e.g. via forkOS or runInBoundThread. The bound threads
-- are necessary because LMDB uses OS-level mutexes which track the thread
-- ID of their owning thread.
--
-- This LMDB adapter includes its own MVar mutex to prevent more than one
-- Haskell-level thread from trying to write at the same time.
--
-- The hierarchical transactions are useful for read-write transactions.
-- They allow trying something out then aborting if it doesn't work. But
-- only one child should be active at a time, all in the same OS thread.
--
mdb_txn_begin :: MDB_env -> Maybe MDB_txn -> Bool -> IO MDB_txn

I think we can/should close this then for now, do we need it for anything in particular or will it just be a nice-to-have.

To close this, I think we should put a note in the TransactionHandle module that explains why only read-only transactions are enabled. I'll do that soon


Pass the "STAGING" variable to IPA build script

Without this variable the IPA build script always uploads to the
"review" directory in Artifactory.

/test-ipa

/test-ipa


Add bitaxe to latest

Please add my adapter ioBroker.bitaxe to latest.
This pull request was created by https://www.iobroker.dev c0726ff.

RE-CHECK!

RE-CHECK!

reminder 13.12.2024

RE-CHECK!

@Hans-Wurst-21
First of all - THANK YOU for the time and effort you spend to maintain this adapter.
I would like to give some feedback based on my personal oppinion. @Apollon77 might have additional suggestions or even a different oppinion to one or the other statement. Please feel free to contact him if you cannot follow my suggestions or want to discuss some special aspects.

[ ]  UI labels seem to have no translation into all languages
It seems that labels are not translated into all supported languages.
Please consider adding missing translations to english translations json and run npm run translate

[ ] Add timeout to axios calls
All axios calls should have a timeout set. The default value for axios timeout is 0 which results in no timeout. So an unresponsive remote system could lead to an hanging adapter. Either set an appropiate timeout per axios call or set a default timeout globally for the axios instance.

[ ] consider using adapter.setTimeout / this.setTimeout instead of (standard) setTimeout
The adapter package provides wrapper routines for native setTimeout, setInterval, clearTimeout and clearInterval. Using those routines ensures that timers are cancelled on on load. Additional checks on thomse limits might be performed, too. So consider replacing native setTimeout/clearTimeout by adapter.setTimeout/adapter.clearTimeout or this.setTimeout/this.clearTimeout. The same refers to setInterval/clearInterval.

[ ] check and limit configurable timeouts / intervals
Node setTimeout/setInterval routines have a maximum allowed value of 2,147,483,647 ms. Using delays larger than 2,147,483,647 ms (about 24.8 days) result in the timeout being executed immediately. So all (user configurable) values passed to setTimeout / setInterval should be checked in code and limited. Checking/limiting in code is required as config data could be changed directly or by some other adapter too, so limiting at ui level might not be sufficient.

Thanks for reading and evaluating this suggestions.
McM1957
Please add a comment when you have reviewed and fixed the suggestions or at least commented the suggestions and you think the adapter is ready for a re-review!
reminder 1.1.2025


Version 1.1 does not install

Hi,
I run the 1.1 installer from a Administrator cmd.exe, but it does not seem to do anything:
C:\Users\me\Downloads\LxRunOffline-v1.1.0\LxRunOffline-v1.1.0>.\LxRunOffline.exe
Enter path to the Ubuntu image file: C:\containers\rootfs.tar.gz
Enter path to the icon file: C:\Users\me\Downloads\archlinux.ico
C:\containers\rootfs.tar.gz C:\Users\me\Downloads\archlinux.ico
Performs administrative operations on the LX subsystem

Usage:
    /install - Installs the subsystem
        Optional arguments:
            /y - Do not prompt user to accept
    /uninstall - Uninstalls the subsystem
        Optional arguments:
            /full - Perform a full uninstall
            /y - Do not prompt user to accept
    /setdefaultuser - Configures the subsystem user that bash will be launched as. If the user does not exist it will be created.
        Optional arguments:
            username - Supply the username
            /y - If username is supplied, do not prompt to create a password
    /update - Updates the subsystem's package index

C:\Users\me\Downloads\LxRunOffline-v1.1.0\LxRunOffline-v1.1.0>

The files exist:
C:\>dir C:\containers\rootfs.tar.gz
 Volume in drive C is Windows
 Volume Serial Number is BE7C-B407

 Directory of C:\containers

18-12-2017  08:05       177.644.315 rootfs.tar.gz
               1 File(s)    177.644.315 bytes
               0 Dir(s)  72.998.940.672 bytes free

C:\>dir C:\Users\me\Downloads\archlinux.ico
 Volume in drive C is Windows
 Volume Serial Number is BE7C-B407

 Directory of C:\Users\me\Downloads

18-12-2017  09:18           111.389 archlinux.ico
               1 File(s)        111.389 bytes
               0 Dir(s)  72.998.940.672 bytes free

Any ideas on what is preventing the installation? I can't use version 2.x since I don't have the FallUpdate.
Thanks in advance!

You have to run LxRunOffline /install


Zabbix datasource doesn't appear on Grafana

I have newly installed zabbix on the same server as Grafana i set app zabbix as ‘‘enabled’’
and used that command : grafana-cli plugins install alexanderzobnin-zabbix-app but zabbix is not showing as datasource on the list of Grafana dataources
some help please !!!

https://github.com/alexanderzobnin/grafana-zabbix/issues/1071

Sorry but I couldn't solve that and your response wasn't clear
Le ven. 9 oct. 2020 à 18:02, Tom Glazer<EMAIL_ADDRESS>a écrit :

#1071 https://github.com/alexanderzobnin/grafana-zabbix/issues/1071
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alexanderzobnin/grafana-zabbix/issues/1073#issuecomment-706295370,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALEGFHPMZAHRM6NFYAES2KTSJ46Y7ANCNFSM4SKGNYTQ
.

Ok :)
edit the file  /etc/grafana/grafana.ini
replace:
;allow_loading_unsigned_plugins
with:
allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource
(remove the semi colon)
restart grafana server..

I already did that but no results
Le sam. 10 oct. 2020 à 02:00, Tom Glazer<EMAIL_ADDRESS>a
écrit :

Ok :)
edit the file /etc/grafana/grafana.ini
replace:
;allow_loading_unsigned_plugins
with:
allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource
(remove the semi colon)
restart grafana server..
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alexanderzobnin/grafana-zabbix/issues/1073#issuecomment-706459244,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALEGFHKJV6QMWEVKMPBAR3DSJ6W4NANCNFSM4SKGNYTQ
.


libc::lutimes not portable

With commit 5c2ceb13cff libc::lutimes was introduced. It is not very portable, which you can see at https://www.gnu.org/software/gnulib/manual/html_node/lutimes.html
As filetime is is a dependency for cargo, maybe this should be reworked.

I had to fix this on Android as well, and if you've got other platforms it needs to be fixed on PRs are more than welcome!

Is it a valid fix to just error?

Maybe #11 fixes this with the POSIX utimensat function.

I just added a module which uses utimensat, but it may need more cfgs for more platforms.


test(NODE-4919): import mongodb-legacy in tests

Description
What is changing?
We use the mongodb-legacy package to continue supporting callback style tests
Is there new documentation needed for these changes?
What is the motivation for this change?
Double check the following

[ ] Ran npm run check:lint script
[ ] Self-review completed using the steps outlined here
[ ] PR title follows the correct format: type(NODE-xxxx)[!]: description

Example: feat(NODE-1234)!: rewriting everything in coffeescript

[ ] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

Patch

#3522 The linter didn't detect imports from "src" correctly so we were missing some import changes. Looking into what's wrong with the linter, but regardless we'll want those imports changed as well before this PR


Can the recognition function of hcaptcha be added? If possible, I will provide financial support

Can the recognition function of hcaptcha be added? If possible, I will provide financial support

CapSolver doesn't offer classification for hCaptcha. Even if it did, hCaptcha uses different types of challenges and is generally very hard to solve using automation.

https://capmonster.cloud/，This is also a great platform, and it supports image recognition as well. I've tried it out.

https://yescaptcha.com/

This looks like it could work, however this library is made for reCAPTCHA. For hCaptcha, the entire project would have to be rewritten for it to work.


Add .parseAction() and .parseLoader()

These could combine the parsing of loaders/actions that use both params and query. Could look something like:
export async function loader(args: LoaderArgs) {
  const { id, count } = zx.parseLoader(args, {
    params: { id: z.string() },
    query: { count: zx.NumAsString },
  });
};

Maybe .parseAction() could also parse the request body?
This could be useful for pages containing multiple forms.

  <form method="get">

      Search tasks
      <input type="search" name="q" />

  </form>
  <form method="post">

      Status
      <select name="status">
        <option value="pending">Pending</option>
        <option value="done">Done</option>
      </select>

    <button type="submit">Apply to all tasks</button>
  </form>

I'm going to close this in favor of simplicity. Seems like the added surface area isn't worth the minor improvement over the existing methods.


LLAVA, multimodal models not working

Bug Report
Description
Bug Summary:
If I attach image and use multimodal model LLaVa, screen is stuck on sending message and nothing happens after that. Ollama is working fine and other models are also working
Steps to Reproduce:

Select LLava as model.
Attach image. Ask to describe the image

Expected Behavior:
Get model response
Actual Behavior:
Stuck on chat screen. Nothing happens
Environment

Operating System: [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]
Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]

Reproduction Details
Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I have reviewed the troubleshooting.md document.
[ ] I have included the browser console logs.
[ ] I have included the Docker container logs.

Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):

Installation Method
[Describe the method you used to install the project, e.g., manual installation, Docker, package manager, etc.]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Unable to reproduce the issue


Multi Data Center Support

[ ] Apps only (e.g. TLS termination)
[ ] Cluster import/export
[ ] Disaster recovery (database follower(s) in other DC(s)
[ ] "True" multi-DC with Cassandra

This is a good suggestion in the event of a DC failure

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


Upgrade all demos to DotNetcoreV3.0 Preview 6 (V3.0P6)

Feature branch to accomplish this was merged into develop today, and feature branch deleted. Issue closed


TeamViewer installer hash does not match

Brief description of your issue
PS U:> winget upgrade --all
Name       Id                    Version Available Source
TeamViewer TeamViewer.TeamViewer 15.35.5 15.35.7   winget
1 upgrades available.
(1/1) Found TeamViewer [TeamViewer.TeamViewer] Version 15.35.7
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.teamviewer.com/download/TeamViewer_Setup_x64.exe
██████████████████████████████  43.8 MB / 43.8 MB
Installer hash does not match; to override this check use --force
PS U:>
Steps to reproduce
winget upgrade --all
Expected behavior
No updates available message after launching "winget upgrade --all"
Actual behavior
After upgrading TeamViewer, the update available keeps poping up.
Environment
PS U:\> winget --info
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.1165
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Created #87273 to resolve this issue. Looks like they pulled the latest version because of a bug. https://community.teamviewer.com/English/discussion/126176/15-35-7-incoming-connections-completely-broken-on-specific-computers

Close with reason: Resolved by #87273;


cross-unzip?

It seems that node-unzip and node-tar use pure Javascript to do the job.
I worry about their efficiency.

Hey, I literally just made this repo and was about to publish, but you beat me by one minute!
https://github.com/feross/cross-unzip

@fritx If you want, we can use my version which has a parallel API to cross-zip -- i.e. it's sync, which is easier for use in build scripts, etc.

@feross hey, cool, it's funny LOL
Please give me more time to think about it.
But can you add that just into cross-zip? What's the pros and cons?

No problem. I just shipped it in this package. See https://github.com/feross/cross-zip#api


feat(NumberField/CanonicalEmbedding/FundamentalCone): Prove equivalence with principal ideals

We prove that there is an equiv between the nonzero integral points in the fundamental cone and the nonzero integral ideals of K and that this equiv preserves norm.
This PR is part of the proof of the Analytic Class Number Formula.

[x] depends on: #12268
[x] depends on: #12780
[x] depends on: #16921

bors r+


Enhance URL configuration to support openai-compatible APIs

This PR introduces compatibility for API providers that follow OpenAI's specicifcations.

Could you explain what the other API providers are? Is this just for modified versions of GPT for example?

For organizations that might have purchased services like Azure's OpenAI service and are self-hosting a version with an API interface similar to OpenAI's, they can easily customize the API endpoint. This way, they can seamlessly integrate with their self-hosted version without having to alter the core logic of the tool.

Additionally, there are regions where direct access to the official OpenAI API might be restricted or not optimal. With this feature, users from those regions can effortlessly modify the API endpoint to use a local or more accessible server that offers a compatible API.

I hope this clarifies the intent behind the PR. Let me know if there are any other questions

Sounds good thanks!


Mismatch between validate's fail-fast and repair's broad-brush

Which version and edition of Flyway are you using?
5.1.4
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
N/A - this is the latest release
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Maven plugin
Which database are you using (type & version)?
Postgresql 9.6
Which operating system are you using?
MacOS and Ubuntu
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.)
First : we touched two of the .sql migration files,
Then:
mvn -Dflyway.configFiles=config/flyway-stage.conf flyway:validate
What did you expect to see?
Both validations fail.
What did you see instead?
Only the first change was reported as a validation failure.
This is validate's fail-fast policy, which would be fine,
EXCEPT
the repair function does not take a parameter to indicate the specific migration to repair (update the checksum in the db in this case).
instead repair happily updated all the checksums, which combined with validate's fail-fast logic means that we had no idea someone had touched one of the other .sql file in the migration folder.
Holy DB mess batman.

In 6.0.3 and higher, validate() will provide all failures. If finer grained control is required, we can add options to both validate() and repair() to only go up to a specific migration - please kick off a new issue if that's the case.


How to manage subscribed users?

Hi!
I am having a bit of trouble planning how the flow of the information should be.
How can I know if my user has paid for a subscription and would this method work offline?
Should I always check the result of said method to update the apps state to a premium version or how should I go about it? Sorry if the question is a bit broad. Any help is welcome.

There is related post in react-native-iap repo. The idea is, you should check the receipt. Since checking receipt requires the internet, I don't think it is possible offline. Please update me if I am outdated.

@hyochan I read the whole thread and see they are having my same issues.
I thought Apple/Google would handle the subscription status for us (online or offline) but I will just save the receipt in my own server and then recheck its validity every time the app starts up.

@hyochan
I have another issue that might be stupid but is driving me nuts. I read the related post and I am implementing the posted method to get to know if the user is a paying user:
import * as RNIap from 'react-native-iap';
import {ITUNES_CONNECT_SHARED_SECRET} from 'react-native-dotenv';

const SUBSCRIPTIONS = {
  // This is an example, we actually have this forked by iOS / Android environments
  ALL: ['monthlySubscriptionId', 'yearlySubscriptionId'],
}

async function isSubscriptionActive() {
  if (Platform.OS === 'ios') {
    const availablePurchases = await RNIap.getAvailablePurchases();
    const sortedAvailablePurchases = availablePurchases.sort(
      (a, b) => b.transactionDate - a.transactionDate
    );
    const latestAvailableReceipt = sortedAvailablePurchases[0].transactionReceipt;

    const isTestEnvironment = __DEV__;
    const decodedReceipt = await RNIap.validateReceiptIos(
      {
        'receipt-data': latestAvailableReceipt,
        password: ITUNES_CONNECT_SHARED_SECRET,
      },
      isTestEnvironment
    );
    const {latest_receipt_info: latestReceiptInfo} = decodedReceipt;
    const isSubValid = !!latestReceiptInfo.find(receipt => {
      const expirationInMilliseconds = Number(receipt.expires_date_ms);
      const nowInMilliseconds = Date.now();
      return expirationInMilliseconds > nowInMilliseconds;
    });
    return isSubValid;
  }

  if (Platform.OS === 'android') {
    // When an active subscription expires, it does not show up in
    // available purchases anymore, therefore we can use the length
    // of the availablePurchases array to determine whether or not
    // they have an active subscription.
    const availablePurchases = await RNIap.getAvailablePurchases();

    for (let i = 0; i < availablePurchases.length; i++) {
      if (SUBSCRIPTIONS.ALL.includes(availablePurchases[i].productId)) {
        return true;
      }
    }
    return false;
  }
}

However, the following method is not working for me. I am working on iOS right now and when I call
const availablePurchases = await RNIap.getAvailablePurchases(); I get prompted to Sign In into iTunes (even though I am already signed in with my Apple Id). When putting in the credentials nothing else happens and just get this error after a while:
Cannot connect to iTunes Store
    at createErrorFromErrorData (NativeModules.js:152)
    at NativeModules.js:104
    at MessageQueue.__invokeCallback (MessageQueue.js:442)
    at MessageQueue.js:127
    at MessageQueue.__guard (MessageQueue.js:343)
    at MessageQueue.invokeCallbackAndReturnFlushedQueue (MessageQueue.js:126)
    at debuggerWorker.js:80

I don't know what to do. I made a Sandbox user and tried signing in with those credentials as well and it didn't work.

The prompted to Sign In into iTunes  only appears in the debug scheme. I am not sure what's going on internally in your case. Trying out for a different user, or doing the whole step once again would help I think.
Also, try out for live purchase either. Sometimes it is hard to track the mistake because there are several things to go over carefully such as is wifi on? Have you signed out for a newly updated tax agreement? and so on.

@hyochan

I did agree to the new tax agreement, however I just added the bank account yesterday and it says the status is active (but pending)? Is this also crucial to be able to test iap?
I reset the iPhone with no user signed-in in the Settings app. I loaded the component that allows in app purchases and got my subscriptions with  const subscriptions = await RNIap.getSubscriptions(itemSubs)
When I press to actually make the purchase of a sub it instantly throws:
Error requesting Subscription Error: Cannot connect to iTunes Store
    at createErrorFromErrorData (NativeModules.js:152)
    at NativeModules.js:104
    at MessageQueue.__invokeCallback (MessageQueue.js:442)
    at MessageQueue.js:127
    at MessageQueue.__guard (MessageQueue.js:343)
    at MessageQueue.invokeCallbackAndReturnFlushedQueue (MessageQueue.js:126)

This is also a new sandbox user since I read that trying to log in with an account into your iPhone will reject said account.

Have you logged into the Sandbox on iTunes account? https://developer.apple.com/apple-pay/sandbox-testing/

Have you logged into the Sandbox on iTunes account? https://developer.apple.com/apple-pay/sandbox-testing/

I had to test it on an iPhone and not the simulator. Apparently, it has worked before but on iOS 12.4 you cant test IAP in the Simulator.

@wmonecke
*tip
you should check cancellation_date field in iOS latestReceiptInfo receipt
this field is only showing when user refunded their subscription


Error in node: Double free or corruption

Linux / Node.js / SSL is not part of the equation
Hi.
When sending some binary data i sporadically receive the following error.
*** Error in `node': double free or corruption (!prev): 0x0000000003dbaee0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f08d6cee7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7f08d6cf6e0a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f08d6cfa98c]
/home/parallels/Downloads/supervisor-client/node_modules/uws/uws_linux_51.node(_ZN3uWS9WebSocketILb0EE4sendEPKcmNS_6OpCodeEPFvPvS5_bS5_ES5_+0x9e0)[0x7f08d49a1d40]
/home/parallels/Downloads/supervisor-client/node_modules/uws/uws_linux_51.node(_Z4sendILb0EEvRKN2v820FunctionCallbackInfoINS0_5ValueEEE+0x17c)[0x7f08d49abd9c]
node(_ZN2v88internal25FunctionCallbackArguments4CallEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEE+0x129)[0xa21ea9]
node[0xa99e9d]
node(_ZN2v88internal21Builtin_HandleApiCallEiPPNS0_6ObjectEPNS0_7IsolateE+0xec)[0xa9accc]
[0x337fe55063a7]

I'm specifically getting a buffer from fs.execFile, and then sending the buffer retrieved from stdout.
Like:
fs.execFile('something', {
  encoding: 'buffer',
  maxBuffer: 500 * 1024
}, (err, buffer) => socket.send(buffer, { binary: true }))

What version of uws is this?

You are using the client, nlt server?

I am getting the same error on debian:testing (inside a container)
root@05084a9427ca:/apps/marcus# npm ls uws
<EMAIL_ADDRESS>/apps/marcus
`--<EMAIL_ADDRESS><EMAIL_ADDRESS>root@05084a9427ca:/apps/marcus# node --version
v6.9.5
root@05084a9427ca:/apps/marcus# node -e 'console.log(`uws_${process.platform}_${process.versions.modules}.node`)'
uws_linux_48.node

The same test unit works fine on my mac with node-7.5.0

Sorry, forgot to specify that. It's the client and version 0.12

On 16 Feb 2017, at 08:53, Hugues Malphettes<EMAIL_ADDRESS>wrote:
I am getting the same error on debian:testing (inside a container)
root@05084a9427ca:/apps/marcus# npm ls uws
<EMAIL_ADDRESS>/apps/marcus
--<EMAIL_ADDRESS><EMAIL_ADDRESS>root@05084a9427ca:/apps/marcus# node --version v6.9.5 root@05084a9427ca:/apps/marcus# node -e 'console.log(uws_${process.platform}_${process.versions.modules}.node`)'
uws_linux_48.node
The same test unit works fine on my mac with node-7.5.0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It might be fixed in v0.13

Ah perfect.. I'll do a test with the current master.

It doesn't happen anymore here. Thanks a lot @alexhultman

Nice but would you mind resetting to before this commit: https://github.com/uWebSockets/uWebSockets/commit/fdd025e16a882dad04e24269a069dd3aa810509b
And then see if you can reproduce it? This has been a known issue but I want to know for sure that this fixed it

Sure.. I just tried it, and it happened almost immediately..
I then tried with https://github.com/uWebSockets/uWebSockets/commit/fdd025e16a882dad04e24269a069dd3aa810509b, and couldn't reproduce, so seems to be that ;)

:+1: very nice

Just a little note and a thank you ;)
We switched our clients (raspberry pi's) from ws to use 'uws' after 0.13 with the fix was released, and they're now using half the cpu (from 20% down to 10%).

Nice but currently the client code is masking 1 byte a time so you can improve this significantly by optimizing the code changed in this commit. Best is to mask 4 bytes a time and not rotate with mod.


#19 Fixed no tests ran when --tags unspecified

Fix for issue #19
When no --tags is specified it should collect all testcases as selected.

Added testcase to catch scenario

Lol, nice one. I will fix the lints tomorrow and cut a release, thanks!


Test failing with tensorflow 2.17

System information

Windows 11
Python 3.11.9
DeepTables 0.2.6
Tensorflow 2.17.0

Describe the current behavior
Running the standard test snippet, as well as trying to train a model, fails on:
  File "C:\Me\Epoch\Code\mcts\.venv\Lib\site-packages\deeptables\models\deeptable.py", line 363, in fit
    history = model.fit(X, y, batch_size=batch_size, epochs=epochs, verbose=verbose, shuffle=shuffle,
    history = model.fit(X, y, batch_size=batch_size, epochs=epochs, verbose=verbose, shuffle=shuffle,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Me\Epoch\Code\mcts\.venv\Lib\site-packages\deeptables\models\deepmodel.py", line 106, in fit
    history = self.model.fit(train_data,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Me\Epoch\Code\mcts\.venv\Lib\site-packages\keras\src\utils\traceback_utils.py", line 122, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "C:\Me\Epoch\Code\mcts\.venv\Lib\site-packages\keras\src\utils\traceback_utils.py", line 117, in error_handler
    return fn(*args, **kwargs)
                  ^^^^^^^^^^^^^
TypeError: TensorFlowTrainer.fit() got an unexpected keyword argument 'max_queue_size'

Standalone code to reproduce the issue
python -c "from deeptables.utils.quicktest import test; test()"
Suspected cause
max_queue_size ,workers, and use_multiprocessing are passed. These appear to not exist in tensorflow 2.17, although they did in older versions. Downgrading to tensorflow==2.15.0 made the test pass. I am reporting this as a bug as there is no constraint mentioned anywhere about supported versions, only >2.4 in the requirements.txt.

Use TensorFlow 2.15.0 or below, as far as I am aware support for 2.15.0 > is not available.

@EWitting @Pun-it ,
Hey guys,  glad to tell you that now it works with tensorflow up to version 2.18 on master branch latest code.


Inlining .svg files

Would you consider merging a pull request that adds the functionality of inlining .svg files;
Like;
<img src="static/media/icon.324fsdf.svg" style="..." class="..."/>
turns into;
<svg version="1.1"  style="..." class="...">
  <path ... >
</svg>

Or straight-up adding the html-webpack-inline-svg-plugin into this? Shouldnt we consider .svg files source files?

on a second note, doing base64 inlining would work better.