Replies: 7 comments 5 replies
-
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments. |
Beta Was this translation helpful? Give feedback.
-
This issue has been linked to a new work item: W-11139620 |
Beta Was this translation helpful? Give feedback.
-
have you tried using the rest metadata api? ( I'd try that without If all that doesn't work, I think introducing a new folder level that represents "how deployments are grouped" would be the best option--pkgDirs affect both sfdx push/pull and 2GP uses those folders so we probably can't easily change the behavior to do groupings inside sfdx-project.json for |
Beta Was this translation helpful? Give feedback.
-
@mshanemc We're over the 10,000 files limit rather than the 39 MB limit so I don't think the REST deploy would make a difference. However, there seems to be a bug getting it to actually do REST deploy. It seems to completely disregard the config and environment variable.
That's with this SFDX version:
I went down to SFDX v 7.155 and it looks like REST deploy is broken or it's related to too many files. I get this same error in lower versions.
It doesn't have to be that specific property. It could be a rearrangement of the brackets around the packageDirectories or a property on each packageDirectory. I'm less fond of the latter because it would mean you could put them in a different order than they deploy in using the group number or something like that. With that in mind something like this to maintain backwards compatibility? Then you would just need to flatten the list of lists in all cases except force:source:push when pushPackageDirectoriesSequentially is true.
Alternatively, the latter option which seems a little more fragile to me, but doesn't require rewriting any of the path code except for push when pushPackageDirectoriesSequentially is true:
|
Beta Was this translation helpful? Give feedback.
-
This issue has not received a response in 60 days. It will auto-close in 7 days unless a response is posted. |
Beta Was this translation helpful? Give feedback.
-
@jmccotter here's a discussion about pushPackageDirectoriesSequentially that may interest you. |
Beta Was this translation helpful? Give feedback.
-
I'm marking this as not planned. I'd rather have
|
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I would like to use packageDirectories with pushPackageDirectoriesSequentially to deploy our source in our core package which is over the 10,000 file limit in 2-3 batches. Our current package directory, which predates SFDX, MPD, etc, is broken up into dozens of modules. Because there are many directories and we only need to break up the directories deployed into two or three batches, the packageDirectories command does not work well for our case. In order to use it in its current state, we have to create a new layer of directories purely for representing the batches which is creating a directory structure based on only the push command rather than our business domain.
What are you trying to do
I would instead like to be able to specify multiple paths under one package directory like you can do with force:source:deploy -p
Describe the solution you'd like
Instead of an sfdx-project.json packageDirectories like this where we create a new folder layer:
We need to do something like this to replace our current scripts. You could use the existing path property with some logic to differentiate between a single path and list or create a new paths or batchedPaths property or something to indicate the difference:
Describe alternatives you've considered
Additional context
N/A
Beta Was this translation helpful? Give feedback.
All reactions